The problem. An infinite straight line carries a uniform charge density of 10 nC/m. Find the electric field magnitude at a radial distance of 0.5 m in free space.
Step 1 — symmetry and surface. The distribution is infinite and straight, so the field is radial and depends only on the radial distance. Take a coaxial cylinder of radius r and length L as the Gaussian surface. Flux through the flat ends is zero, because the field is parallel to them.
Step 2 — Gauss's law.
∮ E · dS = Q_enclosed ÷ ε₀
E × (2πrL) = λL ÷ ε₀
The length L cancels on both sides, which is why the answer does not depend on how much of the line you enclose.
Step 3 — rearrange and substitute, with ε₀ = 8.854 × 10⁻¹² F/m:
E = λ ÷ (2πε₀r) = (10 × 10⁻⁹) ÷ (2π × 8.854 × 10⁻¹² × 0.5)
Denominator = 2.7816 × 10⁻¹¹
E = 359.51 V/m, directed radially outward.
Step 4 — the check that earns the extra mark. At r = 1.0 m the same formula gives 179.75 V/m, exactly half. A line charge falls off as 1/r, not as 1/r². If your answer quartered when you doubled the distance, you have used the point-charge formula on a line.