try ai
Popular Science
Edit
Share
Feedback
  • Equation of a Sphere

Equation of a Sphere

SciencePediaSciencePedia
Key Takeaways
  • The standard equation of a sphere, (x−h)2+(y−k)2+(z−l)2=r2(x-h)^2 + (y-k)^2 + (z-l)^2 = r^2(x−h)2+(y−k)2+(z−l)2=r2, directly reveals its center (h,k,l)(h, k, l)(h,k,l) and radius rrr.
  • The algebraic technique of completing the square transforms the general form of a sphere's equation into the standard form, allowing for the identification of its geometric properties.
  • Inequalities based on the sphere's equation precisely determine whether a given point lies inside, on, or outside its surface.
  • Using alternative coordinate systems, such as spherical or cylindrical coordinates, can significantly simplify the representation and analysis of spheres in specific contexts.
  • The sphere's equation is a powerful tool for solving problems involving intersections, tangency, and optimization across various scientific and engineering disciplines.

Introduction

The sphere is one of nature's most fundamental and perfect shapes, appearing everywhere from the smallest raindrops to the grandest celestial bodies. Its perfect symmetry represents a state of equilibrium, a concept that fascinates scientists and mathematicians alike. To truly understand and work with this shape, however, we must move beyond visual appreciation and learn to describe it using the precise language of mathematics. The equation of a sphere allows us to capture its essence, defining its location, size, and boundaries with elegant simplicity. This article addresses the fundamental need to translate this geometric ideal into a versatile algebraic tool.

This article will guide you through the mathematical world of the sphere. In the first chapter, ​​Principles and Mechanisms​​, we will derive the sphere's equation from its basic definition, master the conversion between its standard and general forms, and explore how different coordinate systems can offer new perspectives. We will even see how a sphere can be represented as a single matrix. Following that, in ​​Applications and Interdisciplinary Connections​​, we will put this knowledge to work, exploring how the sphere's equation helps us solve dynamic problems involving intersections with lines and planes, understand systems of multiple spheres, and serve as a cornerstone in modern computation, optimization, and abstract mathematics.

Principles and Mechanisms

The Sphere's Essential Truth: Distance is Everything

At its heart, a sphere is an incredibly simple idea. It is the collection of all points in three-dimensional space that are at the exact same distance from a single, central point. That’s it! The central point is the ​​center​​, and the constant distance is the ​​radius​​.

This definition is not just a piece of prose; it's a precise instruction for building an equation. Let's say the center is a point CCC with coordinates (h,k,l)(h, k, l)(h,k,l), and the radius is rrr. Now, pick any point PPP with coordinates (x,y,z)(x, y, z)(x,y,z) that lies on the surface of this sphere. According to our definition, the distance between PPP and CCC must be rrr.

How do we measure distance in 3D space? We use a wonderful extension of the Pythagorean theorem. The squared distance between PPP and CCC is the sum of the squares of the differences in their coordinates:

distance2=(x−h)2+(y−k)2+(z−l)2\text{distance}^2 = (x-h)^2 + (y-k)^2 + (z-l)^2distance2=(x−h)2+(y−k)2+(z−l)2

Since we know this squared distance must be equal to the radius squared, r2r^2r2, we arrive at the fundamental equation of a sphere:

(x−h)2+(y−k)2+(z−l)2=r2(x-h)^2 + (y-k)^2 + (z-l)^2 = r^2(x−h)2+(y−k)2+(z−l)2=r2

This is called the ​​standard form​​ or ​​center-radius form​​, and it’s beautiful because it tells you everything you need to know at a glance. You can literally read the sphere's address—its center (h,k,l)(h, k, l)(h,k,l)—and its size—its radius rrr—right out of the equation.

For instance, if you're told that two points P1(3,−5,2)P_1(3, -5, 2)P1​(3,−5,2) and P2(−1,7,−4)P_2(-1, 7, -4)P2​(−1,7,−4) are the opposite ends of a sphere's diameter, you can immediately deduce its essence. The center must be the midpoint between them, which is (3−12,−5+72,2−42)=(1,1,−1)(\frac{3-1}{2}, \frac{-5+7}{2}, \frac{2-4}{2}) = (1, 1, -1)(23−1​,2−5+7​,22−4​)=(1,1,−1). The radius is half the distance between P1P_1P1​ and P2P_2P2​, or more simply, the distance from the new-found center to either point. The squared radius is (3−1)2+(−5−1)2+(2−(−1))2=4+36+9=49(3-1)^2 + (-5-1)^2 + (2-(-1))^2 = 4 + 36 + 9 = 49(3−1)2+(−5−1)2+(2−(−1))2=4+36+9=49. And just like that, you know the sphere's equation is (x−1)2+(y−1)2+(z+1)2=49(x-1)^2 + (y-1)^2 + (z+1)^2 = 49(x−1)2+(y−1)2+(z+1)2=49.

The Art of Unmasking: From General Form to Geometric Insight

Nature, however, doesn't always present its truths in such a tidy package. Imagine you're a geophysicist mapping an underground cavern, and your instruments return a relationship between the coordinates (x,y,z)(x, y, z)(x,y,z) that looks something like this:

x2+y2+z2−12x+8y−10z+k=0x^2 + y^2 + z^2 - 12x + 8y - 10z + k = 0x2+y2+z2−12x+8y−10z+k=0

This doesn't look like our friendly standard form. There are linear terms in xxx, yyy, and zzz, and all the information about the center and radius seems to be scrambled. This is the ​​general form​​ of a sphere's equation:

x2+y2+z2+Dx+Ey+Fz+G=0x^2 + y^2 + z^2 + Dx + Ey + Fz + G = 0x2+y2+z2+Dx+Ey+Fz+G=0

Is this equation describing a sphere? And if so, where is it and how big is it? To answer this, we need to perform a bit of algebraic detective work. The tool we use is called ​​completing the square​​. It’s a method for taking a scrambled expression like x2−12xx^2 - 12xx2−12x and revealing the perfect square hidden inside it. Remember that (x−h)2=x2−2hx+h2(x-h)^2 = x^2 - 2hx + h^2(x−h)2=x2−2hx+h2. We see that the coefficient of our xxx term is −12-12−12, so −2h=−12-2h = -12−2h=−12, which means h=6h=6h=6. To make the perfect square (x−6)2(x-6)^2(x−6)2, we need to have x2−12x+36x^2 - 12x + 36x2−12x+36. Our equation only has x2−12xx^2 - 12xx2−12x, so we can add and subtract 36—a neat trick that changes nothing but reveals everything:

x2−12x=(x2−12x+36)−36=(x−6)2−36x^2 - 12x = (x^2 - 12x + 36) - 36 = (x-6)^2 - 36x2−12x=(x2−12x+36)−36=(x−6)2−36

We can do the same for the yyy and zzz terms:

  • y2+8y=(y2+8y+16)−16=(y+4)2−16y^2 + 8y = (y^2 + 8y + 16) - 16 = (y+4)^2 - 16y2+8y=(y2+8y+16)−16=(y+4)2−16
  • z2−10z=(z2−10z+25)−25=(z−5)2−25z^2 - 10z = (z^2 - 10z + 25) - 25 = (z-5)^2 - 25z2−10z=(z2−10z+25)−25=(z−5)2−25

Substituting these back into our cavern equation gives:

((x−6)2−36)+((y+4)2−16)+((z−5)2−25)+k=0((x-6)^2 - 36) + ((y+4)^2 - 16) + ((z-5)^2 - 25) + k = 0((x−6)2−36)+((y+4)2−16)+((z−5)2−25)+k=0

By rearranging and moving all the constant terms to the right side, we unmask the sphere:

(x−6)2+(y+4)2+(z−5)2=77−k(x-6)^2 + (y+4)^2 + (z-5)^2 = 77 - k(x−6)2+(y+4)2+(z−5)2=77−k

Voilà! The messy equation is indeed a sphere, centered at (6,−4,5)(6, -4, 5)(6,−4,5) with a squared radius of r2=77−kr^2 = 77-kr2=77−k. We have restored order from chaos.

This process is completely general. For any equation in the form x2+y2+z2+Ax+By+Cz+D=0x^2 + y^2 + z^2 + Ax + By + Cz + D = 0x2+y2+z2+Ax+By+Cz+D=0, completing the square reveals a center at (−A2,−B2,−C2)(-\frac{A}{2}, -\frac{B}{2}, -\frac{C}{2})(−2A​,−2B​,−2C​) and a squared radius of r2=(A2)2+(B2)2+(C2)2−Dr^2 = (\frac{A}{2})^2 + (\frac{B}{2})^2 + (\frac{C}{2})^2 - Dr2=(2A​)2+(2B​)2+(2C​)2−D. This leads to a formula for the radius:

r=A2+B2+C2−4D2r = \frac{\sqrt{A^2 + B^2 + C^2 - 4D}}{2}r=2A2+B2+C2−4D​​

This formula also tells us something profound. For rrr to be a real, positive number, the term inside the square root must be positive: A2+B2+C2−4D>0A^2 + B^2 + C^2 - 4D \gt 0A2+B2+C2−4D>0. If it's zero, our "sphere" has a radius of zero—it's just a single point. If it's negative, we are trying to find the square root of a negative number, which means there are no real points (x,y,z)(x,y,z)(x,y,z) that satisfy the equation. It's an "imaginary sphere," an algebraic curiosity with no geometric reality.

Defining Boundaries: Inside, Outside, and On the Surface

The equation of a sphere does more than just describe a hollow shell; it divides the entire universe into three distinct regions: inside the sphere, on its surface, and outside the sphere.

Imagine a deep-space probe whose sensor has an effective region defined by the sphere (x−12)2+(y+9)2+(z−5)2=225(x-12)^2 + (y+9)^2 + (z-5)^2 = 225(x−12)2+(y+9)2+(z−5)2=225. This tells us the sensor is centered at (12,−9,5)(12, -9, 5)(12,−9,5) and has a reach (radius) of r=225=15r = \sqrt{225} = 15r=225​=15 meters. Now, suppose the probe detects an anomaly at the point Q(1,−2,10)Q(1, -2, 10)Q(1,−2,10). Is this anomaly within the sensor's range?

To find out, we don't need to get out a tape measure. We just need to check if the point QQQ satisfies the "rule" of the sphere. The rule is that the distance from the center must be related to the radius. Let's calculate the squared distance, d2d^2d2, from the center to our anomaly QQQ:

d2=(1−12)2+(−2−(−9))2+(10−5)2=(−11)2+72+52=121+49+25=195d^2 = (1-12)^2 + (-2 - (-9))^2 + (10-5)^2 = (-11)^2 + 7^2 + 5^2 = 121 + 49 + 25 = 195d2=(1−12)2+(−2−(−9))2+(10−5)2=(−11)2+72+52=121+49+25=195

Now we compare this to the squared radius, r2=225r^2 = 225r2=225. We see that d2=195<225=r2d^2 = 195 \lt 225 = r^2d2=195<225=r2. Since the anomaly's distance from the center is less than the radius, it must be ​​inside​​ the sphere.

The principle is simple and elegant:

  • If (x−h)2+(y−k)2+(z−l)2<r2(x-h)^2 + (y-k)^2 + (z-l)^2 \lt r^2(x−h)2+(y−k)2+(z−l)2<r2, the point (x,y,z)(x,y,z)(x,y,z) is ​​inside​​ the sphere.
  • If (x−h)2+(y−k)2+(z−l)2=r2(x-h)^2 + (y-k)^2 + (z-l)^2 = r^2(x−h)2+(y−k)2+(z−l)2=r2, the point is ​​on​​ the sphere.
  • If (x−h)2+(y−k)2+(z−l)2>r2(x-h)^2 + (y-k)^2 + (z-l)^2 \gt r^2(x−h)2+(y−k)2+(z−l)2>r2, the point is ​​outside​​ the sphere.

The equation is a powerful gatekeeper, sorting every point in space into its proper place relative to the sphere.

A New Language for a Round World

The Cartesian coordinate system (x,y,z)(x,y,z)(x,y,z) is like a grid of city blocks. It’s great for navigating right-angled streets, but what if you're trying to describe a location on the surface of the Earth? You wouldn't use "miles east" and "miles north" from a central point; you'd use latitude and longitude. You'd use a coordinate system that is natural to the shape of the object.

For a sphere, the natural language is ​​spherical coordinates​​. Instead of (x,y,z)(x,y,z)(x,y,z), we describe a point's position using (ρ,θ,ϕ)(\rho, \theta, \phi)(ρ,θ,ϕ):

  • ρ\rhoρ (rho): The radial distance from the origin.
  • ϕ\phiϕ (phi): The polar angle, measured down from the positive zzz-axis (like latitude).
  • θ\thetaθ (theta): The azimuthal angle, measured around the xyxyxy-plane from the positive xxx-axis (like longitude).

Now, watch what happens when we describe a sphere of radius RRR centered at the origin. In Cartesian coordinates, it's x2+y2+z2=R2x^2 + y^2 + z^2 = R^2x2+y2+z2=R2. But in spherical coordinates, the distance from the origin, ρ\rhoρ, is constant for every point on the sphere. So the equation becomes simply:

ρ=R\rho = Rρ=R

All the complexity collapses into this beautifully simple statement. This is a profound lesson: choosing the right coordinate system can reveal the inherent simplicity of a problem.

But what if the sphere isn't centered at the origin? This is where things get interesting. Consider a sphere of radius aaa that sits on the xyxyxy-plane, tangent at the origin, with its center at (0,0,a)(0, 0, a)(0,0,a). Its Cartesian equation is x2+y2+(z−a)2=a2x^2 + y^2 + (z-a)^2 = a^2x2+y2+(z−a)2=a2. If we translate this into spherical coordinates, after a bit of algebra, we find a new, wonderfully compact equation:

ρ=2acos⁡(ϕ)\rho = 2a\cos(\phi)ρ=2acos(ϕ)

This equation may look more complex than ρ=R\rho = Rρ=R, but it elegantly encodes the sphere's position. It tells us that the distance from the origin, ρ\rhoρ, is no longer constant, but depends on the angle ϕ\phiϕ you look from the z-axis. It is largest along the z-axis (ϕ=0\phi=0ϕ=0) and zero at the xy-plane (ϕ=π/2\phi=\pi/2ϕ=π/2).

The reverse process is just as illuminating. Suppose you encounter the equation ρ=8sin⁡ϕcos⁡θ\rho = 8\sin\phi\cos\thetaρ=8sinϕcosθ. What on earth is this? By using the conversion formulas (x=ρsin⁡ϕcos⁡θx = \rho\sin\phi\cos\thetax=ρsinϕcosθ), we can see that this is equivalent to ρ=8(x/ρ)\rho = 8(x/\rho)ρ=8(x/ρ), which simplifies to ρ2=8x\rho^2 = 8xρ2=8x. Since ρ2=x2+y2+z2\rho^2 = x^2+y^2+z^2ρ2=x2+y2+z2, we get x2+y2+z2=8xx^2+y^2+z^2 = 8xx2+y2+z2=8x. And with our trusty method of completing the square, this becomes (x−4)2+y2+z2=16(x-4)^2 + y^2 + z^2 = 16(x−4)2+y2+z2=16. The mysterious spherical equation was just a disguise for a simple sphere of radius 4, centered at (4,0,0)(4, 0, 0)(4,0,0)!

Of course, spherical coordinates aren't the only alternative. For problems with symmetry around an axis (like a can of soup), ​​cylindrical coordinates​​ (r,θ,z)(r, \theta, z)(r,θ,z) are often ideal, where rrr is the radial distance in the xyxyxy-plane. For a sphere centered on the z-axis, x2+y2+(z−c)2=c2x^2+y^2+(z-c)^2=c^2x2+y2+(z−c)2=c2, the x2+y2x^2+y^2x2+y2 term simply becomes r2r^2r2, giving r2+(z−c)2=c2r^2+(z-c)^2=c^2r2+(z−c)2=c2. Each coordinate system provides a different lens through which to view the same object, and a wise physicist learns to choose the lens that makes the picture clearest.

The Sphere Encoded: A Matrix Perspective

So far, we have represented a sphere with an equation—a sentence in the language of algebra. But can we go further? Can we represent the entire sphere as a single, unified mathematical object? The answer is yes, and it leads us to the elegant world of linear algebra and matrices.

This leap requires a clever trick used in computer graphics and projective geometry: ​​homogeneous coordinates​​. Instead of representing a point in 3D as (x,y,z)(x,y,z)(x,y,z), we add a fourth coordinate, which is usually 1, giving us a vector x=(xyz1)T\mathbf{x} = \begin{pmatrix} x & y & z & 1 \end{pmatrix}^Tx=(x​y​z​1​)T. This might seem strange, but it allows us to express complex transformations like translations, rotations, and scaling all as simple matrix multiplications.

With this tool, the entire general equation of a sphere can be packed into a breathtakingly compact form:

xTQx=0\mathbf{x}^T Q \mathbf{x} = 0xTQx=0

Here, xT\mathbf{x}^TxT is the row vector (xyz1)\begin{pmatrix} x & y & z & 1 \end{pmatrix}(x​y​z​1​), x\mathbf{x}x is the corresponding column vector, and QQQ is a special 4×44 \times 44×4 symmetric matrix that is the sphere. For a sphere with center (h,k,l)(h,k,l)(h,k,l) and radius rrr, the equation (x−h)2+(y−k)2+(z−l)2−r2=0(x-h)^2 + (y-k)^2 + (z-l)^2 - r^2 = 0(x−h)2+(y−k)2+(z−l)2−r2=0 can be shown to correspond to the following matrix:

Q=(100−h010−k001−l−h−k−lh2+k2+l2−r2)Q = \begin{pmatrix} 1 & 0 & 0 & -h \\ 0 & 1 & 0 & -k \\ 0 & 0 & 1 & -l \\ -h & -k & -l & h^2+k^2+l^2-r^2 \end{pmatrix}Q=​100−h​010−k​001−l​−h−k−lh2+k2+l2−r2​​

All the information—center and radius—is neatly encoded in the elements of this matrix. This is more than a notational convenience. It represents a higher level of abstraction where geometric objects (like spheres, ellipsoids, and other "quadric surfaces") are treated as matrices. This opens a door to a powerful new way of thinking, where the tools of linear algebra can be used to analyze, classify, and transform geometric shapes. It is a beautiful example of the unity of mathematics, where ideas from different fields come together to create a deeper and more powerful understanding of the world.

Applications and Interdisciplinary Connections

We have spent some time getting to know the sphere in its most comfortable setting: as a simple algebraic equation, (x−a)2+(y−b)2+(z−c)2=R2(x-a)^2 + (y-b)^2 + (z-c)^2 = R^2(x−a)2+(y−b)2+(z−c)2=R2. We've learned to read this equation like a name tag, instantly telling us the sphere's center and its radius. But to truly appreciate the power of this description, we must venture out and see what happens when our sphere interacts with the world—when it meets lines, planes, and even other spheres. It is in these encounters that the static equation comes to life, becoming a dynamic tool for solving problems across science, engineering, and even the most abstract corners of mathematics.

Slicing and Probing: The Geometry of Intersections

Let's begin with the simplest of interactions: What happens when a straight line passes through a sphere? Our equation gives us the answer immediately. If the line happens to pass through the sphere's center, the path it travels inside is simply the diameter, a length of 2R2R2R. A hypothetical probe traveling along such a path, for instance, would cover a distance we can calculate just by looking at the sphere's equation.

But what if the line just grazes the sphere? This is the special case of tangency, a single point of contact. Imagine a ray of light just skimming the edge of a spherical lens. By substituting the parametric equation of the line into the sphere's equation, we arrive at a quadratic equation. The condition for tangency is that this quadratic has exactly one solution—a "double root." This algebraic condition, that the discriminant of the equation must be zero, allows us to solve for the precise geometric arrangement where a line just touches our sphere.

A far more revealing interaction occurs when we slice the sphere with a plane. Anyone who has cut an orange knows that the cut surface is a circle. The equation of the sphere allows us to prove this with beautiful certainty and, more importantly, to calculate the properties of that circle. This is not just a geometric curiosity; it's the principle behind technologies like 3D optical scanning. A scanner might illuminate a spherical object with a thin sheet of light, creating a glowing circle. To calibrate the system, the engineer needs to know the exact radius of this circle.

The calculation is surprisingly elegant. Imagine a right-angled triangle hidden inside the sphere. Its hypotenuse is the sphere's radius, RRR. One side is the perpendicular distance, ddd, from the sphere's center to the cutting plane. The other side is the radius, rrr, of the circle formed by the intersection. By the Pythagorean theorem, we have the simple and powerful relationship r2+d2=R2r^2 + d^2 = R^2r2+d2=R2. The sphere's equation gives us RRR, and the equations of the sphere's center and the plane allow us to calculate ddd. From there, the radius of the intersection circle is easily found.

The Dance of Spheres: Systems and Relationships

Things get even more interesting when we consider two spheres. What is the set of points that are, in a sense, "equidistant" from both? One way to define this is to find all points PPP from which the length of a tangent line drawn to the first sphere is equal to the length of a tangent drawn to the second. This sounds like it would involve a complicated equation full of square roots. But a wonderful piece of algebraic magic happens. When we write down the condition and expand the terms, all the quadratic parts—the x2x^2x2, y2y^2y2, and z2z^2z2—cancel out perfectly. What we are left with is not a curve or a complex surface, but the simple, linear equation of a plane. This special plane is known as the ​​radical plane​​.

This idea is the gateway to a whole new world of geometric construction. The intersection of two spheres is a circle (or a point, or nothing). The family of all spheres passing through this same circle is called a ​​coaxial system​​. We can describe this entire infinite family with a single, beautiful equation: S1+λS2=0S_1 + \lambda S_2 = 0S1​+λS2​=0, where S1=0S_1=0S1​=0 and S2=0S_2=0S2​=0 are the equations of our two original spheres and λ\lambdaλ is a parameter that we can vary. As we tune λ\lambdaλ, we glide through an entire continuum of spheres.

Within this family, there are fascinating special cases. If we choose λ=−1\lambda = -1λ=−1, the quadratic terms vanish, and we recover the radical plane. For other specific values of λ\lambdaλ, the radius of the sphere can shrink down to zero. These "point-spheres," known as the ​​limiting points​​ of the system, represent the geometric heart of the coaxial family. Furthermore, we can impose other geometric conditions. For example, we might ask: which sphere in this family intersects a third, external sphere at a perfect right angle? This condition of orthogonality gives us a simple linear equation for λ\lambdaλ, allowing us to pinpoint the one sphere in an infinite family that satisfies our criterion. This is a powerful demonstration of how algebra allows us to navigate and select from infinite families of geometric objects.

The Sphere in the Digital Age: Computation and Optimization

In the modern world, the sphere's equation is not just a tool for theorists but a fundamental building block in computation and engineering. In computer graphics and physics simulations, particles are often constrained to move on a surface. How does a computer, which thinks in discrete steps, calculate the forces on a particle sliding along a smooth sphere? It needs to know the local "slope," or gradient, of the surface. While calculus gives us an exact formula for this, a computer often approximates it using ​​finite difference methods​​. It "probes" the height zzz of the sphere at a point (x,y)(x, y)(x,y) and at nearby points like (x+h,y)(x+h, y)(x+h,y) to estimate the partial derivatives. This bridge between the continuous equation of the sphere and the discrete world of algorithms is essential for everything from video game physics to accurate simulations of particle dynamics.

The sphere also appears frequently as a constraint in optimization problems. Imagine you need to run an optical fiber from a point AAA to a point BBB, but it must be anchored to the surface of a large spherical container along the way. Where should you attach it to minimize the total length of the fiber? This is a constrained optimization problem: we want to minimize the path length, subject to the constraint that the attachment point P=(x,y,z)P=(x,y,z)P=(x,y,z) must satisfy the sphere's equation.

A beautiful and powerful technique for solving such problems is the ​​penalty method​​. Instead of enforcing the constraint rigidly, we modify our objective function—the length of the fiber—by adding a "penalty" term. This penalty is zero if the point PPP is on the sphere, but grows very large (typically as the square of the distance) the farther PPP is from the surface. The problem is now an unconstrained optimization problem. By gradually increasing the strength of the penalty, an algorithm can be guided to a solution that lies on the sphere's surface, effectively finding the optimal attachment point. This idea of turning hard constraints into soft penalties is a cornerstone of modern numerical optimization.

A Deeper Look: The Sphere in Abstract Mathematics

Finally, the equation of a sphere is a gateway to deeper and more abstract mathematical structures. In the field of ​​topology​​, mathematicians are concerned with properties of shapes that are preserved under continuous deformation—stretching and bending, but not tearing. A topologist might not care about a sphere's radius, but they care deeply about the fact that it is a single, connected piece and that it has no holes.

The sphere's equation provides a concrete playground for exploring these ideas. Consider the set of points on the unit sphere (x2+y2+z2=1x^2 + y^2 + z^2 = 1x2+y2+z2=1) that also satisfy the condition 4z2=14z^2 = 14z2=1. A little algebra shows that this constraint forces zzz to be either 1/21/21/2 or −1/2-1/2−1/2. Substituting these values back into the sphere equation, we find that this set of points is not one object, but two separate, disjoint circles—one in the plane z=1/2z=1/2z=1/2 and another in the plane z=−1/2z=-1/2z=−1/2.

From a topological point of view, this space is disconnected. It consists of two ​​connected components​​. You cannot travel from one circle to the other without leaving the space. This simple exercise is a first step into the rich world of subspace topology, where we study the topological properties of shapes defined by the intersection of other, simpler shapes. The humble equation of the sphere, it turns out, is not just a description of a shape, but a foundation upon which entire fields of modern mathematics are built.