Which way does the field point?
Take a very long straight wire with charge spread evenly along it, coulombs per metre. In the 3D model, choose Why the field points straight out and press Play.
Take a piece above a point P and an equal piece below it. Each pushes P along its own line. The up and down parts cancel, and the outward parts add. Every piece has such a partner, so the field points straight out from the wire. By symmetry it has the same size at every point the same distance away.
Using Gauss’s law
Choose The Gaussian cylinder. The surface must suit the symmetry, so take a closed cylinder around the wire, of radius and length .
- End caps: E runs along them, so they carry no flux.
- Curved side: E is at right angles to it and the same size everywhere, so .
- Charge inside: only the length of wire inside counts, .
Gauss’s law then gives:
The length cancels:
Since , this is also .
No integral was needed. Adding up the pieces of the wire directly gives the same answer, with a lot more work.
How the field changes with distance
Choose E falls as 1/r, with μC/m.
| r (m) | E (N/C) |
|---|---|
| 0.1 | 1.8 × 10⁵ |
| 0.2 | 9.0 × 10⁴ |
| 0.4 | 4.5 × 10⁴ |
Twice as far gives half the field. That is a slower fall than the of a point charge, because the wire has charge all along its length.
No real wire is infinite. The formula works well when you are close to the wire compared with its length, and far from its ends.
Worked example
A long straight wire carries 2 μC/m. Find the electric field 5 cm from it.
- 7.2 × 10⁵ N/C, pointing straight away from the wire.
Remember: for a long wire use a cylinder. The ends carry no flux, the side carries E × 2πrL, and the charge inside is λL, so E = λ/(2πε₀r).
Formulas and where to use them
Field of a long straight wire
- where
- charge per unit length of the wire (C/m)
- distance from the wire (m)
- 8.85 × 10⁻¹² C²/N m²
- 9 × 10⁹ N m²/C²
Use it when: Close to a long straight wire and far from its ends. The field points straight out for +λ and straight in for −λ.
Common mistakes
- Using 1/r². That is a point charge. A long wire gives 1/r.
- Counting the whole wire as the charge inside. Only the length L inside the cylinder counts: q = λL.
- Keeping L in the answer. L is a length we chose, and it cancels.
- Using r in the wrong place. r is the distance from the wire, not the length of the cylinder.
Quick check
Test yourself — pick an answer to see if you got it.
1. The field of a long charged wire at a distance r varies as…
.
2. A long wire has λ = 2 μC/m. The field 5 cm from it is about…
.
3. The best Gaussian surface for a long straight wire is a…
E is then the same all over the curved side.
4. The end caps of the Gaussian cylinder carry no flux because…
θ = 90° between E and their normals.
5. You move three times as far from a long wire. The field becomes…
E falls as 1/r.