Calculating the Divergence of a Vector Field

In summary, the homework statement asks for the function V=\frac {\boldsymbol{\hat {r}}}{r^2} and the divergence of V. The attempt at a solution calculates 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}} and then tries to find the other two partial derivatives. The derivative of a fraction is correct, but the attempt at a solution is not correct because it
  • #1
Karol
1,380
22

Homework Statement


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

Homework Equations


[tex]\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}[/tex]

The Attempt at a Solution


[tex]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}}[/tex]
The x component:
[tex]\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}[/tex]
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: 410
Physics news on Phys.org
  • #2
Karol said:

Homework Statement


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

Homework Equations


[tex]\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}[/tex]

The Attempt at a Solution


[tex]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}}[/tex]
The x component:
[tex]\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}[/tex]
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
 
  • #3
Why isn't the derivative correct?
The derivative of a fraction:
[tex]\frac {u}{v}=\frac {u'v-v'u}{v^2}[/tex]
And, in our case:
[tex]\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}[/tex]
 
  • #4
Yes, that is correct. And not what you had before.

Now calculate the other two partial derivatives and add them.
 

1. What is the definition of divergence of a function?

The divergence of a function is a mathematical measure of the flow of a vector field from a given point. It represents the net outward flux of a vector field per unit volume as the volume around the point shrinks to zero.

2. How is the divergence of a function related to its partial derivatives?

The divergence of a function can be calculated by taking the dot product of the vector field with the del operator, which is a vector that consists of the partial derivatives of the function with respect to each variable. This means that the divergence is a scalar quantity that can be expressed as the sum of the partial derivatives of the function.

3. What does a positive or negative divergence indicate about a function?

A positive divergence indicates that the vector field is spreading out from a given point, while a negative divergence indicates that the vector field is converging towards that point. In other words, a positive divergence indicates a source and a negative divergence indicates a sink.

4. Can a function have a nonzero divergence at a point where it is continuous?

Yes, a function can have a nonzero divergence at a point where it is continuous. This is because the divergence takes into account the behavior of the function in a small neighborhood around the point, rather than just the value of the function at that point.

5. How is the divergence of a function used in real-world applications?

The divergence of a function has many applications in physics and engineering, particularly in the study of fluid dynamics. It is used to describe the flow of fluids, such as air or water, and can help predict the behavior of these fluids in different situations. It is also used in electromagnetic theory to describe the flow of electric and magnetic fields.

Similar threads

  • Calculus and Beyond Homework Help
Replies
3
Views
769
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
9
Views
766
  • Calculus and Beyond Homework Help
Replies
2
Views
653
  • Calculus and Beyond Homework Help
Replies
2
Views
461
  • Calculus and Beyond Homework Help
Replies
20
Views
454
  • Calculus and Beyond Homework Help
Replies
8
Views
874
  • Calculus and Beyond Homework Help
Replies
2
Views
541
  • Calculus and Beyond Homework Help
Replies
6
Views
2K
  • Calculus and Beyond Homework Help
Replies
19
Views
979
Back
Top