Sub topic 3
Vector Form of Coulomb's Law and the Principle of Superposition
Prerequisites and scope
This chapter assumes you can add vectors and resolve them into components. It also assumes you know the dot and cross product basics, Newton's laws, and SI units with scientific notation. The previous chapter gave the scalar form of Coulomb's law. Here we turn it into a vector equation and use it to find the net force on a charge that sits among several others.
By the end you should be able to:
- Write the force on one charge due to another as a vector, with the correct direction for any sign combination.
- Check Newton's third law for electrostatic forces.
- Use superposition to find the net force from many charges, in one and two dimensions.
- Avoid the standard sign, direction, and unit mistakes.
From scalar to vector form
The scalar law gives only the size of the force between two point charges:
F = k |q1 q2| / r², with k = 1/(4π ε0) ≈ 9 × 10⁹ N m² C⁻².
A force has a direction, so a complete statement needs a vector. Let charge q1 sit at position r1 and charge q2 at position r2. Define the displacement from q1 to q2:
r21 = r2 − r1
Its magnitude is r = |r21|, and the unit vector pointing from q1 toward q2 is r̂21 = r21 / r.
The force exerted on q2 by q1 is
F21 = k q1 q2 / r² · r̂21
Read the subscripts carefully. In F21, the first index is the charge that feels the force and the second is the source. The unit vector r̂21 points away from the source q1 and toward the charge being acted on.
The sign of the product q1 q2 now does the work of choosing the direction:
- If q1 q2 > 0 (like charges), F21 points along r̂21, which is away from q1. The force is repulsive.
- If q1 q2 < 0 (opposite charges), F21 points opposite to r̂21, which is toward q1. The force is attractive.
Because r̂21 = r21 / r, the same law can be written without a unit vector:
F21 = k q1 q2 r21 / r³
This form is convenient in calculations, because you only need the displacement vector and its length.
Newton's third law for electrostatic forces
Swap the roles of the two charges. The force on q1 due to q2 is
F12 = k q1 q2 / r² · r̂12, where r̂12 = −r̂21.
Therefore
F12 = −F21
The two forces are equal in size, opposite in direction, and act along the line joining the charges. This satisfies Newton's third law in its strong form. It is also why a pair of isolated charges produces no net force on the pair as a whole.
Coulomb's law in a medium
Everything above assumed vacuum (or air, which is close enough). When the charges sit in an insulating medium, the force is reduced. The permittivity ε0 is replaced by ε = ε0 εr, where εr is the relative permittivity (dielectric constant) of the medium:
F = q1 q2 / (4π ε0 εr r²) = F_vacuum / εr
For example, water has εr ≈ 80, so the force between two charges at a given separation in water is about 80 times smaller than in air. The direction rules do not change. Only the magnitude is divided by εr.
Worked check with the code
The first code example in the plan computes the signed force along the line joining two charges.
k = 9e9 # N m^2 / C^2, approximate value of 1/(4*pi*epsilon_0)
def coulomb_force(q1, q2, r):
"""Magnitude of the force in newtons. Positive means repulsion, negative means attraction."""
return k * q1 * q2 / r**2
print(coulomb_force(1e-6, 1e-6, 1.0)) # about 9e-3 N, repulsive
print(coulomb_force(1e-6, -1e-6, 1.0)) # about -9e-3 N, attractiveTwo 1 µC charges 1 m apart exert about 9 × 10⁻³ N on each other. The sign of q1 q2 shows whether the force is repulsive or attractive. This function returns a signed scalar along the line of centres, which is enough for charges on a single line. For charges in a plane you need the full vector form, as in the next sections.
The principle of superposition
Coulomb's law describes two charges. What happens when there are three or more?
Experiment shows that the force between any two charges is not changed by the presence of other charges. Each pair interacts as if the others were absent. The total force on a given charge is then the vector sum of the forces from every other charge. This is the principle of superposition.
For a charge q0 at position r0, surrounded by charges q1, q2, …, qn:
F₀ = F₀₁ + F₀₂ + … + F₀ₙ = Σᵢ k q0 qᵢ r₀ᵢ / |r₀ᵢ|³
Here r₀ᵢ = r0 − rᵢ points from charge i to charge 0.
Two features matter in practice:
- The addition is a vector addition. You cannot add magnitudes unless all the forces lie along one line.
- Each term is computed as if the other charges were not there. A third charge does not "shield" or alter the force between the first two.
Superposition on a line
When all charges lie on the x-axis, each force points along x and the vector sum is an ordinary signed sum. Choose +x as positive, and give each force a sign according to whether it pushes the charge toward +x or −x.
Example. Charges of +4 µC at x = 0 and +1 µC at x = 0.6 m are fixed. Where on the line between them can a third charge be placed so that the net force on it is zero?
Let the third charge be at x. Whatever its sign, the two forces on it are opposite in direction between the charges, so they cancel when their magnitudes are equal:
k (4 µC) q / x² = k (1 µC) q / (0.6 − x)²
The factors k and q cancel, and the equation becomes
4 / x² = 1 / (0.6 − x)²
Taking square roots gives 2 / x = 1 / (0.6 − x), so 2(0.6 − x) = x and x = 0.4 m.
The equilibrium point lies closer to the smaller charge, as expected. Note that its position does not depend on the sign or size of the third charge. Whether that position is a stable equilibrium for the third charge is a separate question and depends on its sign.
Superposition in two dimensions
In a plane, you must resolve each force into components. A reliable routine is to compute each pair's displacement vector and use the form F = k q q′ r / r³, which handles direction automatically.
Example. Three charges sit at the corners of a right triangle: qA = +2 µC at (0, 0), qB = −2 µC at (0.3 m, 0), and qC = +1 µC at (0, 0.4 m). Find the net force on qC.
Step 1: force from A on C. The displacement from A to C is (0, 0.4), with r = 0.4 m. The charges are both positive, so the force is repulsive and points away from A, which is along +y.
F_AC = 9 × 10⁹ × (2 × 10⁻⁶)(1 × 10⁻⁶) / (0.4)² = 0.01125 N, along +y.
Step 2: force from B on C. The displacement from B to C is (−0.3, 0.4), with r = 0.5 m. The charges are opposite, so the force is attractive and points from C toward B, which is along (0.3, −0.4)/0.5 = (0.6, −0.8).
F_BC = 9 × 10⁹ × (2 × 10⁻⁶)(1 × 10⁻⁶) / (0.5)² = 0.072 N.
Components: FBC,x = 0.072 × 0.6 = 0.0432 N and FBC,y = 0.072 × (−0.8) = −0.0576 N.
Step 3: add the components.
- F_x = 0 + 0.0432 = 0.0432 N
- F_y = 0.01125 − 0.0576 = −0.04635 N
Step 4: magnitude and direction.
F = √(0.0432² + 0.04635²) ≈ 0.063 N.
The angle below the +x axis is tan⁻¹(0.04635 / 0.0432) ≈ 47°.
A quick plausibility check: the attractive pull of B is the larger force and has a downward component, so a net force pointing down and to the right is sensible.
Computing superposition with code
The same procedure can be programmed. This function sums the vector force on a test charge from any number of source charges in a plane.
import math
k = 9e9 # N m^2 / C^2
def net_force(q_test, pos_test, sources):
"""Net force (Fx, Fy) in newtons on q_test at pos_test.
sources is a list of (charge, (x, y)) pairs."""
fx = fy = 0.0
for q, (x, y) in sources:
dx = pos_test[0] - x
dy = pos_test[1] - y
r = math.hypot(dx, dy)
factor = k * q_test * q / r**3
fx += factor * dx
fy += factor * dy
return fx, fy
sources = [(2e-6, (0.0, 0.0)), (-2e-6, (0.3, 0.0))]
fx, fy = net_force(1e-6, (0.0, 0.4), sources)
print(fx, fy) # about 0.0432 and -0.0463
print(math.hypot(fx, fy)) # about 0.063 NThe factor k q q′ / r³ multiplied by the displacement components (dx, dy) is exactly the form F = k q q′ r / r³. Repulsion and attraction come out automatically from the sign of q_test × q.
Superposition and the field
Superposition is the reason an electric field can be defined as a property of the source charges alone. The force on a test charge is linear in the source charges, so dividing the net force by the test charge gives a quantity that depends only on the sources. The next chapter develops this idea. For now, notice what superposition guarantees: adding sources adds their effects, and the result for one source does not depend on which other sources are present.
Superposition holds for electrostatic forces in vacuum and in linear media. It would fail if the presence of one charge changed how another charge interacts, but this is not observed for the point charges considered in NEET.
Common errors
| Error | Why it is wrong | Fix |
|---|---|---|
| Adding force magnitudes of non-collinear forces | Forces are vectors | Resolve into components, then add |
| Dropping the signs of the charges early | Direction information is lost | Keep signs; use the sign of q1 q2 for attraction or repulsion |
| Using the wrong unit vector direction | **r̂21** points from source to the charge acted on | Write the displacement as (position of target) − (position of source) |
| Using µC or cm directly in k q q′ / r² | k = 9 × 10⁹ assumes C and m | Convert: 1 µC = 10⁻⁶ C, 1 cm = 10⁻² m |
| Forgetting εr in a medium | The force is reduced by εr | Divide the vacuum value by εr |
| Treating a third charge as changing a pair's force | Pair forces are independent | Compute each pair separately, then add |
Equilibrium of three charges
A frequent exam question asks for the position and magnitude of a third charge that leaves two fixed charges in equilibrium too. Use these rules for three collinear charges that are all in equilibrium:
- The charge in the middle has the opposite sign to the two outer charges.
- The middle charge is the smallest in magnitude, and the outer charges are not necessarily equal.
- The condition on any one charge is that the two forces on it cancel.
For example, with +4q at x = 0 and +q at x = d, the equilibrium point for a test charge is at 2d/3 from the +4q charge, which follows from the equation 4 / x² = 1 / (d − x)². For the three-charge system to be in equilibrium, the middle charge must be negative with magnitude 4q/9. Check the outer charge at x = d: the repulsion from +4q is k(4q)(q)/d², and the attraction from the middle charge at 2d/3 (distance d/3) is k(4q/9)(q)/(d/3)² = k(4q²)/d². These are equal and opposite, so +q is in equilibrium. The same check works for +4q.
Exercise
A charge q1 = +3 µC is at the origin and q2 = −3 µC is at (0.2 m, 0). A charge q3 = +1 µC is placed at (0.1 m, 0.1 m). Find the net force on q3, giving its components.
Show answer
The displacement from q1 to q3 is (0.1, 0.1), r = 0.1414 m, r² = 0.02 m². The magnitude is 9 × 10⁹ × (3 × 10⁻⁶)(1 × 10⁻⁶) / 0.02 = 1.35 N, repulsive, along (0.707, 0.707), giving components (0.955, 0.955) N. The displacement from q2 to q3 is (−0.1, 0.1), with the same r and the same magnitude 1.35 N. The charges are opposite, so the force is attractive and points from q3 toward q2, along (0.707, −0.707), giving components (0.955, −0.955) N. Adding: Fx = 0.955 + 0.955 = 1.91 N and Fy = 0.955 − 0.955 = 0. The net force is about 1.9 N along +x, parallel to the line joining q1 and q2.
Exercise
Two charges +9q at x = 0 and +q at x = 0.4 m are fixed. At what point on the x-axis between them is the net force on any third charge zero?
Show answer
Set 9 / x² = 1 / (0.4 − x)². Taking square roots, 3 / x = 1 / (0.4 − x), so 3(0.4 − x) = x and x = 0.3 m from the +9q charge. The result does not depend on the sign or size of the third charge.