Coordinate System in Space
In two dimensions, every point on a flat plane can be located using two numbers — an x-coordinate and a y-coordinate. Extending this idea into three dimensions requires a third axis, giving every point in space a unique address described by three numbers (x, y, z). This three-dimensional coordinate system, also called the Cartesian space or 3D Euclidean space, is the mathematical foundation for geometry, physics, engineering, computer graphics, and navigation. The three axes — labeled x, y, and z — are mutually perpendicular, meaning each pair of axes meets at a 90° angle. They all intersect at a single point called the origin, denoted O = (0, 0, 0). The axes divide all of space into eight regions called octants, analogous to the four quadrants of the 2D coordinate plane. Any point P in space is described by an ordered triple (x, y, z), where each coordinate measures the signed distance from the origin along the corresponding axis. Understanding the 3D coordinate system is essential for studying vectors, surfaces, and solids. It allows us to calculate distances between points, find midpoints of line segments in space, describe planes and lines algebraically, and analyze three-dimensional figures with algebraic precision. Mastering this system opens the door to advanced topics such as calculus in several variables, linear algebra, and computer-aided design.
- The Three Axes
- The Three Coordinate Planes
- Locating a Point P = (x, y, z)
- Distance Between Two Points
- Midpoint of a Segment in Space
- Equations of Planes Parallel to Coordinate Planes
The Three Axes
Start with the familiar x-axis (horizontal) and y-axis (vertical) from 2D. Now add a z-axis that points directly toward you (or away from you) perpendicular to the xy-plane. The positive z-axis conventionally points upward or outward, and the axes obey the right-hand rule: if you curl the fingers of your right hand from the positive x-axis toward the positive y-axis, your thumb points in the direction of the positive z-axis.
The Three Coordinate Planes
Any two axes define a coordinate plane. The xy-plane contains the x- and y-axes (z = 0 everywhere on it). The xz-plane contains the x- and z-axes (y = 0). The yz-plane contains the y- and z-axes (x = 0). These three planes divide all of space into eight octants. The first octant is the region where x > 0, y > 0, and z > 0.
Locating a Point P = (x, y, z)
To plot the point P = (3, 4, 5): start at the origin O. Move 3 units along the positive x-axis, then 4 units parallel to the positive y-axis, then 5 units parallel to the positive z-axis. The result is a unique point in space. Negative coordinates mean you move in the negative direction along that axis. For example, Q = (−2, 0, 3) lies in the xz-plane (y = 0), 2 units in the negative x-direction and 3 units up the z-axis.
Distance Between Two Points
The distance formula in 3D extends the 2D Pythagorean theorem to three dimensions. For points A = (x₁, y₁, z₁) and B = (x₂, y₂, z₂), the distance is d = √[(x₂ − x₁)² + (y₂ − y₁)² + (z₂ − z₁)²]. This follows from applying the Pythagorean theorem twice: first in the horizontal plane to get the horizontal distance, then using that result as one leg with the vertical difference as the other leg.
Midpoint of a Segment in Space
The midpoint M of the segment joining A = (x₁, y₁, z₁) and B = (x₂, y₂, z₂) is found by averaging each coordinate separately: M = ((x₁+x₂)/2, (y₁+y₂)/2, (z₁+z₂)/2). This is a direct generalization of the 2D midpoint formula and works because averaging coordinates always gives the point exactly halfway between two points along each axis direction.
Equations of Planes Parallel to Coordinate Planes
A plane parallel to the xy-plane at height k has the equation z = k. Every point on that plane has z-coordinate equal to k, with x and y free to take any values. Similarly, x = c describes a plane parallel to the yz-plane, and y = c describes a plane parallel to the xz-plane. These simple equations are the building blocks for describing more general planes using the standard form ax + by + cz = d.
The Key Equation
- d — Distance (units (same as coordinate units)): The straight-line (Euclidean) distance between the two points.
- x_1, x_2 — x-coordinates of the two points (units): The horizontal positions of points A and B along the x-axis.
- y_1, y_2 — y-coordinates of the two points (units): The depth positions of points A and B along the y-axis.
- z_1, z_2 — z-coordinates of the two points (units): The vertical positions of points A and B along the z-axis.
Worked Example
Problem. Let A = (1, −2, 4) and B = (5, 2, −2). (a) Find the distance AB. (b) Find the midpoint M of segment AB. (c) State which coordinate plane B lies in if one coordinate were zero — which coordinate would need to be zero for B to lie in the xz-plane?
Answer. Distance AB = 2√17 ≈ 8.25 units; Midpoint M = (3, 0, 1); B lies in the xz-plane only if its y-coordinate is 0.
Origins · 1 minRené Descartes and how this was discovered
René Descartes invented the Cartesian coordinate system, which he introduced in his 1637 work 'La Géométrie' (an appendix to his philosophical masterpiece Discourse on the Method). His breakthrough was linking algebra and geometry — showing that geometric curves could be described by algebraic equations and vice versa. Though he originally worked in 2D, his framework was naturally extended to three dimensions by later mathematicians, forming the basis of analytic geometry that students use today. Legend has it that Descartes conceived the coordinate idea while lying in bed watching a fly crawl across a tiled ceiling — he realized he could describe the fly's position using two numbers giving its distances from two adjacent walls. Whether or not the story is true, it captures the elegance of his insight perfectly.
Related Concepts
- Vectors in 3D Space — Vectors are expressed using 3D coordinates as ordered triples and rely directly on the coordinate system to define direction, magnitude, and operations like dot and cross products.
- Distance and Midpoint Formulas in 3D — These formulas are the most immediate applications of the 3D coordinate system, extending familiar 2D ideas using the three-dimensional distance formula derived from the Pythagorean theorem.
- Equations of Planes in 3D — A plane in 3D space is described algebraically using the coordinates x, y, z in a linear equation ax + by + cz = d, building directly on the coordinate framework.
- The 2D Coordinate System — The 3D coordinate system is a direct extension of the 2D Cartesian plane; understanding axes, quadrants, and ordered pairs in 2D is essential prerequisite knowledge.