Vector field homework - checking my work

3 replies · 2K views · last reply
athrun200
Messages
275
Reaction score
0

Homework Statement



Textbook excerpt: Problem 1.16 asks to sketch the vector function v = r-hat / r^2 and compute its divergence, noting the answer may surprise you.


Homework Equations





The Attempt at a Solution


What's surprise?
And is my work correct?


Handwritten derivation on lined paper: r-hat = x-hat + y-hat + z-hat, r^2 = x^2 + y^2 + z^2, vector v = x-hat/(x^2+y^2+z^2) + y-hat/(x^2+y^2+z^2) + z-hat/(x^2+y^2+z^2), and divergence of v worked out as -2(x+y+z)/(x^2+y^2+z^2)^2.
 
Attachments
  • Printed textbook problem: Problem 1.16 asks to sketch the vector function v = r-hat / r^2 and compute its divergence, noting the answer may surprise you.
    2.jpg
    8.3 KB · Views: 482
  • Handwritten derivation on lined paper: r-hat = x-hat + y-hat + z-hat, r^2 = x^2 + y^2 + z^2, vector v = x-hat/(x^2+y^2+z^2) + y-hat/(x^2+y^2+z^2) + z-hat/(x^2+y^2+z^2), then div v = -2x/(x^2+y^2+z^2)^2 + -2y/(...)^2 + -2z/(...)^2 = -2(x+y+z)/(x^2+y^2+z^2)^2.
    3.jpg
    23.7 KB · Views: 462
You have a problem: [itex]\mathbf{r}=x\mathbf{i}+y\mathbf{j}+z\mathbf{k}[/itex].
 
hunt_mat said:
You have a problem: [itex]\mathbf{r}=x\mathbf{i}+y\mathbf{j}+z\mathbf{k}[/itex].

r is the radius from centre, isn't it?