# Equation of Sphere/Rectangular Coordinates

## Theorem

The equation of a sphere with radius $R$ and center $\tuple {a, b, c}$ expressed in Cartesian coordinates is:

- $\paren {x - a}^2 + \paren {y - b}^2 + \paren {z - c}^2 = R^2$

### Corollary

The equation of a sphere with radius $R$ whose center is at the origin expressed in Cartesian coordinates is:

- $x^2 + y^2 + z^2 = R^2$

## Proof

Let the point $\tuple {x, y, z}$ satisfy the equation:

- $(1): \quad \paren {x - a}^2 + \paren {y - b}^2 + \paren {z - c}^2 = R^2$

By the Distance Formula in 3 Dimensions, the distance between this $\tuple {x, y, z}$ and $\tuple {a, b, c}$ is:

- $\sqrt {\paren {x - a}^2 + \paren {y - b}^2 + \paren {z - c}^2}$

But from equation $(1)$, this quantity equals $R$.

Therefore the distance between points satisfying the equation and the center is constant and equal to the radius.

Thus $\tuple {x, y, z}$ lies on the surface of a sphere with radius $R$ and center $\tuple {a, b, c}$.

Now suppose that $\tuple {x, y, z}$ does not satisfy the equation:

- $\paren {x - a}^2 + \paren {y - b}^2 + \paren {z - c}^2 = R^2$

Then by the same reasoning as above, the distance between $\tuple {x, y, z}$ and $\tuple {a, b, c}$ does not equal $R$.

Therefore $\tuple {x, y, z}$ does not lie on the surface of a sphere with radius $R$ and center $\tuple {a, b, c}$.

Hence it follows that the points satisfying $(1)$ are exactly those points which are the sphere in question.

$\blacksquare$

## Sources

- 1968: Murray R. Spiegel:
*Mathematical Handbook of Formulas and Tables*... (previous) ... (next): $12.20$: Formulas from Solid Analyic Geometry: Equation of Sphere in Rectangular Coordinates - 2008: David Nelson:
*The Penguin Dictionary of Mathematics*(4th ed.) ... (previous) ... (next):**sphere**

This page may be the result of a refactoring operation.As such, the following source works, along with any process flow, will need to be reviewed. When this has been completed, the citation of that source work (if it is appropriate that it stay on this page) is to be placed above this message, into the usual chronological ordering.In particular: A further result in the text hereIf you have access to any of these works, then you are invited to review this list, and make any necessary corrections.To discuss this page in more detail, feel free to use the talk page.When this work has been completed, you may remove this instance of `{{SourceReview}}` from the code. |

- 2014: Christopher Clapham and James Nicholson:
*The Concise Oxford Dictionary of Mathematics*(5th ed.) ... (previous) ... (next):**sphere**