Equation of a Sphere Calculator
Our equation of a sphere calculator will help you write the equation of a sphere in the standard form or expanded form if you know the center and radius of the sphere. Alternatively, you can find the sphere equation if you know its center and any point on its surface or if you know the end-points of any of its diameters. This calculator can also find the center and radius of a sphere from its equation.
Are you wondering what is the standard equation of a sphere or how to find the center and radius of a sphere using its equation? Have you perhaps come across a sphere equation that doesn't look like the general equation? Are you curious how knowing the diameter's end-points or the center and a point on the sphere can help you find the sphere's equation? Grab your favorite drink and keep reading this article; we'll tackle these questions together!
This calculator can also determine a sphere's surface area and volume from its equation. Want to calculate them without bothering with the sphere equation? Head to our sphere calc!
What is the equation of a sphere?
The equation of a sphere in the standard form is given by:
- – Coordinates of any point lying on the surface of the sphere;
- – Coordinates of the center of the sphere; and
- – Radius of the sphere.
If we know the center and radius of the sphere, we can plug them into this standard form to obtain the equation of the sphere. For example, consider a sphere with a radius of and its center at . By inserting this into the equation above, we get the standard equation of the sphere:
Similarly, you can use the standard form of the sphere equation to find the radius and center of the sphere. For example, a sphere with the equation would have its center at , and its radius is given by:
❗ Note that you have to be careful regarding the signs of the center coordinates in the standard equation. If the sphere equation in the above example was instead , then its center would be .
How to derive the equation of a sphere
Now that we know the standard equation of a sphere, let's learn how it came to be:
- First thing to understand is that the equation of a sphere represents all the points lying equidistant from a center point. In other words, any point that lies at a distance from a point lies on the sphere. Sound familiar? A circle equation works the same way! Go to our equation of a circle calculator and see if you can uncover more similarities!
- Consider a point that lies at a distance from the center . Using distance formula, we get:
- Squaring on both sides and rearranging this equation, we get:
And, voila! Just like that, we got the standard equation of a sphere! It bears repeating that every point that satisfies this equation lies on the surface of the sphere.
Expanded form of the sphere equation
Sometimes, you may come across a sphere equation that appears different from the standard form we've discussed so far. Generally, such equations should look like the following:
- – Sum of all coefficients of the terms;
- – Sum of all coefficients of the terms;
- – Sum of all coefficients of the terms; and
- – Sum of all constants terms.
This equation may seem intimidating at a glance, but if you take a closer look; it is simply the expanded version of the standard form we're used to. Let's use the completing the squares method to backtrack our way from the expanded version to the simpler, standard form:
- Rearrange the equation for clarity:
- To write in the format, we need to identify and . Clearly, . If , we get:
- Adding and subtracting the quantity to the equation, we get:
- Similarly, we complete the squares for the y-terms and z-terms by adding and subtracting the quantities and to get:
- Rearrange the equation to group all the constant terms on the right-hand side:
- Comparing this equation with the standard form of the sphere equation
- Extracting the center point and radius of the sphere from this equation, we get:
Need help completing the squares? Our completing the square calculator will serve you.
In this sphere equation calculator, you can simply select the expanded form option as the type of the equation and enter the corresponding , , and values to obtain the equation in the standard form, its center and radius, and other relevant information.
Equation of a sphere from the end-points of any diameter
Now that you know what the equation of a sphere is, let's discuss how to obtain it in cases where you don't have the necessary parameters readily available. Suppose you only know the end-points of any one of the diameters of the sphere and have no information on the center point or radius. You still have a way to frame its equation.
Say the diameter of the sphere has the endpoints and . Clearly, the center is given by the mid-point of , which is given by:
Once we know the center, we can obtain the radius as the distance or , through the distance formula:
We can then insert this center and radius in the standard sphere equation.