An ordered pair locates a point in a plane. An ordered triple locates a point in three-dimensional space. The additional coordinate lets us distinguish positions that share the same floor location but have different heights, or positions that overlap when viewed from one direction.
A three-dimensional coordinate system specifies an origin, directions, units and a convention for orientation. Once those are fixed, coordinates turn a spatial description into numbers that can be plotted, compared and checked.
This article uses a right-handed Cartesian system with perpendicular axes. The distance formulas below use the same unit length on all three axes. A perspective drawing may show those axes at oblique angles, but the axes in the model remain perpendicular.
On this page (14 sections)
On narrow screens, wide diagrams and formulas can be scrolled. Each diagram also has a text explanation.
Start with an origin and three axes
The origin is the common intersection of the -, – and -axes:
Each axis is a number line with positive and negative directions. The three axes are mutually perpendicular. The -axis consists of points ; the -axis of points ; and the -axis of points .
The third coordinate is often used for height, but that is a modelling choice, not a requirement of the letter . Before interpreting a real situation, identify what each axis measures. For a room model, you might choose along one wall, along the other and upward, all measured in metres.
OpenStax’s introduction to three-dimensional coordinate systems provides the formal coordinate framework. Its opening material can be studied without calculus.
What right-handed means
Point the fingers of your right hand in the positive direction and curl them toward positive through the smaller right angle. Your thumb then points along positive . This fixes the orientation of the coordinate system.
Rotating a drawing of the whole system does not change its handedness. Reversing only one axis does. There is no universal rule that the positive -axis must point toward a particular corner of a page: different views can depict the same right-handed system.
Read an ordered triple in the correct order
The point has -coordinate 2, -coordinate 3 and -coordinate 4. Starting at the origin, one plotting route is to move 2 units in the positive direction, then 3 units parallel to positive , then 4 units parallel to positive .
Locate a point one coordinate at a time
The solid coloured route is a plotting aid. Dashed segments are construction guides, not physical edges.
Diagram explained
Starting at O, move two units along positive x, then three units parallel to positive y, then four units upward parallel to positive z. The endpoint is P = (2,3,4). The axes are perpendicular in space and shown by an isometric projection. The dashed guides connect coordinates that share two values.
The route’s order can change without changing the endpoint, but the order of entries in the coordinate triple cannot. and are different points in the same coordinate system.
For , the second movement is 3 units in the negative direction. A negative coordinate records direction from a reference plane; it is not a negative distance. The distance from to the -plane is 3 units.
An axis-aligned route is a construction aid, not necessarily the shortest route. For , that route has length units. The direct distance from the origin is units, about 5.39. The difference matters when a question distinguishes travel along corridors from straight-line separation.
The three coordinate planes
Each pair of axes determines a plane. In that plane, the coordinate associated with the missing axis is zero:
These are infinite planes, not just the bounded shaded patches used to draw them. The -plane contains every point , including points with negative or . It is not limited to the region between the positive axes.
The missing axis tells you which coordinate is zero
Each coloured patch represents part of an infinite coordinate plane, not its full extent.
Diagram explained
The left upright patch lies in the xz-plane and has y = 0. The right upright patch lies in the yz-plane and has x = 0. The lower patch lies in the xy-plane and has z = 0. Pairwise intersections are the coordinate axes. All three planes intersect at O. Negative-coordinate regions continue beyond these illustrative patches.
The point lies in the -plane. The point lies in both the – and -planes, so it lies on their intersection, the -axis. The origin lies on all three axes and all three coordinate planes.
A useful classification is: one zero coordinate places a point on at least one coordinate plane; two zero coordinates place it on an axis; three zero coordinates identify the origin. Do not treat these categories as exclusive. An axis is part of two coordinate planes.
Eight octants, with planes as boundaries
The coordinate planes divide the remaining space into eight octants. Each coordinate is positive or negative within an octant, so there are possible sign combinations. The positive octant has signs .
For example, lies in the region with signs . Describing an octant by its sign pattern is unambiguous and avoids relying on a numbering convention beyond the positive first octant.
A point with a zero coordinate lies on a coordinate plane, not in the interior of an octant. The zero is not a missing value. It supplies exact information about the point’s location.
Project a point onto a coordinate plane
An orthogonal projection onto a plane follows a perpendicular path to that plane. Projecting onto a coordinate plane sets its perpendicular coordinate to zero and preserves the other two.
For :
A projection changes one coordinate
The three dashed paths are perpendicular to their target planes in the spatial model.
Diagram explained
From P = (2,3,4), projecting onto xy gives Pxy = (2,3,0); projecting onto xz gives Pxz = (2,0,4); projecting onto yz gives Pyz = (0,3,4). Only the coordinate perpendicular to the target plane is set to zero. The apparent angles between guides are distorted by the flat projection.
These are three different points. Projecting onto an axis instead sets two coordinates to zero. The projection of onto the -axis is , not .
A reflection is different from a projection. Reflecting in the -plane gives . The coordinate changes sign rather than disappearing. The reflected point remains 4 units from the plane, on the opposite side; its projection is on the plane.
Distances to planes and axes
In this perpendicular coordinate system, the distance from to the -plane is . The distances to the – and -planes are and respectively. Absolute values convert signed coordinates into non-negative lengths.
For , the three plane distances are 4, 3 and 2 units. None is negative.
Distance to an axis is different. To reach the -axis, both the and components must be removed. The perpendicular distance is
For , this is units. Using would instead calculate distance to the -plane. Naming the target before selecting a formula is essential.
Distance between two points
Let and . Their coordinate differences are , and . Apply the Pythagorean theorem to the horizontal displacement, then apply it again with the vertical displacement:
For and , the differences are 3, 4 and 12. The displacement parallel to the -plane has length . The complete distance is
Apply Pythagoras to horizontal and vertical displacement
The final right triangle uses horizontal distance 5, vertical change 12 and direct distance 13.
Diagram explained
For A = (1,2,3) and B = (4,6,15), the horizontal coordinate differences are 3 and 4, giving horizontal distance 5. The vertical difference is 12. The displayed plane section is therefore a 5–12–13 right triangle, drawn to one length scale. Its hypotenuse is the direct distance in three-dimensional space.
The coordinate-axis route between those points has length units. The straight segment has length 13 units. Both are valid lengths, but they answer different questions.
If coordinates use different physical units, convert them before applying this Euclidean formula. Squaring an unconverted mixture of centimetres and metres does not produce a meaningful common distance. Likewise, a display can use unequal visual scales along its axes; read the coordinate values rather than measuring its pixels.
Midpoints and displacements
The midpoint of a segment averages corresponding coordinates:
For the points and above,
Its distance from each endpoint is 6.5 units, half the full segment length. Negative coordinates are averaged in the same way; do not average their absolute values.
The displacement from to is the vector . A point describes a location; a vector describes a change of location. Their three entries can look similar, but their roles differ.
For instance, moving from by displacement gives . Translation changes the coordinates of every moved point by the same amounts while preserving distances between those points.
Equations describe sets, not just isolated points
In three-dimensional space, describes a plane parallel to the -plane. Both and may vary freely. It does not describe only the point .
The simultaneous conditions and describe a line parallel to the -axis. Adding singles out . In each case, identify which coordinates are fixed and which remain free.
A more general plane can be written
where , and are not all zero. The equation , for example, contains because . It does not contain . Substitution tests membership without relying on the drawing.
For a plane parallel to a coordinate plane, the equation is simpler. The plane through parallel to the -plane is . Every point on it has the same -coordinate, but not the same and coordinates.
A circle equation can become a cylinder in space
In a two-dimensional coordinate plane, describes a circle of radius 3 centred at the origin. In three-dimensional space, the same equation imposes no condition on . It therefore describes the infinite cylindrical surface whose horizontal cross-sections are those circles.
To specify just the circle in the -plane, use both conditions:
A sphere requires all three squared coordinate differences:
For centre and radius 5, the equation is . The point lies on it because the squared differences total . The equation describes the surface. Replacing equality with describes the filled ball, including its boundary.
These examples show why “an equation with and ” is not enough to identify the dimension of its graph. The ambient space and every stated restriction matter.
A final check for a 3D diagram
Start by identifying the origin and positive axis directions. Read a coordinate triple in the stated order. Mark which coordinates are zero, then identify the relevant plane, axis or octant. Use dashed guides to connect a point to its projections without mistaking those guides for edges of a physical object.
Perspective does not preserve every apparent length or angle. The drawn axes may not look perpendicular, and a spatial line can appear to cross another without meeting it. A label or coordinate condition establishes the relationship; the picture helps you follow it.
Practice questions
- For , name its coordinate plane, project it onto the -plane, and find its distance from the -plane.
- Find the distance and midpoint between and .
- In three-dimensional space, what set is described by ? What set is described by and together? Explain why neither statement identifies a unique point.
Check your answers
- Since , lies in the -plane. Its projection onto the -plane is . Its distance from the -plane is units.
- The differences are 2, 3 and 6, so the distance is units. The midpoint is .
- describes a plane parallel to the -plane, with and free. The conditions and describe the line with free. A free coordinate still allows infinitely many points.
Related topics
Review Points, Lines and Planes for spatial relationships and Surface Areas and Volumes for measuring the solids that coordinate diagrams represent. Exponents explains the squared quantities in distance and sphere equations.
Sources and further reading
- OpenStax, Calculus Volume 3, Vectors in three dimensions, for axes, coordinate planes, distance, vectors and sphere equations.
- OpenStax, Calculus Volume 3, Equations of lines and planes in space, for a later extension using vectors and normals.
- Eric W. Weisstein, Cartesian coordinates and Plane, MathWorld.
