Solved exercises on the magnetic field: Lorentz force, Biot-Savart and Ampère's law
Twelve exercises with solutions: the Lorentz force, circular motion and cyclotron frequency, the force on a wire, the field of a wire, a loop and a solenoid, the force between parallel wires, the velocity selector, the torque on a coil, Ampère's law inside a conductor, the mass spectrometer, helical motion.
https://www.electronics-engineering.com/en/magnetic-field-lorentz-biot-savart-ampere-exercises-solved/
Exercises on the magnetic field of the kind set in Physics 2 courses, in three levels: basic, for the Lorentz force, the circular motion of a charge, the force on a wire and the field of a straight wire; intermediate, with the circular loop, the solenoid, the force between two wires and the velocity selector; exam, with the torque on a coil, Ampère’s law inside a conductor, the mass spectrometer and helical motion. Constants:
,
,
,
. The result is given straight away; the full solution opens with a click.
Basic level
Exercise 1. The Lorentz force
A proton moves at
perpendicular to a magnetic field
. Compute the force acting on it.
Result:
, perpendicular to both the velocity and the field.
Solution
The Lorentz force is
; with velocity and field perpendicular its magnitude is
![]()
Exercise 2. The circular motion of an electron
An electron enters with velocity
perpendicular to a field
. Find the radius of the path and the rotation frequency.
Result:
,
.
Solution
The Lorentz force provides the centripetal force:
, so
![]()
Exercise 3. The force on a current-carrying wire
A piece of wire
long, carrying
, makes an angle of
with a field
. Compute the force on the wire.
Result:
.
Solution
For a straight wire
, with magnitude
![]()
Exercise 4. The field of a straight wire
Compute the magnetic field
from a very long straight wire carrying
.
Result:
.
Solution
From Ampère’s law (or Biot-Savart) the field of an infinite wire is
![]()
Intermediate level
Exercise 5. The field at the centre of a loop
A circular loop of radius
carries
. Compute the field at the centre.
Result:
, perpendicular to the plane of the loop.
Solution
With the Biot-Savart law every element
of the loop is perpendicular to the radius and lies at distance
from the centre, so all contributions have the same direction and add up:
![]()
Exercise 6. The solenoid
A solenoid
long has
turns and carries
. Compute the field inside.
Result:
.
Solution
The turns per unit length are
. For a long solenoid the internal field is uniform:
![]()
Exercise 7. The force between two parallel wires
Two parallel wires
apart each carry
in the same direction. Compute the force per unit length.
Result:
, attractive.
Solution
Wire 1 creates at the position of wire 2 the field
; wire 2 feels the force
:
![]()
Exercise 8. The velocity selector
A region contains an electric field
and a magnetic field
, perpendicular to each other and to the velocity of the particles. Which speed passes through undeflected?
Result:
, whatever the charge.
Solution
The particle goes straight on if the electric and magnetic forces cancel:
, so
![]()
Exam level
Exercise 9. The torque on a coil
A rectangular coil of
turns,
, carrying
, is in a field
parallel to the plane of the coil. Compute the magnetic moment and the torque.
Result:
,
(the maximum).
Solution
The area is
, the magnetic moment
, perpendicular to the plane of the coil.
The torque is
. With the field parallel to the plane,
is perpendicular to
and the torque is maximum:
![]()
Exercise 10. Ampère’s law inside a wire
A wire of radius
carries
spread uniformly over its cross-section. Compute the field at
,
and
from the axis.
Result:
,
,
.
Solution
Apply Ampère’s law
on a circle of radius
coaxial with the wire:
.
Inside the wire the enclosed current is the fraction of the cross-section:
, so
![]()
Exercise 11. The mass spectrometer
Carbon ions with charge
are accelerated through
and enter a field
, where they describe half a circle. How far apart do the
and
ions land on the detector? (
)
Result: radii
and
; the landing points are about
apart.
Solution
After the acceleration
, that is
. In the field the radius is
; substituting:
![]()
Exercise 12. Helical motion
A proton with speed
enters a field
at an angle of
to the field lines. Find the radius and the pitch of the helix.
Result:
, pitch
.
Solution
Split the velocity: the perpendicular component,
, produces the circular motion; the parallel one,
, is unaffected by the field and stays constant.
![]()
