Course note. This guide is for the calculus-based Physics C: Electricity and Magnetism course, Topic 8.5. You will use dot products and set up simple surface integrals. Flux is the idea that Gauss’s law (Topic 8.6) is built on, so take time over the sign rules here.
Before you start, make sure you are confident with electric field vectors from Topic 8.4, Electric Fields of Charge Distributions.
What flux measures
Flux describes how much of something passes through a given area. Think of air blowing through an open window. More air passes through when:
- the wind is stronger,
- the window is larger, or
- the window faces the wind directly instead of being turned sideways.
If the window is turned so that it lies along the wind direction, no air passes through it at all.
Electric flux, Φ_E, uses the same idea for the electric field. Nothing actually flows. But if you picture field lines, the flux is proportional to the number of field lines that cross the surface. A strong field, a large area and a surface that faces the field all give a large flux.
The SI unit of flux is the unit of field times the unit of area: N·m²/C. (This is the same as V·m, which you will meet once you have studied electric potential in Unit 9.)
The area vector
To describe how a surface faces the field, give the surface an area vector, A:
- its magnitude is the area of the surface, in m²;
- its direction is perpendicular (normal) to the surface.
A flat open surface, such as a window, has two possible normal directions. You choose one and say which. A closed surface, such as a box or a sphere, has an inside and an outside. Its area vector always points outward. This rule is fixed, and it is what makes flux through closed surfaces meaningful in Topic 8.6.
Flux through a flat surface in a uniform field
When E has the same size and direction over the whole of a flat surface, the flux is a dot product:
Φ_E = E·A = EA cos θ
Here θ is the angle between E and the area vector A. Only the component of E along A, E cos θ, passes through the surface. The component of E parallel to the surface slides along it and adds nothing.
| Angle θ between E and A | cos θ | Flux |
|---|---|---|
| 0° (E perpendicular to the surface, along A) | 1 | +EA, the largest positive value |
| 60° | 0.500 | +0.500EA |
| 90° (E parallel to the surface) | 0 | 0 |
| 120° | −0.500 | −0.500EA |
| 180° (E perpendicular to the surface, against A) | −1 | −EA |
Sign rule. The sign of the flux comes from the dot product. Flux is positive when E has a component along A and negative when E has a component against A. On a closed surface, outward A means positive flux where field lines leave and negative flux where they enter.
If you know the components, use the component form of the dot product. For a surface in the xy-plane with A = A k̂, only E_z matters: Φ_E = E_z A.
Worked example 1: a tilted window
Question. (a) A flat rectangle 0.30 m × 0.50 m sits in a uniform field of 2.4 × 10³ N/C. The plane of the rectangle makes 25° with the field direction, as in Figure 1. Find the flux, taking A on the side the field passes out through. (b) A square of side 0.20 m lies in the xy-plane, with area vector +k̂. The uniform field is E = (500 î − 200 ĵ + 300 k̂) N/C. Find the flux.
(a)
- Area: A = 0.30 m × 0.50 m = 0.15 m².
- Angle: the surface makes 25° with E, so the normal makes θ = 90° − 25° = 65° with E.
- Flux: Φ_E = EA cos θ = (2.4 × 10³ N/C)(0.15 m²) cos 65° = 152 N·m²/C.
Answer (a). Φ_E = 1.5 × 10² N·m²/C, positive with the chosen A.
Check. The largest possible flux, with the surface facing the field, is EA = 360 N·m²/C. Our answer is smaller, as it must be. If you used cos 25° by mistake you would get 326 N·m²/C, close to the maximum, even though the surface is turned well away from facing the field. If you had chosen A on the other side, the answer would be −152 N·m²/C: same size, opposite sign.
(b)
- Area vector: A = (0.20 m)² k̂ = 0.040 k̂ m².
- Dot product: E·A = (500)(0) + (−200)(0) + (300)(0.040) = 12 N·m²/C.
Answer (b). Φ_E = 12 N·m²/C. The field’s size is about 616 N/C, but only its z-component, 300 N/C, crosses a surface in the xy-plane. The x- and y-components run along the surface.
Flux as a surface integral
Φ_E = EA cos θ only works when E is the same over a flat surface. If E changes from place to place, or the surface is curved, split the surface into tiny patches. Each patch has a small area vector dA, and over one patch E is effectively constant. Add up all the contributions:
Φ_E = ∫ E·dA
This is a surface integral. In this course you can turn it into an ordinary single integral by choosing patches wisely:
- Find the direction in which E changes across the surface.
- Cut the surface into thin strips perpendicular to that direction. On each strip E is constant.
- Write the area of one strip, for example dA = (length) × dy.
- Write dΦ = E(y) cos θ dA for one strip, then integrate across the surface.
The same steps work for a triangle or any shape whose strip length changes; the strip length then becomes a function of position.
Worked example 2: a field that grows across the surface
Question. A rectangle lies in the xy-plane, with 0 ≤ x ≤ a and 0 ≤ y ≤ h. Its area vector is +k̂. In this region the field is E = b y² k̂, where b is a positive constant. (a) Find the flux in terms of a, b and h. (b) Evaluate it for b = 2.5 × 10⁴ N/(C·m²), a = 0.30 m and h = 0.20 m.
(a)
- E depends on y only, so cut the rectangle into strips parallel to the x-axis. A strip at height y has length a and width dy, so dA = a dy.
- E is parallel to the area vector everywhere, so E·dA = E dA = b y² a dy.
- Integrate from the bottom edge to the top edge:
Φ_E = ∫₀ʰ b y² a dy = ab [y³/3]₀ʰ = abh³/3
Unit check. b has units N/(C·m²), so a b h³ has units m × N/(C·m²) × m³ = N·m²/C, the unit of flux.
(b) Φ_E = (0.30 m)(2.5 × 10⁴ N/(C·m²))(0.20 m)³ ÷ 3 = 20 N·m²/C.
Interpretation. The field rises from 0 at the bottom edge to bh² = 1000 N/C at the top edge. The area is 0.060 m², so the flux equals the area times an average field of 333 N/C, which is bh²/3. A quick estimate using the field at the middle strip, y = h/2, gives only 250 N/C × 0.060 m² = 15 N·m²/C. That estimate is too small, because E grows faster than linearly; the integral handles this correctly.
Closed surfaces
A closed surface encloses a volume. For flux through it you add the fluxes through all its parts, each with an outward area vector. The integral sign is written with a circle, ∮E·dA, to show the surface is closed.
In a uniform field, every field line that enters a closed surface also leaves it. So the net flux through any closed surface in a uniform field is zero. In Topic 8.6 you will see the general rule: the net flux through a closed surface depends only on the charge inside it.
This gives a useful shortcut. If an open curved surface and a flat surface share the same rim, together they form a closed surface. In a uniform field the two fluxes must cancel, so the flux through the curved surface has the same size as the flux through the flat surface across its rim.
Worked example 3: a dome in a tilted field
Question. A hemispherical dome of radius 0.12 m sits on a flat floor. A uniform field of 3.0 × 10³ N/C points upward, tilted at 30° to the vertical. (Because the field is uniform, it has this same direction at every point.) Find the flux through the curved surface of the dome, with A pointing outward (away from the centre).
- Close the surface with the flat floor disc under the dome. The dome plus disc is a closed surface in a uniform field, so the net flux is zero.
- The disc’s outward area vector points down, at 180° − 30° = 150° to E. Its area is πR² = π(0.12 m)² = 0.04524 m².
- Flux through the disc: (3.0 × 10³)(0.04524) cos 150° = −117.5 N·m²/C. The field enters through the floor.
- Net flux zero, so Φ_dome = +117.5 N·m²/C.
Answer. Φ_dome = +1.2 × 10² N·m²/C. Field lines enter through the floor and leave through the dome.
Check. If the field were vertical, the flux would be EπR² = 136 N·m²/C, the largest possible value. Tilting by 30° multiplies this by cos 30° = 0.866. A direct numerical integration of E·dA over the dome gives the same result. Notice that you never needed the dome’s curved area, 2πR².
Common misconceptions
- Measuring θ from the surface. θ is the angle between E and the area vector, which is perpendicular to the surface. If you are given the angle to the surface, use 90° minus it, or use sin instead of cos.
- “Flux is a vector because E and A are vectors.” Flux is a scalar. It has a sign but no direction.
- Ignoring the sign. Negative flux is meaningful: on a closed surface it shows where field lines enter.
- Choosing inward normals on a closed surface. Area vectors on a closed surface always point outward.
- Using the total area for a curved surface in a uniform field. Only the area “seen” by the field counts. For a dome or bowl in a uniform field, use the flat area across the rim, πR², not 2πR².
- Multiplying E by area when E varies. If E changes across the surface, you must integrate. Using one value of E gives a wrong answer unless that value happens to be the average.
- “Zero net flux means no field.” A closed surface in a uniform field has zero net flux, but the field is not zero; it enters on one side and leaves on the other.
Where this leads
Flux is the language of Gauss’s law. In Topic 8.6, Gauss’s Law, you will find that the net flux through any closed surface equals the enclosed charge divided by ε₀, and you will use that to find fields. The same definition, with B in place of E, gives magnetic flux in Topic 13.1, the basis of Faraday’s law. Practise now with the practice questions, then use the revision notes and the topic checklist.
Quick questions
Is flux a vector?
No. Flux is a scalar. It comes from a dot product, so it has a size and a sign but no direction.
Which way does the area vector point on an open surface?
You choose one of the two perpendicular directions and state your choice. Changing the choice changes the sign of the flux, not its size. On a closed surface there is no choice: the area vector points outward.