Sub topic 2
Magnetic flux through a surface
Magnetic flux is the quantity that Faraday's law differentiates. If you get flux wrong, every induction calculation after this chapter goes wrong too. This chapter defines flux, shows how to compute it for a uniform field at any orientation, and covers the sign conventions and mistakes that cause most errors.
Prerequisites
This chapter assumes you know the following:
- A magnetic field B is a vector field, measured in tesla (T), and it exerts force on moving charges and currents.
- The dot product of two vectors: a · b = |a||b| cos θ.
- Basic derivatives, at the level of "rate of change of a quantity".
What flux measures
Think of the field as a flow of "field lines" and a loop of wire as a window. Flux counts how much of the field passes through the window. A larger window passes more. A window turned edge-on to the field passes none. A stronger field passes more.
Flux is a scalar. It has a sign, but no direction.
For a flat surface of area A in a uniform field B, the magnetic flux is
Φ = B · A = B A cos θ
Here A is the area vector. Its magnitude is the area A, and its direction is perpendicular (normal) to the surface. The angle θ is between B and the normal.
The SI unit of flux is the weber (Wb):
1 Wb = 1 T·m²
This gives a useful reading of the field itself: B is the flux per unit area when the surface is perpendicular to the field, so tesla is the same as weber per square metre.
The three cases you should know
| Orientation | Angle θ between B and normal | Flux |
|---|---|---|
| Surface face-on to the field | 0° | +B A (maximum) |
| Surface tilted | between 0° and 90° | B A cos θ |
| Surface edge-on (field parallel to surface) | 90° | 0 |
| Surface face-on, normal pointing against the field | 180° | −B A (minimum) |
The zero at 90° is not "no field". The field is present, but its lines slide along the surface and never cross it.
Angle to the normal, not to the surface
The most common error is using the wrong angle. In the formula Φ = B A cos θ, θ is measured from the normal to the surface, not from the surface itself.
Some problems give the angle φ between the field and the plane of the loop. Then θ = 90° − φ, and
Φ = B A sin φ
Before you substitute numbers, check the limiting case. If the field is parallel to the loop's plane, the flux must be zero.
Choosing the normal and the sign
A flat surface has two possible normals, pointing opposite ways. Either choice is legitimate, but you must pick one and keep it. Flipping the normal flips the sign of the flux.
For a loop of wire, the usual convention is the right-hand rule. Curl the fingers of your right hand around the loop in the direction you call positive for the current. Your thumb then points along the positive normal. This links the sign of the flux to the direction of the current, which matters in the next chapters when you assign a direction to an induced emf.
For this chapter, one rule is enough: the sign of the flux is only meaningful relative to the normal you chose.
Flux through a coil with N turns
If a coil has N turns wound tightly, each turn is crossed by (nearly) the same flux Φ. The total quantity that matters for induction is the flux linkage:
Λ = N Φ = N B A cos θ
Faraday's law will use N times the flux through one turn. Treat the coil as N loops in series.
Non-uniform fields and curved surfaces
When B varies over the surface, or the surface is curved, you split the surface into small patches. Each patch has area vector dA, small enough that the field is uniform across it. Then add up the contributions:
Φ = ∫ B · dA
This is a surface integral. It reduces to B A cos θ when B is uniform and the surface is flat.
Example: a long straight wire. A wire carrying current I produces a field B = μ₀ I / (2π r) at distance r. A rectangular loop of width w lies in the same plane as the wire, with its near edge at distance a and far edge at a + b (b is the length of the loop perpendicular to the wire, w along the wire). The field is perpendicular to the plane of the loop, so cos θ = 1. Take thin strips of width dr, each with area w dr:
Φ = ∫ from a to a+b of (μ₀ I / 2π r) · w dr = (μ₀ I w / 2π) ln((a + b) / a)
The logarithm appears because the field falls off as 1/r. If you treated the field as constant, you would overestimate or underestimate the flux, depending on which edge you used.
Closed surfaces: a useful contrast
For a closed surface (a sphere or a box), the total magnetic flux is always zero:
∮ B · dA = 0
This is Gauss's law for magnetism. It says no isolated magnetic charges (monopoles) have been found, so field lines have no starting or ending points. Every line that enters a closed surface also leaves it.
This is different from an open surface bounded by a loop, such as a disc spanning a wire loop. An open surface can have any net flux. Faraday's law uses the open surface bounded by the circuit.
Ways to change the flux
Since Φ = B A cos θ, there are exactly three quantities you can change. Each one will be a source of induced emf in later chapters.
- Change B: move a magnet nearer, or change the current in a nearby coil.
- Change A: stretch or squash the loop, or slide a conductor along rails.
- Change θ: rotate the loop in the field, as in a generator.
In general several of these can happen together, and the rate of change then follows the product rule.
Worked example: a tilted loop
A square loop of side 0.20 m sits in a uniform field of 0.30 T. The normal to the loop makes an angle of 60° with the field. Find the flux.
- Area: A = 0.20 × 0.20 = 0.040 m².
- The angle to the normal is given directly: θ = 60°.
- Φ = B A cos θ = 0.30 × 0.040 × cos 60° = 0.30 × 0.040 × 0.5 = 0.0060 Wb.
If the same loop had 100 turns, the flux linkage would be 100 × 0.0060 = 0.60 Wb.
Computing flux in code
The program below computes flux for a loop as the angle changes. It also shows that the flux is zero at 90° and negative past it.
import numpy as np
B = 0.30 # tesla
A = 0.040 # loop area, m^2
for theta_deg in [0, 30, 60, 90, 120, 180]:
theta = np.radians(theta_deg)
flux = B * A * np.cos(theta)
print(f"theta = {theta_deg:3d} deg flux = {flux:+.4f} Wb")The output at 60° is +0.0060 Wb, matching the hand calculation. At 90° the printed value is a tiny number near zero (about 7e-19), not exactly zero, because cos(π/2) is not exactly representable in floating point. That is a rounding artefact. In your own code, compare against zero with a tolerance rather than with ==.
Rotating loops: flux as a function of time
If a loop turns at constant angular speed ω, then θ = ω t, and
Φ(t) = B A cos(ω t)
This is a cosine wave in time. Its peak is B A. Faraday's law, in the chapter after next, differentiates this to get the emf of a generator. The slope of Φ(t) is largest where Φ crosses zero, so the emf peaks when the flux is zero. The flux itself is largest when the emf is zero. Remember this phase relationship, because it surprises most learners.
Common errors
- Using the wrong angle. Angle to the normal gives cos θ. Angle to the plane gives sin φ.
- Ignoring orientation. A loop edge-on to the field has zero flux, however strong the field.
- Using the whole field when only part crosses the loop. If the field fills only part of the loop, use only the area where the field exists. For a loop partly inside a field region, A is the overlap area.
- Forgetting N. For a coil, the flux linkage is N Φ.
- Mixing units. Convert cm² to m² before using tesla. 1 cm² = 10⁻⁴ m².
- Dropping the sign. The sign records the orientation relative to the chosen normal and will decide the direction of an induced current later.
Summary of key relationships
| Quantity | Expression | Unit |
|---|---|---|
| Flux, uniform field, flat surface | Φ = B A cos θ | Wb (T·m²) |
| Flux, general | Φ = ∫ B · dA | Wb |
| Flux linkage of N turns | Λ = N Φ | Wb |
| Closed surface | ∮ B · dA = 0 | Wb |
| Rotating loop | Φ(t) = B A cos(ω t) | Wb |
Exercise
A circular loop of radius 5.0 cm lies in a uniform 0.40 T field. The field makes an angle of 25° with the plane of the loop. Find the magnetic flux through the loop.
Show answer
The area is A = π r² = π (0.050)² = 7.85 × 10⁻³ m². The given angle is to the plane, so the angle to the normal is 90° − 25° = 65°. Φ = B A cos 65° = 0.40 × 7.85 × 10⁻³ × 0.4226 ≈ 1.3 × 10⁻³ Wb. Equivalently, Φ = B A sin 25°, which gives the same value.
Exercise
A coil of 200 turns and area 0.015 m² has its normal parallel to a 0.25 T field. It is then rotated through 180°. Find the flux linkage before and after, and the change in flux linkage.
Show answer
Before: Λ = N B A cos 0° = 200 × 0.25 × 0.015 = 0.75 Wb. After the 180° rotation, cos 180° = −1, so Λ = −0.75 Wb. The change is −0.75 − 0.75 = −1.5 Wb. The change is twice the original value, because the flux reverses sign rather than just falling to zero.
Exercise
A long straight wire carries a current, and a rectangular loop lies in the same plane. Why can't you compute the flux through the loop as B A using the field at the loop's centre, and what changes if you use the integral instead?
Show answer
The field of a long wire falls off as 1/r, so it is not uniform across the loop. Φ = B A cos θ assumes one constant B over the whole surface. The correct method integrates strips: Φ = (μ₀ I w / 2π) ln((a + b)/a). Using the centre value only approximates this, and the error grows as the loop gets wider compared with its distance from the wire.