PrepGo

Magnetic Fields of Current-Carrying Wires and the Biot-Savart Law - AP Physics C: Electricity and Magnetism Study Guide

Written by AP Content Team, Verified for 2026 AP Exams, Last updated: May 2026

Learn with study guides reviewed by top AP teachers. This guide takes about 15 minutes to read.

Getting Started

Just as static electric charges are the source of electric fields, moving charges—electric currents—are the source of magnetic fields. This chapter explores the fundamental law that governs the creation of magnetic fields by currents and the subsequent force these fields exert on other currents. Our core question is: how can we precisely calculate the magnetic field generated by any given arrangement of current-carrying wires and determine the forces of their interaction?

What You Should Be Able to Do

After completing this section, you will be able to:

  • Use the right-hand rule in conjunction with the Biot-Savart law to determine the direction of the magnetic field produced by a current element.

  • Set up and evaluate definite integrals using the Biot-Savart law to find the magnetic field for simple, symmetric current distributions, such as a long straight wire or the center of a circular loop.

  • Calculate the magnetic force vector on a straight segment of current-carrying wire placed in a uniform external magnetic field.

  • Apply the principle of superposition to find the net magnetic field from multiple current sources or the net force on a wire from multiple fields.

Key Concepts & Mechanisms

This section examines the causal chain from a source current to the magnetic field it produces, and from that field to the force it exerts on another current.

System & Preconditions

The system under consideration is a steady, continuous electrical current flowing through a conductor of a defined geometric shape. We make several idealizations:

  • Magnetostatics: We assume all currents are direct currents (DC), meaning they are constant in time. This ensures the resulting magnetic fields are also static.

  • Ideal Wires: The conductors are treated as infinitesimally thin lines, allowing us to model the current as a one-dimensional path for integration.

  • Vacuum: The interactions occur in free space, characterized by the permeability of free space, . The presence of magnetic materials would alter the field.

Key Steps / Relations

The process of determining magnetic fields and forces follows a clear, causal sequence.

  1. Identify the Source: The fundamental source of a magnetic field is a differential current element, . This is a vector quantity where is the current and is a differential length vector pointing in the direction of the current flow.

  2. Apply the Governing Law for Field Generation: The Biot-Savart law provides the quantitative relationship between the source () and its effect—the differential magnetic field vector, , that it produces at some point in space.

    Here, is the position vector from the current element to the point of interest, is its magnitude, and is the corresponding unit vector. The direction of is determined by the right-hand rule for the cross product .

  3. Sum the Contributions (Integration): A macroscopic wire is a continuous collection of these differential elements. To find the total magnetic field at a point, we must sum the vector contributions from all elements by integrating over the entire length of the current-carrying wire.

    This is a vector integral, and its evaluation depends critically on the geometry of the wire.

  4. Determine the Effect on Another Current: Once a magnetic field is established (either by calculation or by being externally imposed), it can exert a force on another current-carrying wire placed within it. The magnetic force, , on a straight segment of wire of length carrying current is given by:

    Here, is a vector whose magnitude is the length of the wire segment and whose direction is that of the current. The direction of the force is again found using the right-hand rule.

Outputs & Effects

  • Field Structure: The primary output of a current is a magnetic field vector, , at every point in space. For a long, straight wire, the field lines form concentric circles around the wire. For a circular loop, the field is concentrated through the center, resembling the field of a bar magnet.

  • Force: The ultimate effect of this field on another current is a force, which can cause attraction, repulsion, or torque, leading to motion. For example, two parallel wires carrying current in the same direction will attract each other, while wires with anti-parallel currents will repel.

Regulation & Limits

  • Validity: These laws are strictly valid only for magnetostatics (steady currents). For time-varying currents, a more general law (Ampere-Maxwell law) is needed, which accounts for induced electric fields.

  • Superposition: Magnetic fields obey the principle of superposition. The net magnetic field at any point due to multiple current sources is the vector sum of the fields produced by each individual source.

  • Complexity: While the Biot-Savart law is universally applicable, the resulting integrals are often difficult or impossible to solve analytically for complex, asymmetric wire geometries.

Key Models & Diagrams

The causal pathway from current to field to force can be visualized as a process flowchart.

StepRepresentationGoverning EquationPredicted Observable
1. SourceA differential current element, , on a wire.(Definition)The fundamental source of the magnetic field.
2. Field GenerationField vector at point P, perpendicular to both and .The contribution to the total magnetic field from one element.
3. Total FieldA vector field map showing at various points in space.The net magnetic field, e.g., for a long wire.
4. ForceForce vector on a second wire segment .A measurable force causing acceleration or torque on the wire.

Key Components & Evidence

  • Electric Current (I): The rate of flow of electric charge. It is the source of the magnetic field. SI unit: Ampere (A).

  • Differential length vector (): An infinitesimal vector pointing along a wire in the direction of the current. SI unit: meter (m).

  • Magnetic Field (): A vector field created by moving charges that exerts a force on other moving charges. SI unit: Tesla (T).

  • Permeability of Free Space (): A fundamental constant representing the capability of a vacuum to support a magnetic field. .

  • Biot-Savart Law: The fundamental law of magnetostatics that relates a current element to the differential magnetic field it produces.

  • Position vector (): The vector from the source (current element) to the point where the field is being calculated. SI unit: meter (m).

  • Magnetic Force (): The force exerted by a magnetic field on a current-carrying conductor. SI unit: Newton (N).

  • Cross Product (): A vector operation used in both the Biot-Savart law and the magnetic force law to determine the direction of the resulting vector (field or force) as being perpendicular to the plane formed by the two input vectors.

  • Right-Hand Rule: A convention used to determine the direction of the vector resulting from a cross product. For , point fingers along , curl them toward ; the thumb points in the direction of .

Skill Snapshots

Causation

  • Driver → Change: A current element → creates a differential magnetic field at a point in space.

  • Driver → Change: The vector sum (integral) of all contributions from a wire → establishes a net magnetic field in the surrounding region.

  • Driver → Change: An external magnetic field interacting with a wire segment → exerts a magnetic force on the wire.

Comparison

  • Biot-Savart Law vs. Coulomb's Law: Both are inverse-square laws for fields generated by a source, but the Biot-Savart law depends on a vector cross product (current element and position vector), making its directional properties far more complex than the simple radial direction of the electric field from a point charge.

  • Field of a Straight Wire vs. a Circular Loop: A long straight wire produces a circular magnetic field that weakens as , whereas a circular loop produces a field along its axis that is strongest at the center and weakens more rapidly with distance.

  • Magnetic Force vs. Electric Force: The magnetic force is always perpendicular to both the current and the field, while the electric force is always parallel to the electric field.

Change and Continuity

  • Baseline: In the absence of any moving charges (currents), the magnetic field is zero.

  • Change 1: Introducing a steady current into a wire of a specific geometry causes a static, non-zero magnetic field to be established throughout space, as described by the integral of the Biot-Savart law.

  • Change 2: Placing a second current-carrying wire into this pre-existing field causes a force to be exerted on the second wire, potentially causing it to accelerate.

  • Continuity: Throughout these processes, the permeability of free space, , remains a constant, governing the strength of the magnetic interaction.

Common Misconceptions & Clarifications

  1. Misconception: The magnetic field from a wire points away from the wire, like an electric field from a charged rod.

    • Clarification: The magnetic field from a long, straight wire circulates around the wire. The direction is given by the right-hand rule: point your thumb in the direction of the current, and your fingers curl in the direction of the magnetic field lines.
  2. Misconception: In the Biot-Savart law, is parallel to or .

    • Clarification: Due to the cross product, is always perpendicular to the plane containing both the current element vector and the position vector .
  3. Misconception: A wire exerts a magnetic force on itself.

    • Clarification: The force law requires an external magnetic field . A wire segment does not feel a force from the magnetic field it creates itself. The net force on an isolated, rigid current loop from its own field is always zero.
  4. Misconception: The distance in the Biot-Savart integral is always a constant.

    • Clarification: The term is the distance from the specific current element to the point of interest. As you integrate along a wire, this distance (and the angle in the cross product) often changes, and must be expressed in terms of the integration variable.

One-Paragraph Summary

Electric currents are the source of all magnetic fields in the magnetostatic regime. The Biot-Savart law provides the fundamental, calculus-based tool for this relationship, defining the differential magnetic field produced by a current element through a vector cross product. By integrating this law over a wire's geometry, we can determine the complete magnetic field structure, such as the circular fields around a straight wire or the axial field of a current loop. This generated field, in turn, exerts a force, , on any other current-carrying wire placed within it. These two laws, forming a causal chain of field generation and force interaction, are the cornerstones for analyzing the magnetic interactions between steady currents.