1. Home
  2. Class 11–12
  3. Physics
  4. CBSE Class 12
  5. Magnetic Field Due to a Bar Magnet

Magnetic Field Due to a Bar Magnet

Bring a magnet towards a compass and watch the needle turn as the field grows, carry a probe round a magnet to map the field, and plot how fast the field falls with distance.

Interactive 3DPhysicsIntermediate7 min read

Drag to rotate · Right-drag to pan · Click, then scroll to zoom · Space play · Left arrowRight arrow step

What's happening

Formula & steps

    Your progress and quiz scores are saved on this device, and in your account once you sign up.

    Try this in the 3D model

    • In A compass near a magnet, how much does the deflection change between 30 cm and 10 cm?
    • In The field all round, where are the arrows longest, and which way do they point on the equatorial line?
    • In Field against distance, read B at 5 cm and at 10 cm. What is the ratio?

    Measuring a field with a compass

    In the 3D model, choose A compass near a magnet. Looking down on a table, a compass points north along the horizontal part of the Earth’s field, BH=4×10−5B_H = 4 \times 10^{-5} T.

    A short magnet (m=1m = 1 A m²) is laid east–west with its N end towards the compass. Its field at the compass, B, points east, at right angles to BHB_H. The needle settles along the resultant, at angle θ from north with

    tan⁡θ=BBH\tan\theta = \dfrac{B}{B_H}

    As the magnet comes from 30 cm to 10 cm, θ goes from about 10° to 79°: the field grows very fast as the distance shrinks.

    How the field depends on distance

    Far from a short magnet (r much bigger than its length), its field falls off as the cube of the distance:

    B∝mr3B \propto \dfrac{m}{r^{3}}

    Choose Field against distance: for m=0.1m = 0.1 A m², B on the axis is 16×10−516 \times 10^{-5} T at 5 cm and 2×10−52 \times 10^{-5} T at 10 cm. Each doubling of r cuts B to an eighth, much faster than the 1/r21/r^{2} of a single charge. A magnet’s field is felt strongly only close to it.

    How the field depends on direction

    Choose The field all round. A probe goes round the magnet at a fixed distance. The arrows are longest on the axis and about half as long on the equatorial line, where they also point the other way. In general, at a point at angle θ from the axis,

    B=μ04π mr31+3cos⁡2θ,μ04π=10−7 T m/AB = \dfrac{\mu_0}{4\pi}\,\dfrac{m}{r^{3}}\sqrt{1 + 3\cos^{2}\theta}, \qquad \dfrac{\mu_0}{4\pi} = 10^{-7}\ \text{T m/A}
    • On the axis (θ = 0°): the factor is 2, so B=μ04π2mr3B = \dfrac{\mu_0}{4\pi}\dfrac{2m}{r^{3}}.
    • On the equator (θ = 90°): the factor is 1, so B=μ04πmr3B = \dfrac{\mu_0}{4\pi}\dfrac{m}{r^{3}}.

    These two special lines are worked out pole by pole in the next lesson.

    Worked example

    A short magnet of moment 0.5 A m² lies east–west with its axis through a compass 20 cm away. The Earth’s horizontal field there is 3.6 × 10⁻⁵ T. Find the deflection.

    1. On the axis: B=10−7×2×0.50.23=10−7×125=1.25×10−5B = 10^{-7} \times \dfrac{2 \times 0.5}{0.2^{3}} = 10^{-7} \times 125 = 1.25 \times 10^{-5} T.
    2. tan⁡θ=1.25×10−53.6×10−5=0.35\tan\theta = \dfrac{1.25 \times 10^{-5}}{3.6 \times 10^{-5}} = 0.35.
    3. θ≈\theta \approx 19°.

    Remember: a bar magnet’s field falls as m/r³; it is twice as strong on the axis as on the equator at the same distance; a compass measures it through tan⁡θ=B/BH\tan\theta = B/B_H.

    Formulas and where to use them

    Field of a short magnet, any point

    B=μ04π mr31+3cos⁡2θB = \dfrac{\mu_0}{4\pi}\,\dfrac{m}{r^{3}}\sqrt{1 + 3\cos^{2}\theta}
    where
    mm
    magnetic moment (A m²)
    rr
    distance from the centre of the magnet (m)
    θ\theta
    angle between the axis and the line to the point
    μ0/4π\mu_0/4\pi
    10⁻⁷ T m/A

    Use it when: Points far from a short magnet (r much bigger than its length).

    Tangent law

    tan⁡θ=BBH\tan\theta = \dfrac{B}{B_H}
    where
    BB
    field of the magnet at the compass, at right angles to the Earth’s field
    BHB_H
    horizontal component of the Earth’s field

    Use it when: A compass deflected by a magnet whose field is at right angles to the Earth’s field.

    Common mistakes

    • Using 1/r². A magnet’s field falls as 1/r³: double the distance, one eighth of the field.
    • Forgetting the Earth’s field. A compass settles along the resultant of the magnet’s field and BHB_H.
    • Measuring r from the near pole. r is measured from the centre of the magnet.

    Quick check

    Test yourself — pick an answer to see if you got it.

    1. Far from a magnet, if the distance doubles the field becomes…

    2. At the same distance, the field on the axis of a short magnet compared with the equatorial line is…

    3. A magnet’s field at a compass equals the Earth’s BHB_H and is at right angles to it. The needle turns through…

    4. The value of μ₀/4π is…

    5. A short magnet of moment 1 A m². The field 10 cm away on its axis is…

    Saved on this device.
    Spotted a mistake or a bug in the 3D model?

    Report a mistake

    in Magnetic Field Due to a Bar Magnet. Thank you — every report makes the lesson better for the next reader.

    We'll also include a link to the step of the 3D model you're on and your browser type, so we can reproduce it.