Sub topic 7
Adding Fields from Several Charges
Prerequisites and the superposition principle
This chapter assumes that you can add vectors by components, use Coulomb’s law, and apply basic algebra and trigonometry. You should also know that an electric field is a vector, so it has both a magnitude and a direction.
The superposition principle says that the total electric field at a point equals the vector sum of the fields produced by each source charge separately:
\[ \vec E{\text{net}}=\vec E1+\vec E2+\vec E3+\cdots \]
Electric fields add because electrostatic effects are linear. The presence of one charge does not change the field contribution calculated from another charge.
For a point charge \(qi\) at position \(\vec ri\), the field at position \(\vec r\) is
\[ \vec Ei=kqi\frac{\vec r-\vec ri}{|\vec r-\vec ri|^3}, \]
where \(k=8.99\times10^9\ \text{N}\cdot\text{m}^2/\text{C}^2\). The total field is therefore
\[ \vec E{\text{net}} =k\sumi qi\frac{\vec r-\vec ri}{|\vec r-\vec r_i|^3}. \]
The vector \(\vec r-\vec r_i\) points from the source charge to the point where the field is measured.
A reliable component method
For several charges in a plane, use this procedure:
- Choose positive \(x\)- and \(y\)-directions.
- Draw the direction of each individual field.
- Calculate each field’s magnitude with \(Ei=k|qi|/r_i^2\).
- Resolve each field into \(x\)- and \(y\)-components.
- Add components separately:
\[ Ex=\sumi E{ix},\qquad Ey=\sumi E{iy}. \]
- Find the net magnitude and direction:
\[ E=\sqrt{Ex^2+Ey^2},\qquad \theta=\tan^{-1}\left(\frac{Ey}{Ex}\right). \]
A positive source charge produces a field directed away from itself. A negative source charge produces a field directed toward itself. The test charge used to define the field is assumed to be positive.
| Source charge | Direction of its field at a point |
|---|---|
| \(q>0\) | Away from the charge |
| \(q<0\) | Toward the charge |
Worked example: opposite charges
Place a \(+1\ \text{nC}\) charge at \(x=-1\ \text{cm}\) and a \(-1\ \text{nC}\) charge at \(x=+1\ \text{cm}\). Find the field at the midpoint, \(x=0\).
The midpoint is \(0.01\ \text{m}\) from each charge. The field magnitude from either charge is
\[ E_i=\frac{k|q|}{r^2} =\frac{(8.99\times10^9)(1.0\times10^{-9})}{(0.01)^2} \approx 8.99\times10^4\ \text{N/C}. \]
At the midpoint, the positive charge’s field points right, away from the positive charge. The negative charge’s field also points right, toward the negative charge. The two vectors point in the same direction, so they add:
\[ E_{\text{net}}\approx 1.80\times10^5\ \text{N/C} \]
to the right.
The diagram represents direction only. It does not show the field’s size or the inverse-square decrease with distance.
Computing the vector sum
A short program can perform the same component calculation for charges at arbitrary two-dimensional positions.
import math
K = 8.9875517923e9 # N*m^2/C^2
def field_at(point, charges):
"""Return the net field (Ex, Ey) in N/C."""
px, py = point
ex = ey = 0.0
for q, (x, y) in charges:
dx, dy = px - x, py - y
r = math.hypot(dx, dy)
if r == 0:
raise ValueError("Field is undefined at a point charge.")
magnitude = K * q / r**2
ex += magnitude * dx / r
ey += magnitude * dy / r
return ex, ey
charges = [(1e-9, (-0.01, 0.0)), (-1e-9, (0.01, 0.0))]
ex, ey = field_at((0.0, 0.0), charges)
print(f"Ex = {ex:.3f} N/C, Ey = {ey:.3f} N/C")The sign of \(q\) automatically reverses the direction for a negative charge. Dividing by \(r\) converts the displacement vector into a unit direction vector.
Common errors
- Using the distance between two source charges instead of the distance from each source charge to the measurement point.
- Treating a negative field as a negative magnitude. A magnitude is nonnegative; signs belong to components or chosen directions.
- Forgetting that the inverse-square law applies to each contribution separately.
- Adding fields from a charge at its own position. The ideal point-charge field is undefined there.
- Assuming equal and opposite source charges always cancel. Symmetry may cause cancellation at some points, but at the midpoint of opposite charges their fields reinforce.
Exercise
Two equal positive charges are placed symmetrically at x = -0.10 m and x = +0.10 m. What is the net electric field at the origin, and why?
Show answer
The net field is zero. Each field has the same magnitude, but the left charge produces a field to the right while the right charge produces a field to the left.