Concept:
Magnetic field due to a long straight current-carrying wire:
\[
B = \frac{\mu_0 I}{2\pi r}
\]
Key ideas:
Distance from centre to each corner of square: \( r = \frac{a}{\sqrt{2}} \)
Direction of magnetic field determined by right-hand thumb rule
Vector addition of magnetic fields
Step 1: Magnetic field magnitude due to each wire.
Distance from centre to each corner:
\[
r = \frac{a}{\sqrt{2}}
\]
Thus field due to each wire:
\[
B_0 = \frac{\mu_0 I}{2\pi r}
= \frac{\mu_0 I}{2\pi \left(\frac{a}{\sqrt{2}}\right)}
= \frac{\mu_0 I \sqrt{2}}{2\pi a}
\]
Step 2: Directions using right-hand rule.
- Wire at A: current upward → field direction anticlockwise.
- Wires at B, C, D: current downward → field clockwise.
At the centre, magnetic fields are tangential to circles around wires.
Resolve each field into components along diagonals.
Step 3: Symmetry analysis.
Due to square symmetry:
Fields from B and D cancel partially along one diagonal.
Field from C adds with resultant of others.
Net field lies along diagonal OB.
Step 4: Resultant magnitude.
Each magnetic field makes \( 45^\circ \) with diagonals.
Effective components add vectorially, giving:
\[
B_{\text{net}} = 2B_0
\]
\[
B_{\text{net}} = 2 \times \frac{\mu_0 I \sqrt{2}}{2\pi a}
= \frac{\mu_0 I \sqrt{2}}{\pi a}
\]
Step 5: Direction.
From vector addition, resultant is along diagonal OB.