Fundamentholfundamenthol

Ampere's Circuital Law

PhysicsMagnetic Effects of Current and MagnetismFor JEE aspirants

Ampere's circuital law states that the line integral of around any closed loop equals times the net current threading the loop: . It is the magnetic analogue of Gauss's law in electrostatics and, when the current distribution has enough symmetry, gives the field far faster than Biot-Savart integration. For a JEE Main and NEET student, the four textbook applications are: the infinite straight wire, the long solenoid (), the toroid, and current-carrying cylinders (solid and hollow). Ampere's law only calculates when a symmetric Amperian loop exists on which is constant and either parallel or perpendicular to ; otherwise, use Biot-Savart.

Key Formulas - Quick Reference
  1. Ampere's law:
  2. Infinite straight wire:
  3. Long (ideal) solenoid, inside: where = turns per unit length
  4. Solenoid at either end:
  5. Toroid: inside, outside
  6. Solid cylinder of radius (uniform ): outside , ; inside ,
  7. Hollow cylinder (surface current): inside, outside
  8. Infinite current sheet, surface current density : on either side
Colours in figures: magnetic field current Amperian loop

1Statement of Ampere's Law

For any closed curve (Amperian loop) drawn in space, the line integral of the magnetic field along the curve equals times the algebraic sum of currents piercing the surface bounded by the curve:

Sign convention: curl the right-hand fingers along ; the thumb defines the positive normal direction. Currents flowing in the direction of this normal count as positive; currents flowing opposite count as negative.

Amperian loop enclosing currents An irregular closed loop traversed anticlockwise. Inside it, currents I1 and I3 point out of the page and I2 points into the page. A fourth current I4, out of the page, lies outside the loop. The enclosed current is I1 minus I2 plus I3. dℓ I₁ I₂ I₃ I₄ outside: not in Ienc Ienc = I₁ − I₂ + I₃
Figure 1An Amperian loop traversed anticlockwise, so currents out of the page count as positive. and (out) are positive, (into) is negative, and lies outside and is not counted: . still contributes to at points on the loop.
Important: does not mean everywhere along the loop - it just means the net enclosed current is zero. And at a point may have contributions from currents outside the loop; Ampere's law only uses the enclosed current for the integral, not for pointwise field.

2Application: Infinite Straight Wire

Draw a circular Amperian loop of radius coaxial with the wire. By symmetry, has constant magnitude on this circle and is tangent to it, so :

This is the same result as Biot-Savart's, obtained in one line rather than by integration.

Circular Amperian loop around a straight wire Top view of a long straight wire carrying current out of the page. A dashed circle of radius r centred on the wire is the Amperian loop. Magnetic field vectors at four points on the circle are tangent to it and point anticlockwise, parallel to d-ell. r B ∥ dℓ I B constant on the whole circle B(2πr) = μ₀I
Figure 2Circular Amperian loop of radius around a long straight wire (current out of page). By symmetry has the same magnitude everywhere on the loop and is parallel to , so .

3Application: Long (Ideal) Solenoid

An ideal solenoid is tightly wound with turns per unit length carrying current , in the limit that its length its radius. The field inside is uniform and along the axis; outside it is essentially zero.

Rectangular Amperian loop for an ideal solenoid Longitudinal section of a solenoid. The top row of turns carries current out of the page and the bottom row into the page. Uniform field lines inside point to the right. A rectangular Amperian loop PQRS has side PQ inside the solenoid parallel to the field, sides QR and SP crossing the bottom wall, and side RS outside where the field is nearly zero. B P Q R S L B ≈ 0 outside n turns per unit length, current I
Figure 3Long solenoid in section: turns carry current out of the page along the top and into the page along the bottom. The rectangular loop has (length ) inside, where is uniform and parallel to the axis; and are perpendicular to ; lies outside, where .

Along of length , , so . Along and , , so contribution is 0. Along (outside), . Total enclosed current . Applying Ampere's law:

At the end of a finite solenoid (still long enough for the ideal formula to hold near the middle), the field drops to - exactly half the mid-point value. The mid-point value can also be derived from the axial-loop formula by integrating over the solenoid's turns.
Axial field of a finite solenoid A solenoid drawn as a row of turns above a graph of B along its axis. The graph is flat at mu-zero n I across the middle, drops to half that value at each end face, and falls towards zero outside. axis μ₀nI ½μ₀nI position on axis B end end
Figure 4Field along the axis of a finite solenoid (length eight times its radius, computed exactly). is almost exactly over the middle and falls to about at each end face.

4Application: ToroidBeyond syllabus

The toroid is not listed in the JEE Main or NEET syllabus and was removed from the rationalised NCERT textbook. It is still a standard Ampere's law application, so read it for concept strength and older papers.

A toroid is a solenoid bent into a doughnut shape with turns wound around a circular ring of mean radius . Draw a circular Amperian loop of radius through the interior of the coil:

Toroid with three Amperian loops Top view of a toroid. Radial winding lines connect an inner rim, where currents come out of the page, to an outer rim, where currents go into the page. Three dashed circular Amperian loops are drawn: loop 1 in the central hole, loop 2 inside the core with field arrows circulating anticlockwise, and loop 3 outside the toroid. 1 2 3 Loop 1 (hole) B = 0 Loop 2 (core) B = μ₀NI/2πr Loop 3 (outside) B = 0
Figure 5Toroid seen from above. Turns cross the inner rim out of the page and the outer rim into the page. Loop 1 (in the hole) encloses no current, so . Loop 2 (inside the core) encloses , so . Loop 3 (outside) encloses out and in, so .

By symmetry, is constant along the loop and tangent to it. Enclosed current :

  • Inside the coil (through the turns):
  • Outside the toroid (Amperian loop encloses no net current since equal currents go in and out at every cross-section, or no current at all):
  • In the limit (ideal toroid), with , recovering the solenoid result.

5Application: Infinite Current-Carrying Sheet

An infinite plane sheet carries a surface current density (amperes per metre width). By symmetry is parallel to the sheet, perpendicular to , and opposite on the two sides. Draw a rectangular Amperian loop of length straddling the sheet:

Note this is independent of distance from the sheet - just like the electric field of an infinite charged plane.

Infinite current sheet with rectangular Amperian loop An infinite sheet seen edge-on as a horizontal line, with surface current out of the page shown by dots. Above the sheet the magnetic field points left; below it points right. A rectangular Amperian loop of length L straddles the sheet and is traversed anticlockwise. B B L K out of page 2BL = μ₀KL ⇒ B = μ₀K/2
Figure 6Infinite sheet (edge-on) carrying surface current density out of the page. is parallel to the sheet and opposite on the two sides. For the rectangle, the two long sides each give and the short sides give zero, so .

6Current-Carrying Cylinders (JEE Advanced favourite)

6.1Solid cylinder, uniform current density

A solid cylinder of radius carries total current uniformly distributed. Current density .

  • Outside (): loop encloses full current , so (same as a thin wire).
  • Inside (): loop of radius encloses , so . This grows linearly with from 0 at the axis to maximum at the surface.
Solid current-carrying cylinder: Amperian loops and B against r Left: cross-section of a solid cylinder of radius R carrying uniform current out of the page, with a dashed Amperian circle inside (r less than R) and another outside (r greater than R). Right: graph of B against r, a straight line from zero up to a maximum at r equals R, followed by a one-over-r decay. R r < R r > R (a) cross-section r B 0 R μ₀I/2πR B ∝ r B ∝ 1/r (b) B against r
Figure 7Solid cylinder with uniform current density (current out of page). (a) Loop of radius encloses only ; loop of radius encloses all of . (b) rises linearly inside, peaks at on the surface, and falls as outside.

6.2Hollow cylinder (thin shell of radius )

A thin cylindrical shell carrying current on its surface:

  • Inside (): loop encloses no current, so .
  • Outside (): .
B against r for hollow and solid cylinders Graph of B against r. For a hollow cylinder, B is zero from the axis up to r equals R, jumps to its maximum at R, then decays as one over r. A dashed curve for a solid cylinder rises linearly to the same maximum and coincides with the hollow-cylinder curve outside. r B 0 R μ₀I/2πR hollow cylinder solid cylinder B = 0 inside
Figure 8 against for a thin hollow cylinder (solid line) compared with a solid cylinder of the same radius and current (dashed). Inside the shell ; the field jumps to at the surface; outside, both give .
Solved Example 1
A coaxial cable has an inner solid wire of radius carrying current up, and an outer thin cylindrical shell of radius carrying current down. Find at (i) , (ii) , (iii) .
Coaxial cable cross-section with three Amperian loops Cross-section of a coaxial cable. The inner solid conductor of radius a carries current out of the page; the outer thin shell of radius c carries equal current into the page. Three dashed circles mark Amperian loops for r less than a, a less than r less than c, and r greater than c. a c i ii iii (i) r < a B = μ₀I₀r / 2πa² (ii) a < r < c B = μ₀I₀ / 2πr (iii) r > c B = 0
Figure 9Coaxial cable in section: inner solid conductor of radius carries out of the page; thin outer shell of radius carries into the page. Concentric Amperian loops in the three regions give the three results of the example.
Solution:

By symmetry, Amperian loops are circles concentric with the cable.

(i) : , so .

(ii) : , so .

(iii) : , so . The outer shell shields all external field - the reason coaxial cables have low EMI.

Solved Example 2
A solenoid of length , turns, carries . Find the field at the middle and at the end.
Solution:

Turns per unit length: .

Middle (ideal formula, since length diameter for typical solenoid): .

End: .

Solved Example 3
Three identical long solenoids P, Q, R are connected: current enters P, splits equally between Q and R (which are in parallel). The field at the centre of P is . Find the field at the centre of Q.
Solution:

Since and is the same for identical solenoids, the field scales linearly with the current through that solenoid. Currents through Q and R are each , so .

7When to Use Ampere's Law vs Biot-Savart

Use Ampere's law whenUse Biot-Savart when
High symmetry (cylindrical, planar, toroidal)Arbitrary geometry - single loop, arc, finite wire
You can pick a loop where is constant and or to Field varies along any conceivable loop
Straight wire (long), solenoid, toroid, sheet, cylinderLoop centre, loop axis, finite wire, arc, off-axis

Common Mistakes to Avoid

Watch out
  • Applying Ampere's law to any current geometry: the law is always true but only useful if symmetry lets you pull out of the line integral. Without symmetry, you get one equation with two unknowns ( direction and magnitude).
  • Confusing with : a loop with no enclosed current has zero line integral, but at points on the loop can be non-zero (produced by currents outside).
  • Wrong sign of enclosed current: always fix direction first, then apply right-hand rule to define the positive-current direction.
  • Using for a short solenoid: valid only when length diameter, deep inside. Near the ends or for short coils, use the general axial formula from Biot-Savart.
  • Confusing (turns per unit length) with (total turns) in the solenoid formula.
  • Assuming toroid field is uniform: inside the toroid, so field is stronger near the inner edge than the outer edge. Only in the thin-toroid limit is it nearly uniform.

Frequently Asked Questions

Q1. What is Ampere's circuital law?

Ampere's law states that the line integral of around any closed loop equals times the net current enclosed: . It is a fundamental relation between magnetic field and current, valid always, and useful for calculating when the current distribution is highly symmetric.

Q2. When can Ampere's law be used to calculate the magnetic field?

Ampere's law calculates only when you can find an Amperian loop on which has constant magnitude and is either parallel or perpendicular to . This requires strong symmetry: straight wires, solenoids, toroids, current sheets, cylinders. For arbitrary shapes, Biot-Savart is the right tool.

Q3. What is the magnetic field inside a long solenoid?

Inside an ideal long solenoid with turns per unit length carrying current , the field is uniform and along the axis: . Outside, it is essentially zero. At either end (still on the axis), the field drops to .

Q4. Why is the magnetic field zero outside a toroid?

An Amperian loop outside the toroid either (a) encloses no wire at all if it lies beyond the coil, or (b) encloses each turn twice, once going in and once going out, giving zero net enclosed current if you use the internal loop. Either way, symmetry plus zero net enclosed current gives outside.

Q5. What is the magnetic field inside and outside a solid current-carrying cylinder?

For a solid cylinder of radius with uniform current density: inside (), (grows linearly from zero at the axis); outside (), (falls as , same as a thin wire). The field is maximum at .

Q6. Does mean everywhere on the loop?

No. It means only that the net current enclosed by the loop is zero. at individual points on the loop can be non-zero, produced by currents outside the loop. The line integral cancels because contributions of opposite sign balance.

Q7. How is Ampere's law analogous to Gauss's law?

Gauss's law in electrostatics relates the electric flux through a closed surface to the enclosed charge: . Ampere's law relates the circulation of around a closed loop to the enclosed current: . Both are always true; both are useful for direct field calculation only under symmetry.

Q8. Why is the field of an infinite current sheet independent of distance?

By symmetry, from an infinite sheet is parallel to the sheet, perpendicular to the current direction, and constant on either side. An Amperian rectangle of length straddling the sheet gives , so - no dependence. This mirrors the field of an infinite plane of charge in electrostatics.

Q9. Is Ampere's law valid for time-varying currents?

In the original form , it holds only for steady (DC) currents. For time-varying currents (like charging a capacitor), Maxwell added a displacement-current term giving the Ampere-Maxwell law: . This is a Class 12 EMI-onwards topic.

Previous year questions on Ampere's Circuital Law

8 questions from past papers, each with a step-by-step solution.

Ready to master Magnetic Effects of Current and Magnetism?

Take a full mock test, practice concept-by-concept, and get an AI-powered rank prediction — all on Fundamenthol.