Lemonmath
Tiếng Việt

The equation of a sphere

Lesson 5.4 · 22 min read · Updated

A Wi-Fi router is placed at I(2,3,1)I(2, 3, 1) in a hall (unit: metre). The signal is strong enough within 1010 m of the router. Does a phone at M(8,10,3)M(8, 10, 3) get the signal? What about a speaker hanging from the ceiling at N(2,3,12)N(2, 3, 12)?

The set of points exactly 1010 m from II is a sphere. This lesson turns a sphere into an equation, so that every "inside or outside" question becomes a calculation.

The equation of a sphere

Exploring: distances from the router

We find the distances from the router to the two points: IM=62+72+22=89≈9.43<10,IN=02+02+112=11>10.IM=\sqrt{6^2+7^2+2^2}=\sqrt{89}\approx9.43<10,\qquad IN=\sqrt{0^2+0^2+11^2}=11>10. So the phone gets the signal, but the speaker is outside the coverage area. A point P(x,y,z)P(x, y, z) lies exactly on the edge of the coverage area when IP=10IP=10, that is (x−2)2+(y−3)2+(z−1)2=100.(x-2)^2+(y-3)^2+(z-1)^2=100.

RIM
The sphere with centre II and radius RR

Why is it true? M(x,y,z)M(x, y, z) lies on the sphere exactly when IM2=R2IM^2=R^2, and IM2=(x−a)2+(y−b)2+(z−c)2IM^2=(x-a)^2+(y-b)^2+(z-c)^2. For the second form, complete the squares: the equation becomes (x−a)2+(y−b)2+(z−c)2=a2+b2+c2−d(x-a)^2+(y-b)^2+(z-c)^2=a^2+b^2+c^2-d. The right-hand side must be positive to be R2R^2.

When the equation is expanded, we read off aa, bb, cc by dividing the coefficients of xx, yy, zz by −2-2.

Given four points on a sphere, the expanded form gives four linear equations in the four unknowns aa, bb, cc, dd.

Planes and spheres

We compare the distance hh from the centre II to the plane with the radius RR, just as we compare the distance from the centre to a line in plane geometry.

The last example is a real problem with several steps, so we follow the four stages.

-6-4-2246-6-4-2246xyOOMr
A vertical cross-section of the radar zone (unit: 1010 km)

Key terms

Summary

  • Centre I(a,b,c)I(a, b, c), radius RR: (x−a)2+(y−b)2+(z−c)2=R2(x-a)^2+(y-b)^2+(z-c)^2=R^2.
  • x2+y2+z2−2ax−2by−2cz+d=0x^2+y^2+z^2-2ax-2by-2cz+d=0 is a sphere   ⟺  a2+b2+c2−d>0\iff a^2+b^2+c^2-d>0; then R=a2+b2+c2−dR=\sqrt{a^2+b^2+c^2-d}.
  • Diameter ABAB: the centre is the midpoint of ABAB and R=AB2R=\dfrac{AB}{2}.
  • A point MM: IM<RIM<R inside, IM=RIM=R on, IM>RIM>R outside the sphere.
  • A plane: h=d(I,(P))h=d(I, (P)); h>Rh>R no common point, h=Rh=R tangent, h<Rh<R a circle of radius R2−h2\sqrt{R^2-h^2}.
  • The tangent plane at MM: through MM with normal vector IM→\overrightarrow{IM}.

Practice

Each exercise comes with what you need and some steps to start. Try it yourself first, then open the solution.

Exercise 1

Write the equation of the sphere with centre I(−1,2,0)I(-1, 2, 0) and radius 33. Is the point A(1,3,2)A(1, 3, 2) inside, on or outside the sphere?

What you need and how to start

What you need: (x−a)2+(y−b)2+(z−c)2=R2(x-a)^2+(y-b)^2+(z-c)^2=R^2; compare IAIA with RR.

Steps:

  1. Substitute a=−1a=-1, b=2b=2, c=0c=0, R=3R=3.
  2. Compute IA2IA^2.
Show solution

(x+1)2+(y−2)2+z2=9(x+1)^2+(y-2)^2+z^2=9. IA2=22+12+22=9=R2IA^2=2^2+1^2+2^2=9=R^2.

Answer. (x+1)2+(y−2)2+z2=9(x+1)^2+(y-2)^2+z^2=9; AA lies on the sphere.

Exercise 2

Find the centre and radius of the sphere x2+y2+z2+4x−6y+2z−11=0x^2+y^2+z^2+4x-6y+2z-11=0.

What you need and how to start

What you need: aa, bb, cc are the coefficients of xx, yy, zz divided by −2-2; R=a2+b2+c2−dR=\sqrt{a^2+b^2+c^2-d}.

Steps:

  1. Read off aa, bb, cc, dd.
  2. Compute RR.
Show solution

a=−2a=-2, b=3b=3, c=−1c=-1, d=−11d=-11. R2=4+9+1+11=25R^2=4+9+1+11=25.

Answer. I(−2,3,−1)I(-2, 3, -1), R=5R=5.

Exercise 3

Which of these are equations of spheres? Find the centre and radius of each sphere.

a) x2+y2+z2−2x+4z+1=0x^2+y^2+z^2-2x+4z+1=0. b) x2+y2+z2+2y+5=0x^2+y^2+z^2+2y+5=0. c) 2x2+2y2+2z2−4x+8y−2=02x^2+2y^2+2z^2-4x+8y-2=0.

What you need and how to start

What you need: the condition a2+b2+c2−d>0a^2+b^2+c^2-d>0, with the coefficients of x2x^2, y2y^2, z2z^2 equal to 11.

Steps:

  1. In part c), divide both sides by 22 first.
  2. Check the condition for each equation.
Show solution

a) a=1a=1, b=0b=0, c=−2c=-2, d=1d=1: 1+0+4−1=4>01+0+4-1=4>0, centre (1,0,−2)(1, 0, -2), R=2R=2. b) a=0a=0, b=−1b=-1, c=0c=0, d=5d=5: 1−5=−4<01-5=-4<0, not a sphere. c) x2+y2+z2−2x+4y−1=0x^2+y^2+z^2-2x+4y-1=0: 1+4+0+1=6>01+4+0+1=6>0, centre (1,−2,0)(1, -2, 0), R=6R=\sqrt6.

Answer. a) and c) are spheres; b) is not.

Exercise 4

Write the equation of the sphere with diameter ABAB, where A(2,−1,3)A(2, -1, 3) and B(0,3,−1)B(0, 3, -1).

What you need and how to start

What you need: the centre is the midpoint of ABAB and R=AB2R=\dfrac{AB}{2}.

Steps:

  1. Find the midpoint II.
  2. Find ABAB, then RR.
Show solution

I(1,1,1)I(1, 1, 1), AB=4+16+16=6AB=\sqrt{4+16+16}=6, R=3R=3.

Answer. (x−1)2+(y−1)2+(z−1)2=9(x-1)^2+(y-1)^2+(z-1)^2=9.

Exercise 5

(Revisiting The equation of a plane.) Write the equation of the sphere with centre I(1,2,−1)I(1, 2, -1) that touches the plane (P):2x−2y+z+9=0(P): 2x-2y+z+9=0.

What you need and how to start

What you need: the sphere touches (P)(P) when R=d(I,(P))R=d(I, (P)).

Steps:

  1. Find d(I,(P))d(I, (P)) with the distance formula.
  2. Write the equation with this RR.
Show solution

R=d(I,(P))=∣2−4−1+9∣4+4+1=63=2.R=d(I, (P))=\frac{|2-4-1+9|}{\sqrt{4+4+1}}=\frac63=2.

Answer. (x−1)2+(y−2)2+(z+1)2=4(x-1)^2+(y-2)^2+(z+1)^2=4.

Exercise 6

Let (S):(x−2)2+(y+1)2+z2=9(S): (x-2)^2+(y+1)^2+z^2=9. Is each claim true or false?

a) (S)(S) has centre I(2,−1,0)I(2, -1, 0).

b) (S)(S) has radius 99.

c) The point M(4,1,1)M(4, 1, 1) lies on (S)(S).

d) The plane z=4z=4 cuts (S)(S) in a circle.

What you need and how to start

What you need: read off the centre and radius; compare the distance from the centre to the plane with RR.

Steps:

  1. Read off II and RR.
  2. Substitute MM into the left-hand side.
  3. Find the distance from II to the plane z=4z=4.
Show solution

a) True. x−2x-2, y+1=y−(−1)y+1=y-(-1), z−0z-0.

b) False. R2=9R^2=9, so R=3R=3.

c) True. 22+22+12=92^2+2^2+1^2=9.

d) False. The distance from II to the plane z=4z=4 is ∣0−4∣=4>3|0-4|=4>3, so they have no common point.

Answer. a) True; b) False; c) True; d) False.

Exercise 7

A Bluetooth speaker hangs at I(2,3,4)I(2, 3, 4) in a room (unit: metre), and the floor is the plane z=0z=0. The speaker can be heard clearly within 66 m of it. Find the area of the part of the floor where the speaker is heard clearly (in m², to 1 decimal place).

What you need and how to start

What you need: a plane at distance h<Rh<R from the centre cuts the sphere in a circle of radius r=R2−h2r=\sqrt{R^2-h^2}.

Steps:

  1. h=4h=4, R=6R=6; find rr.
  2. The area of a disc is πr2\pi r^2.
Show solution

r2=36−16=20r^2=36-16=20, so the area is 20π≈62.820\pi\approx62.8 m².

Answer. 62.862.8.

Exercise 8

Write the equation of the sphere whose centre lies on the axis OxOx and which passes through A(1,2,3)A(1, 2, 3) and B(3,0,1)B(3, 0, 1).

What you need and how to start

What you need: a centre on OxOx has the form I(t,0,0)I(t, 0, 0); the condition IA=IBIA=IB.

Steps:

  1. Write IA2=IB2IA^2=IB^2 in terms of tt.
  2. Solve for tt, then find R2=IA2R^2=IA^2.
Show solution

(1−t)2+4+9=(3−t)2+0+1  ⟺  14−2t=10−6t  ⟺  t=−1.(1-t)^2+4+9=(3-t)^2+0+1\iff 14-2t=10-6t\iff t=-1. I(−1,0,0)I(-1, 0, 0), R2=4+4+9=17R^2=4+4+9=17.

Answer. (x+1)2+y2+z2=17(x+1)^2+y^2+z^2=17.

Exercise 9

(Revisiting The equation of a line in space.) Find where the line d:x=1+td: x=1+t, y=2y=2, z=2−3tz=2-3t meets the sphere (S):x2+y2+z2=9(S): x^2+y^2+z^2=9, and find the length of the chord.

What you need and how to start

What you need: substituting the parametric equations into the equation of the sphere gives a quadratic equation in tt.

Steps:

  1. Substitute xx, yy, zz into (S)(S) and simplify.
  2. Solve for tt, find the two points, then the distance between them.
Show solution

(1+t)2+4+(2−3t)2=9  ⟺  10t2−10t=0  ⟺  t=0 or t=1.(1+t)^2+4+(2-3t)^2=9\iff 10t^2-10t=0\iff t=0\ \text{or}\ t=1. The two points are (1,2,2)(1, 2, 2) and (2,2,−1)(2, 2, -1). The chord has length 12+02+32=10\sqrt{1^2+0^2+3^2}=\sqrt{10}.

Answer. (1,2,2)(1, 2, 2), (2,2,−1)(2, 2, -1); the chord is 10≈3.16\sqrt{10}\approx3.16 long.

Exercise 10 Challenge

Model the Earth as a sphere with centre OO and radius 64006400 km. With one thousand km as the unit: (S):x2+y2+z2=40.96(S): x^2+y^2+z^2=40.96. A satellite is at V(0,0,8)V(0, 0, 8). The points MM on the ground that see the satellite on the horizon are those for which VMVM is tangent to the sphere, that is OM→⊥MV→\overrightarrow{OM}\perp\overrightarrow{MV}. Prove that these points lie in one plane and find the radius of the circle bounding the coverage area (in km).

What you need and how to start

What you need: OM→⋅MV→=0\overrightarrow{OM}\cdot\overrightarrow{MV}=0; OM2=40.96OM^2=40.96; r=R2−h2r=\sqrt{R^2-h^2}.

Steps:

  1. Write MV→=OV→−OM→\overrightarrow{MV}=\overrightarrow{OV}-\overrightarrow{OM} and expand OM→⋅MV→=0\overrightarrow{OM}\cdot\overrightarrow{MV}=0.
  2. Deduce 8z=40.968z=40.96, then find rr.
Show solution

OM→⋅(OV→−OM→)=0  ⟺  OM→⋅OV→=OM2  ⟺  8z=40.96  ⟺  z=5.12.\overrightarrow{OM}\cdot(\overrightarrow{OV}-\overrightarrow{OM})=0\iff\overrightarrow{OM}\cdot\overrightarrow{OV}=OM^2\iff 8z=40.96\iff z=5.12. So these points lie in the plane z=5.12z=5.12, at distance h=5.12h=5.12 from OO: r=40.96−5.122=14.7456=3.84.r=\sqrt{40.96-5.12^2}=\sqrt{14.7456}=3.84.

Answer. The plane z=5.12z=5.12; the boundary circle has radius 38403840 km.

Mini test

Mini test

Marked like the Vietnamese graduation exam: Part I 0.25 points per question; Part II up to 1 point per question (1, 2, 3, 4 correct statements give 0.1, 0.25, 0.5, 1 point); Part III 0.5 points per question.

Part I. Multiple choice

Question 1. In the system OxyzOxyz, the sphere (x+1)2+(y−2)2+z2=4(x+1)^2+(y-2)^2+z^2=4 has centre and radius
Question 2. The radius of the sphere x2+y2+z2−2x+4y−6z+5=0x^2+y^2+z^2-2x+4y-6z+5=0 is
Question 3. Which of these is the equation of a sphere?
Question 4. The sphere with centre I(1,0,−2)I(1, 0, -2) that touches the plane (P):2x−y+2z+8=0(P): 2x-y+2z+8=0 has equation

Part II. True or false

Question 1. Let (S):x2+y2+z2−2x−4y+4z=0(S): x^2+y^2+z^2-2x-4y+4z=0.
a) (S)(S) has centre I(1,2,−2)I(1, 2, -2).
b) (S)(S) has radius 99.
c) The origin OO lies on (S)(S).
d) The plane (P):x+2y−2z−18=0(P): x+2y-2z-18=0 touches (S)(S).

Part III. Short answer

Question 1. What is the radius of the sphere with diameter ABAB, where A(1,2,3)A(1, 2, 3) and B(3,−2,−1)B(3, -2, -1)?

Question 2. The plane z=1z=1 cuts the sphere (x−1)2+(y+2)2+(z−4)2=25(x-1)^2+(y+2)^2+(z-4)^2=25 in a circle. Find the area of the disc bounded by that circle (to 1 decimal place).

Show answers and explanations
  1. Part I, question 1: B. x+1=x−(−1)x+1=x-(-1), so a=−1a=-1; R2=4R^2=4, so R=2R=2. Option A has the wrong signs for the centre, and C and D take RR to be R2R^2.
  2. Part I, question 2: C. a=1a=1, b=−2b=-2, c=3c=3, d=5d=5: R2=1+4+9−5=9R^2=1+4+9-5=9, R=3R=3. Option A forgets the square root, B adds dd instead of subtracting it, and D forgets dd.
  3. Part I, question 3: B. B has a2+b2+c2−d=4+0+1−1=4>0a^2+b^2+c^2-d=4+0+1-1=4>0. A has 1+4−6<01+4-6<0; in C and D the coefficients of x2x^2, y2y^2, z2z^2 are not equal.
  4. Part I, question 4: A. R=d(I,(P))=∣2−0−4+8∣3=2R=d(I, (P))=\dfrac{|2-0-4+8|}{3}=2, so R2=4R^2=4. Option B forgets to square, C has the wrong signs for the centre, and D forgets to divide by 33.
  5. Part II, question 1: a) True; b) False; c) True; d) True. a) True: a=1a=1, b=2b=2, c=−2c=-2. b) False: R2=1+4+4−0=9R^2=1+4+4-0=9, R=3R=3. c) True: d=0d=0, so OO satisfies the equation. d) True: d(I,(P))=∣1+4+4−18∣3=3=Rd(I, (P))=\dfrac{|1+4+4-18|}{3}=3=R.
  6. Part III, question 1: 3. AB=4+16+16=6AB=\sqrt{4+16+16}=6, so R=3R=3. A common slip is to take R=AB=6R=AB=6.
  7. Part III, question 2: 50.3. h=∣1−4∣=3h=|1-4|=3, r=25−9=4r=\sqrt{25-9}=4, and the area is 16π≈50.2716\pi\approx50.27, which rounds to 50.350.3.