EDIT: FIXED TYPOS & Deleted most of my wrong work pointed out by others.
Calculate the curl of $f(\vec r,t)$ where the function is given by
$$
f(\vec r,t)=- (\hat{a}\times \vec{b}) \frac{e^{i(c r- d t)}}{r}
$$where this is a spherical coordinate system.
where $\hat{a}$ is a unit vector $\hat a=\frac{\vec r}{r}$ and $\vec b$ is a constant vector. The curl of f is given by
$$
\vec \nabla \times f(\vec r,t)=-\vec \nabla \times\left( (\hat{a}\times \vec{b}) \frac{e^{i(c r- d t)}}{r}\right).
$$
I prefer $\epsilon_{ijk}$ notation to compute things, thanks!
I am stuck here
$$
\vec \nabla \times \vec f=\partial_j(r_iu_{oj}-r_ju_{oi})g(r)=-2u_{oi}g(r)+(r_iu_{oj}-r_ju_{oi})\bigg( \frac{ik}{r^2}-\frac{2}{r^3} \bigg)e^{i(cr-dt)}.
$$
where $g(r)$ is a scalar function and is given by
$$
g(r)=\frac{e^{i(cr-dt)}}{r^2}.
$$
So I am stuck on how to proceed, and write everything back in terms of vector notation. Thanks
If $b$ is a constant vector, you can just
$$\partial_j(a_i b_j-a_j b_i)=(b_j \partial_j)a_i-b_i(\partial_j a_j)$$ $$=(\vec{b}\cdot\nabla)\hat{a}-\vec{b}(\nabla\cdot\hat{a})$$
But it's easier to process things in the index form:
$$\partial_j\frac{r_i}{r}=\frac{\partial_j r_i}{r}-r_i\frac{1}{r^2}\partial_j r= \frac{\delta_{ij}}{r}-\frac{r_i r_j}{r^3} $$ Now a simple trace gives you $$\partial_i \frac{r_i}{r}=\nabla\cdot\hat{a}=\frac{2}{r}$$
And $$(\vec{b}\cdot\nabla)\hat{a}=\frac{\vec{b}}{r}-\frac{\vec{r}(\vec{b}\cdot\vec{r})}{r^3}=\frac{1}{r}\hat{a}\times(\vec{b}\times\hat{a})$$ where I recognized the formula for the double cross product.
Putting things together: $$\nabla\times(\hat{a}\times\vec{b})=-\frac{\vec{b}}{r}-\frac{\vec{r}(\vec{b}\cdot\vec{r})}{r^3}=\frac{1}{r}\hat{a}\times(\vec{b}\times\hat{a})-\frac{2\vec{b}}{r}$$
This is a part of the solution, you need to differentiate your original thing as a product:
$$\nabla\times(\vec{v}f)=f\nabla\times\vec{v}+(\nabla f)\times\vec{v}$$ where $\vec{v}=\hat{a}\times\vec{b}$ and $f=\frac{e^{i(cr-dt)}}{r}$. The first term we now have, but we still need the second:
$$\nabla\frac{e^{i(cr-dt)}}{r}=e^{i(cr-dt)}\nabla\frac{1}{r}+\frac{1}{r}\nabla e^{i(cr-dt)}$$ $$=-e^{i(cr-dt)}\frac{\vec{r}}{r^3}+ic\frac{\vec{r}}{r^2}e^{i(cr-dt)}$$ $$=\hat{a}\frac{e^{i(cr-dt)}}{r}\left(ic-\frac{1}{r}\right)$$
Put things together:
$$\nabla\times \vec{f}=-\left(\frac{e^{i(cr-dt)}}{r}\nabla\times (\hat{a}\times\vec{b})+(\nabla\frac{e^{i(cr-dt)}}{r})\times\left(\hat{a}\times\vec{b}\right)\right)$$
$$=-\frac{e^{i(cr-dt)}}{r}\left(-\left(\frac{1}{r}\hat{a}\times(\vec{b}\times\hat{a})-\frac{2\vec{b}}{r}\right)+\left(ic-\frac{1}{r}\right)\hat{a}\times\left(\hat{a}\times\vec{b}\right)\right)$$
$$=-\frac{e^{i(cr-dt)}}{r}\left(\frac{2\vec{b}}{r}+\left(ic\right)\hat{a}\times\left(\hat{a}\times\vec{b}\right)\right)$$
It doesn't seem the same to the thing you list as the solution.
It is very possible that I made many mistakes because there are a lot of signs to be careful about, but you get the general idea.
Use http://en.wikipedia.org/wiki/Vector_calculus_identities in the future.
p.s. optics?