Computing the Magnitude of F Using Gradient

6 replies · 2K views · last reply
JD_PM
Messages
1,125
Reaction score
156

Homework Statement


Textbook excerpt headed EXAMPLE 1 with the parenthetical title 'The gravitational field of a point mass is conservative', stating that F(r) = -km(r - r0)/|r - r0|^3 is conservative everywhere in R^3 except at r0.


Homework Equations



$$F = \nabla \phi$$

$$| F | = \sqrt{F \cdot F}$$

The Attempt at a Solution



I want to compute ##| F | = \sqrt{F \cdot F}##

$$| F | = \sqrt{F \cdot F} = \sqrt{\frac{(km)^2 (r-r_0)^2}{|r-r_0|^6}} = \sqrt{\frac{(km)^2}{(r-r_0)}} = \frac{km}{(r-r_0)^{1/2}} = \frac{km}{|r-r_0|} $$

That seems to be OK. I have one doubt here; would the following equality hold?

$$(r-r_0)^2 = ((x-x_0) - (y-y_0) - (z-z_0))^2$$

I do not need it for getting | F | but I want to be sure of this.

Thanks.
 
Attachments
  • Printed problem 7: find the three-dimensional vector field with potential phi(r) = 1 / |r - r0|^2.
    Screenshot (147).png
    2.6 KB · Views: 321
  • Textbook excerpt headed EXAMPLE 1 with the parenthetical title 'The gravitational field of a point mass is conservative', stating that F(r) = -km(r - r0)/|r - r0|^3 is conservative everywhere in R^3 except at r0.
    Screenshot (148).png
    9.7 KB · Views: 705
No, (r-r0)2 = (x-x0)2 + (y-y0)2 + (z-z0)2
There also seems to be a mistake in your algebra. (r-r0)2/(r-r0)6 = 1/(r-r0)4, so you should end up with (r-r0)2 in the denominator (any other power would be dimensionally wrong).
 
  • Like
Likes   Reactions: JD_PM
mjc123 said:
No, (r-r0)2 = (x-x0)2 + (y-y0)2 + (z-z0)2
There also seems to be a mistake in your algebra. (r-r0)2/(r-r0)6 = 1/(r-r0)4, so you should end up with (r-r0)2 in the denominator (any other power would be dimensionally wrong).

OK I see. Now I get:

$$| F | = \sqrt{F \cdot F} = \sqrt{\frac{(km)^2 (r-r_0)^2}{|r-r_0|^6}} = \sqrt{\frac{(km)^2}{(r-r_0)^4}} = \frac{km}{(r-r_0)^{2}} = \frac{km}{|r-r_0|^2}$$

But the solution is ##\frac{km}{|r-r_0|}## so I must be missing something...
 
JD_PM said:
OK I see. Now I get:

$$| F | = \sqrt{F \cdot F} = \sqrt{\frac{(km)^2 (r-r_0)^2}{|r-r_0|^6}} = \sqrt{\frac{(km)^2}{(r-r_0)^4}} = \frac{km}{(r-r_0)^{2}} = \frac{km}{|r-r_0|^2}$$

But the solution is ##\frac{km}{|r-r_0|}## so I must be missing something...

Basically, I want to understand how to compute the derivative of the length of a vector function with respect to one variable, using:

Equation: partial derivative with respect to x of |F| equals F dot (partial derivative with respect to x of F), divided by |F|.


The stated solution is:

Printed text comparing the derivative of the absolute value of f(x) with sgn(f(x)) f'(x) and f(x)/|f(x)| f'(x), followed by equations for partial derivatives of km/|r - r0| with respect to x, including -km(x - x0)/|r - r0|^3.


NOTE: The scalar field is:

Equation for a scalar potential phi(x, y, z) = km / |r - r0|, equal to km divided by the square root of (x - x0) squared + (y - y0) squared + (z - z0) squared.
 
Attachments
  • Equation: partial derivative with respect to x of |F| equals F dot (partial derivative with respect to x of F), divided by |F|.
    Screenshot (149).png
    1.5 KB · Views: 420
  • Printed text comparing the derivative of the absolute value of f(x) with sgn(f(x)) f'(x) and f(x)/|f(x)| f'(x), followed by equations for partial derivatives of km/|r - r0| with respect to x, including -km(x - x0)/|r - r0|^3.
    Screenshot (150).png
    9.9 KB · Views: 553
  • Equation for a scalar potential phi(x, y, z) = km / |r - r0|, equal to km divided by the square root of (x - x0) squared + (y - y0) squared + (z - z0) squared.
    Screenshot (151).png
    2.6 KB · Views: 404
JD_PM said:
OK I see. Now I get:

$$| F | = \sqrt{F \cdot F} = \sqrt{\frac{(km)^2 (r-r_0)^2}{|r-r_0|^6}} = \sqrt{\frac{(km)^2}{(r-r_0)^4}} = \frac{km}{(r-r_0)^{2}} = \frac{km}{|r-r_0|^2}$$

But the solution is ##\frac{km}{|r-r_0|}## so I must be missing something...
That solution is the scalar field ##\phi##, not ##F##.
 
  • Like
Likes   Reactions: JD_PM
DrClaude said:
That solution is the scalar field ##\phi##, not ##F##.

I was computing the gradient of the wrong field! Actually, I have to compute the gradient of ##\phi##.Thanks for pointing that out.

Now we have two ways of computing it:

1):

Equation: partial phi over partial x equals -km(x - x0) divided by ((x - x0)^2 + (y - y0)^2 + (z - z0)^2) to the power 3/2, equals -km(x - x0) divided by |r - r0| cubed, equals F_1(r).


I get that one.

What I do not get is the second method:

Handwritten-style derivation of the x-derivative of km/|r - r0|, showing the chain-rule step with -km/|r - r0|^2 times the x-derivative of |r - r0|, then -km (r - r0) dot i over |r - r0|^3 equal to -km(x - x0)/|r - r0|^3.


I am trying to get the encircled step using formula on #4 but don't get it. May you show it me?
 
Attachments
  • Equation: partial phi over partial x equals -km(x - x0) divided by ((x - x0)^2 + (y - y0)^2 + (z - z0)^2) to the power 3/2, equals -km(x - x0) divided by |r - r0| cubed, equals F_1(r).
    Screenshot (152).png
    3.5 KB · Views: 403
  • Handwritten-style derivation of the x-derivative of km/|r - r0|, showing the chain-rule step with -km/|r - r0|^2 times the x-derivative of |r - r0|, then -km (r - r0) dot i over |r - r0|^3 equal to -km(x - x0)/|r - r0|^3.
    Screenshot (150).png
    3.5 KB · Views: 402
That comes from the rule
$$
\frac{d}{dx} f(x)^{n} = n f(x)^{n-1} \frac{d}{dx} f(x)
$$
with ##n=-1##.
 
  • Like
Likes   Reactions: JD_PM