Open Mathhh

Sphere equations

Vectors · worksheets 131 to 140 · 3 min read

I can

  • read the centre and radius from the equation of a sphere
  • write the expanded equation of a sphere
  • use a diameter to find the centre and radius

Key idea

A sphere with centre (a, b, c) and radius r has the equation (x − a)² + (y − b)² + (z − c)² = r². Read the centre with the opposite signs: (x + 3)² means a = −3.

Expanding gives x² + y² + z² + Ax + By + Cz + D = 0, where A = −2a, B = −2b, C = −2c and D = a² + b² + c² − r².

To go back, complete the square. Halve the x, y and z numbers (with the opposite sign) to get the centre. Then r² = a² + b² + c² − D.

If AB is a diameter, the centre is the midpoint of A and B, and the radius is half the distance AB.

Worked examples

Example 1: Find the centre of (x − 2)² + (y + 5)² + z² = 9.

Watch it: the centre of (x − 2)² + (y + 5)² + z² = 9, step by step:

  1. Each bracket gives a coordinate of the centre. z² means z − 0.
  2. Change the sign inside each bracket.
  3. The right side is 9, so the radius is its square root: 3.
  4. Both answers.
  5. A sphere with its centre and radius.
  1. x − 2 gives 2. y + 5 gives −5. z² means z − 0, giving 0.

The centre is (2, −5, 0), and the radius is 3.

Example 2: A sphere has centre (1, −2, 3) and radius 4. Find (A, B, C, D).

Watch it: the sphere with centre (1, −2, 3) and radius 4: (A, B, C, D), step by step:

  1. A = −2 × 1 = −2.
  2. B = −2 × (−2) = 4.
  3. C = −2 × 3 = −6.
  4. D = 1 + 4 + 9 − 16 = −2.
  5. The equation is x² + y² + z² − 2x + 4y − 6z − 2 = 0.
  6. A sphere with centre (1, −2, 3) and radius 4.
  1. A = −2 × 1 = −2. B = −2 × (−2) = 4. C = −2 × 3 = −6.
  2. D = 1 + 4 + 9 − 16 = −2.

(A, B, C, D) = (−2, 4, −6, −2)

Example 3: The sphere x² + y² + z² − 6x + 2y − 4z − 11 = 0 has radius r. Find r.

Watch it: x² + y² + z² − 6x + 2y − 4z − 11 = 0: the radius, step by step:

  1. Half of −6, 2 and −4, with the signs changed.
  2. r² = 3² + (−1)² + 2² + 11 = 25.
  3. The square root of 25 is 5.
  4. The radius is 5.
  5. A sphere with centre (3, −1, 2) and radius 5.
  1. Centre: (3, −1, 2).
  2. r² = 9 + 1 + 4 + 11 = 25.

r = 5

Try it

Find the centre of the sphere (x + 4)² + (y − 1)² + (z + 2)² = 25.
Show answer(-4, 1, -2)
The sphere with centre (1, 2, −3) and radius 3 has equation x² + y² + z² + Ax + By + Cz + D = 0. Find (A, B, C, D).
Show answer(-2, -4, 6, 5)
AB is a diameter of a sphere, A(0, 2, 4) and B(6, −2, −4). Find the centre.
Show answer(3, 0, 0)
AB is a diameter of a sphere, A(1, 1, 1) and B(1, 1, 5). Find the radius.
Show answer2
The sphere x² + y² + z² − 2x + 4y + 4z − 7 = 0 has radius r. Find r.
Show answer4

Common mistakes

  • Reading the centre with the wrong sign. In (x + 3)² the centre value is −3.
  • Giving r² as the radius. In (x − 1)² + ... = 16 the radius is 4, not 16.
  • Forgetting the constant when finding r: r² = a² + b² + c² − D, and D is subtracted.

Remember

  • (x − a)² + (y − b)² + (z − c)² = r².
  • The centre of a sphere with a diameter AB is the midpoint of AB.
  • For the expanded form, A = −2a, B = −2b, C = −2c.

Practise this

Worksheets 131 to 140 of Vectors practise this note. Sign in to Mathhh, write your answers by hand and see your marks straight away.

Open Mathhh

More Vectors notes

Keep learning

All Vectors notes · All study notes