- #1
Dustinsfl
- 2,281
- 5
I have
$$
u(r,\theta) = r\cos(\theta)\left[1 - \left(\frac{1}{r}\right)^2\right]
$$
and the gradient is
$$
1 + \frac{2 x^2}{(x^2 + y^2)^2} - \frac{1}{x^2 + y^2}, \frac{2 x y}{(x^2 + y^2)^2}
$$
How was this obtained?
$$
u(r,\theta) = r\cos(\theta)\left[1 - \left(\frac{1}{r}\right)^2\right]
$$
and the gradient is
$$
1 + \frac{2 x^2}{(x^2 + y^2)^2} - \frac{1}{x^2 + y^2}, \frac{2 x y}{(x^2 + y^2)^2}
$$
How was this obtained?