Introduction to Three Dimensional Geometry
Every point you have ever plotted lived on a flat sheet of paper, pinned down by two numbers. But the room you are sitting in is not flat. To tell someone exactly where the tip of a ceiling fan hangs, two numbers are not enough — you need how far it is from one wall, how far from the adjacent wall, and how high it sits above the floor. That third number is the whole idea of this chapter: space has three independent directions, and a point in space needs an ordered triple to be pinned down completely, just as a point in a plane needed the ordered pair . This chapter builds the coordinate scaffolding for three-dimensional space exactly the way Class 11 built it for the plane, then stops — deliberately — at the doorway of lines and planes in space, which arrive later in Class 12. Here the questions are: how do we set up three mutually perpendicular axes and three coordinate planes; how do these planes slice space into eight octants, each with its own signature of plus and minus signs; how do we read off the coordinates of a point, and how do we recover the point from its coordinates; and, most usefully, how far apart are two points in space? That last question is answered by the distance formula, a natural three-variable extension of the familiar two-dimensional Pythagorean distance formula, and it alone is powerful enough to prove points collinear, identify right triangles and isosceles triangles, locate section points and centroids, and derive the equation of a sphere. Nothing here is conceptually new — every idea is the two-dimensional idea you already trust, carried one dimension further with an extra perpendicular. But that third perpendicular is precisely what turns coordinate geometry into a language for the real, three-dimensional world: satellites, molecules, buildings, and the graphics engine of every 3D game all speak this language first.
- Three mutually perpendicular lines through a point — the x-axis, y-axis and z-axis — form the coordinate axes; the point is the origin.
- The three axes taken in pairs determine the three coordinate planes: the XY-plane, the YZ-plane and the ZX-plane.
- The three coordinate planes divide space into eight octants, labelled I to VIII, distinguished by the signs of , , .
- Every point in space corresponds to a unique ordered triple , and every ordered triple corresponds to a unique point — a one-to-one correspondence.
- A point on the x-axis looks like ; a point on the YZ-plane looks like , and similarly for the other axis and plane.
- The distance formula between and is , derived from two applications of Pythagoras' theorem inside a rectangular box.
- The distance of any point from the origin is .
- Three points are collinear exactly when the sum of two of the three pairwise distances equals the third, for instance .
- The section formula in space gives the coordinates of a point dividing a segment in a given ratio, and setting the ratio to gives the midpoint formula; taking three vertices gives the centroid formula.
- Key idea: a point in space is fixed by an ordered triple (x, y, z) of perpendicular distances from three mutually perpendicular coordinate planes, and the distance between two such points extends Pythagoras' theorem one dimension further to PQ = root of (x2-x1)^2 + (y2-y1)^2 + (z2-z1)^2.
Three dimensional geometry locates every point by an ordered triple of signed perpendicular distances from three mutually perpendicular coordinate planes, and every metric question — distance, collinearity, section points, centroids, spheres — reduces to one careful three-variable extension of the Pythagorean distance formula.
What this chapter covers
The chapter has two working parts, mirroring the two-dimensional coordinate geometry you already know. First comes the scaffolding: setting up the x, y and z-axes as three mutually perpendicular lines through an origin ; naming the three coordinate planes (XY, YZ, ZX) that these axes generate in pairs; seeing how these three planes cut all of space into eight octants; and learning to read the coordinates of a point off the picture, and to place a point given its coordinates. A short table of sign patterns tells you which octant a point sits in just by looking at the signs of its three coordinates. Second comes the one working tool the chapter hands you: the distance formula in three dimensions, proved by two nested applications of the ordinary two-dimensional Pythagorean idea inside a rectangular box. Everything the chapter asks you to do — show three points are collinear, verify a triangle is right-angled or isosceles, show four points form a parallelogram, find an unknown vertex from a centroid condition, or derive the equation of a set of points satisfying a distance condition (which turns out to be a sphere) — is an application of this one formula. We will also state, prove, and use the section formula (which NCERT develops fully in the very next chapter but which is the natural next step from the distance formula, and which JEE and NEET questions on this topic regularly test), since finding a fourth vertex of a parallelogram or the midpoint of a diagonal is exactly a section-formula computation done directly with coordinates.
The core ideas
Coordinate axes and coordinate planes
In the plane, two mutually perpendicular lines through a point were enough to locate any point using two numbers. In space, we need one more independent direction. Take three planes that pass through a common point and are mutually perpendicular to one another. Any two of these planes intersect in a line, and the three lines of intersection are called the x-axis, y-axis and z-axis — together the coordinate axes, and the origin. Positive directions are chosen by convention: distances measured upward along are positive (downward along negative), to the right along are positive (left along negative), and in front along are positive (behind along negative). The three planes determined by pairs of axes — the plane containing the x and y-axes, the plane containing the y and z-axes, and the plane containing the z and x-axes — are the XY-plane, YZ-plane and ZX-plane respectively, collectively the coordinate planes. These three planes slice the whole of space into eight regions called octants, exactly as the two coordinate axes split the plane into four quadrants. The eight octants are conventionally labelled I through VIII, and each is named by which side of each axis it lies on, for instance XOYZ for the octant where all three coordinates are positive.
Coordinates of a point in space and the octant rule
Given a point in space, drop a perpendicular onto the XY-plane, with the foot of this perpendicular. From , drop a further perpendicular onto the x-axis, meeting it at . Writing , , , the three numbers are called the coordinates of . Conversely, given any triple , this construction runs backward: fix on the x-axis, then in the XY-plane, then above (or below) . This is why there is a one-to-one correspondence between points of space and ordered triples of real numbers — precisely the extension, one dimension up, of the correspondence between points of the plane and ordered pairs. An equivalent and often more useful construction draws through three planes parallel to the three coordinate planes, meeting the axes at points , , with , , . Then , , are exactly the perpendicular distances of from the YZ-plane, ZX-plane and XY-plane respectively. In particular, the origin has coordinates ; a point on the x-axis has the form , on the y-axis , and on the z-axis ; a point on the XY-plane has the form , on the YZ-plane , and on the ZX-plane .
where: each column is a possible sign pattern and the row above names the octant carrying that pattern. Octant I, where all three coordinates are positive, is the direct three-dimensional analogue of the first quadrant of the plane. A point such as has signs , which the table shows is octant II; the point has signs , which is octant VI (NCERT Example 2).
The distance formula and its immediate uses
The distance formula is the single computational engine of the chapter. For two points and ,
where: the three squared terms are the differences of corresponding coordinates, exactly mirroring the two-dimensional formula with one extra term for the third dimension. Setting gives the distance of a point from the origin as , a formula used constantly for distance-from-origin questions. Three standard tests built directly on formula (1) recur throughout the exercises and in competitive problems. Points , , are collinear when the largest of the three pairwise distances equals the sum of the other two, for instance . A triangle with vertices , , is isosceles when two of , , are equal, and right-angled when the Pythagorean relation holds among the three squared side lengths, for instance for the right angle at . A quadrilateral is a parallelogram when its opposite sides are pairwise equal, and ; it is further a rectangle only if, in addition, its diagonals and are equal.
The section formula and the centroid formula
Although NCERT's Chapter 11 exercises reach section-point and centroid problems (see Example 9 and the Miscellaneous Exercise) using direct distance-formula algebra, the clean tool for such problems — proved fully as the section formula in the next chapter, but natural to state here — is the following. If divides the segment joining and internally in the ratio , then
where: is the ratio in which divides , measured from toward . Taking recovers the midpoint formula, . Applying the midpoint idea to a triangle with vertices , , — the centroid divides each median in the ratio from the vertex — gives the centroid formula:
where: is the centroid, the point where the three medians of the triangle meet, and each coordinate of is simply the arithmetic mean of the corresponding coordinates of the three vertices — a fact used directly in NCERT Example 9 and the Miscellaneous Exercise.
Derivations
The goal of this derivation is to prove formula (1), that the distance between two points and in three-dimensional space equals , by building a rectangular box (a parallelepiped) with as its diagonal and applying Pythagoras' theorem twice, once inside a base rectangle and once through the vertical face containing the diagonal. This is exactly the argument NCERT gives in Section 11.4, and it is worth doing carefully because the same box-and-two-Pythagoras pattern reappears whenever three-dimensional distance is needed, including later in vector and coordinate work with lines and planes.
Step 1. Through the points and , draw six planes parallel to the three coordinate planes: three through and three through . Because and are opposite corners, these six planes enclose a rectangular parallelepiped (a box with all right angles) whose one main diagonal is exactly the segment . Label the other six vertices of this box so that is the vertex adjacent to both and along two box edges, chosen so that triangle has its right angle at , and is a further vertex making triangle right-angled at .
Step 2. Since the box has all edges parallel to the coordinate axes, the edge lengths are exactly the coordinate differences. The edge from to , running parallel to the y-axis, has length (up to sign, which squaring will remove). The edge from to , running parallel to the x-axis, has length . The edge from to , running parallel to the z-axis, has length .
Step 3. Apply Pythagoras' theorem to the right triangle , right-angled at : this triangle lies in a plane containing the diagonal of one rectangular face together with the edge , so .
Step 4. Apply Pythagoras' theorem a second time, now to the right triangle , right-angled at , which lies in the rectangular face itself: .
Step 5. Substitute the result of Step 4 into the result of Step 3 to eliminate the auxiliary length : .
Step 6. Replace , , by the coordinate differences found in Step 2: . Since every term is squared, the order of subtraction inside each bracket does not matter, and taking the positive square root (distance is never negative) gives , which is formula (1). Setting to the origin, so , immediately gives the distance-from-origin formula as a special case.
Go deeper · Derivation B · 1 minThe Section Formula by the Similar-Triangles Method
The goal here is to derive the internal section formula (2), which locates the point dividing the segment from to in the ratio , using the same drop-a-perpendicular-onto-the-axis idea from Section 11.3, applied coordinate by coordinate. The method treats the three coordinates completely independently, which is the key simplification: a genuinely three-dimensional problem collapses into three copies of a one-dimensional problem.
Step 1. Drop perpendiculars from , , onto the x-axis, landing at feet , , . Because , , are all parallel to each other (all perpendicular to the x-axis, hence parallel), the plane figure formed by , , and their feet contains two pairs of similar triangles, cut by the transversal line and its parallels.
Step 2. Since divides in the ratio , meaning , the similar triangles from Step 1 give the same ratio for the projected segments on the x-axis: . Writing this out with coordinates, .
Step 3. Cross-multiply the ratio from Step 2: , which expands to . Collect the terms on one side: , so .
Step 4. Repeat Steps 1 through 3 verbatim with perpendiculars dropped onto the y-axis instead of the x-axis: the identical similar-triangle argument, using the same ratio along the same segment , gives .
Step 5. Repeat once more with perpendiculars dropped onto the z-axis to get . Since the three coordinate computations were entirely independent of one another (each used only its own axis), combining Steps 3, 4 and 5 gives the full section formula , which is formula (2). Setting collapses this to the midpoint formula, and summing this formula cyclically over the three medians of a triangle (each median divided by its centroid in the ratio ) produces the centroid formula (3).
Worked examples
Board level - Distance and collinearity (NCERT Example 4 extended)
Show that the points , and are collinear, and find the ratio in which divides .
Step 1. Compute each pairwise distance using formula (1). .
Step 2. .
Step 3. .
Step 4. Check the collinearity condition: . Since this holds, , , are collinear, with lying between and .
Step 5. Since , the point divides internally in the ratio .
Board level - Right triangle and parallelogram test
Show that , , are the vertices of a right-angled triangle, and separately verify that , , , form a parallelogram but not a rectangle (NCERT Example 7).
Step 1. For the first triangle, compute the squared side lengths: ; ; .
Step 2. Since , triangle is right-angled at , the vertex common to the two equal legs and . It is also isosceles since .
Step 3. For the second set of points, compute the side lengths: ; ; ; .
Step 4. Since and , opposite sides are equal, so is a parallelogram. To test whether it is a rectangle, compare the diagonals: , while .
Step 5. Since , the diagonals are unequal, so is a parallelogram but not a rectangle — matching NCERT's own conclusion.
Competitive level (JEE / NEET) - Locus condition and centroid vertex
(a) and are fixed points; find the equation of the set of points such that (NCERT Example 6), and identify the surface it represents. (b) The centroid of triangle is , with and ; find (NCERT Example 9 setup).
Step 1. For part (a), write and directly from the distance formula, without taking a square root, since the condition is already stated in squared distances.
Step 2. Add: . Expand each pair: ; ; .
Step 3. Sum and set equal to : , which rearranges to . Dividing through by and completing the square on each variable shows this is a sphere (the three-dimensional analogue of the circle traced by a locus condition in the plane), since the coefficients of , , are equal and there are no cross terms.
Step 4. For part (b), use the centroid formula (3) with , , and unknown : , , .
Step 5. Solve each equation independently: from the first, so ; from the second, so ; from the third, so . Hence , matching NCERT's stated answer. Timing note: Part (a) is a two-mark identify-the-locus item — expand only as far as needed to see the equal coefficients and no cross terms (about 90 seconds); do not fully complete the square unless the question explicitly asks for the centre and radius. Part (b) is a pure formula plug-in and should take under a minute — the three equations are independent, so solve them in parallel rather than one after another.
Common traps
A very common slip is confusing which coordinate plane a distance is measured from. The x-coordinate of is the distance from the YZ-plane, not from the x-axis or from the XY-plane — students who reflexively think "x goes with the x-axis" mislabel which plane each coordinate is perpendicular to. Read Section 11.3 again if this feels shaky: , , are perpendicular distances from the YZ, ZX and XY-planes respectively, in that order. A second trap is treating collinearity of three points as needing a slope check the way it does in the plane. In three dimensions there is no single "slope" of a line through two points; the correct test is the distance condition (checked for whichever pairing gives the largest distance on the right), not any two-dimensional shortcut. A third trap appears in octant-naming questions: students memorise the four quadrant signs from Class 11 coordinate geometry in the plane and try to force a similar four-case pattern onto eight octants, or they forget that the octant table has changing sign only after four octants have been listed (I–IV positive , V–VIII negative ), not after every second one. Rebuild the table from the definition — three independent binary sign choices give octants — rather than memorising the order by rote. A fourth trap in distance-formula algebra is a sign error when squaring a negative coordinate difference, for instance writing as instead of ; because every term in formula (1) is squared, the final answer never depends on which point is called "first," but an intermediate sign slip still corrupts the sum before the squares are taken. Always square each bracket in full before adding. Finally, students sometimes assume that equal opposite sides automatically make a quadrilateral a rectangle. As NCERT Example 7 makes explicit, and prove only a parallelogram; a rectangle additionally needs (equal diagonals), and a rhombus additionally needs all four sides equal — these are separate checks, not consequences of one another.
You should be able to…
- Set up three mutually perpendicular coordinate axes through an origin and name the three coordinate planes they generate.
- State how many octants the three coordinate planes create and reproduce the sign table for all eight from the definition, not from memory.
- Read the coordinates of a point off a labelled space diagram, and plot a point given its coordinates.
- State correctly which coordinate plane each of , , measures the perpendicular distance from.
- Identify the octant a given point lies in purely from the signs of its coordinates.
- Recognise and write down the special forms for points on an axis, such as , and on a coordinate plane, such as .
- Apply the distance formula to compute the distance between two points in space and the distance of a point from the origin.
- Use the distance formula to test collinearity of three points, and to classify a triangle as isosceles, right-angled, or neither.
- Use the distance formula, or the section and centroid formulas, to test whether four points form a parallelogram and, further, whether that parallelogram is a rectangle.
- Set up and simplify the equation of a locus defined by a distance condition, recognising when it describes a sphere.
Ask the tutor: Want to work through plotting a few points in different octants and practising the distance-formula collinearity test until it feels automatic?
Why do we need three coordinates instead of just measuring one straight-line distance from the origin?
A single distance from the origin only tells you how far a point is, not which direction it lies in — infinitely many points sit on a sphere of that one radius. Just as one number cannot fix a point in a plane (you need two, for two independent directions), three independent perpendicular directions are needed in space, giving three numbers. Each of the three numbers answers a different question — how far in front, how far to the right, how far up — and only the full triple pins down one exact point among all the points in space. This is exactly why the chapter builds three mutually perpendicular axes rather than trying to make do with one.
Is the order of x, y, z coordinates important, or can they be written in any order?
Order matters completely. The triple is an ordered triple by definition, exactly as was ordered in plane coordinate geometry. The point and the point are generally different points in space, sitting at different perpendicular distances from the YZ-plane and the ZX-plane respectively. Always read coordinates in the fixed order x-coordinate, then y-coordinate, then z-coordinate, matching the fixed order in which the axes were originally set up.
How is an octant in three dimensions related to a quadrant in two dimensions?
A quadrant in the plane is one of four regions cut out by two perpendicular axes, distinguished by the two independent sign choices of and , giving regions. An octant in space is exactly the same idea one dimension up: three mutually perpendicular coordinate planes give three independent sign choices, for , and , giving regions. Octant I, where all three coordinates are positive, plays the same role that the first quadrant played in plane geometry, and the same sign-reading habit you built for quadrants extends directly, just with one more sign to track.
Does the distance formula still work if some coordinates are negative?
Yes, and this is exactly why the formula squares every coordinate difference rather than leaving it as a plain difference. Whether a coordinate is positive or negative, the square of a difference like is always non-negative, so the formula automatically handles every combination of positive and negative coordinates correctly without any special casing. The only place negative coordinates need attention is in intermediate arithmetic — carefully expand each bracket, such as , rather than dropping a sign midway.
Why does this chapter stop at the distance formula and not do lines and planes in three dimensions?
NCERT deliberately keeps this chapter to the foundational coordinate scaffolding — axes, planes, octants, coordinates of a point, and distance — because lines and planes in three dimensions are developed properly in Class 12 using vectors, which give a far cleaner language for direction, angle and intersection than pure coordinate algebra alone. Trying to do three-dimensional lines and planes without vectors first would mean redoing most of that work again once vectors are introduced, so this chapter's job is only to make you completely fluent with the coordinate system itself, the platform on which the vector treatment is later built.