A Magnetic Field (B) is a vector field created by moving electric charges (currents). It is defined by the force it exerts on other moving charges.
The force on a moving charge q with velocity v is given by the Lorentz Force Law:
Lorentz Force: F = q(E + v × B)
In this unit, we focus on the magnetic part: Fmag = q(v × B).
Since a current is a stream of moving charges, a current-carrying wire also experiences a force in a B-field. The differential force (dF) on a small segment of wire (dl) carrying current (I) is:
Force on wire element: dF = I(dl × B)
The Biot-Savart Law is the fundamental law of magnetostatics. It is used to calculate the magnetic field (dB) generated at a point by a small element of a current-carrying wire (Idl).
Biot-Savart Law: dB = (μ0I / 4π) (dl × r̂) / r2
Where:
To find the total B-field, one must integrate dB over the entire wire: B = ∫ dB.
By integrating the Biot-Savart law for a straight wire, the B-field at a perpendicular distance 'r' from an infinitely long wire is:
Formula: B = μ0I / (2πr)
The field lines are concentric circles around the wire (direction given by the Right-Hand Grip Rule).
For a circular loop of radius 'R' carrying current 'I', the B-field at a point 'z' along the central axis is:
Formula: B(z) = (μ0IR2) / (2(R2 + z2)3/2)
At the center of the loop (z=0):
Formula: Bcenter = μ0I / (2R)
A Helmholtz coil consists of two identical circular coils (radius R, N turns) placed parallel to each other, separated by a distance d = R. They carry the same current I in the same direction.
Purpose: This specific arrangement creates a highly uniform magnetic field in the region between the coils. It is widely used in experiments (like measuring e/m of an electron) that require a known, uniform B-field.
At large distances (z >> R), the B-field on the axis of a current loop becomes:
B(z) ≈ (μ0IR2) / (2z3) = (μ0 / 2π) (I(πR2)) / z3
This has the same 1/z3 dependence as the E-field of an electric dipole.
We define the magnetic dipole moment (μ) of the current loop:
Formula: μ = I * A
Where A is the vector area of the loop (Magnitude = Area, Direction = normal to the loop via Right-Hand Rule).
So, B(z) ≈ (μ0 / 2π) (μ / z3). This shows the strong analogy between electric and magnetic dipoles.
Ampere's Law relates the line integral of the magnetic field B around a closed loop (an "Amperian loop") to the total current (Ienclosed) passing through that loop.
Ampere's Law: ∮ B ⋅ dl = μ0Ienclosed
A solenoid is a long coil of wire. For an ideal solenoid (infinite length, tightly packed), we can find the field inside.
Using a rectangular Amperian loop, we find:
Where 'n' is the number of turns per unit length (n = N/L).
A toroid is a solenoid bent into a donut shape. We use a circular Amperian loop of radius 'r' inside the coils.
B(2πr) = μ0(NI), where N is the total number of turns.
Formula (inside toroid): B = (μ0NI) / (2πr)
The field is not perfectly uniform (it depends on r), but it is contained entirely within the toroid (B=0 outside).
These are two of Maxwell's Equations, which describe the behavior of B in differential form.
Formula: ∇ ⋅ B = 0
Physical Meaning: This is the mathematical statement that there are no magnetic monopoles. The divergence (∇⋅) measures the "outflow" from a point. Since ∇⋅B is always zero, there are no "sources" or "sinks" of magnetic field. Magnetic field lines always form closed loops.
Formula: ∇ × B = μ0J
Physical Meaning: This is Ampere's Law in differential form. The curl (∇×) measures the "circulation" or "curliness" of a field. This equation states that circulating magnetic fields are produced by current densities (J).
The magnetic part of the Lorentz force:
Formula: F = q(v × B)
Key Properties:
This is the macroscopic version of the force on point charges. The total force F on a wire is the integral of the differential force dF = I(dl × B).
For a straight wire of length L in a uniform field B:
Formula: F = I(L × B) (Magnitude: F = ILB sin(θ))
Wire 1 creates a field B1 = μ0I1 / (2πd).
Wire 2 experiences a force from this field: F2 = I2(L × B1).
The force per unit length (F/L) between them is:
Formula: F/L = μ0I1I2 / (2πd)
When a current loop (like in a motor) is placed in a uniform magnetic field B, the forces on opposite sides create a twisting force, or torque (τ).
The torque tries to align the loop's magnetic dipole moment (μ) with the external field B.
Formula: τ = μ × B
The magnitude is τ = μB sin(θ), where θ is the angle between μ and B.
The potential energy (U) of the dipole in the field is:
Potential Energy: U = -μ ⋅ B = -μB cos(θ)
The energy is minimum (stable equilibrium) when θ=0 (μ aligned with B) and maximum (unstable) when θ=180° (μ anti-aligned).