Skip to main content
Home
plus.maths.org

Secondary menu

  • My list
  • About Plus
  • Sponsors
  • Subscribe
  • Contact Us
  • Log in
  • Main navigation

  • Home
  • Articles
  • Collections
  • Podcasts
  • Maths in a minute
  • Puzzles
  • Videos
  • Topics and tags
  • For

    • cat icon
      Curiosity
    • newspaper icon
      Media
    • graduation icon
      Education
    • briefcase icon
      Policy

    Popular topics and tags

    Shapes

    • Geometry
    • Vectors and matrices
    • Topology
    • Networks and graph theory
    • Fractals

    Numbers

    • Number theory
    • Arithmetic
    • Prime numbers
    • Fermat's last theorem
    • Cryptography

    Computing and information

    • Quantum computing
    • Complexity
    • Information theory
    • Artificial intelligence and machine learning
    • Algorithm

    Data and probability

    • Statistics
    • Probability and uncertainty
    • Randomness

    Abstract structures

    • Symmetry
    • Algebra and group theory
    • Vectors and matrices

    Physics

    • Fluid dynamics
    • Quantum physics
    • General relativity, gravity and black holes
    • Entropy and thermodynamics
    • String theory and quantum gravity

    Arts, humanities and sport

    • History and philosophy of mathematics
    • Art and Music
    • Language
    • Sport

    Logic, proof and strategy

    • Logic
    • Proof
    • Game theory

    Calculus and analysis

    • Differential equations
    • Calculus

    Towards applications

    • Mathematical modelling
    • Dynamical systems and Chaos

    Applications

    • Medicine and health
    • Epidemiology
    • Biology
    • Economics and finance
    • Engineering and architecture
    • Weather forecasting
    • Climate change

    Understanding of mathematics

    • Public understanding of mathematics
    • Education

    Get your maths quickly

    • Maths in a minute

    Main menu

  • Home
  • Articles
  • Collections
  • Podcasts
  • Maths in a minute
  • Puzzles
  • Videos
  • Topics and tags
  • Audiences

    • cat icon
      Curiosity
    • newspaper icon
      Media
    • graduation icon
      Education
    • briefcase icon
      Policy

    Secondary menu

  • My list
  • About Plus
  • Sponsors
  • Subscribe
  • Contact Us
  • Log in
  • 3-sphere

    The hypersphere in four dimensions

    by
    Marianne Freiberger
    6 May, 2025

    The image below is a description of a hypersphere, a shape which curves around in four-dimensional space in a way we can't directly visualise. So what is a hypersphere and what does the image mean?

    Projection of 3D hypersphere
     Image: Claudio Rocchini, CC BY-SA 3.0

    Circles

    To find out, let's start with circles. A circle consists of all the points in the plane that are a fixed distance $r$ from a given point, the circle's centre. The value of $r$ is the circle's radius.

    Circle
    A circle is made up of all the points that are the same distance (denoted as r in this diagram) away from the centre point.

    If we put a circle into a standard Cartesian coordinate system so that its centre lies at the point $(0,0)$, then we can describe it by the equation
    $$x^2+y^2=r^2.$$

    The coordiates $(x,y)$ of every point on the circle satisfy this equation and all points whose coordinates  $(x,y)$ satisfy this equation lie on the circle.

    The formula for a circle comes from drawing a right-angled triangle as shown in the diagram and then applying Pythagoras' theorem.

    Diagram illustrating the equation of a circle
    Applying Pythagoras' theorem to the triangle formed by the blue and red sides shows that a point on the circle has coordinates $x$ and $y$ satisfying $x^2+y^2=r^2$.

     

    We have defined the circle as living in the two-dimensional plane, but, like any curve,  it is itself a one-dimensional object. That's because you only need one number to pin-point the location of a point on the circle. You can see that from the equation. The value of $r$, which is the radius of the circle, is given. Then if you know the value of $x$, you can work out the value of $y$ to be

    $$y=\sqrt{r^2-x^2}.$$ Similarly, if you know the value of $y$ you can work out the value of $x$ using the analogous equation. Thus, only one piece of information is needed to pin-point the location of a point. That's what it means to be one-dimensional.
     

    Spheres

    Now let's move up a dimension and think about spheres. A sphere consists of all the points in three-dimensional space that are a fixed distance $r$ from a given point, the sphere's centre. The value of $r$ is the radius of the sphere.

    Sphere
    A sphere is made up of all the points that are the same distance (denoted as r in this diagram) away from the centre point.

    Placing a sphere into a standard three-dimensional Cartesian coordinate system so that its centre is at the point $(0,0,0)$, we can describe the sphere by the equation

    $$x^2+y^2+z^2=r^2.$$

    The formula comes from applying Pythagoras' theorem twice. Firstly, Pythagoras' theorem tells us that the point $(x,y,0)$ which lies vertically below a point $(x,y,z)$ on the sphere is at distance $\sqrt{x^2+y^2}$ from the point $(0,0,0).$ We can then form the right-angled triangle with corners $(0,0,0)$, $(x,y,0)$ and $(x,y,z)$ and apply Pythagoras' theorem again to find that

    $$(x^2+y^2)+z^2=r^2,$$ as required.

    Sphere
    Applying Pythagoras' theorem twice, first to the red triangle and then to the triangle with sides $\sqrt{x^2+y^2}$, $z$, and $r$, shows that the equation of a sphere is $x^2+y^2+z^2.$

    The sphere is a surface. Just as our circle above is a one-dimensional object defined in the two-dimensional plane, so the sphere is a two-dimensional object defined in three-dimensional space. You can pin-point the location of a point on the sphere knowing  any two of $x$, $y$ and $z.$

    Hyperspheres

    Now let's move up into four-dimensional space. Just as 

    • the two-dimensional  plane is made up of points $(x,y)$ where $x$ and $y$ are real numbers and
    • three-dimensional space is made up of points $(x,y,z)$ where $x$, $y$ and $z$ are real numbers, 

    four-dimensional space is made up of points $(x,y,z,w)$ where $x$, $y$,  $z$, and $w$ are real numbers. You can't visualise this space, but nothing stops you defining it. 

    In the two-dimensional plane, the distance $d$ between two points $(x_1,y_1)$ and $(x_2,y_2)$ is

    $$d=\sqrt{|x_1-x_2|^2+|y_1-y_2|^2}. $$

    Again this follows from Pythagoras' theorem, see the diagram below.

    Digram illustrating the distance formula
    Applying Pythagoras' theorem to the red triangle gives the distance formula.

    It is possible to show that in three-dimensional space, the distance d between two points $(x_1,y_1, z_1)$ and $(x_2,y_2, z_2)$ is given by the analogous formula

    $$d=\sqrt{|x_1-x_2|^2+|y_1-y_2|^2 + |z_1-z_2|^2}. $$

    We won't show this here, but it again comes from applying Pythagoras' theorem twice.

    In analogy, for our four-dimensional space, we will define the distance $d$ between two points $(x_1,y_1, z_1, w_1)$ and $(x_2,y_2, z_2, w_2)$ to be

    $$d=\sqrt{|x_1-x_2|^2+|y_1-y_2|^2 + |z_1-z_2|^2+ |w_1-w_2|^2}. $$

    Equipped with this metric our four-dimensional space is also known as Euclidean space. The same is true of the plane and of three-dimensional space as we explored it above. They are all examples of Euclidean spaces and the geometry we do in these spaces is called Euclidean geometry.  

    We can now define the three-dimensional hypersphere, also known as the 3-sphere, centred on the point $(0,0,0,0)$ of radius $r$ by the equation

    $$x^2+y^2+z^2+w^2=r^2.$$

    In analogy to the above, a 3-sphere is a three-dimensional object which we have defined as living in four-dimensional space. We can't visualise the 3-sphere. Although we are able to visualise three-dimensional space, after all that's the space we live in, we can't imagine it curving around in such a way as to form a 3-sphere. Loosely speaking, to imagine it curving around we'd have to imagine a surrounding space it is curving into, and that's four-dimensional space we can't see.

    Projections

    What we can do, however, is project the 3-sphere onto the three-dimensional space we're used to. To see how, let's use the 2-sphere (the ordinary sphere) for an analogy. One way of doing this involves imagining that you're balancing a stiff piece of paper on the "North pole" of the sphere so that it's perpendicular to its vertical axis.

    You can then draw straight lines from the "South pole" through any point $x$ on the Earth, and the projection of that point $x$ is then the point $y$ at which the straight line meets the paper. This is called the stereographic projection of the sphere onto the plane.

    Stereographic projection
    This diagram illustrates a stereographic projection.

    To get an idea of what this projection does, let's borrow the concepts of latitude and longitude from geography. Lines of equal latitude are called parallels and are horizontal circles. Lines of equal latitude are called meridians and are vertical circles passing through the North and South pole of the sphere. (See this article to find out more about how parallels and meridians are defined.)

    Latitudes and longitudes
    Parallels (left) and meridians (right).

     

    Under the stereographic projection, parallels project to concentric circles and lines of longitude to rays emanating front he point where the sphere touches the plane (the North pole).

    Stereographic projection of earth
    This image comes from the stereographic projection of the Earth. (It doesn't show the entire earth but only the portion North of a certain latitude). Parallels map to concentric circles and the meridians to rays emanating from the North pole. Image: Strebe, CC BY-SA 3.0

    The stereographic projection depicts the 2-sphere on the two-dimensional plane. We can now use the two-dimensional plane as a map of the 2-sphere: a path on the plane corresponds to a path on the 2-sphere and vice versa.

    In a similar way it is possible to use a stereographic projection to depict the 3-sphere in ordinary three-dimensional space we are used to. Again we can define parallels and meridians on the 3-sphere. But because there is more space in the four-dimensional space that hosts the 3-sphere, there is a third type of line we can define. This gives rise to hypermeridians. We won't go into the details here, but you can find out more on Wikipedia.

    The image below shows parallels, meridians and hypermeridians as they project into three-dimensnional space under the stereographic projection (of course this image is drawn on the plane — your computer monitor — but is is drawn with perspective so we can imagine what the lines would look like in three-dimensional space).

    Projection of 3-sphere
    Parallels (red), meridians (blue) and hypermeridians (green of the 3-sphere projected into 3D space using stereographic projection. Image: Claudio Rocchini, CC BY-SA 3.0

    In analogy to what happens in the dimension below, the stereographic projection depicts the 3-sphere in three-dimensional space. We can now use three-dimensional space as a map of the 3-sphere: a path in three-dimensional space corresponds to a path on the 3-sphere and vice versa.

    There are also other ways to describe and begin to visualise the 3-sphere using a projection. An example is the Hopf fibration which you can see below and read about here.

    Hopf fibration
    Depiction of the Hopf fibration. It involves a stereographic projection from the 3-sphere to ordinary 3D space and then compressing that space into a ball.

     

    Higher dimensions

    We can also define hyperspheres in higher dimensions by analogy. For $n$  a positive integer, $n$-dimensional space consists of points with $n$ coordinates $(x_1, x_2, x_3, …, x_n).$ A hypersphere centred on the point with all coordinates $0$ and radius $r$ is given by the formula

    $$x_1^2+x_2^2+x_3^2+...+x_n^2=r^2.$$

    We will leave it at that for now, but if you would like to find out what kind of things mathematicians do with hyperspheres, read

    • Exotic spheres, or why 4-dimensional space is a crazy place
    • Packing balls in higher dimensions
    • Telescope topology

    This article was produced as part of our collaboration with the Isaac Newton Institute for Mathematical Sciences (INI) – you can find all the content from our collaboration here. The INI is an international research centre and our neighbour here on the University of Cambridge's maths campus. It attracts leading mathematical scientists from all over the world, and is open to all. Visit www.newton.ac.uk to find out more.

    INI logo

     


     

    • Log in or register to post comments

    You might also like

    article
    stereographic projection of Earth

    Maths in three minutes: Map projections

    Getting a different picture of our planet.

    article

    Maths in a minute: Higher dimensions

    In normal life higher dimensions smack of science fiction, but in mathematics they are nothing out of the ordinary.

    news

    Packing balls in higher dimensions

    How to optimally fill a box with eight-dimensional oranges.

    Read more about...

    INI
    geometry
    hypersphere
    dimension
    pythagoras' theorem
    stereographic projection
    Euclidean geometry

    Our Podcast: Maths on the Move

    Our Maths on the Move podcast brings you the latest news from the world of maths, plus interviews and discussions with leading mathematicians and scientists about the maths that is changing our lives.

    Apple Podcasts
    Spotify
    Podbean

    Plus delivered to you

    Keep up to date with Plus by subscribing to our newsletter or following Plus on X or Bluesky.

    University of Cambridge logo

    Plus is part of the family of activities in the Millennium Mathematics Project.
    Copyright © 1997 - 2025. University of Cambridge. All rights reserved.

    Terms