Computing the Magnitude of F Using Gradient

JD_PM
Messages
1,125
Reaction score
156

Homework Statement


Screenshot (148).png


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

  • Screenshot (147).png
    Screenshot (147).png
    2.6 KB · Views: 268
  • Screenshot (148).png
    Screenshot (148).png
    9.7 KB · Views: 624
Physics news on Phys.org
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 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:

Screenshot (149).png


The stated solution is:

Screenshot (150).png


NOTE: The scalar field is:

Screenshot (151).png
 

Attachments

  • Screenshot (149).png
    Screenshot (149).png
    1.5 KB · Views: 353
  • Screenshot (150).png
    Screenshot (150).png
    9.9 KB · Views: 460
  • Screenshot (151).png
    Screenshot (151).png
    2.6 KB · Views: 335
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 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):

Screenshot (152).png


I get that one.

What I do not get is the second method:

Screenshot (150).png


I am trying to get the encircled step using formula on #4 but don't get it. May you show it me?
 

Attachments

  • Screenshot (152).png
    Screenshot (152).png
    3.5 KB · Views: 331
  • Screenshot (150).png
    Screenshot (150).png
    3.5 KB · Views: 325
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 JD_PM
Back
Top