PYQ Vault

NEET Physics · Moving Charges and Magnetism

Ampere's Law, Solenoids and Parallel Wires

Ampere's circuital law and the fields it gives for a long straight wire, a thick wire and a long solenoid, and the force between two parallel currents.

Why this matters

Six NEET questions from 2021 to 2026. Three ask how the field of a thick wire varies inside and outside it (2021, 2022, 2026), one finds the field in a solenoid (2022), one balances the pull between two parallel wires against a wire's weight (Re-NEET 2026) and one finds the force on an electron moving beside a long wire (2021).

Concept 1 of 3: Ampere's circuital law and the field of a straight wire

Walk round any closed path and add up the field along your steps. Ampere's law says the total depends only on the current passing through the path, not on the shape of the path. Round a long straight wire the field is the same at every point of a circle, so the law gives the field in one line.

Definition

  • Ampere's circuital law: ∮B⃗⋅dl⃗=μ0Ienc\oint \vec{B} \cdot d\vec{l} = \mu_0 I_{\text{enc}}, where IencI_{\text{enc}} is the net current through the closed path. Currents outside the path do not count.
  • Long straight wire: B⋅2πr=μ0IB \cdot 2\pi r = \mu_0 I, so B=μ0I2πrB = \dfrac{\mu_0 I}{2\pi r}. The field lines are circles round the wire; the right-hand thumb along the current gives their sense.
  • Thick (solid) wire of radius a, current spread evenly:
  • Inside (r<ar < a) the path encloses only Ir2a2I\dfrac{r^{2}}{a^{2}}, so B=μ0Ir2πa2B = \dfrac{\mu_0 I r}{2\pi a^{2}}: zero on the axis, rising in a straight line with r.
  • Outside (r>ar > a) B=μ0I2πrB = \dfrac{\mu_0 I}{2\pi r}: falling as 1r\dfrac{1}{r}. The field is largest at the surface.

Ampere's law

∮B⃗⋅dl⃗=μ0Ienc,Bwire=μ0I2πr,Binside=μ0Ir2πa2\oint \vec{B} \cdot d\vec{l} = \mu_0 I_{\text{enc}}, \qquad B_{\text{wire}} = \frac{\mu_0 I}{2\pi r}, \qquad B_{\text{inside}} = \frac{\mu_0 I r}{2\pi a^{2}}
  • IencI_{\text{enc}}net current through the closed path
  • aaradius of the thick wire
  • rrdistance from the axis of the wire
I out of pageB = μ₀I / 2πrstronger near the wireRight-hand grip:thumb = current,fingers curl = field

Field lines circle the wire; point your right thumb along the current (out of the page) and your fingers curl the way the field circulates.

Worked example

A long straight wire carries 10 A. Find the magnetic field 5 cm from it.
Practise this conceptself-check · 4 quick reps

The same idea in a real exam question:

NEET · 2022 · NEET (UG) 2022 — 17 Jul 2022 · Q41Moderate

Example 1 · Moving Charges and Magnetism · Ampere's Law, Solenoids and Parallel Wires

From Ampere's circuital law for a long straight wire of circular cross-section carrying a steady current, the variation of magnetic field in the inside and outside region of the wire is

Inside a thick wire B grows with r

Inside a solid wire with evenly spread current the enclosed current grows as r2r^{2}, so B∝rB \propto r, not 1r\dfrac{1}{r}. The field is zero on the axis and largest at the surface.

Only enclosed current counts

In Ampere's law, currents outside the closed path add nothing to ∮B⃗⋅dl⃗\oint \vec{B} \cdot d\vec{l}, and opposite currents inside the path subtract.

Concept 2 of 3: Field inside a long solenoid

A solenoid is a long coil of many closely wound turns. Inside, the fields of all the turns point the same way along the axis and add up to a strong, uniform field. Outside, they nearly cancel. Only how tightly the turns are packed and the current matter, not how wide the coil is.

Definition

  • Inside a long solenoid: B=μ0nIB = \mu_0 n I, where n=NLn = \dfrac{N}{L} is the number of turns per metre.
  • The field inside is uniform and along the axis; outside a long solenoid it is nearly zero.
  • B does not depend on the radius of the solenoid.
  • If the coil has several layers, count every turn of every layer in N.

Solenoid

B=μ0nI,n=NLB = \mu_0 n I, \qquad n = \frac{N}{L}
  • nnturns per metre
  • NNtotal number of turns
  • LLlength of the solenoid
SNB = μ₀nI — uniform insidea current-carrying solenoid acts like a bar magnet

Inside a long solenoid the field is strong and uniform (B = μ₀nI); outside, the loops close like a bar magnet's, with N and S ends.

Worked example

A solenoid 50 cm long has 500 turns and carries 2 A. Find the field inside it.
Practise this conceptself-check · 4 quick reps

The same idea in a real exam question:

NEET · 2022 · NEET (UG) 2022 — 17 Jul 2022 · Q18Moderate

Example 2 · Moving Charges and Magnetism · Ampere's Law, Solenoids and Parallel Wires

A long solenoid of radius 1 mm has 100 turns per mm. If 1 A current flows in the solenoid, the magnetic field strength at the centre of the solenoid is

Turns per millimetre must become turns per metre

In B=μ0nIB = \mu_0 n I, n is turns per metre. 100 turns per mm is 10510^{5} turns per metre; leaving it per mm makes the answer 1000 times too small.

The radius does not enter

The field inside a long solenoid is μ0nI\mu_0 n I whatever its radius. A radius given in the question is not needed.

Count every layer

A coil with 4 layers of 500 turns has 2000 turns in all. Use the total turns over the length for n.

Concept 3 of 3: Force between parallel currents

Each wire sits in the field of the other, so each feels a force. When the currents run the same way the wires pull together; when they run opposite ways they push apart. This is the reverse of charges, where likes repel. A single charge moving beside a wire is a tiny current of its own and feels the same kind of pull or push.

Definition

  • Two long parallel wires a distance d apart: force per unit length FL=μ0I1I22πd\dfrac{F}{L} = \dfrac{\mu_0 I_1 I_2}{2\pi d}.
  • Currents in the same direction attract; opposite directions repel.
  • The forces on the two wires are equal and opposite (Newton's third law), even when the currents differ.
  • One ampere is the current that, in two long parallel wires 1 m apart in vacuum, gives a force of 2×10−72 \times 10^{-7} N per metre.
  • A charge moving beside a long wire feels F=qvBF = qvB with B=μ0I2πrB = \dfrac{\mu_0 I}{2\pi r}. A positive charge moving along the current is pulled toward the wire.

Parallel currents

FL=μ0I1I22πd\frac{F}{L} = \frac{\mu_0 I_1 I_2}{2\pi d}
  • dddistance between the wires
  • I1,I2I_1, I_2currents in the two wires

Worked example

Two long parallel wires 10 cm apart carry 5 A and 10 A in the same direction. Find the force per metre and say whether it attracts or repels.
Practise this conceptself-check · 4 quick reps

The same idea in a real exam question:

NEET · 2026 · Re-NEET (UG) 2026 — 21 Jun 2026 · Q15Moderate

Example 3 · Moving Charges and Magnetism · Ampere's Law, Solenoids and Parallel Wires

Two infinitely long parallel conducting wires A and B carry currents I and 2I, respectively, in the same direction. The wire A has uniform mass per unit length λ\lambda and lies on an insulated floor. The wire B is kept fixed at a height h above the floor. The minimum magnitude of h so that the wire A does not rise from the floor is : [g is the acceleration due to gravity and μ0\mu_0 is the permeability of free space]

Like currents attract

Parallel currents in the same direction pull together, the opposite of like charges, which push apart.

The force goes as the product

The force per metre is proportional to I1I2I_1 I_2, not I1+I2I_1 + I_2. Doubling one current doubles the force; doubling both makes it four times.

Both wires feel the same force

A wire with a larger current does not feel a larger force. Each wire feels μ0I1I22πd\dfrac{\mu_0 I_1 I_2}{2\pi d} per metre.

Summary — formulas & gotchas at a glance

A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.

Formulas (3)

  • Ampere's circuital law and the field of a straight wire

    Ampere's law

    ∮B⃗⋅dl⃗=μ0Ienc,Bwire=μ0I2πr,Binside=μ0Ir2πa2\oint \vec{B} \cdot d\vec{l} = \mu_0 I_{\text{enc}}, \qquad B_{\text{wire}} = \frac{\mu_0 I}{2\pi r}, \qquad B_{\text{inside}} = \frac{\mu_0 I r}{2\pi a^{2}}
  • Field inside a long solenoid

    Solenoid

    B=μ0nI,n=NLB = \mu_0 n I, \qquad n = \frac{N}{L}
  • Force between parallel currents

    Parallel currents

    FL=μ0I1I22πd\frac{F}{L} = \frac{\mu_0 I_1 I_2}{2\pi d}

Watch out for (8)

Test yourself on a real paper

Sit a past NEET paper, timed and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.

Sit a NEET past paper