Coulomb's Law & Electric Field
Force between charges, the electric field, superposition, and continuous distributions.
1.1 Coulomb's Law
The fundamental law governing the force between two point charges was established experimentally by Charles-Augustin de Coulomb in 1785. For charges $q_1$ and $q_2$ separated by a distance $r$, the force on $q_2$ due to $q_1$ is:
where $\hat{r}_{12}$ points from $q_1$ to $q_2$, and $\epsilon_0 = 8.854 \times 10^{-12}\,\text{C}^2/(\text{N}\cdot\text{m}^2)$.
The constant $k = 1/(4\pi\epsilon_0) \approx 8.988 \times 10^9\,\text{N}\cdot\text{m}^2/\text{C}^2$. In vector form, with source position $\mathbf{r}'$ and field point $\mathbf{r}$:
1.1.1 Superposition Principle
The force on a test charge $q$ due to a collection of $n$ source charges is the vector sum of the individual Coulomb forces:
Superposition is an empirical fact: electric forces do not interact with each other. This linearity is exact in classical electrodynamics and is one of the theory's most powerful features.
1.2 The Electric Field
Rather than specifying forces between every pair of charges, we introduce the concept of the electric field $\mathbf{E}$. The field due to source charges at any point $\mathbf{r}$ is defined by the force per unit positive test charge placed there:
1.2.1 Continuous Charge Distributions
For continuous distributions, the sum becomes an integral. Three cases arise depending on geometry:
Volume charge $\rho$
Surface charge $\sigma$
Line charge $\lambda$
1.2.2 Worked Example: Infinite Line Charge
Consider an infinite wire with uniform line charge density $\lambda$. By symmetry the field points radially outward. Choosing the wire along the $z$-axis, at a perpendicular distance $s$:
The contribution from segment $dz'$ at height $z'$ contributes to the field. The $z$-components cancel by symmetry. Only the radial component survives:
Using the standard integral $\int_{-\infty}^{\infty} \frac{dz'}{(s^2+z'^2)^{3/2}} = \frac{2}{s^2}$:
This result falls off as $1/s$ (not $1/s^2$) because the charge extends to infinity in both directions.
Simulation: Electric Field Visualization
The code below computes and visualizes the electric field of a dipole using direct superposition of Coulomb fields on a 2D grid.
Electric Field of a Dipole
Computes the electric field by direct superposition (Coulomb's law) and plots field lines and magnitude heatmap for a +1 nC / โ1 nC dipole.
Click Run to execute the Python code
First run will download Python environment (~15MB)
1.3 Electric Field Lines
Electric field lines are curves whose tangent at each point is parallel to $\mathbf{E}$. They provide a geometric picture of the field:
- Lines originate on positive charges and terminate on negative charges.
- The density of lines is proportional to $|\mathbf{E}|$.
- Lines never cross (the field is single-valued at each point).
- In a source-free region, lines neither begin nor end.
Key Properties of $\mathbf{E}$ in Electrostatics
The curl-free condition $\nabla \times \mathbf{E} = 0$ means we can write $\mathbf{E} = -\nabla V$for a scalar potential $V$.