Magnetism

42 Magnetic Fields Produced by Moving charges (Biot-Savart Law) and by Currents (Ampere’s Law)

Learning Objectives

  • Calculate the magnetic field produced by an electric current.
  • Use Right-Hand Rule 2 (RHR-2) to determine the direction of magnetic fields created by moving charges and electric currents.

In the previous sections, we learned that magnetic fields exert forces on moving electric charges. An equally important question is the reverse: What creates a magnetic field?

One source of magnetic fields is a moving electric charge. Every time an electric charge moves, it produces a magnetic field around it. Since an electric current is simply a collection of moving charges, every current-carrying wire also produces a magnetic field. This discovery, first made by the Danish physicist Hans Christian Ørsted in 1820, established the close connection between electricity and magnetism and eventually led to the development of modern electromagnetism.

In this section, we will examine how magnetic fields are produced by moving charges and electric currents. We will focus on three important situations:

  • a single moving charge,
  • a long straight current-carrying wire, and
  • coils of wire, including circular loops and solenoids.

Understanding these magnetic fields is important because they form the basis of many technologies used in medicine and biology. Electromagnets generate the powerful magnetic fields used in magnetic resonance imaging (MRI), while smaller current-carrying coils are found in medical instruments, laboratory equipment, hearing devices, and many electronic sensors.

Magnetic Field Created by a Moving Charge

Just as an electric charge creates an electric field around it, a moving electric charge creates a magnetic field. Unlike electric fields, however, magnetic fields do not exert forces on stationary charges. A magnetic force exists only when charges are moving.

The magnetic field produced by a moving charge depends on four factors:

  • the magnitude of the charge, [latex]|q|[/latex],
  • its speed, [latex]v[/latex],
  • the distance [latex]r[/latex] from the charge to the observation point, and
  • the angle [latex]\theta[/latex] between the velocity of the charge and the line joining the charge to the observation point.
A positive charge q moves horizontally with velocity v. A point P is located a distance r away, making an angle θ with the velocity vector. The magnetic field at point P depends on the charge, its speed, the distance r, and the angle θ.
Figure 42.1: Geometry used to describe the magnetic field produced by a moving charge. The magnetic field depends on the charge, its speed, the distance to the observation point, and the angle between the velocity vector and the position vector.

Experimental measurements show that the magnetic field produced by a moving charge is given by

[latex]B=\frac{\mu_0}{4\pi}\frac{|q|v\sin\theta}{r^2}.[/latex]

This equation shows that the magnetic field becomes stronger for larger charges and higher speeds, but weaker as the distance from the moving charge increases. The field is strongest when the charge moves perpendicular to the line joining it to the observation point ([latex]\theta=90^\circ[/latex]) and becomes zero when the charge moves directly toward or away from that point.

The direction of the magnetic field is determined using Right-Hand Rule 2 (RHR-2). Point your right thumb in the direction of motion of a positive charge. Curl your fingers toward the observation point. Your curled fingers indicate the direction of the magnetic field. For a negative charge, the magnetic field points in the opposite direction.

Although this equation describes the magnetic field of a single moving charge, electric currents in wires are actually produced by enormous numbers of moving charges. The magnetic fields produced by all of these charges combine to create the magnetic field surrounding a current-carrying conductor, which is the situation we will study next.

Magnetic Field Around a Long Straight Current-Carrying Wire

When many moving charges travel together through a wire, they create a magnetic field that surrounds the wire. This magnetic field was first observed by Hans Christian Ørsted, who noticed that a compass needle placed near a current-carrying wire changed direction whenever current flowed through the wire. This simple experiment demonstrated that electric currents produce magnetic fields.

Unlike the electric field surrounding a point charge, the magnetic field around a long straight wire forms a series of concentric circular loops centered on the wire, as illustrated in Figure 42.2. The direction of these loops can be determined using Right-Hand Rule 2 (RHR-2).

A long straight wire carries current upward. Magnetic field lines form concentric circles around the wire. Right-Hand Rule 2 shows that pointing the right thumb in the direction of the current causes the fingers to curl in the direction of the magnetic field.
Figure 42.2: A current-carrying wire produces magnetic field lines that form concentric circles around the wire. According to Right-Hand Rule 2 (RHR-2), point your right thumb in the direction of the conventional current. Your curled fingers show the direction of the magnetic field lines.

Right-Hand Rule 2 (RHR-2) states:

  • Point your right thumb in the direction of the conventional current.
  • Curl your fingers around the wire.
  • Your fingers indicate the direction of the magnetic field lines.

This rule applies not only to a long straight wire but also to any current-carrying conductor. It is one of the most useful tools for predicting the direction of magnetic fields in electric circuits.

Experiments also show that the magnetic field becomes stronger when the current increases and weaker as the distance from the wire increases. For a long straight wire, the magnetic field strength is

[latex]B=\frac{\mu_0 I}{2\pi r},[/latex]

where

  • [latex]B[/latex] is the magnetic field strength (T),
  • [latex]I[/latex] is the current (A),
  • [latex]r[/latex] is the perpendicular distance from the wire (m), and
  • [latex]\mu_0=4\pi\times10^{-7}\ \text{T}\cdot\text{m/A}[/latex] is the permeability of free space, a fundamental physical constant.

This equation shows two important relationships:

  • The magnetic field is directly proportional to the current. Doubling the current doubles the magnetic field.
  • The magnetic field is inversely proportional to the distance from the wire. Moving twice as far away reduces the field strength by half.

Current-carrying wires are found in nearly every electrical device, from laboratory equipment and electromagnets to MRI systems. Understanding how currents create magnetic fields is the first step toward understanding how electromagnets, electric motors, transformers, and many medical technologies operate.

Example 42.1: Calculating the Current Needed to Produce a Magnetic Field

A long straight wire produces a magnetic field. What current is required to create a magnetic field that is twice the strength of the Earth's magnetic field at a point 5.0 cm from the wire? Assume the Earth's magnetic field has a magnitude of [latex]5.0\times10^{-5}\ \text{T}[/latex].

Strategy

The magnetic field produced by a long straight current-carrying wire is given by

[latex]B=\frac{\mu_0 I}{2\pi r}.[/latex]

Since the required magnetic field is twice the Earth's field,

[latex]B=2(5.0\times10^{-5}\ \text{T})=1.0\times10^{-4}\ \text{T}.[/latex]

The distance from the wire and the desired magnetic field are known, so we solve the equation for the current [latex]I[/latex].

Solution

Rearrange the equation to solve for the current:

[latex]I=\frac{2\pi rB}{\mu_0}.[/latex]

Substitute the known values:

[latex]\begin{aligned} I&=\frac{2\pi(5.0\times10^{-2}\ \text{m})(1.0\times10^{-4}\ \text{T})} {4\pi\times10^{-7}\ \text{T}\cdot\text{m/A}}\\ &=25\ \text{A}. \end{aligned}[/latex]

Answer:

[latex]\boxed{I=25\ \text{A}}[/latex]

Discussion

A current of 25 A is large compared with the current used by many household devices, yet it is sufficient to produce a magnetic field stronger than the Earth's only a few centimeters from the wire. This example illustrates that relatively modest currents can generate measurable magnetic fields when the observation point is close to the conductor.

This principle is widely used in electromagnets, MRI systems, laboratory instruments, and other devices where electric currents are used to create controlled magnetic fields.

Beyond Straight Wires: Ampère's Law and Maxwell's Equations

The equation developed in this section describes the magnetic field produced by a long, straight current-carrying wire. In practice, however, electric currents can flow through wires of almost any shape, including loops, coils, and complex circuits. The magnetic field produced by these conductors can be found by adding together the contributions from many small segments of current.

Physicists use a more general relationship called the Biot–Savart law to calculate the magnetic field produced by currents of arbitrary shape. For situations with a high degree of symmetry, another powerful tool, known as Ampère's law, often provides a simpler way to determine the magnetic field.

Both of these relationships are part of an even more comprehensive theory known as Maxwell's equations. These four equations describe how electric and magnetic fields are generated and how they interact with one another. Together, they explain phenomena ranging from electric circuits and electromagnets to radio waves, visible light, and medical imaging technologies such as MRI.

The mathematics behind the Biot–Savart law, Ampère's law, and Maxwell's equations requires calculus and is beyond the scope of this course. Instead, we will continue using the simpler equations developed in this chapter together with Right-Hand Rule 2 to analyze the magnetic fields produced in common situations.

Making Connections: Einstein and Electromagnetism

Albert Einstein did not invent electricity or magnetism, but he recognized that electric and magnetic fields are closely related. His work on the theory of special relativity showed that observers moving at different speeds can measure different electric and magnetic fields, even though they are observing the same physical phenomenon. This insight helped reveal that electricity and magnetism are two aspects of a single force: electromagnetism.

Magnetic Field Produced by a Current-Carrying Circular Loop

Bending a current-carrying wire into a circle changes the shape of the magnetic field it produces. Instead of forming concentric circles around a straight wire, the magnetic field lines from different parts of the loop combine, producing a stronger field through the center of the loop. This is one of the reasons circular coils are widely used in electromagnets, electric motors, MRI systems, and many medical and laboratory instruments.

The direction of the magnetic field produced by a circular loop can be determined using Right-Hand Rule 2 (RHR-2). Curl the fingers of your right hand in the direction of the conventional current around the loop. Your thumb then points in the direction of the magnetic field passing through the center of the loop, as illustrated in Figure 42.3.

Using Right-Hand Rule 2 for a circular current loop. Curling the fingers of the right hand in the direction of the current causes the thumb to point in the direction of the magnetic field through the center of the loop. The resulting magnetic field resembles that of a bar magnet.
Figure 42.3: The magnetic field produced by a current-carrying circular loop. Right-Hand Rule 2 predicts the direction of the magnetic field through the center of the loop. The overall field pattern resembles that of a bar magnet.

Although the magnetic field varies from point to point around the loop, its value at the center of the loop is given by

[latex]B=\frac{\mu_0 I}{2R},[/latex]

where

  • [latex]B[/latex] is the magnetic field strength (T),
  • [latex]I[/latex] is the current through the loop (A),
  • [latex]R[/latex] is the radius of the loop (m), and
  • [latex]\mu_0[/latex] is the permeability of free space.

This equation applies only at the center of a circular loop. It shows that increasing the current produces a stronger magnetic field, while increasing the radius weakens the field because the current is farther from the center.

Many practical electromagnets contain multiple turns of wire rather than a single loop. If the coil has [latex]N[/latex] identical turns, the magnetic field at the center becomes

[latex]B=\frac{N\mu_0 I}{2R}.[/latex]

Each additional turn contributes to the magnetic field, making coils with many turns much stronger than a single loop carrying the same current. This principle is used in electromagnets, transformers, wireless charging systems, and the powerful coils that generate the magnetic fields used in MRI scanners.

Magnetic Field Produced by a Current-Carrying Solenoid

A solenoid is a long coil of wire made by winding many circular loops closely together. When an electric current flows through the coil, the magnetic fields produced by each loop combine to create a strong magnetic field inside the solenoid. Because the contributions from many loops add together, a solenoid can produce a much stronger magnetic field than a single loop carrying the same current.

One of the most useful properties of a solenoid is that the magnetic field inside the coil is nearly uniform. This means the field has almost the same magnitude and direction throughout most of the interior of the solenoid. Outside the coil, however, the magnetic field is much weaker. This combination of a strong, uniform internal field and a weak external field makes solenoids ideal for many scientific, engineering, and medical applications.

A solenoid consists of many closely spaced loops of wire carrying an electric current. Right-Hand Rule 2 predicts the direction of the magnetic field inside the coil. The magnetic field lines are nearly parallel and evenly spaced inside the solenoid, indicating a strong and nearly uniform magnetic field, while the field outside the coil is much weaker.
Figure 42.4: A current-carrying solenoid produces a strong, nearly uniform magnetic field inside the coil and a much weaker field outside. Right-Hand Rule 2 can be used to determine the direction of the magnetic field inside the solenoid.

The direction of the magnetic field inside the solenoid is determined using Right-Hand Rule 2 (RHR-2). Curl the fingers of your right hand in the direction of the conventional current flowing through the coils. Your thumb points in the direction of the magnetic field inside the solenoid and identifies its magnetic north pole.

The magnetic field inside an ideal solenoid is given by

[latex]B=\mu_0 n I,[/latex]

where

  • [latex]B[/latex] is the magnetic field strength (T),
  • [latex]\mu_0[/latex] is the permeability of free space,
  • [latex]n[/latex] is the number of turns per unit length of the solenoid ([latex]n=\dfrac{N}{l}[/latex]), and
  • [latex]I[/latex] is the current through the coil (A).

Unlike the equation for a circular loop, this expression gives the magnetic field throughout most of the interior of a long solenoid, not just at its center. The equation also shows that the magnetic field becomes stronger if the current is increased or if the loops are wound more closely together (larger [latex]n[/latex]).

Solenoids are widely used as electromagnets in relays, loudspeakers, electric door locks, laboratory instruments, and magnetic valves. Very large superconducting solenoids generate the powerful and highly uniform magnetic fields required in magnetic resonance imaging (MRI), allowing physicians to obtain detailed images of soft tissues without using ionizing radiation.

Example 42.2: Calculating the Magnetic Field Inside a Solenoid

A solenoid is 2.00 m long, contains 2000 turns of wire, and carries a current of 1600 A. Calculate the magnetic field strength inside the solenoid.

Strategy

The magnetic field inside a long solenoid is given by

[latex]B=\mu_0 nI,[/latex]

where [latex]n[/latex] is the number of turns per unit length. We first calculate [latex]n[/latex] and then substitute the known values into the equation.

Solution

First, calculate the number of turns per unit length:

[latex]n=\frac{N}{l} =\frac{2000}{2.00\ \text{m}} =1000\ \text{m}^{-1}.[/latex]

Now substitute the known values into the equation for the magnetic field:

[latex]\begin{aligned} B&=\mu_0 nI\\ &=\left(4\pi\times10^{-7}\ \text{T}\cdot\text{m/A}\right) \left(1000\ \text{m}^{-1}\right) \left(1600\ \text{A}\right)\\ &=2.01\ \text{T}. \end{aligned}[/latex]

Answer:

[latex]\boxed{B=2.01\ \text{T}}[/latex]

Discussion

A magnetic field of approximately 2 T is extremely strong. For comparison, the Earth's magnetic field is about
[latex]5\times10^{-5}\ \text{T}[/latex], making this solenoid's field roughly 40,000 times stronger.

Magnetic fields of this magnitude are commonly used in modern MRI scanners to align hydrogen nuclei within the body. Producing such strong fields with ordinary copper wire would generate a tremendous amount of heat because of the very large current required. For this reason, most clinical MRI systems use superconducting coils, which can carry large currents with essentially no electrical resistance when cooled to extremely low temperatures.

Current-carrying coils can be arranged in many different shapes to produce magnetic fields with specific properties. For example, the toroidal coil used in many experimental nuclear fusion reactors is similar to a solenoid that has been bent into a doughnut shape. Inside a toroid, the magnetic field forms closed circular paths that help confine extremely hot, electrically charged plasma. Because charged particles tend to follow magnetic field lines, the toroidal field helps keep the plasma away from the reactor walls, an essential requirement for achieving controlled nuclear fusion.

Engineers also combine coils with ferromagnetic materials, such as iron, to strengthen and shape magnetic fields. Ferromagnetic materials concentrate magnetic field lines within themselves, producing stronger fields where they are needed while reducing the field outside the material. This principle is used in transformers, electric motors, MRI systems, and magnetic shielding that protects sensitive electronic or medical equipment from unwanted external magnetic fields, including the Earth's magnetic field.

Interactive Exploration: Electric Generator

Electric generators convert mechanical energy into electrical energy. Instead of using electricity to produce motion like an electric motor, a generator works in reverse: moving a magnet relative to a coil of wire produces an electric current.

In this simulation, investigate how moving a magnet through a coil affects the current produced and the brightness of the light bulb. Try changing both the speed and the direction of the magnet, and observe how these changes influence the electrical output. In the next section, you will learn the physical law that explains these observations in detail.

Figure 42.5: PhET Interactive Simulation: Generator.

Guided Exploration

As you explore the simulation, consider the following questions:

  1. Move the magnet slowly through the coil. What happens to the current as the magnet enters and leaves the coil?
  2. Repeat the experiment while moving the magnet more quickly. How does the speed of the magnet affect the current and the brightness of the light bulb?
  3. Reverse the direction of the magnet's motion. What happens to the direction of the current?
  4. Hold the magnet stationary inside the coil. Is any current produced? Why or why not?
  5. If the simulation allows you to change the magnet strength, investigate how a stronger magnetic field affects the induced current.
  6. Based on your observations, explain why power plants continuously rotate magnets or coils rather than simply holding them still.

After completing the exploration, compare your observations with the ideas presented in the next section. You should notice that an electric current is produced only when the magnetic environment of the coil changes. Faster changes produce larger currents, which is the fundamental operating principle of electric generators used in power plants, wind turbines, and many medical devices.

Section Summary

  • The magnetic field produced by a long, straight current-carrying wire is
    [latex]B=\frac{\mu_0 I}{2\pi r},[/latex]

    where [latex]I[/latex] is the current, [latex]r[/latex] is the perpendicular distance from the wire, and

    [latex]\mu_0=4\pi\times10^{-7}\ \text{T}\cdot\text{m/A}[/latex]

    is the permeability of free space.

  • The direction of the magnetic field around a straight wire is determined using Right-Hand Rule 2 (RHR-2): point your right thumb in the direction of the conventional current, and your curled fingers indicate the direction of the magnetic field lines.
  • For current flowing along any path, the total magnetic field is the vector sum of the fields produced by each small segment of the current. This general relationship is described mathematically by the Biot–Savart law and Ampère's law.
  • The magnetic field at the center of a circular current loop is
    [latex]B=\frac{\mu_0 I}{2R},[/latex]

    where [latex]R[/latex] is the loop radius. For a flat coil with [latex]N[/latex] turns, the field becomes

    [latex]B=\frac{\mu_0 NI}{2R}.[/latex]

    The direction of the magnetic field is also determined using Right-Hand Rule 2.

  • The magnetic field inside a long solenoid is
    [latex]B=\mu_0 nI,[/latex]

    where [latex]n[/latex] is the number of turns per unit length of the solenoid. The field inside an ideal solenoid is nearly uniform in both magnitude and direction, making solenoids useful in applications such as electromagnets and MRI systems.

Conceptual Questions

  1. Draw the magnetic field produced by the current loop in an electric motor (such as the one shown in Figure 41.1) using Right-Hand Rule 2 (RHR-2). Then explain how the resulting magnetic forces produce the same direction of rotation that would be expected from the attraction of unlike magnetic poles and the repulsion of like magnetic poles.

Glossary

Ampère's law
A law that relates electric current to the magnetic field it produces. It states that the total magnetic field generated by a current-carrying conductor is the combined contribution of all current segments.
Biot–Savart law
A mathematical law that describes the magnetic field produced by a small segment of electric current. It forms the basis for calculating magnetic fields generated by conductors of any shape.
magnetic field at the center of a circular loop
The magnetic field produced at the center of a circular current loop, given by
[latex]B=\frac{\mu_0 I}{2R},[/latex]
where [latex]R[/latex] is the radius of the loop.
magnetic field inside a solenoid
The nearly uniform magnetic field inside a long solenoid, given by
[latex]B=\mu_0 nI,[/latex]
where [latex]n=N/l[/latex] is the number of turns per unit length.
magnetic field produced by a long straight wire
The magnetic field surrounding a long straight current-carrying wire, given by
[latex]B=\frac{\mu_0 I}{2\pi r},[/latex]
where [latex]I[/latex] is the current, [latex]r[/latex] is the perpendicular distance from the wire, and [latex]\mu_0[/latex] is the permeability of free space.
Maxwell's equations
A set of four fundamental equations that describe the behavior of electric and magnetic fields and unify electricity, magnetism, and electromagnetic waves.
permeability of free space
The physical constant
[latex]\mu_0=4\pi\times10^{-7}\ \text{T}\cdot\text{m/A},[/latex]
which determines how magnetic fields are produced in a vacuum.
Right-Hand Rule 2 (RHR-2)
A rule used to determine the direction of the magnetic field around a current-carrying conductor. Point your right thumb in the direction of the conventional current; your curled fingers indicate the direction of the magnetic field lines.
solenoid
A long, tightly wound coil of wire that produces a strong, nearly uniform magnetic field inside it when an electric current flows through the coil.
definition

License

Icon for the Creative Commons Attribution 4.0 International License

Introductory Physics for the Health and Life Sciences II Copyright © 2012 by OSCRiceUniversity is licensed under a Creative Commons Attribution 4.0 International License, except where otherwise noted.