Skip to content
All apps

Magnetic field & Lorentz force

About this app

A current-carrying conductor with its ring-shaped B-field (right-hand rule) in 3D and a moving charge on a circular path due to the Lorentz force F = q·v×B — vectors v, B, F in colour, sliders for I, B and v.

The physics

A straight current-carrying wire is surrounded by a circular magnetic field whose strength falls with distance: B = μ₀·I/(2π·r). The right-hand grip rule links the directions: with the thumb along the current, the curled fingers show the field direction. A charge q moving with velocity v through a magnetic field feels the Lorentz force F = q·v×B. It is perpendicular to both v and B, so it changes only the direction of motion. In a uniform field the result is a circle of radius r = m·v/(|q|·B).

What you see

The 3D scene has two modes. In “Wire” mode you see a straight wire with field rings whose direction follows the right-hand rule. In “Charge” mode a charge flies through a uniform field, with the vectors v, B and F drawn in colour. A panel shows the current and the field at the wire surface, or the charge, force magnitude and orbit radius.

Things to try

In wire mode, reverse the current and watch the field rings change their sense of rotation. In charge mode, increase the speed: the orbit radius grows in proportion. A stronger field makes the circle tighter. Set the charge negative and it circles the other way. With q close to zero there is no force, and the path stays straight.

Frequently asked questions

What is the Lorentz force?
The Lorentz force is the force on a moving charge in a magnetic field: F = q·v×B. Its magnitude is q·v·B·sin α, where α is the angle between v and B. It is always perpendicular to both the velocity and the field.
Why does a charged particle move in a circle in a magnetic field?
The Lorentz force is perpendicular to the velocity, so it does no work and the speed stays constant. It acts as a centripetal force. From q·v·B = m·v²/r the radius is r = m·v/(|q|·B) when v is perpendicular to B.
How does the right-hand grip rule work?
Imagine gripping the wire with your right hand so the thumb points in the direction of conventional current. Your curled fingers then show the direction of the magnetic field lines around the wire. Reversing the current reverses the direction of the field.
What can I adjust in the Lorentz force app?
In wire mode you set the current and reverse its direction. In charge mode you set field strength B, speed v and charge q, including negative values. The 3D view shows the field rings or the vectors v, B and F, together with force magnitude and orbit radius.

Subject: Electrical engineering fundamentals

More from Electrical engineering fundamentals

A VisuApp by heyprof: interactive, free in your browser, no sign-up. What is a VisuApp? · All apps