How to Derive the Divergence of Magnetic Field in Cylindrical Coordinates?

In summary, the divergence of a magnetic field is caused by the presence of magnetic monopoles or changing electric fields, and is calculated using the divergence operator. It indicates the strength and direction of the field and can predict the behavior of charged particles. In a static field, the divergence is zero while the curl is non-zero, as stated in Maxwell's equations. The divergence also determines the strength of the field's interaction with matter.
  • #1
bon
559
0

Homework Statement



Ok well all I am told in the question is that the magnetic field B at a distance r from a straight wire carrying current I has magnitude uoI/2pi r..

The lines of force are circles on the wire and in planes perpendicular to it..

Show that divB = 0


Homework Equations





The Attempt at a Solution



So I've not actually done any electromag, but it should be possible to do the question without it...

Im just unsure on how to write the vector B..i.e. how can i write it down in vector form using the information theyve given me?

thanks :)
 
Physics news on Phys.org
  • #2
The magnetic field at a distance [tex]r[/tex] from a long current carrying wire, has magnitude [tex]|B|=\frac{\mu_0 I}{2\pi} \frac{1}{r}[/tex]

Its direction is always perpendicular to the radial direction.

All that remains is to write this out in Cartesian coordinates and to take the divergence of the resulting function.

If you're not asked for much rigor, you could simply say that the magnetic field lines have no beginning and no end, there is no volume element in space that has more inwards magnetic flux than it does outwards magnetic flux, as there are no magnetic monopoles, therefore, the condition that [tex]\vec \nabla \cdot \vec B[/tex] is satisfied.

Going for the more rigorous approach, let's first make life simple for ourselves. We'll set the current carrying wire along the +x axis and adopt a right-handed coordinate system ([tex]\hat x \times \hat y = \hat z[/tex])

For a vector originating at the x axis, making an angle theta with the xy plane, its components are:[tex] \hat r = \cos{\theta} \hat y + \sin{\theta} \hat z[/tex]

The vector perpendicular to this vector would be [tex]\hat \phi = -\hat r \times \hat x[/tex] (Convince yourself that this is true using a right-hand-rule)

All that remains from here is to take the divergence of the resulting function, [tex]\vec B = \frac{\mu_0 I}{2\pi}\frac{1}{r}\hat \phi[/tex] and to prove that it equals 0 for general values, [tex]r[/tex] and [tex]\theta[/tex], thus proving that the divergence of B is zero everywhere.
 
Last edited:
  • #3
In cylindrical coordinates:
[tex] \vec{B} = \frac{{\mu}_0I}{2{\pi}r}\hat{\theta} [/tex]
Since the magnetic field is always perpendicular to the r and z vectors. You can look up the formula for divergence in cylindrical coordinates or derive it yourself

Edit: Got distracted while posting...I see I've been beaten to it :D
 
  • #4
JaWiB said:
In cylindrical coordinates:
[tex] \vec{B} = \frac{{\mu}_0I}{2{\pi}r}\hat{\theta} [/tex]
Since the magnetic field is always perpendicular to the r and z vectors. You can look up the formula for divergence in cylindrical coordinates or derive it yourself

Edit: Got distracted while posting...I see I've been beaten to it :D

This is much more useful as it gets turns into a BIG mess of partial derivatives if you try and do it in Cartesian coordinates instead of the system's natural cylindrical coordinates:

http://en.wikipedia.org/wiki/Cylindrical_coordinates

What should matter to you is [tex]\vec\nabla = \boldsymbol{\hat \rho}\frac{\partial}{\partial \rho} + \boldsymbol{\hat \varphi}\frac{1}{\rho}\frac{\partial}{\partial \varphi} + \mathbf{\hat z}\frac{\partial}{\partial z},[/tex]

And then take the divergence with [tex]\vec \nabla \cdot \vec B[/tex] as usual.
 
  • #5
Thanks..how do i derive it myself?

Also how did you get that the vector perpendicular to that vector is -r x x?
thanks a lot for all your help!
 
  • #6
RoyalCat said:
This is much more useful as it gets turns into a BIG mess of partial derivatives if you try and do it in Cartesian coordinates instead of the system's natural cylindrical coordinates:

http://en.wikipedia.org/wiki/Cylindrical_coordinates

What should matter to you is [tex]\vec\nabla = \boldsymbol{\hat \rho}\frac{\partial}{\partial \rho} + \boldsymbol{\hat \varphi}\frac{1}{\rho}\frac{\partial}{\partial \varphi} + \mathbf{\hat z}\frac{\partial}{\partial z},[/tex]

And then take the divergence with [tex]\vec \nabla \cdot \vec B[/tex] as usual.

Thanks ok so the working is just

div B = 1/r times d/dtheta of (uoI/2pir)

but since this contains no thethas, this just = 0?

confused :S
 
  • #7
RoyalCat said:
The vector perpendicular to this vector would be [tex]\hat \phi = -\hat r \times \hat x[/tex] (Convince yourself that this is true using a right-hand-rule)


Please could you explain this a bit more? or derive it?

thank you again for your help! much appreciated :)
 
  • #8
Haha, okay, one thing at a time!

There's nothing to derive about [tex]\hat \phi = -\hat r \times \hat x[/tex] Just use the right hand rule to take the cross product and you'll see that the azimuthal direction is the cross product described.

As for deriving the del operator in cylindrical coordinates yourself, that takes a bit of trigonometry and a whole lot of patience. It's a pretty messy derivation that requires you to pretty much work it out backwards, starting from the cartesian del operator: [tex]\vec \nabla = \frac{\partial}{\partial x}\hat x+\frac{\partial}{\partial y}\hat y+\frac{\partial}{\partial z}\hat z[/tex], you should put things in terms of the cylindrical coordinates by first translating the cylindrical coordinates into cartesian coordinates and then rearranging your original expression.

And as for the third part, you forgot to multiply by the original function, but you still get 0 as a result! [tex]\frac{\partial (x)}{\partial y}=0[/tex] because x is not a function of y, same thing applies here.
 

1. What causes the divergence of a magnetic field?

The divergence of a magnetic field is caused by the presence of magnetic monopoles (magnetic charges) or by the changing electric field in the surrounding space.

2. How is the divergence of a magnetic field calculated?

The divergence of a magnetic field is calculated using the divergence operator, which measures the rate at which the field is spreading out or converging at a given point.

3. What is the significance of the divergence of a magnetic field?

The divergence of a magnetic field indicates the strength and direction of the magnetic field lines, and can help predict the behavior of charged particles within the field.

4. What is the relationship between divergence and curl in a magnetic field?

In a static magnetic field, the divergence of the magnetic field is zero, while the curl (or rotational tendency) of the field is non-zero. This relationship follows from the Maxwell's equations of electromagnetism.

5. How does the divergence of a magnetic field affect its interaction with matter?

The divergence of a magnetic field determines how strongly it interacts with matter. A strong divergence can result in a larger force on charged particles, while a weak divergence may result in little to no effect on matter.

Similar threads

  • Introductory Physics Homework Help
Replies
16
Views
390
  • Introductory Physics Homework Help
Replies
14
Views
1K
  • Introductory Physics Homework Help
Replies
21
Views
1K
  • Introductory Physics Homework Help
Replies
4
Views
329
  • Introductory Physics Homework Help
Replies
7
Views
852
  • Introductory Physics Homework Help
Replies
7
Views
228
  • Introductory Physics Homework Help
Replies
11
Views
1K
  • Introductory Physics Homework Help
Replies
1
Views
346
  • Introductory Physics Homework Help
Replies
3
Views
1K
  • Introductory Physics Homework Help
Replies
15
Views
2K
Back
Top