Curl said:
How can you express the del operator after a change of variables? For example, if I want to use cylindrical coordinates for a fluids problem, what is the del operator in terms of the new coordinates?
And how do you derive it for any other arbitrary coordinate transforms?
Use the chain rule. Given a function f(x,y,z), the "del" or "grad" is
\frac{\partial f}{\partial x}\vec{i}+ \frac{\partial f}{\partial y}\vec{j}+ \frac{\partial f}{\partial z}\vec{k}
in Cartesian coordinates.
In cylindrical coordinates,
\frac{\partial f}{\partial x}= \frac{\partial f}{\partial r}\frac{\partial r}\frac{\partial r}{\partial x}+ \frac{\partial f}{\partial \theta}\frac{\partial \theta}{\partial x}+ \frac{\partial f}{\partial z}\frac{\partial z}{\partial x}
r= \sqrt{x^2+ y^2}= (x^2+ y^2)^{1/2} so \frac{\partial r}{\partial x}= (1/2)(x^2+ y^2)^{-1/2}(2x)= \frac{x}{\sqrt{x^2+ y^2}}= \frac{r cos(\theta)}{r}= cos(\theta)
\theta= arctan(\frac{y}{x}) so \frac{\partial \theta}{\partial x}= \frac{1}{1+ \frac{y^2}{x^2}}\frac{-y}{x^2}= \frac{-y}{x^2+ y^2}= \frac{-r sin(\theta)}{r^2}= -\frac{1}{r}sin(\theta).
Of course, since x, y, and z are independent variables, of course \frac{\partial z}{\partial x}= 0.
So \frac{\partial f}{\partial x}= cos(\theta)\frac{\partial f}{\partial r}- \frac{1}{r}sin(\theta)\frac{\partial f}{\partial \theta}
and similarly for \frac{\partial f}{\partial y}. \frac{\partial f}{\partial z} is the same in cylidrical coordinates.
Here, I have left the vector in the \vec{i}, \vec{j}, and \vec{k} basis. Arildno put them in terms of vectors in the "r" and "\theta" directions.