---
title: Flux
heading: How much of a field passes through a surface
eyebrow: A9 · Lesson 31 · Flux
xp: 40
---

::: hook
Hold a hoop in the rain. Facing straight up, it catches the most water; tilt it and it catches less; turn it edge-on and it catches none. The amount of field passing through a surface is its flux, and it obeys the same rule. Flux is the quantity in Faraday's law of induction and in Gauss's law, and an electric current is nothing but the flux of current density through a wire.

::: play
- A uniform field (strength $F$) flows to the right. The loop is seen edge-on, as the line; the short arrow is its normal, the direction its face points.
- Tilt the loop. When is the flux through it largest? When is it zero? When is it negative?
- Change the loop's size. How does the flux scale?
:::
:::

```sim plot
view: flow
x: x = -2..2 m
y: y = -2..2 m
slider: F = 0.5..3 step 0.1 = 2 T
slider: th = -180..180 step 5 = 30 °
slider: L = 0.5..3 step 0.1 = 2 m
dx: F
dy: 0
arrows: scaled
grid: 12
path: -sin(th*pi/180)*(u - 0.5)*L, cos(th*pi/180)*(u - 0.5)*L | over: u = 0..1 | flux: P | color: ch1
vec: 0, 0, 0.8*cos(th*pi/180), 0.8*sin(th*pi/180) | label: n | color: ch3
readout: flux per meter of depth (Wb/m) = P
readout: F·L·cos θ = F*L*cos(th*pi/180)
```

::: predict
## The loop's normal is turned to 60° from the field. What fraction of the face-on flux passes through it?

- [ ] None
- [ ] About 0.87
- [x] One half
- [ ] Two thirds

::: reveal
One half: $\cos 60° = 0.5$. Only the part of the field along the normal passes through the surface, and the part along the surface just slides past. Turned to 90°, edge-on, the flux is zero; past 90° it's negative, because the field now passes through the back face first.
:::
:::

::: nameit
## Flux through a surface

**A flat surface in a uniform field.** Give the surface an **area vector** $\mathbf{A}$: as long as its area, pointing along its normal. The flux is the dot product

$$\Phi = \mathbf{F} \cdot \mathbf{A} = FA\cos\theta$$

with θ the angle between the field and the normal. Face-on ($\theta = 0$) gives the full $FA$; edge-on gives zero.

**Any surface, any field.** Cut the surface into small patches $dA$, each with its own unit normal $\hat n$, and add up the flux through each:

$$\Phi = \iint_S \mathbf{F} \cdot \hat n\,dA$$

For a closed surface, like a balloon, the normal is taken to point outward, so $\Phi$ counts field leaving as positive and field entering as negative. The sim shows a two-dimensional slice of this: a loop seen edge-on, with the flux per meter of depth.

**Where flux shows up:**

| Flux of | Is | Unit |
|---|---|---|
| magnetic field $\mathbf{B}$ | magnetic flux $\Phi_B$, the quantity in Faraday's law | weber (T·m²) |
| current density $\mathbf{J}$ | the current through the surface, $I = \iint \mathbf{J} \cdot d\mathbf{A}$ | ampere |
| electric field $\mathbf{E}$ | electric flux, the quantity in Gauss's law | V·m |

**Changing flux.** A loop of area $A$ turning at angular speed ω in a uniform field $B$ has $\Phi = BA\cos\omega t$, swinging between $+BA$ and $-BA$. Its rate of change peaks at $\omega BA$. Faraday's law (course B6) says that rate is the voltage induced around the loop, so this is how every generator makes AC.
:::

::: example
## A uniform field of 200 V/m crosses a 0.05 m² plate whose normal is at 60° to the field. What is the flux?

::: solution
1. **Flux through a tilted plate.**
   $$\begin{aligned} \Phi &= EA\cos\theta \\ &= 200 \times 0.05 \times 0.5 \\ &= 5\ \text{V·m} \end{aligned}$$
2. **Compare the extremes.** Face-on it would be 10; edge-on, 0.

**Answer:** the flux is 5 V·m.
:::
:::

::: example
## Find the flux of $\mathbf{F} = (0, 0, z)$ out of the unit cube $[0, 1]^3$.

::: solution
1. **Find the faces that count.** $\mathbf{F}$ points along $z$, so only the top and bottom faces count.
2. **Bottom face.** There $z = 0$, so $\mathbf{F} = 0$ and the flux is 0.
3. **Top face.** There $z = 1$, so the flux is $1 \times 1 = 1$.
4. **Check with the divergence.** The total, 1, matches the divergence (1) times the volume (1).

**Answer:** the flux out of the cube is 1.
:::
:::

::: example
## A uniform field $\mathbf{E} = (0, 0, 5)$ V/m passes through the hemisphere $z \ge 0$ of radius 2 m. What is the flux?

::: solution
1. **Swap the surface.** The field has no divergence, so the flux through the hemisphere equals the flux through the flat disk that closes it (both surfaces share the same boundary).
2. **Flux through the disk.** With normal $\hat z$:
   $$\begin{aligned} \Phi &= 5 \times \pi(2)^2 \\ &= 62.8\ \text{V·m} \end{aligned}$$
3. **Compare with the direct way.** Integrating over the curved surface directly gives the same, but takes much longer.

**Answer:** the flux is 62.8 V·m.
:::
:::

::: check
given: B = 10..90 int; A = 5 | 10 | 20 | 50; th = 0 | 20 | 30 | 60
answer: B*1e-3*A*1e-4*cos(th*pi/180)
unit: Wb
tolerance: 0.5%

## A flat loop of area {A} cm² sits in a uniform {B} mT field, with its normal at {th}° to the field. What is the magnetic flux through it?

::: right
Right. $\Phi = BA\cos\theta$ = {answer}, with B in teslas and A in square meters.
:::

::: misses
- [B*1e-3*A*1e-4*sin(th*pi/180)] Use the angle between the field and the normal: that's $\cos\theta$.
- [B*1e-3*A*1e-2*cos(th*pi/180)] 1 cm² is $10^{-4}$ m², not $10^{-2}$.
- [B*A*cos(th*pi/180)] Convert to teslas and square meters first.
- [any] Not yet. $\Phi = BA\cos\theta$ in SI units.
:::
:::

::: check
given: J = 2..9 int; d = 0.5 | 1 | 2
answer: J*pi*d^2/4
unit: A
tolerance: 0.5%

## Current flows evenly along a round wire {d} mm across, with current density {J} A/mm². What is the current?

::: right
Right. The current is the flux of $\mathbf{J}$ through the cross section: $J \times \pi d^2/4$ = {answer}.
:::

::: misses
- [J*pi*d^2] The radius is half the diameter: the area is $\pi d^2/4$.
- [J*d] Multiply by the cross-section's area, not its width.
- [any] Not yet. $I = J \times$ the cross-section's area.
:::
:::

::: check
given: Fx = 2 | 4; Fy = 1 | 3; L = 2..4 int; th = 120 | 150 | 210 | 300
answer: L*(Fx*cos(th*pi/180) + Fy*sin(th*pi/180))
tolerance: 0.5%

## In the field $(\given{Fx}, \given{Fy})$, a flat strip {L} m wide (per meter of depth) has its normal at {th}° from the $x$ axis. What is the flux through it, per meter of depth?

::: right
Right. $\Phi = L\,(\mathbf{F} \cdot \hat n)$ with $\hat n = (\cos\theta, \sin\theta)$: {answer}.
:::

::: misses
- [L*sqrt(Fx^2 + Fy^2)] That's the face-on flux. Dot the field with this normal.
- [L*(Fx*sin(th*pi/180) + Fy*cos(th*pi/180))] The normal is $(\cos\theta, \sin\theta)$: x pairs with cos.
- [any] Not yet. $\Phi = (\mathbf{F} \cdot \hat n)\,L$.
:::
:::

::: check
kind: choice

## A closed box sits in a uniform field, with no charges or sources inside. What is the total flux out of the box?

- [x] Zero
- [ ] The field times the box's surface area
- [ ] The field times the box's volume
- [ ] Negative

::: right
Right. Whatever flows in through one face flows out through another, so the total out is zero.
:::

::: misses
- [2] Field enters some faces (negative flux) and leaves others (positive). They cancel.
- [3] Flux is about surfaces, and here what goes in comes out.
- [4] It's exactly zero for a uniform field.
:::
:::

::: check
given: N = 10 | 50 | 100; B = 0.1 | 0.2 | 0.5; A = 10 | 20 | 50; f = 50 | 60
answer: N*B*A*1e-4*2*pi*f
unit: V
tolerance: 0.5%

## A coil of {N} turns, each of area {A} cm², spins at {f} Hz in a {B} T field. The flux through each turn is $BA\cos\omega t$. What is the peak of $N\,d\Phi/dt$?

::: right
Right. $d\Phi/dt$ peaks at $\omega BA$, so the coil's peak is $N\omega BA$ = {answer}.
:::

::: misses
- [N*B*A*1e-4] That's N times the peak flux. Differentiate: the rate brings in ω.
- [N*B*A*1e-4*f] Use $\omega = 2\pi f$.
- [N*B*A*2*pi*f] Convert cm² to m².
- [any] Not yet. Differentiate $BA\cos\omega t$ and find its biggest value, then multiply by N.
:::
:::

::: check
kind: parts
given: E = 100 | 200; A = 0.01 | 0.05; t = 30 | 60

## A uniform field of {E} V/m crosses a {A} m² plate whose normal is at {t}° to the field.

::: part
answer: E*A*cos(t*pi/180)
unit: V·m
tolerance: 0.5%

### What is the flux?

::: misses
- [E*A*sin(t*pi/180)] The angle is to the normal, so use the cosine.
- [any] $\Phi = EA\cos\theta$.
:::
:::
:::

::: check
kind: derivation
vars: a = 0.5..3

## Find the flux of $\mathbf{F} = (0, 0, z)$ out of the cube $[0, a]^3$.

::: step
answer: a*a^2

### Only the top face, at $z = a$, contributes. What flux does it carry?
:::

::: right
Right. $a^3$, the cube's volume times $\nabla\cdot\mathbf{F} = 1$.
:::
:::

::: explain
## Why does the flux through a loop depend on $\cos\theta$, where θ is the angle between the field and the loop's normal?

::: model
Only the part of the field that crosses the surface counts. Split the field into a part along the normal, $F\cos\theta$, and a part along the surface. The part along the surface slides past without going through, so it contributes nothing. The crossing part passes through the whole area, giving $FA\cos\theta$. Equivalently, a tilted loop presents a smaller effective area, $A\cos\theta$, to the oncoming field.
:::
:::

::: practice

::: check
given: B = 0.1 | 0.2 | 0.5 | 1.5; a = 2..9 int; b = 2..9 int
answer: B*a*b*1e-4
unit: Wb
tolerance: 0.5%

## A uniform {B} T field passes straight through an {a} cm × {b} cm rectangle. What is the flux?

::: misses
- [B*a*b] Convert cm² to m².
- [any] $\Phi = BA$ face-on.
:::
:::

::: check
given: B = 0.2 | 0.5 | 1; th = 30 | 60 | 75; A = 10 | 50 | 100
answer: B*A*1e-4*cos(th*pi/180)
unit: Wb
tolerance: 0.5%

## A {A} cm² loop's normal is {th}° from a {B} T field. What is the flux?

::: misses
- [B*A*1e-4] Face-on you'd get that. Multiply by $\cos\theta$.
- [B*A*1e-4*sin(th*pi/180)] It's the cosine of the angle from the normal.
- [any] $\Phi = BA\cos\theta$.
:::
:::

::: check
given: I = 1..20 int; d = 1 | 2 | 4
answer: I/(pi*d^2/4)
unit: A/mm^2
tolerance: 0.5%

## A wire {d} mm across carries {I} A, spread evenly. What is the current density, in A/mm²?

::: misses
- [I/(pi*d^2)] The area is $\pi d^2/4$.
- [any] $J = I/A$.
:::
:::
:::
