NEETJEE.guru
PhysicsAll

Magnetic Field Inside and Outside a Current-Carrying Cylindrical Wire

By Admin 13 November 2026 Updated 27 November 2026 11 min read 19 views
On this page· 13 sections
Overview

Source & scope. Class 12 Physics, Chapter 4 Moving Charges and Magnetism, Section 4.6, extending the straight-wire application of Ampere's circuital law to a wire of finite circular cross-section (NCERT Example 4.7). Builds on: Ampere's Circuital Law and [Magnetic Field Due to a Long Straight Curren...

Source & scope. Class 12 Physics, Chapter 4 Moving Charges and Magnetism, Section 4.6, extending the straight-wire application of Ampere's circuital law to a wire of finite circular cross-section (NCERT Example 4.7). Builds on: Ampere's Circuital Law and [Magnetic Field Due to a Long Straight Current-Carrying Wire](/study-materials/phy12-ch04-magnetic-field-due-to-a-long-straight-current-carrying-wire) (the idealised zero-thickness case).

Inside a long straight wire of circular cross-section (radius a) carrying a steady current I uniformly distributed over its area, the magnetic field grows linearly with distance from the axis, B = μ0Ir/(2πa²) for r < a; outside the wire it falls off as B = μ0I/(2πr) for r > a, identical to the thin-wire result. The field is maximum exactly at the surface (r = a), where both expressions agree, and zero at the centre of the wire.

At a glance

  • Wire has circular cross-section, radius a, current I uniformly distributed over the area (uniform current density).
  • Outside (r > a): B = μ0I/(2πr) — Eq. 4.15(a), same as an idealised thin wire; the full current I is enclosed.
  • Inside (r < a): B = μ0Ir/(2πa²) — Eq. 4.15(b); only the fraction of current enclosed by radius r matters.
  • B ∝ r for r < a (rises linearly from zero at the centre); B ∝ 1/r for r > a (falls off outside).
  • Maximum field at the surface, r = a: Bmax = μ0I/(2πa), where the two formulas meet.

Learning objectives

  • Apply Ampere's circuital law separately to Amperian loops outside and inside a finite-thickness current-carrying wire.
  • Derive B = μ0Ir/(2πa²) for r < a using the uniformly-distributed enclosed current.
  • Sketch and interpret the B-vs-r graph, identifying where B is maximum.
  • Correct the common error of assuming B ∝ 1/r holds even inside the wire.

Prerequisite knowledge

The reader should already know Ampere's circuital law in its simplified form BL = μ0Ie, and the result B = μ0I/(2πr) for an idealised (zero-thickness) long straight wire, since the outside-the-wire case here is identical to that result.

Core explanation

Why a finite-thickness wire needs two cases

Real current-carrying wires are not infinitely thin — they have a circular cross-section of radius a, and the current I is uniformly distributed across that cross-sectional area (current density is the same everywhere inside the wire, not concentrated at the surface or at the centre). This matters because, when the Amperian loop lies inside the wire, it no longer encloses the wire's full current — only the portion of current flowing through the smaller area the loop surrounds. The field must therefore be worked out as two separate cases: outside the wire (r > a) and inside the wire (r < a).

Case 1 — outside the wire (r > a)

Choose an Amperian loop as a circle of radius r (with r > a), concentric with the wire, in a plane perpendicular to it. By the same cylindrical symmetry used for a thin wire, B is tangential and constant in magnitude all around this loop, so L = 2πr. Since the loop lies entirely outside the wire, the entire wire, and hence the entire current I, lies inside the loop — the enclosed current is simply Ie = I. Ampere's law gives:

— Eq. 4.15(a)

This is identical in form to the idealised thin-wire result: outside the wire, the field behaves exactly as if all the current were concentrated on the axis, and B ∝ 1/r.

Case 2 — inside the wire (r < a)

Now choose the Amperian loop as a circle of radius r with , so the loop lies entirely inside the wire's cross-section. L = 2πr as before, by the same symmetry argument. But the enclosed current is not the full I — since the current is spread uniformly over the wire's cross-sectional area πa², the current enclosed by a circle of radius r is only the fraction of the area that circle encloses:

Ampere's law then gives:

— Eq. 4.15(b)

Unlike the outside case, B here is directly proportional to r — it grows linearly from zero at the wire's axis (r = 0) up to its value at the surface.

The B-vs-r graph

Plotting B against r (NCERT Fig. 4.14) shows a single continuous curve with two distinct regimes: B rises linearly from 0 at r = 0 to a peak at r = a, then falls off as 1/r for r > a. At exactly r = a, both expressions must agree, giving the maximum field:

Bmax = μ0I/(2πa)

In both regions, the field's direction is tangential to the respective circular Amperian loop, governed by the same straight-wire right-hand rule (thumb along the current, curled fingers giving B) used for the idealised thin wire.

The classic exam trap

A very common NEET/JEE question style gives a wire of radius a and asks for B at points like r = a/2, r = a, and r = 2a, or simply asks "which graph correctly shows B vs r?" Students frequently assume B ∝ 1/r everywhere, which is wrong inside the wire — there, because current is uniformly distributed (not concentrated at the centre or the surface), B actually grows linearly with r, reaching its maximum exactly at the surface r = a, not at the centre and not continuing to rise beyond the surface.

Key terms

  • Uniform current density — the current per unit cross-sectional area is the same everywhere inside the wire, so a smaller concentric circle encloses a proportionally smaller fraction of the total current.
  • Amperian loop (inside case) — a circle of radius r < a drawn inside the wire's cross-section, enclosing only the fraction I r²/a² of the total current.
  • B_max — the magnetic field at the wire's surface, r = a, where both the inside and outside expressions give the same value μ0I/(2πa).

Diagram / figure guidance

Draw a graph with r on the horizontal axis and B on the vertical axis. From r = 0, draw a straight line rising linearly to a peak value Bmax at r = a (marking the wire's surface with a dashed vertical line); beyond r = a, draw a smoothly decreasing curve following a 1/r shape, approaching (but never reaching) zero as r increases. Label the two regimes "B ∝ r (inside)" and "B ∝ 1/r (outside)" and mark Bmax = μ0I/(2πa) at the peak.

Worked example

A long straight wire of radius a = 2 cm carries a uniformly distributed current I = 10 A. Taking μ0 = 4π×10⁻⁷ T·m/A, find the magnetic field at (a) r = a/2 = 1 cm, (b) r = a = 2 cm, and (c) r = 2a = 4 cm.

(a) r = 1 cm = 0.01 m (inside, r < a): B = μ0Ir/(2πa²) = (4π×10⁻⁷ × 10 × 0.01)/(2π × (0.02)²) Cancelling π: = (4×10⁻⁷×10×0.01×2)/(2×0.0004) — simplify directly: B = (2×10⁻⁷ × 10 × 0.01)/(0.0004) = (2×10⁻⁸)/(0.0004) =

(b) r = 2 cm = 0.02 m (at the surface, r = a): Using the outside formula (valid at r = a too): B = μ0I/(2πr) = (2×10⁻⁷×10)/(0.02) = (2×10⁻⁶)/(0.02) = (Check with the inside formula at r = a: B = μ0Ia/(2πa²) = μ0I/(2πa), the same expression — confirming the two formulas meet exactly at the surface, as expected.)

(c) r = 4 cm = 0.04 m (outside, r > a): B = μ0I/(2πr) = (2×10⁻⁷×10)/(0.04) = (2×10⁻⁶)/(0.04) =

Notice that B at r = a/2 and B at r = 2a both come out to 5×10⁻⁵ T, but for entirely different reasons — one is on the rising linear part, the other on the falling 1/r part — while the true maximum, 1×10⁻⁴ T, occurs only at the surface r = a. This is exactly the kind of transition exam questions probe.

Common misconceptions

  • "B ∝ 1/r holds everywhere, even inside the wire." False — inside a wire with uniformly distributed current, B ∝ r, not 1/r; the 1/r law only applies outside the wire (r > a).
  • "The magnetic field is maximum at the centre of the wire." False — B = 0 at the centre (r = 0) and grows to its maximum value only at the surface, r = a.
  • "The field is zero outside the wire since all the current is 'used up' inside." False — outside the wire, the field is governed by the full enclosed current I and follows B = μ0I/(2πr), which is nonzero (though it decreases) at any finite r > a.
  • "A thicker wire of the same current always produces a stronger field at a given external point." False — for r > a (outside both wires), B = μ0I/(2πr) depends only on I and r, not on the wire's radius a at all; the thickness only changes the field pattern inside the wire.

Exam application (NEET & JEE)

This topic is a favourite for "identify the correct B-vs-r graph" and "find B at r = a/2, a, 2a" style questions, testing whether a student correctly switches between the two regimes rather than blindly applying B = μ0I/(2πr) inside the wire. A frequent conceptual question asks where B is maximum (answer: at the surface, r = a, not at the centre), and numericals often ask for the ratio of B at two different radii, one inside and one outside.

Frequently asked questions

  • What is the magnetic field inside a uniformly current-carrying cylindrical wire? B = μ0Ir/(2πa²), which grows linearly with the distance r from the axis, reaching its maximum at the surface r = a.
  • What is the magnetic field outside such a wire? B = μ0I/(2πr), identical to the field of an idealised thin wire carrying the same total current I.
  • Where is the magnetic field maximum inside and around the wire? At the wire's surface, r = a, where Bmax = μ0I/(2πa); it is zero at the centre and decreases again outside the wire.
  • Why does B grow linearly inside the wire instead of as 1/r? Because the current enclosed by a smaller Amperian loop inside the wire is only the fraction r²/a² of the total current (uniform current density), not the full current I.
  • Is the field inside the wire the same as for an idealised thin wire? No — the thin-wire result B = μ0I/(2πr) only holds outside a finite wire; inside, the enclosed-current fraction changes the dependence to B ∝ r.

Practice questions (original practice questions)

  1. A cylindrical wire of radius a carries a uniformly distributed current I. At r = a/4 from the axis, the magnetic field is:
    • (a) μ0I/(2πa)
    • (b) μ0I/(8πa)
    • (c) μ0I/(2π(a/4))
    • (d) zero
    • Answer: (b) — B = μ0Ir/(2πa²) with r = a/4 gives μ0I(a/4)/(2πa²) = μ0I/(8πa).
  2. At the centre (r = 0) of a current-carrying cylindrical wire with uniform current density, the magnetic field is:
    • (a) maximum
    • (b) μ0I/(2πa)
    • (c) zero
    • (d) infinite
    • Answer: (c) — B ∝ r inside, so B = 0 exactly at the axis.
  3. For a cylindrical wire of radius a, the magnetic field is maximum at:
    • (a) the centre, r = 0
    • (b) the surface, r = a
    • (c) r = 2a
    • (d) it keeps increasing indefinitely outside
    • Answer: (b) — B rises linearly inside up to r = a, then falls as 1/r outside, so the surface is the peak.
  4. Outside a current-carrying cylindrical wire (r > a), doubling the distance r from the axis:
    • (a) doubles B
    • (b) halves B
    • (c) quarters B
    • (d) leaves B unchanged
    • Answer: (b) — Outside, B = μ0I/(2πr) ∝ 1/r, so doubling r halves B.
  5. Two cylindrical wires of different radii a1 < a2 carry the same total current I, uniformly distributed. At a point well outside both wires at the same distance r from each axis, the magnetic fields:
    • (a) are equal
    • (b) are larger for the thicker wire
    • (c) are larger for the thinner wire
    • (d) cannot be compared
    • Answer: (a) — For r > a, B = μ0I/(2πr) depends only on I and r, not on the wire's radius.

Quick revision

  • Outside the wire (r > a): — same as an idealised thin wire.
  • Inside the wire (r < a): — grows linearly from zero at the centre.
  • Maximum field at the surface r = a: Bmax = μ0I/(2πa), where both formulas agree.
  • B ∝ r inside; B ∝ 1/r outside — never apply the outside law inside the wire.
  • Field direction is tangential, via the straight-wire right-hand rule, in both regions.

Related articles

NCERTPhysicsClass 12
Rate this article
No ratings yetSign in to rate

0 Comments

Sign in to join the discussion.

B Inside & Outside a Cylindrical Wire — NEET & JEE | NEETJEE.guru