Fernando Garcia

Home     Research     Blog     Other     About me


PHYS405 - Electricity & Magnetism I

Spring 2024

Problem 5.38

Find the exact magnetic field a distance z above the center of a square loop of side w, carrying a current I. Verify that it reduces to the field of a dipole, with the appropriate dipole moment, when z>>w.

This is, of course, a problem about the Biot-Savart law.

A square loop is just 4 finite line segments. The field due to the square loop will be the same as the sum of the individual fields from each line segment.

We know the field of a line segment a distance s from us (see Example 5.5 on page 223):

(Eq. 5.37, page 223)B=μ0I4πs(sinθ2sinθ1)

Where θ1 and θ2 depend on the length and position of us with respective to the line segment:

In our case, the red dot (us) will be aligned with the mid-point of the side of length w:

To get the sines of those angles, we need the opposite side and the hypotenuse. The opposite side is of length w/2, of course, but the hypotenuse requires a bit more work. Notice that:

So we can find the distance between the red dot and the midpoint of the segment, and then use it to calculate the hypotenuse:

We can now write

sin(θ2)=oppositehypotenuse=w/2z2+(w2/2)

Of course, θ1=θ2, so:

sin(θ1)=sin(θ2)=sin(θ2)=w/2z2+(w2/2)

To write the B field in terms of w and z, it is relevant to note that

s=z2+(w/2)2

(This is the distance from the red dot to the mid-point of the segment of length w)

With this in mind, equation 5.37 (B=μ0I4πs(sinθ2sinθ1)) becomes:

B=μ0I4πs(w/2z2+(w2/2)w/2z2+(w2/2))=μ0I4πs(w/2z2+(w2/2)+w/2z2+(w2/2))=μ0I4πswz2+(w2/2)=μ0I4πwz2+(w/2)2z2+(w2/2)

To get the field of the actual square loop configuration, we simply multiply by 4 (to get each side) and add a corresponding factor to pick up only the vertical component:

w/2z2+(w/2)2

We then conclude that

B=μ0I2π1z2+(w/2)2w2z2+(w2/2)z^ In the limit z>>w, the last 2 factors simplify: Bμ0I2π1z2w2zz^=μ0Iw22πz3z^

With m=Iw2, we get:

Bμ0m2πz3z^

As expected.


Back to PHYS405 site