• Definition: A sphere with center I and radius R (R>0) is the set of all points M in space whose distance to I is equal to R.
- A point M lies inside the sphere (in the interior) if IM<R.
- A point M lies outside the sphere (in the exterior) if IM>R.
- A point M lies on the sphere if IM=R.
• Standard Equation: In space Oxyz, the sphere (S) with center I(a;b;c) and radius R has the standard equation:
(x−a)2+(y−b)2+(z−c)2=R2
• Position of point M(x;y;z) relative to the sphere (S):
- M lies inside (S)⟺(x−a)2+(y−b)2+(z−c)2<R2.
- M lies outside (S)⟺(x−a)2+(y−b)2+(z−c)2>R2.
- M lies on (S)⟺(x−a)2+(y−b)2+(z−c)2=R2.
Example 1: In space Oxyz, consider the sphere (S) with equation (x−1)2+(y+3)2+z2=5.
a) Find the center and radius of (S).
b) Determine whether the origin O(0;0;0) lies inside, outside, or on the sphere (S).
Solution to Example 1:
• a) Rewriting the equation of (S) in standard form:
(x−1)2+[y−(−3)]2+(z−0)2=(5)2.
Thus, the sphere (S) has center I(1;−3;0) and radius R=5.
• b) Computing the squared distance from the origin O to the center I:
OI2=(0−1)2+(0+3)2+(0−0)2=1+9+0=10.
Since OI2=10>5=R2, we have OI>R.
Therefore, the origin O(0;0;0) lies outside the sphere (S).
Practice 1: In space Oxyz, given the sphere (S) with equation (x+2)2+y2+(z+21)2=49.
a) Find the center and radius of (S).
b) Determine whether the point M(2;0;1) lies inside, outside, or on the sphere (S).
Solution to Practice 1:
• a) Expressing the equation as [x−(−2)]2+(y−0)2+[z−(−21)]2=(23)2.
Thus, (S) has center I(−2;0;−21) and radius R=23.
• b) The squared distance from M to I is:
IM2=[2−(−2)]2+(0−0)2+[1−(−21)]2=42+02+(23)2=16+49=473.
Since IM2=473>49=R2, the point M(2;0;1) lies outside the sphere (S).
Example 2: In space Oxyz, write the equation of the sphere (S) in each of the following cases:
a) Center I(23;0;−3), radius R=49;
b) Diameter AB, with A(1;2;1) and B(3;1;5).
Solution to Example 2:
• a) The sphere (S) with center I(23;0;−3) and radius R=49 has the equation:
(x−23)2+y2+(z+3)2=(49)2⟺(x−23)2+y2+(z+3)2=1681.
• b) The center J of the sphere is the midpoint of segment AB:
xJ=21+3=2,yJ=22+1=23,zJ=21+5=3⟹J(2;23;3).
The length of diameter AB=(3−1)2+(1−2)2+(5−1)2=4+1+16=21.
The radius is R=2AB=221⟹R2=421.
The equation of sphere (S) is: (x−2)2+(y−23)2+(z−3)2=421.
Practice 2: In space Oxyz, write the equation of the sphere (S) in each of the following cases:
a) Center is the origin O(0;0;0), radius R=1;
b) Diameter AB, with A(1;−1;2) and B(2;−3;−1).
Solution to Practice 2:
• a) The sphere with center O(0;0;0) and radius R=1 has the equation:
x2+y2+z2=1.
• b) The center I is the midpoint of AB:
I(21+2;2−1−3;22−1)⟹I(23;−2;21).
Diameter length AB=(2−1)2+(−3+1)2+(−1−2)2=1+4+9=14.
Radius R=214⟹R2=414=27.
The equation of sphere (S) is: (x−23)2+(y+2)2+(z−21)2=27.
b) General (Expanded) Equation of a Sphere
Expanding the standard equation (x−a)2+(y−b)2+(z−c)2=R2 yields the form:
x2+y2+z2−2ax−2by−2cz+d=0
where d=a2+b2+c2−R2.
• Theorem (Condition for a General Equation to Represent a Sphere): An equation of the form:
x2+y2+z2−2ax−2by−2cz+d=0
represents a sphere (S) if and only if:
a2+b2+c2−d>0
When this condition holds, the sphere (S) has:
- Center I(a;b;c);
- Radius R=a2+b2+c2−d.
Example 3: Prove that the equation x2+y2+z2−2x+4y−6z−2=0 represents a sphere. Find its center and radius.
Solution to Example 3:
• Completing the square for each variable:
(x2−2x+1)+(y2+4y+4)+(z2−6z+9)=2+1+4+9⟺(x−1)2+(y+2)2+(z−3)2=16=42.
• Therefore, the given equation represents a sphere (S) with center I(1;−2;3) and radius R=4.
Practice 3: Show that the equation x2+y2+z2−4x+6y−12=0 represents a sphere and determine its center and radius.
Solution to Practice 3:
• The coefficients are: a=2,b=−3,c=0,d=−12.
• Checking the condition: a2+b2+c2−d=22+(−3)2+02−(−12)=4+9+12=25>0.
• Hence, this is the equation of a sphere (S) with center I(2;−3;0) and radius R=25=5.
Example 4: Which of the following equations represents a sphere? Determine its center and radius if applicable:
a) x2+y2+z2−2x+3y−8z+100=0;
b) x2+y2+z2−4x+5y−2z−43=0;
c) x2+y2+z2−2xy+6y−9z+10=0.
Solution to Example 4:
• a) Here a=1,b=−23,c=4,d=100.
Evaluating a2+b2+c2−d=12+(−23)2+42−100=1+49+16−100=−4323<0.
Thus, this equation does not represent a sphere.
• b) Here a=2,b=−25,c=1,d=−43.
Evaluating a2+b2+c2−d=22+(−25)2+12−(−43)=4+425+1+43=12>0.
Thus, the equation represents a sphere with center I(2;−25;1) and radius R=12=23.
• c) The equation contains the cross-product term −2xy, so it cannot represent a sphere.
Practice 4: Determine the center and radius of the sphere (S):x2+y2+z2+4x−5y+6z+425=0.
Solution to Practice 4:
• The coefficients are: a=−2,b=25,c=−3,d=425.
• We have: a2+b2+c2−d=(−2)2+(25)2+(−3)2−425=4+425+9−425=13>0.
• Hence, the sphere (S) has center I(−2;25;−3) and radius R=13.
Practical Applications of the Sphere Equation
a) Coordinate Model on Earth’s Surface
In geodesy and mathematical modeling, Earth is approximated by a sphere of mean radius R0=6,371 km.
• Set up a Cartesian coordinate system Oxyz where the origin O is the Earth’s center, the Oz-axis points toward the North Pole, the Ox-axis passes through the intersection of the Prime Meridian (Greenwich) and the Equator, and the Oy-axis intersects the Equator in the Eastern Hemisphere.
• Normalizing 1 unit of length to equal 6,371 km, Earth’s surface corresponds to the unit sphere:
x2+y2+z2=1
• Cartesian coordinates from latitude and longitude:
- A point P at latitude α∘N and longitude β∘E (0<α<90,0<β<180) has coordinates:
P(cosα∘cosβ∘;cosα∘sinβ∘;sinα∘)
- A point Q at latitude α∘N and longitude β∘W (0<α<90,0<β<180) has coordinates:
Q(cosα∘cosβ∘;−cosα∘sinβ∘;sinα∘)
b) Great-Circle Geodesic Distance Calculation
Example 5 (Distance on Earth’s Surface - Introductory Problem): Calculate the shortest geodesic distance on Earth’s surface between P(10∘N,15∘E) and Q(80∘N,70∘E).
Solution to Example 5:
• The coordinates of P and Q on the unit sphere x2+y2+z2=1 are:
P(cos10∘cos15∘;cos10∘sin15∘;sin10∘),Q(cos80∘cos70∘;cos80∘sin70∘;sin80∘).
• Computing the dot product OP⋅OQ:
OP⋅OQ=cos10∘cos15∘cos80∘cos70∘+cos10∘sin15∘cos80∘sin70∘+sin10∘sin80∘≈0.2691.
• Since ∣OP∣=∣OQ∣=1, the central angle POQ satisfies:
cosPOQ=OP⋅OQ≈0.2691⟹POQ≈74.3893∘.
• The length of the minor great-circle arc PQ (circumference 2π≈6.2832) is:
L=360∘74.3893∘⋅2π≈1.2983 (units).
• The actual surface distance on Earth is:
d=1.2983⋅6,371≈8,271.47 (km).
• This closely matches the measured distance of 8,271.74 km on Google Maps.
Practice 5: Compute the surface distance on Earth from location A at the intersection of the Prime Meridian and Equator (0∘N,0∘E) to location B(45∘N,30∘E).
Solution to Practice 5:
• Point A has coordinates A(cos0∘cos0∘;cos0∘sin0∘;sin0∘)=A(1;0;0).
• Point B has coordinates B(cos45∘cos30∘;cos45∘sin30∘;sin45∘)=B(46;42;22).
• Dot product: OA⋅OB=1⋅46+0+0=46≈0.6124.
• Central angle AOB:
cosAOB=46⟹AOB=arccos(46)≈52.2388∘≈0.9117 (rad).
• The distance on Earth’s surface is:
d=0.9117⋅6,371≈5,808.4 (km).
End-of-Lesson Exercises
Exercise 5.25: In space Oxyz, given the sphere (S) with equation (x−21)2+(y+1)2+z2=9. Find the center and radius of (S).
Solution to Exercise 5.25:
• Rewriting the equation: (x−21)2+[y−(−1)]2+(z−0)2=32.
• The center of the sphere is I(21;−1;0).
• The radius of the sphere is R=3.
Exercise 5.26: Write the equation of the sphere (S) with center I(−2;0;5) and radius R=2.
Solution to Exercise 5.26:
• The equation of the sphere (S) is:
[x−(−2)]2+(y−0)2+(z−5)2=22⟺(x+2)2+y2+(z−5)2=4.
Exercise 5.27: Write the equation of the sphere (S) with center I(0;3;−1) whose radius equals the distance from I to the plane (P):3x+2y−z=0.
Solution to Exercise 5.27:
• Computing the radius R as the distance from I to plane (P):
R=d(I,(P))=32+22+(−1)2∣3(0)+2(3)−1(−1)∣=9+4+1∣6+1∣=147=214.
• Squared radius: R2=(214)2=414=27.
• The equation of sphere (S) is:
(x−0)2+(y−3)2+[z−(−1)]2=27⟺x2+(y−3)2+(z+1)2=27.
Exercise 5.28: Find the center and radius of the sphere (S):x2+y2+z2+2x−2y+8z−18=0.
Solution to Exercise 5.28:
• Dividing linear coefficients by −2: a=−1,b=1,c=−4,d=−18.
• Computing the discriminant: a2+b2+c2−d=(−1)2+12+(−4)2−(−18)=1+1+16+18=36>0.
• Hence, the sphere (S) has center I(−1;1;−4) and radius R=36=6.
Exercise 5.29: Which of the following equations represents a sphere? Determine its center and radius where applicable:
a) x2+y2+z2−2x−5z+30=0;
b) x2+y2+z2−4x+2y−2z=0;
c) x3+y3+z3−2x+6y−9z−10=0;
d) x2+y2+z2+5=0.
Solution to Exercise 5.29:
• a) Coefficients: a=1,b=0,c=25,d=30.
a2+b2+c2−d=12+02+(25)2−30=1+425−30=−491<0⟹ Not a sphere equation.
• b) Coefficients: a=2,b=−1,c=1,d=0.
a2+b2+c2−d=22+(−1)2+12−0=4+1+1=6>0.
This is a sphere equation with center I(2;−1;1) and radius R=6.
• c) Contains cubic terms x3,y3,z3⟹ Not a sphere equation.
• d) x2+y2+z2=−5<0⟹ No real solution, not a sphere equation.
Exercise 5.30 (Signal Transmitter Coverage): A radio transmitter is located at position A(2;0;0) in space Oxyz. The coverage range of the device has a radius of 1. Does the position M(2;1;1) lie within the coverage area of the transmitter?
Solution to Exercise 5.30:
• The coverage area of the transmitter is the solid sphere centered at A(2;0;0) with radius R=1, described by:
(x−2)2+y2+z2≤1.
• The distance from M(2;1;1) to the transmitter location A(2;0;0) is:
AM=(2−2)2+(1−0)2+(1−0)2=0+1+1=2≈1.414.
• Since AM=2>1=R, the point M lies outside the coverage ball.
• Conclusion: The position M(2;1;1) does not lie within the signal coverage area of the transmitter.