Calculating the Divergence of a Vector Field

Click For Summary

Homework Help Overview

The discussion revolves around calculating the divergence of a vector field defined as V=\frac {\boldsymbol{\hat {r}}}{r^2}. Participants are tasked with both visualizing this vector field and computing its divergence, specifically \nabla \cdot V.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss the components of the vector field and the process of computing the divergence. There are attempts to derive the partial derivatives of the components, with one participant expressing uncertainty about the correctness of their calculations and the expected outcome.

Discussion Status

Some participants have provided corrections to earlier attempts, particularly regarding the calculation of derivatives. There is an ongoing exploration of the correct approach to finding the divergence, with emphasis on ensuring all components are calculated.

Contextual Notes

Participants mention an expectation of a special result, possibly a numerical value, which adds a layer of complexity to the problem. There is also a reference to a visual representation of the vector field that may influence understanding.

Karol
Messages
1,380
Reaction score
22

Homework Statement


The question is to draw the function:
V=\frac {\boldsymbol{\hat {r}}}{r^2}
And to compute it's divergence: \nabla \cdot V

Homework Equations


\nabla\cdot V=\left ( \frac {\partial}{\partial x} \boldsymbol{\hat {x}}+\frac {\partial}{\partial y} \boldsymbol{\hat {y}}+\frac {\partial}{\partial z} \boldsymbol{\hat {z}}\right )\left ( v_x \boldsymbol{\hat {x}}+v_y \boldsymbol{\hat {y}}+v_z \boldsymbol{\hat {z}}\right )=\frac {\partial v_x}{\partial x}+\frac {\partial v_y}{\partial y}+\frac {\partial v_z}{\partial z}

The Attempt at a Solution


V=\frac {x}{x^2+y^2+z^2}\boldsymbol{\hat {x}}+\frac {y}{x^2+y^2+z^2}\boldsymbol{\hat {y}}+\frac {x}{x^2+y^2+z^2}\boldsymbol{\hat {x}}
The x component:
\frac {\partial}{\partial x}\left( \frac {x}{x^2+y^2+z^2}\right)=\frac {-2x^2+y^2+z^2}{(x^2+y^2+z^2)^2}
And the other components are similar
I don't think this is the answer, since i was told to expect something special, maybe a number?
The vector field is, to my opinion, as in the picture attached
 

Attachments

  • Square r.jpg
    Square r.jpg
    10.7 KB · Views: 465
Physics news on Phys.org
Karol said:

Homework Statement


The question is to draw the function:
V=\frac {\boldsymbol{\hat {r}}}{r^2}
And to compute it's divergence: \nabla \cdot V

Homework Equations


\nabla\cdot V=\left ( \frac {\partial}{\partial x} \boldsymbol{\hat {x}}+\frac {\partial}{\partial y} \boldsymbol{\hat {y}}+\frac {\partial}{\partial z} \boldsymbol{\hat {z}}\right )\left ( v_x \boldsymbol{\hat {x}}+v_y \boldsymbol{\hat {y}}+v_z \boldsymbol{\hat {z}}\right )=\frac {\partial v_x}{\partial x}+\frac {\partial v_y}{\partial y}+\frac {\partial v_z}{\partial z}

The Attempt at a Solution


V=\frac {x}{x^2+y^2+z^2}\boldsymbol{\hat {x}}+\frac {y}{x^2+y^2+z^2}\boldsymbol{\hat {y}}+\frac {x}{x^2+y^2+z^2}\boldsymbol{\hat {x}}
The x component:
\frac {\partial}{\partial x}\left( \frac {x}{x^2+y^2+z^2}\right)=\frac {-2x^2+y^2+z^2}{(x^2+y^2+z^2)^2}
This derivative is incorrect. And even if it were it wouldn't be "the answer" because you haven't calculated the other two partial derivatives.

I don't think this is the answer, since i was told to expect something special, maybe a number?
The vector field is, to my opinion, as in the picture attached
 
Why isn't the derivative correct?
The derivative of a fraction:
\frac {u}{v}=\frac {u'v-v'u}{v^2}
And, in our case:
\left ( \frac {x}{x^2+y^2+z^2} \right )'=\frac {1 \cdot (x^2+y^2+z^2)-2x \cdot x}{(x^2+y^2+z^2)^2}=\frac {-x^2+y^2+z^2}{(x^2+y^2+z^2)^2}
 
Yes, that is correct. And not what you had before.

Now calculate the other two partial derivatives and add them.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
2
Views
2K
Replies
20
Views
2K
Replies
2
Views
1K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K