Sub topic 2
Vector form and superposition of gravitational forces
This chapter assumes you know Newton's law of universal gravitation, vector addition with components, and the basic idea of an inverse-square force. It covers how to write the gravitational force as a vector and how to add the forces from several masses.
The vector form of the law
The magnitude of the force between two point masses is F = Gm₁m₂/r². Gravity is a force with direction, so we also need to say which way it points.
Let r⃗₁₂ be the vector from mass m₁ to mass m₂, with length r and unit vector r̂₁₂ = r⃗₁₂ / r. The force on m₁ due to m₂ points toward m₂:
F⃗₁₂ = (G m₁ m₂ / r²) r̂₁₂
Some points follow from this:
- The force is always attractive, so the force on m₁ points toward m₂.
- The force on m₂ due to m₁ is F⃗₂₁ = −F⃗₁₂. The two forces are equal in size and opposite in direction, as Newton's third law requires.
- Written with r⃗ instead of r̂, the law becomes F⃗₁₂ = (G m₁ m₂ / r³) r⃗₁₂. Both forms are common.
Superposition
The force from one mass on another is not changed by the presence of other masses. The total force on a mass is therefore the vector sum of the forces from each other mass:
F⃗ = F⃗₁ + F⃗₂ + F⃗₃ + …
This is the principle of superposition. You cannot add the magnitudes directly unless the forces point along the same line. Resolve each force into components, add the components, then rebuild the magnitude.
Worked example: two masses at right angles
A mass m = 1 kg sits at the origin. A mass M = 10 kg sits at (1 m, 0) and another mass M = 10 kg sits at (0, 1 m). Find the net force on m.
- Each force has magnitude F = GMm/r² = 6.674×10⁻¹¹ × 10 × 1 / 1² = 6.674×10⁻¹⁰ N.
- The first force points along +x and the second along +y.
- The resultant is F√2 ≈ 9.44×10⁻¹⁰ N, directed at 45° to each axis.
The code below does the same calculation with vectors, so it works for any positions.
import numpy as np
G = 6.674e-11
def force_on(m, pos, others):
"""Net gravitational force on mass m at pos from a list of (mass, position)."""
total = np.zeros(2)
for M, p in others:
r_vec = np.array(p) - np.array(pos)
r = np.linalg.norm(r_vec)
total += G * m * M * r_vec / r**3
return total
F = force_on(1.0, (0, 0), [(10.0, (1, 0)), (10.0, (0, 1))])
print(F)
print(f"magnitude = {np.linalg.norm(F):.3e} N")The code uses the r⃗ / r³ form, which needs no separate unit vector.
Symmetry shortcuts
NEET problems often place masses at the corners of a square or triangle, or on a ring. Symmetry can cancel components:
- Two equal masses on opposite sides of a point exert equal and opposite forces on a mass at that point, so the net force there is zero.
- For equal masses at the vertices of an equilateral triangle, the force on a mass at the centroid is zero.
- For a mass at the corner of a square with equal masses at the other three corners, the two adjacent masses give perpendicular forces of equal size. The diagonal mass adds a third force along the diagonal.
Common errors
| Error | Correction |
|---|---|
| Adding magnitudes of non-parallel forces | Add components, then take the magnitude |
| Reversing the direction of a force | The force on a mass points toward the attracting mass |
| Using the wrong separation | Use the distance between the two specific masses |
| Including the mass's own pull on itself | Only other masses contribute |
Exercise
Three equal masses M sit at three corners of a square of side a. A mass m is at the fourth corner. Write the net force on m in terms of G, M, m and a.
Show answer
Place m at the origin, with masses M at (a, 0), (0, a) and (a, a). The two adjacent masses each give a force of magnitude GMm/a², along +x and +y. Their resultant is √2 GMm/a² along the diagonal. The diagonal mass is at distance a√2, so it gives GMm/(2a²) along the same diagonal. All three resultants point the same way, so the net force is (√2 + 1/2) GMm/a², directed along the diagonal toward the opposite corner.
Exercise
Two masses M each are a distance 2d apart. A mass m is placed at their midpoint. What is the net force on m?
Show answer
The two forces are each GMm/d² and point in opposite directions along the line joining the masses. They cancel, so the net force is zero.