Gradient vector for polar coordinates

Click For Summary
SUMMARY

The discussion focuses on finding the gradient vector of the function g(r, θ) = e-r sin(θ) in polar coordinates. Participants emphasize the importance of understanding the conversion from polar to Cartesian coordinates to compute the gradient effectively. Key techniques include using the chain rule and the definitions of basis vectors in non-Cartesian systems. The conversation highlights the necessity of drawing the coordinate system to visualize the relationships between variables.

PREREQUISITES
  • Understanding of polar coordinates and their relationship to Cartesian coordinates
  • Familiarity with the chain rule in multivariable calculus
  • Knowledge of gradient vectors and directional derivatives
  • Ability to manipulate trigonometric functions and logarithms
NEXT STEPS
  • Learn how to convert functions from polar to Cartesian coordinates
  • Study the derivation of gradient vectors in non-Cartesian coordinate systems
  • Explore the application of the chain rule in multivariable calculus
  • Investigate the use of basis vectors in cylindrical and spherical coordinates
USEFUL FOR

Students and professionals in mathematics, physics, and engineering who are working with gradient vectors in polar coordinates and seeking to deepen their understanding of multivariable calculus.

compliant
Messages
43
Reaction score
0

Homework Statement


Find the gradient vector of:
g(r, \theta) = e^{-r} sin \theta


Homework Equations





The Attempt at a Solution


I know how to get gradients for Cartesian - partially derive the equation of the surface wrt each variable. But I have no idea how to do it for non-Cartesian coordinate systems.

I tried using the chain rule to get \frac{{\partial g}{\partial x}} and \frac{{\partial g}{\partial y}} so I could plug them into \nabla g. But then I'm ending up with tans and sines and cosines all over the place.
 
Physics news on Phys.org
What coordinate system do you have in mind? Different coordinate systems are set up differently with different basis vectors, for cylindrical/spherical coordinates refer to http://en.wikipedia.org/wiki/Del_in_cylindrical_and_spherical_coordinates

For clearer understanding I think it's best to work through the basis vectors, and then use the definition of gradient to work out the required expressions, which you can then finally (whew!) apply to the eqn you want.
 
I want to convert del g into cartesians so I can find a directional derivative, considering the direction vector is in cartesians. I know how to calculate the directional derivative; I just don't know how to convert del g into cartesians from polars.
 
Why don't you just convert g into cartesians and take the grad there? It is a bit of a pain in the neck, but...
 
Dick said:
Why don't you just convert g into cartesians and take the grad there? It is a bit of a pain in the neck, but...

because I don't know how, but I'll give it a shot.


r = x/cos (theta) = y/sin(theta)
theta = arccos (r/x) = arcsin (r/y)

partial g/partial x = (partial g/partial r)(partial r/partial x) + (partial g/partial theta)(partial theta/partial x)

= (-e^(-r))(1/cos(theta)) + (e^(-r) cos(theta))(-r ln x/sqrt(1-(r/x)^2))


partial g/partial y = (-e^(-r))(1/sin(theta)) + (e^(-r) cos(theta))(r ln y/sqrt(1-(r/y)^2))
 
I think you're making it even more complicated for yourself.

What's r? sqrt of r^2, yes? Now what's r^2? And then what's sin (theta)?

Draw it out if you don't see what I mean!
 
ahh. of course.

r^2 = x^2 + y^2, and sin theta = y/r, where r is the square root of r^2. I indeed was making it too complicated for myself. thanks everyone.
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 18 ·
Replies
18
Views
2K
Replies
33
Views
4K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
Replies
2
Views
1K
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K