Skip to content
Feb 24

AP Physics C E&M: Solenoid Magnetic Field Derivation

MT
Mindli Team

AI-Generated Content

AP Physics C E&M: Solenoid Magnetic Field Derivation

Understanding how to derive the magnetic field inside a solenoid is a cornerstone of AP Physics C: Electricity and Magnetism. This derivation elegantly applies Ampere's Law—one of the four Maxwell’s equations—to a simplified model, yielding the powerful and widely-used result . Mastering this process not only solidifies your grasp of magnetostatics but also provides the foundational logic behind devices from car starters to hospital MRI machines.

The Anatomy of an Ideal Solenoid

Before applying any law, we must define our system. An ideal solenoid is a theoretical construct consisting of a long, tightly-wound helical coil of wire. The term "ideal" carries three critical assumptions that simplify the derivation. First, the solenoid is infinitely long. Second, the wire loops, or turns, are so closely spaced that they form a continuous cylindrical current sheet. Third, the solenoid's interior is empty (a vacuum or air), so the magnetic permeability is that of free space, .

The key parameter is , the turn density, defined as the number of turns per unit length: . If a constant current flows through the wire, our goal is to find the magnetic field both inside and outside this coil. Symmetry considerations suggest the field inside should be strong, uniform, and directed along the solenoid's axis, while the field outside should be negligible.

Applying Ampere's Law with a Strategic Loop

Ampere's Law states that the closed line integral of the magnetic field around a path is proportional to the total current enclosed by that path: . The power of this law lies in choosing an Amperian loop that exploits the symmetry of the current distribution. For a solenoid, the most effective choice is a rectangular loop.

Imagine a rectangle labeled abcd, with one long side (say, ab) lying inside the solenoid parallel to its axis, and the opposite long side (cd) lying far outside the solenoid, also parallel to the axis. The two short sides (bc and da) connect these long sides, running perpendicular to the axis. The length of the long side inside is . This rectangular loop is our tool to probe the field.

Evaluating the Line Integral Segment by Segment

We now compute by walking around the rectangle a → b → c → d → a.

  1. Segment ab (inside, parallel to axis): Here, the field is assumed to be constant, uniform, and parallel to the path direction . Therefore, , where is the magnitude of the field inside.
  2. Segment bc (perpendicular, inside to outside): This segment is perpendicular to the solenoid's axis. By symmetry, any radial component of the field is zero, and the axial field outside is negligible (as we will confirm). Thus, the field is either perpendicular to or zero. The contribution is zero: .
  3. Segment cd (outside, parallel to axis): For an ideal, infinite solenoid, the magnetic field outside is zero. Even if it were a small finite value, symmetry demands it is constant along this path. However, applying Ampere's Law to a loop outside an infinite solenoid encloses zero net current (clockwise and counter-clockwise currents cancel). This forces . Therefore, .
  4. Segment da (perpendicular, outside to inside): As with segment bc, the field is perpendicular to the path or zero. Contribution is zero: .

The total line integral simplifies dramatically to .

Calculating Enclosed Current and Finalizing the Derivation

The final piece is the current enclosed by our rectangular loop, . The loop pierces the solenoid's wall multiple times. Each turn of wire carries a current . The number of turns enclosed is equal to the turn density multiplied by the length of the segment ab inside the solenoid, which is . Therefore, the total enclosed current is .

We now substitute into Ampere's Law:

The length cancels, giving us the classic result for the field inside an ideal, infinite solenoid:

The direction, given by the right-hand rule, is along the axis: curl your fingers in the direction of the conventional current, and your thumb points in the direction of the magnetic field inside the solenoid.

Beyond the Ideal: Finite Solenoids and End Effects

The result is exact only for an infinite solenoid. For a real, finite solenoid, corrections are necessary. The field is not perfectly uniform; it weakens near the ends. These end effects mean the field at the exact center of a long finite solenoid is slightly less than , and it tapers to about half that value at the open ends.

For a solenoid of length and radius , the field at a point on the axis can be calculated precisely using the Biot-Savart law or superposition. A good approximation for the field at the center of a long solenoid () is:

Only when does the fraction in parentheses approach 1, recovering the ideal case. Furthermore, outside a finite solenoid, the field is not strictly zero. Magnetic field lines must form closed loops, so the field outside is weak but divergent, looping from one end of the solenoid back to the other.

Common Pitfalls

  1. Misapplying Ampere's Law by ignoring vector nature: Simply summing without considering the dot product or the direction of the field relative to each path segment is a critical error. Always reason through the angle between and for each segment of your chosen loop.
  2. Incorrectly calculating enclosed current: A frequent mistake is to use the total number of turns instead of the turn density when working with the Amperian loop. Remember, depends on how many turns are pierced by the specific loop you drew, which is , not .
  3. Assuming the outside field is zero in the derivation: Stating as an a priori fact for the ideal case can be circular. The stronger reasoning is: symmetry suggests is constant along the outside path, and applying Ampere's Law to a loop entirely outside the solenoid yields zero, forcing that constant to be zero. This justifies its use in the rectangular loop analysis.
  4. Confusing the ideal result with real-world applications: Using without qualification for a short solenoid or for a point near its end will lead to an overestimate of the field strength. Always assess whether the "ideal" conditions (very long, tightly wound) are reasonably met.

Summary

  • The magnetic field inside an ideal, infinite solenoid is uniform, axial, and given by , where is the turn density and is the current. The field outside is zero.
  • The derivation hinges on the clever application of Ampere's Law using a rectangular Amperian loop that has one long side inside and one long side outside the solenoid, allowing the contributions from three segments to evaluate to zero.
  • For real, finite solenoids, end effects cause the field to be non-uniform, weakening near the ends. The field at the center is well-approximated by .
  • A precise calculation for points off-axis or for short solenoids requires the more fundamental Biot-Savart law, as the symmetry required for Ampere's Law breaks down.

Write better notes with AI

Mindli helps you capture, organize, and master any subject with AI-powered summaries and flashcards.