Home▸Articles▸Electromagnetism

Understanding Magnetic Fields in Two Dimensions

Explore the fundamental principles of magnetic fields and their interactions with charges and currents.

mysimulator teamUpdated June 2026≈ 4 min read▶ Open the simulation

What Magnetic Fields Are

Magnetic fields are invisible regions around magnets or moving electric charges that exert forces on other magnets, electric currents, or magnetic materials. These fields can be visualized using field lines, which indicate the direction and strength of the magnetic force at any point in space.

The concept was first introduced by Hans Christian Ørsted in 1820 when he observed that a compass needle deflected near an electrified wire, marking the beginning of electromagnetism as a unified theory.

How Magnetic Fields Interact with Charges and Currents

Magnetic fields interact with moving charges through the Lorentz force law, which states that the force on a charge q moving with velocity v in a magnetic field B is given by F = q(v × B). This interaction causes charged particles to experience a deflection perpendicular to both their velocity and the magnetic field direction.

For current-carrying conductors, the magnetic fields exert forces on the moving charges within them. These forces can cause the conductor to experience a torque or a translational force, depending on the orientation of the current relative to the magnetic field.

live demo · related simulation● LIVE

Real-World Applications

Magnetic fields play crucial roles in various technologies and natural phenomena. For instance, they are essential for generating electricity using generators, where mechanical energy is converted into electrical energy through the interaction of a magnetic field with a current-carrying coil.

In nature, magnetic fields influence the behavior of charged particles in space, such as the Earth's magnetosphere that protects our planet from harmful solar winds.

Practical Implications and Experiments

Understanding magnetic fields is vital for designing devices like motors, generators, transformers, and even MRI machines. By manipulating these fields, engineers can control the motion of charged particles or induce currents in circuits.

Experiments with magnetic fields help students grasp fundamental concepts in physics. For example, using a simple setup with a bar magnet and a compass, one can observe how the field lines emerge from the north pole and enter the south pole.

Frequently asked questions

How do magnetic fields affect moving charges?

Magnetic fields cause moving charges to experience a force that is always perpendicular to both their velocity and the direction of the field, as described by the Lorentz force law.

What are some real-world applications of understanding magnetic fields?

Understanding magnetic fields is crucial for designing electrical machines like generators and motors, as well as medical imaging devices such as MRI scanners.

Can magnetic fields be used to control the motion of charged particles?

Yes, by manipulating the strength and direction of a magnetic field, one can control the path and speed of moving charges, which is fundamental in many technological applications.

How do magnetic fields interact with current-carrying conductors?

Magnetic fields exert forces on the moving charges within a conductor, causing it to experience either a torque or a translational force, depending on its orientation relative to the field.

Try it live

Everything above runs in your browser — open Magnetic Field 2 and change the parameters while it is running. Nothing is installed, nothing is uploaded, the whole model lives in one tab.

▶ Open Magnetic Field 2 simulation

What did you find?

Add reproduction steps (optional)