Sub topic 1
Review: Coulomb's law and the electric field
This chapter reviews the two ideas the rest of the tutorial builds on: the force between point charges, and the electric field that describes that force. Electric potential energy and electric potential are defined from the work done by this force, so you need a firm grip on its direction, its dependence on distance, and its superposition rule.
Prerequisites
This chapter assumes you already know the following:
- Vector addition in two dimensions, including components and magnitudes.
- Newton's second law and the idea of a force as a vector.
- Basic algebra with powers and square roots, and scientific notation.
- Charge as a conserved quantity measured in coulombs (C), with two signs.
Calculus is not needed here. It appears in later chapters.
Coulomb's law
Coulomb's law gives the force between two point charges at rest. A point charge is a charged object small enough that its size does not matter at the distances involved. The magnitude of the force is
F = k |q1 q2| / r²
where q1 and q2 are the charges in coulombs, r is the distance between them in metres, and k is the Coulomb constant, about 8.99 × 10⁹ N·m²/C². You will also see k written as 1/(4πε₀), where ε₀ ≈ 8.85 × 10⁻¹² C²/(N·m²) is the permittivity of free space.
Three features matter for what follows:
- The force falls off as 1/r². Doubling the separation divides the force by four.
- The force acts along the line joining the two charges.
- Like charges repel and unlike charges attract. The forces on the two charges are equal in size and opposite in direction, as Newton's third law requires.
Vector form
To keep track of direction, write the force on charge 2 due to charge 1 as
F₂₁ = k q1 q2 / r² · r̂
where r̂ is the unit vector pointing from charge 1 toward charge 2. Here the signs of q1 and q2 are kept. If q1 q2 is positive, the force on charge 2 points along r̂, away from charge 1, which is repulsion. If q1 q2 is negative, the force points back toward charge 1, which is attraction.
The magnitude form tells you how large the force is. The vector form with signs tells you which way it points. Mixing the two is a common source of sign errors.
A worked example
Two charges, +2.0 nC and +3.0 nC, sit 3.0 cm apart. Convert to SI units first: 2.0 × 10⁻⁹ C, 3.0 × 10⁻⁹ C, and 0.030 m.
F = (8.99 × 10⁹)(2.0 × 10⁻⁹)(3.0 × 10⁻⁹) / (0.030)²
The numerator is (8.99 × 10⁹)(6.0 × 10⁻¹⁸) = 5.39 × 10⁻⁸, and the denominator is 9.0 × 10⁻⁴. So F ≈ 6.0 × 10⁻⁵ N. The charges are both positive, so the force is repulsive.
Superposition for forces
When there are more than two charges, the force on any one charge is the vector sum of the forces from each of the others, each computed as if the others were absent. This is the principle of superposition. It holds because the electric force is linear in the source charges.
In practice:
- Choose the charge you want the net force on.
- Compute the force on it from each other charge separately, as a vector.
- Add the vectors component by component.
Do not add magnitudes unless all the forces point along the same line.
The electric field
Computing forces charge by charge becomes awkward when you want to know what a collection of charges does to many different possible partners. The electric field separates the two roles: the source charges create a field, and the field acts on whatever charge is placed in it.
The electric field at a point is the force per unit charge on a small positive test charge placed there:
E = F / q₀
The test charge q₀ is small so that it does not disturb the source charges. The field has units of newtons per coulomb (N/C), which are equivalent to volts per metre (V/m). You will meet volts in the next chapters.
Once you know E at a point, the force on any charge q placed there is
F = q E
If q is positive, the force points along E. If q is negative, the force points opposite to E.
Field of a point charge
Take a source charge Q at the origin. Dividing Coulomb's law by the test charge gives
E = k Q / r² · r̂
where r̂ points from the source to the field point. For a positive source, E points radially outward. For a negative source, it points radially inward.
For example, a +1.0 nC source produces a field of magnitude (8.99 × 10⁹)(1.0 × 10⁻⁹) / (0.10)² ≈ 899 N/C at a distance of 0.10 m. A proton placed there feels a force of (1.6 × 10⁻¹⁹)(899) ≈ 1.4 × 10⁻¹⁶ N, directed away from the source.
Superposition for fields
Fields add as vectors, just as forces do. For several source charges,
E_total = E₁ + E₂ + E₃ + …
where each term is the field one source would produce alone, evaluated at the same point. The distances and unit vectors differ from term to term, so every term has its own r and r̂.
Computing the field numerically
The sum over sources is easy to automate. The function below returns the field components at a point from a list of point charges. It writes each term as k q (dx, dy) / r³, which is k q / r² times the unit vector (dx, dy) / r.
from math import hypot
K = 8.9875517923e9 # Coulomb constant, N m^2 / C^2
def field(charges, x, y):
"""Electric field (Ex, Ey) in N/C at (x, y).
charges: list of (q, qx, qy) with q in coulombs, positions in metres."""
ex = ey = 0.0
for q, qx, qy in charges:
dx, dy = x - qx, y - qy # vector from the source to the field point
r = hypot(dx, dy)
ex += K * q * dx / r**3
ey += K * q * dy / r**3
return ex, ey
# Equal and opposite charges, field on the perpendicular bisector
source = [(1e-9, -0.05, 0.0), (-1e-9, 0.05, 0.0)]
print(field(source, 0.0, 0.1))The output is approximately (643, 0). On the bisector, the vertical components of the two contributions cancel and the horizontal components add. The net field points along +x, from the positive charge toward the negative one.
Notice that the field is a vector sum with cancellation. The potential you meet later has no such components, which is why it is often easier to work with.
Field lines
Field lines are a picture of the field. They follow three rules:
- The tangent to a line at any point gives the direction of E there.
- Lines start on positive charges (or at infinity) and end on negative charges (or at infinity).
- The density of lines is proportional to the field strength, so lines crowd together where the field is strong.
Lines never cross, because the field at a single point has only one direction. For an isolated positive charge, the lines radiate outward. For a positive and a negative charge of equal size, they leave the positive charge and curve around to enter the negative one.
Keep in mind that field lines are not the paths of charges. A charge released from rest starts moving along the line, but if the line curves, the charge's inertia carries it off the line.
Common errors
| Error | What goes wrong | Fix |
|---|---|---|
| Using centimetres or nanocoulombs directly | Results off by powers of ten | Convert to metres and coulombs first |
| Adding force magnitudes for non-collinear forces | Wrong net force | Add components |
| Dropping charge signs in the vector form | Wrong direction | Keep signs, then read direction from the sign of q1 q2 or the sign of Q |
| Using 1/r instead of 1/r² for force and field | Wrong falloff | Force and field go as 1/r² |
| Using r̂ pointing toward the source | Field direction reversed | r̂ points from the source to the field point |
| Treating the field as the force | Units mismatch (N/C vs N) | Multiply by q to get force |
Why this matters for what follows
The electrostatic force depends only on position, and it is a central force: it points along the line between charges and depends only on their separation. These two properties, together with superposition, are what will let you define a potential energy for it. In the next chapters you will see that the work done by this force between two points does not depend on the route taken, and that this work, per unit charge, defines the electric potential.
Exercise
Charges of +4.0 nC at x = 0 and -4.0 nC at x = 0.20 m lie on the x-axis. What are the magnitude and direction of the electric field at the midpoint x = 0.10 m? Use k = 8.99 × 10⁹ N·m²/C².
Show answer
Each charge is 0.10 m from the midpoint. Each contributes a field of magnitude k q / r² = (8.99 × 10⁹)(4.0 × 10⁻⁹) / (0.10)² ≈ 3.6 × 10³ N/C. The positive charge at x = 0 pushes the field in the +x direction at the midpoint. The negative charge at x = 0.20 m pulls toward itself, which is also the +x direction. The two contributions point the same way, so they add: E ≈ 7.2 × 10³ N/C in the +x direction.
Exercise
A particle with charge -2.0 μC is placed in a uniform-looking region where the field is 500 N/C pointing in the +y direction. What force acts on it?
Show answer
F = qE = (-2.0 × 10⁻⁶ C)(500 N/C) = -1.0 × 10⁻³ N in the y component. The magnitude is 1.0 × 10⁻³ N, and because the charge is negative, the force points in the -y direction, opposite to the field.