What Is the Equation for a Sphere?

A sphere

You can think of a sphere as the outer layer of a basketball. The surface of a sphere can be described mathematically by this equation:

Theory

The Equation of a Sphere

The surface of a sphere with radius r0 and its center at the point (x0,y0,z0) is described by the equation

(x x0) 2 + (y y 0) 2 + (z z 0) 2 = r 02.

Most of the time, you will not get the finished version of this equation in your tasks. Instead, you have to rewrite it by “completing the squares”, using that

x2 + bx + (b 2) 2 = (x + (b 2)) 2.

You can follow these steps to create the squares:

Rule

Determine if an Expression is an Equation for a Sphere

You start with a quadratic expression on this form:

x2 + bx + y2 + dy + z2 + fz = g. (1)

Note! The coefficients for the quadratic terms are 1.

1.
You first work with the x terms:
x2 + bx.

Add

(b 2) 2

on each side of Equation (1). This gives you

x2 + bx + (b 2) 2 + = (b 2) 2 +
2.
You can now factorize the x terms on the left side:
x2 + bx + (b 2) 2 = (x + (b 2)) 2

Repeat these steps with the y terms and then the z terms.

3.
You can now express the whole left-hand side of the equation as a sum of squares. You place all the constants on the right-hand side and add them together. If the right-hand side is positive, it can be written as r2 and the expression is the equation for a sphere:
(x x0) 2 + (y y 0) 2 + (z z 0) 2 = r2.

These steps may seem daunting, but might be easier to understand through an example.

Example 1

This might be the equation for a sphere:

x2 + 4x + y2 2y + z2 = 4.

Find out if it is, and if so, determine the center and radius.

To determine this, you need to use the steps from above. The x, y and z terms needs to be rewritten as complete squares.

Items 1 and 2.

These steps can be done at the same time, as the goal is to complete the squares. To make x2 + 4x a square, you need to divide 4 (the number in front of x) by 2, and add the square of this to both sides of the equation. You get:

x2 + 4x + (4 2) 2 + = + (4 2) 2 (x + 4 2) 2 + = + (4 2) 2

To make y2 2y a square, add (2 2 ) 2 on both sides. You get:

y2 2y + ( 2 2 ) 2 + = + ( 2 2 ) 2 (y + 2 2 ) 2 + = + ( 2 2 ) 2

You see that z2 already is a complete square, so you can leave it alone.

Item 3.

Now, all you have to do is combine the calculations above:

x2 + 4x + y2 2y + z2 = 4 (x + 4 2) 2 + (y + 2 2 ) 2 + z2 = 4 + (4 2) 2 + ( 2 2 ) 2 (x + 2) 2 + (y 1) 2 + z2 = 4 + 4 + 1 (x + 2) 2 + (y 1) 2 + z2 = 32

x2 + 4x + y2 2y + z2 = 4 (x + 4 2) 2 + (y + 2 2 ) 2 + z2 = 4 + (4 2) 2 + ( 2 2 ) 2 (x + 2) 2 + (y 1) 2 + z2 = 4 + 4 + 1 (x + 2) 2 + (y 1) 2 + z2 = 32

This is the equation of a sphere and the radius is r = 3 and s = (2, 1, 0). is the center.

Want to know more?Sign UpIt's free!