Is My Gradient Solution for a Scalar Field Correct?

Click For Summary
The discussion revolves around finding the gradient of the scalar field V = r^n in both Cartesian and spherical coordinates. The initial solutions presented for the gradient in Cartesian coordinates included a denominator of (x^2+y^2+z^2)^(n/2), which was corrected to (n-2)/2 based on the chain rule. The representation of the unit vector \hat{r} in Cartesian coordinates was clarified as \hat{r} = (x \hat{x} + y \hat{y} + z \hat{z})/r, emphasizing its derivation as a unit vector pointing away from the origin. The final consensus indicates that the solutions are correct, with a focus on understanding the derivation of \hat{r}. Overall, the thread highlights the importance of correctly applying calculus concepts to vector fields.
hover
Messages
342
Reaction score
0

Homework Statement



Consider the scalar field

V = r^n , n ≠ 0

expressed in spherical coordinates. Find it's gradient \nabla V in
a.) cartesian coordinates
b.) spherical coordinates

Homework Equations



cartesian version:
\nabla V = \frac{\partial V}{\partial x}\hat{x} + \frac{\partial V}{\partial y}\hat{y} + \frac{\partial V}{\partial z}\hat{z}

spherical version:
\nabla V = \frac{\partial V}{\partial r}\hat{r} + \frac{1}{r}*\frac{\partial V}{\partial \phi}\hat{\phi} + \frac{1}{r*sin(\phi)}*\frac{\partial V}{\partial \theta}\hat{\theta}

conversion:
r = (x^2+y^2+z^2)^\frac{1}{2}

The Attempt at a Solution



a.) using the third equation...

V = r^n = (x^2+y^2+z^2)^\frac{n}{2}

using the first equation and skipping some steps involving the chain rule...
\nabla V = \frac{n(x\hat{x}+y\hat{y}+z\hat{z})}{(x^2+y^2+z^2)^\frac{n}{2}}

b.)Using the second equation
\nabla V = nr^m \hat{r}
m = n-1


Those are my two solutions to this problem. Are these right? Are they wrong? If so where did I go wrong?

Thanks!
hover
 
Physics news on Phys.org
How did the power n/2 wind up in the denominator?? You should be able to check that the solutions are the same pretty easily. What's \hat r in cartesian coordinates?
 
Dick said:
How did the power n/2 wind up in the denominator?? You should be able to check that the solutions are the same pretty easily. What's \hat r in cartesian coordinates?

Small mistake there... the denominator should be (n-2)/2 from the chain rule. I think that \hat r in Cartesian coordinates is

\hat r = sin(\phi)*cos(θ)\hat{x}+sin(\phi)*sin(θ)\hat{y}+cos(\phi)\hat{z}

Is that right or am I completely off the mark?
 
hover said:
Small mistake there... the denominator should be (n-2)/2 from the chain rule. I think that \hat r in Cartesian coordinates is

\hat r = sin(\phi)*cos(θ)\hat{x}+sin(\phi)*sin(θ)\hat{y}+cos(\phi)\hat{z}

Is that right or am I completely off the mark?

The power of r should be (n-2)/2=n/2-1 but it should be in the numerator. \hat r=\frac{x \hat x + y \hat y + z \hat z}{r} is probably a more useful expression.
 
Dick said:
The power of r should be (n-2)/2=n/2-1 but it should be in the numerator. \hat r=\frac{x \hat x + y \hat y + z \hat z}{r} is probably a more useful expression.

I plugged \hat r *r={x \hat x + y \hat y + z \hat z} into my first equation(with r on top and to the power of n/2-1) and I got the value from part b so I guess that these answers are correct. I just have one question. Where exactly did your version of \hat r=\frac{x \hat x + y \hat y + z \hat z}{r} come from? I know this is probably simple but I want to understand where you got that equation from or how you derived it.
 
hover said:
I plugged \hat r *r={x \hat x + y \hat y + z \hat z} into my first equation(with r on top and to the power of n/2-1) and I got the value from part b so I guess that these answers are correct. I just have one question. Where exactly did your version of \hat r=\frac{x \hat x + y \hat y + z \hat z}{r} come from? I know this is probably simple but I want to understand where you got that equation from or how you derived it.

\hat r is a unit vector that points away from the origin. I took the point x \hat x + y \hat y + z \hat z and subtracted 0 \hat x + 0 \hat y + 0 \hat z to get a vector pointing away from the origin and divided by its length, r=\sqrt(x^2+y^2+z^2).
 
Question: A clock's minute hand has length 4 and its hour hand has length 3. What is the distance between the tips at the moment when it is increasing most rapidly?(Putnam Exam Question) Answer: Making assumption that both the hands moves at constant angular velocities, the answer is ## \sqrt{7} .## But don't you think this assumption is somewhat doubtful and wrong?

Similar threads

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