Sub topic 2
Superposition of forces and fields
This chapter assumes you can add vectors by components and know Coulomb's law for two point charges. Superposition is the rule that lets you extend that two-charge law to any number of charges.
The principle
The force on a charge from one source does not change when other charges are present. So the net force on a test charge is the vector sum of the forces from each source taken alone:
Fnet = F1 + F2 + ... + Fn
Dividing by the test charge q gives the same rule for the field:
Enet = E1 + E2 + ... + En, where Ei = k qi (r − ri) / |r − ri|^3
Always add vectors, never magnitudes. Most errors in JEE problems come from adding magnitudes that point in different directions.
A worked example
Charges +q sit at (a, 0) and (−a, 0). Find the field at (0, y).
Each charge is at distance d = sqrt(a² + y²) from the point. Each contributes a field of magnitude kq/d². The x-components point in opposite directions and cancel. The y-components add:
E = 2kq y / (a² + y²)^(3/2), directed along +y
The y-component of each field is (kq/d²)(y/d), which gives the factor of y in the numerator and the 3/2 power in the denominator.
Computing it in code
The function below sums the field of any list of point charges at a point in 2D.
import math
K = 8.9875e9 # N m^2 / C^2
def net_field(point, charges):
"""Field at point (x, y) from charges [(q, x, y), ...]. Returns (Ex, Ey)."""
px, py = point
ex = ey = 0.0
for q, x, y in charges:
dx, dy = px - x, py - y
d = math.hypot(dx, dy)
ex += K * q * dx / d**3
ey += K * q * dy / d**3
return ex, ey
a, y, q = 0.1, 0.2, 1e-9
print(net_field((0, y), [(q, a, 0), (q, -a, 0)]))
print(2 * K * q * y / (a**2 + y**2) ** 1.5) # matches the y-componentThe x-component prints as zero (or a value near 1e-14 from rounding), and the y-component matches the formula.
Using symmetry to shorten the work
- Look for pairs of sources whose components cancel. Drop those components before you calculate.
- For a continuous distribution, split it into small elements dq. Each element is a point charge, so the sum becomes an integral.
- Choose axes so that the surviving component lies along one axis.
Common errors
| Error | Correction | Column | Column |
|---|---|---|---|
| Adding magnitudes of fields at an angle | Resolve into components, then add | ||
| Using \ | r\ | ² in the denominator but forgetting the unit vector | Use kq r̂ / r², or kq r / r³ with the full vector |
| Treating the charge you want the force on as a source | Exclude the test charge's own field | ||
| Sign mistakes for negative charges | Keep the sign of q in the formula, so the direction flips automatically |
Exercise
Charges +2 µC at (0, 0), +2 µC at (1 m, 0), and −2 µC at (0.5 m, 0.5 m) are fixed. Which direction does the net force on a third charge at (0.5 m, 0) point if that charge is positive, and why do the horizontal components partly cancel?
Show answer
The two +2 µC charges are equal distances (0.5 m) from (0.5 m, 0), so their horizontal components cancel. They also push the test charge along the x-axis only, so they contribute no vertical force. The −2 µC charge is directly above the test point, so it attracts the test charge upward, along +y. The net force points along +y.
Exercise
Why can you not simply add the magnitudes kq/d² from each charge in the worked example to get the field at (0, y)?
Show answer
The two fields point in different directions. Their x-components cancel, so the true magnitude is less than the sum of magnitudes. Only the y-components add.