Question
Question: A square loop of side 'a' is made by a current carrying wire. Magnetic field at its vertex 'P' is...
A square loop of side 'a' is made by a current carrying wire. Magnetic field at its vertex 'P' is

2πaμ0I
4πaμ0I
aμ0I
0
0
Solution
The magnetic field at a vertex of a square loop carrying current is the vector sum of the magnetic fields produced by the two sides of the square that do not pass through that vertex. Let the square loop have side length 'a' and carry a current 'I'. Let P be one of the vertices.
Consider a square loop ABCD with vertices A=(0,0), B=(a,0), C=(a,a), and D=(0,a). Let P be vertex A. Assume the current flows counter-clockwise (A→B→C→D→A).
The magnetic field at P due to the sides AB and AD (which pass through P) is considered infinite if P is exactly on the wire. However, in standard problems of this type, the question implies calculating the field due to the other two sides of the loop, or it refers to a point infinitesimally close to the vertex but not on the wire itself. Assuming the latter, and that the field contributions from the adjacent sides are either not considered or cancel out in some limiting sense, we calculate the field from the non-adjacent sides.
The sides contributing to the magnetic field at vertex A are BC and CD.
-
Magnetic field due to side BC:
- Side BC runs from B(a,0) to C(a,a). The current flows in the +y direction.
- The point P is at A(0,0).
- The perpendicular distance from P to the line containing BC (which is the line x=a) is r=a.
- The magnetic field due to a finite straight wire segment is given by B=4πrμ0I(sinθ1+sinθ2), where θ1 and θ2 are the angles subtended by the ends of the wire segment at the point, measured from the perpendicular.
- For side BC, the perpendicular from P to the line x=a lies along the x-axis.
- The line from P to B(a,0) is along the x-axis. The angle it makes with the perpendicular (x-axis) is θ1=0∘.
- The line from P to C(a,a) makes an angle of 45∘ with the x-axis. So, θ2=45∘.
- BBC=4πaμ0I(sin0∘+sin45∘)=4πaμ0I(0+21)=4πa2μ0I.
- Using the right-hand rule (thumb along current, fingers curl), the magnetic field at P due to BC is directed out of the page (+z direction).
-
Magnetic field due to side CD:
- Side CD runs from C(a,a) to D(0,a). The current flows in the -x direction.
- The point P is at A(0,0).
- The perpendicular distance from P to the line containing CD (which is the line y=a) is r=a.
- The perpendicular from P to the line y=a lies along the y-axis.
- The line from P to C(a,a) makes an angle of 45∘ with the y-axis. So, θ1=45∘.
- The line from P to D(0,a) is along the y-axis. The angle it makes with the perpendicular (y-axis) is θ2=0∘.
- BCD=4πaμ0I(sin45∘+sin0∘)=4πaμ0I(21+0)=4πa2μ0I.
- Using the right-hand rule (thumb along current, fingers curl), the magnetic field at P due to CD is directed into the page (-z direction).
The total magnetic field at vertex P is the vector sum of BBC and BCD. Since they are equal in magnitude and opposite in direction, they cancel each other out: Bnet=BBC+BCD=4πa2μ0I(k^)+4πa2μ0I(−k^)=0.
The same result is obtained if the current direction is reversed.