In this explainer, we will learn how to find the equation of a sphere given its center and how to find the center and the radius given the sphere’s equation.
Let us start by recalling the definition of a sphere.
Definition: Sphere
A sphere is the locus of all points that are a distance from a fixed point .
In this definition, is the radius of the sphere, and the fixed point is the center of the sphere. We now want to use this definition to help us derive the equation of a sphere in standard form.
First, recall that we can calculate the distance between two points and using the formula
In our definition of a sphere, we have a set of points that are a fixed distance from the center of the sphere . Therefore, by substituting into the distance formula, we have that which is an equation for the sphere. This, however, is not the standard form for the equation of a sphere. If we square both sides of the equation, we get which is the standard form of the equation of a sphere with radius (noting that ) and center .
Definition: The Equation of a Sphere in Standard Form
The Cartesian equation of a sphere with radius and center , in standard form, is
This means that if we know the coordinates for the center of a sphere along with the length of its radius, or if we can calculate these two pieces of information, then we can find the equation of the sphere.
With that in mind, let us look at our first couple of examples.
Example 1: Finding the Equation of a Sphere given Its Center and Radius
Give the equation of the sphere of center and radius 3 in standard form.
Answer
We know that the standard form of the equation of a sphere is where is the center and is the length of the radius. Here, we are given the coordinates of the center of the sphere and, therefore, can deduce that , , and . We are also told that . Substituting these values, we find that
Finally, evaluating the right-hand side gives
Example 2: Finding the Center and Radius of a Sphere given Its Equation
Given that a sphere’s equation is , determine its center and radius.
Answer
We know that the standard form of the equation of a sphere is where is the center and is the length of the radius. We need to rearrange the given equation into this form. First, we add 289 to both sides of the equation to give us
Then, we rewrite the expression in the first set of parentheses to match the standard form equation to get
Finally, noting that the square root of , we can rewrite our equation once more to get
From here, we can determine that the center of the sphere has coordinates and that the radius is 17.
Let us now look at an example where we apply what we have learned about the equation of a sphere to solve a geometric problem.
Example 3: Finding the Endpoint of a Sphere’s Diameter given the Other Endpoint and the Sphere’s Equation
Given and that is a diameter of the sphere , what is the point ?
Answer
We can take two approaches to solve this problem. We can either solve the problem geometrically using vectors or solve it algebraically by considering the relative positions of the points that we know.
First, recall the standard form for the equation of a sphere: where is the center and is the length of the radius. Using this, we can see that the center of our sphere has coordinates and we can draw a quick sketch of the sphere to help us visualize the problem.
We note that the points , , and lie on the same line, and because is a diameter of the sphere, we know that is the midpoint of .
Method 1
First, let us look at how to solve the problem algebraically. As and are the end points of a diameter of the sphere and is the center, we know that is the midpoint of . For a line in three-dimensional space, the midpoint, , of a line segment with end points and can be calculated using the formula
We can then deduce that
This gives us three equations:
Solving these gives us , , and . Therefore, the coordinates of are .
Method 2
For interest, if we want to solve the problem geometrically using vectors, we can deduce that ; therefore, given that point is a relative center of the system, we have that
We have that and . Therefore, which simplifies to
We can now calculate as follows: which simplifies to
Therefore, the coordinates of are .
Before we look at our final example, let us recall how to complete the square for a quadratic expression.
How To: Completing the Square for a Quadratic Expression
Let us consider the expression .
To complete the square, we start by factoring out the :
Now, we consider the expression . If we expand the square of the binomial, we find that which we note is the same as the expression above, excluding the constant term.
Therefore, we can rewrite our original expression as follows:
Finally, multiplying through by gives
This is the form of our original expression after completing the square.
We can use the method outlined above to convert the general form of the equation of a sphere to standard form. If we consider the sphere whose general equation is then we can covert this to standard form by completing the squares for the quadratics in each of the three variables. If we start by rearranging the equation to group all of the terms containing the same variables, we get
Now, we can complete the square for each of the three quadratics to get
Finally, if we group together the constant terms, we can see that and the center of the sphere has coordinates
To finish, let us look at an example where we need to identify the center and radius of a sphere whose equation is given in general form.
Example 4: Identifying the Center and Radius of a Sphere given Its Equation in General Form
Give the center and radius of the sphere .
Answer
Here, we are given the general form of the equation of a sphere, but we will need to compare the equation with the standard form of the equation of a sphere to determine its center and radius. Recall that the standard form for the equation of a sphere is where is the center and is the length of the radius.
First, let us group together the terms that contain the same variables:
Now, we need to complete the square for the quadratics in each of the three variables, giving us
Collecting the constant terms gives and adding 49 to each side gives us
Finally, if we compare this with the standard form for the equation of a sphere, we can see that the center of the sphere is and the radius of the sphere is .
Key Points
- A sphere is a three-dimensional shape where every point is a distance (the radius of the sphere) from the center.
- A sphere centered at the point with radius has the equation (in standard form) If we are given the equation of the sphere not in standard form, we can convert it to this form using algebraic methods and identify the center and radius by comparing the resulting equation to the general form.
- To identify the center and radius of a sphere whose equation is given in general form, we can convert the equation to standard form by completing the square for each of the quadratics in each of the three variables.