Magnetic Field Visualization
IntermediateVisualize magnetic fields created by current-carrying wires, loops, and magnetic dipoles.
Magnetic Field Theory
A magnetic field is created by moving electric charges (currents) or magnetic materials. Unlike electric fields, magnetic field lines form closed loops and have no isolated poles.
Biot-Savart Law (Current Element):
dB = Magnetic field element (T)
μ₀ = Permeability of free space ≈ 4π × 10⁻⁷ T⋅m/A
I = Current (A)
dl = Length element of wire (m)
r = Distance from element (m)
Straight Wire:
Circular field lines around the wire (right-hand rule)
Magnetic Field Properties:
- Magnetic field lines form closed loops (no magnetic monopoles)
- Field direction follows the right-hand rule for currents
- North and South poles always come in pairs
- Field lines are denser where the field is stronger
Interactive Simulation
💡 How to Use:
- Current Wire: Shows circular field lines (⊙ = out, ⊗ = in)
- Current Loop: Creates dipole field like a bar magnet
- Bar Magnet: N (red) and S (blue) poles with dipole field
- Click sources to select, then flip direction or rotate
- Field lines show magnetic field direction (closed loops)
- Right-hand rule: Thumb = current, fingers = field direction
Key Concepts
Right-Hand Rule:
Point your right thumb in the direction of current flow. Your fingers curl in the direction of the magnetic field lines around the wire.
Current Loop:
A circular loop of current creates a magnetic dipole similar to a bar magnet. Field lines emerge from one face (North) and enter the other (South).
Magnetic Dipole:
A bar magnet or current loop creates a dipole field pattern. Field lines emerge from the North pole and return to the South pole, forming closed loops.
Field Configurations:
- Straight wire: Concentric circular field lines
- Current loop: Dipole pattern similar to bar magnet
- Solenoid: Uniform field inside, dipole field outside
- Bar magnet: Classic dipole with N and S poles
Real-World Applications
Electromagnets
Current-carrying coils create controllable magnetic fields for motors, generators, and MRI machines
Electric Motors
Magnetic fields from coils interact with permanent magnets to create rotational motion
Magnetic Levitation
Repulsive magnetic forces enable high-speed maglev trains and frictionless bearings
Data Storage
Magnetic domains in hard drives store digital information using tiny magnetic fields
Discussion
Have questions or want to discuss magnetic fields? Join the conversation below.