A Plot of Magnetic Field Lines

Click For Summary

Discussion Overview

The discussion revolves around the interpretation and representation of magnetic field lines in plots, specifically focusing on the relationships between the components of the magnetic field and their graphical representations in 2D and 3D. Participants explore the nature of magnetic field lines, the mathematical representation of magnetic fields, and the implications of plotting various components against each other.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning

Main Points Raised

  • One participant questions what exactly is plotted in magnetic field line representations, asking if it is Bx vs x vs y or Bx vs By vs Bz.
  • Another participant explains that magnetic field lines represent trajectories formed by following the magnetic field, describing them as tangent curves to the vector field B.
  • A participant expresses confusion about plotting Bx vs By or Bx vs x vs y, wondering if the latter represents the gradient of the field in the xy plane.
  • It is noted that Bx represents the component of the magnetic field along the x direction and that the magnetic field is a vector field defined at every point in space.
  • One participant clarifies that plotting Bx vs By does not make sense without specifying the coordinates x, y, and z.
  • Another participant states that the plots are not of B itself but rather of parametric curves tangential to B.
  • A participant raises a question about solving the coupled ordinary differential equations (ODEs) for the magnetic field and whether there is an easier method to find the tangent at each point.
  • One participant mentions that their plot of Bx vs By resembled textbook dipole field plots, expressing confusion about the observed results.
  • A later reply provides a mathematical formulation for streamlines and discusses the relationship between the differential equations and the plotted curves.

Areas of Agreement / Disagreement

Participants express varying levels of understanding regarding the plotting of magnetic field components and the implications of those plots. There is no consensus on the best approach to represent or interpret these plots, and confusion remains about the relationship between the plotted data and the underlying magnetic field equations.

Contextual Notes

Participants highlight the complexity of the mathematical relationships involved, including the distinction between plotting scalar functions and vector fields, as well as the nature of gradients in this context. The discussion also touches on the challenges of solving differential equations related to magnetic fields.

KitchiRUs
Messages
6
Reaction score
0
Hi,

I was wondering - In the plots that we see of magnetic lines of force (like this one) what exactly are they plotting against what?

Meaning is it Bx vs x vs y, or is it Bx vs By vs Bz?
 
Physics news on Phys.org
It plots the trajectory formed by following the magnetic field. The magnetic field line of force is not a vector field. It is a tangent curve to the vector field B.

If you were a "magnetic charge", pushed around by the magnetic field, you would trace out the path of the magnetic field line.

If you think of the magnetic field as an arrow at each point, then the line of force is what you get by connecting all these arrows together into a continuous trajectory.
 
Okay, right. That makes sense.
I'm attempting to reproduce those plots, in 2D and in 3D, but I still don't fully understand what it means when I plot Bx vs By or Bx vs x vs y (in 3D).
Would Bx vs x vs y represent the gradient of the field in the xy plane?
 
B_x means the component of B along the x direction. \mathbf{B} is a vector field, which means there is a vector \mathbf{B}(x,y,z) at every point in space (ignoring the time coordinate). So there are three scalar functions of three variables, B_x(x,y,z), B_y(x,y,z), B_z(x,y,z). Vectors in 3D can be specified using 3 scalars.

It doesn't really make sense to plot B_x(x,y,z) vs B_y(x,y,z) without specifying what x, y, and z are.

Gradient is something different. It is the slope of a scalar field. The gradient of B_x is a vector field, while the gradient of \mathbf{B} is a rank 2 tensor because \mathbf{B} is already a vector field
 
You're not plotting B at all, you're plotting a family of parametric curves which are at every point tangential to B.
 
I've seen those differential equations for \textbf{B}. Except in 3D they are three coupled ODE's no? Is there an easier way to solve for the tangent at each point rather than to solve the ODE equations?

Also, I plotted \textsl{B}_{x} vs \textsl{B}_{y}, and it looked like the dipole field plots that we see in textbooks... After reading what you guys have said I'm confused about why that happens.
 
The equation for one of your streamlines will be x(t), where t increases from 0 and x(t) is the streamline curve equation. If you write the component forms, ie.

x(t) = [x(t), y(t), z(t)]
B(x) = [Bx(x,y,z), By(x,y,z), Bz(x,y,z)]

Then your streamline equation is:

dx(t)/Bx = dy(t)/By = dz(t)/Bz,

Which can be cross-multiplied to give your equations (dx/dy = Bx/By, dy/dz = By/Bz, dz/dx = Bz/Bx), then integrated to find x(t) at different "boundary" conditions values of x(0). I think that when you plotted Bx v By you were plotting the slope field of the streamline function in two dimensions, since Bx/By = dx/dy. That might explain the physical significance of what you saw.

The difficulty of solving these depends on the form of B, and in general you will need a solver algorithm.
 
@MikeyW - Thanks! That really cleared it up for me.

I was looking at the differential equations I had... I just didn't make the connection between them and what I was plotting.
 

Similar threads

  • · Replies 22 ·
Replies
22
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 28 ·
Replies
28
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 24 ·
Replies
24
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K