A Plot of Magnetic Field Lines
- Context: Undergrad
- Thread starter KitchiRUs
- Start date
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
7 replies · 8K views
Discussion
Physics news on Phys.org
Science Advisor
- 2,812
- 491
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.
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.
KitchiRUs
- 6
- 0
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?
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?
Science Advisor
- 2,812
- 491
[itex]B_x[/itex] means the component of B along the x direction. [itex]\mathbf{B}[/itex] is a vector field, which means there is a vector [itex]\mathbf{B}(x,y,z)[/itex] at every point in space (ignoring the time coordinate). So there are three scalar functions of three variables, [itex]B_x(x,y,z), B_y(x,y,z), B_z(x,y,z)[/itex]. Vectors in 3D can be specified using 3 scalars.
It doesn't really make sense to plot [itex]B_x(x,y,z) vs B_y(x,y,z)[/itex] without specifying what x, y, and z are.
Gradient is something different. It is the slope of a scalar field. The gradient of [itex]B_x[/itex] is a vector field, while the gradient of [itex]\mathbf{B}[/itex] is a rank 2 tensor because [itex]\mathbf{B}[/itex] is already a vector field
It doesn't really make sense to plot [itex]B_x(x,y,z) vs B_y(x,y,z)[/itex] without specifying what x, y, and z are.
Gradient is something different. It is the slope of a scalar field. The gradient of [itex]B_x[/itex] is a vector field, while the gradient of [itex]\mathbf{B}[/itex] is a rank 2 tensor because [itex]\mathbf{B}[/itex] is already a vector field
mikeph
- 1,229
- 18
You're not plotting B at all, you're plotting a family of parametric curves which are at every point tangential to B.
KitchiRUs
- 6
- 0
I've seen those differential equations for [itex]\textbf{B}[/itex]. 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 [itex]\textsl{B}_{x}[/itex] vs [itex]\textsl{B}_{y}[/itex], 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.
Also, I plotted [itex]\textsl{B}_{x}[/itex] vs [itex]\textsl{B}_{y}[/itex], 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.
mikeph
- 1,229
- 18
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.
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.
KitchiRUs
- 6
- 0
@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.
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
Undergrad Geometry of Magnetic field lines as they approach a magnet pole?
- doomer
- · Replies 28 ·
- Electromagnetism
- Replies
- 28
Graduate Electric and magnetic field lines in a plane wave of finite extent
- Kostik
- · Replies 1 ·
- Electromagnetism
- Replies
- 1
High School Seeing both B field lines and E field lines at the same time
- Rev. Cheeseman
- · Replies 22 ·
- Electromagnetism
- Replies
- 22
Undergrad Magnetic field lines and magnetic flux density
- AlanTuring
- · Replies 35 ·
- Electromagnetism
- Replies
- 35
High School A Magnetic Misconception on Divergence 0/Closed Field Lines?
- walkeraj
- · Replies 3 ·
- Electromagnetism
- Replies
- 3
Undergrad Magnetic field lines around electron and wire seem to contradict
- SamRoss
- · Replies 6 ·
- Electromagnetism
- Replies
- 6
Undergrad Why do magnetic field lines point opposite to field vectors inside a magnet?
- magnetics
- · Replies 9 ·
- Electromagnetism
- Replies
- 9
Are Magnetic Field Lines Real? - Comments
- Ibix
- · Replies 31 ·
- Electromagnetism
- Replies
- 31
Graduate Force & energy in cutting and stretching magnetic field lines?
- Luke2642
- · Replies 3 ·
- Electromagnetism
- Replies
- 3
Undergrad Understanding the Relationship Between Magnetic Field Lines and Force
- APUGYael
- · Replies 14 ·
- Electromagnetism
- Replies
- 14