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 (x,y,z)(x, y, z) to be pinned down completely, just as a point in a plane needed the ordered pair (x,y)(x, y). 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.

Key takeaways
  • Three mutually perpendicular lines through a point OO — the x-axis, y-axis and z-axis — form the coordinate axes; the point OO 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 xx, yy, zz.
  • Every point in space corresponds to a unique ordered triple (x,y,z)(x, y, z), and every ordered triple corresponds to a unique point — a one-to-one correspondence.
  • A point on the x-axis looks like (x,0,0)(x, 0, 0); a point on the YZ-plane looks like (0,y,z)(0, y, z), and similarly for the other axis and plane.
  • The distance formula between P(x1,y1,z1)P(x_1, y_1, z_1) and Q(x2,y2,z2)Q(x_2, y_2, z_2) is PQ=(x2−x1)2+(y2−y1)2+(z2−z1)2PQ = \sqrt{(x_2-x_1)^2 + (y_2-y_1)^2 + (z_2-z_1)^2}, derived from two applications of Pythagoras' theorem inside a rectangular box.
  • The distance of any point (x,y,z)(x, y, z) from the origin is x2+y2+z2\sqrt{x^2 + y^2 + z^2}.
  • Three points P,Q,RP, Q, R are collinear exactly when the sum of two of the three pairwise distances equals the third, for instance PQ+QR=PRPQ + QR = PR.
  • The section formula in space gives the coordinates of a point dividing a segment in a given ratio, and setting the ratio to 1:11:1 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.
The core insight

Three dimensional geometry locates every point by an ordered triple (x,y,z)(x, y, z) 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 OO; 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 (x,y,z)(x, y, z) 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 OO 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 OO 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 OO the origin. Positive directions are chosen by convention: distances measured upward along OZOZ are positive (downward along OZ′OZ' negative), to the right along OYOY are positive (left along OY′OY' negative), and in front along OXOX are positive (behind along OX′OX' 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.

Figure
Three mutually perpendicular coordinate axes x y and z meeting at the origin O with the three coordinate planes shaded faintly and a labelled point P at height above the XY-plane
Coordinate axes, coordinate planes and octant I Z X Y O P (x, y, z) M (foot on XY-plane) XY-plane (z = 0) PM is the perpendicular distance of P from the XY-plane, so PM = z; OM lies in the XY-plane and fixes x and y.

Coordinates of a point in space and the octant rule

Given a point PP in space, drop a perpendicular PMPM onto the XY-plane, with MM the foot of this perpendicular. From MM, drop a further perpendicular MLML onto the x-axis, meeting it at LL. Writing OL=xOL = x, LM=yLM = y, MP=zMP = z, the three numbers (x,y,z)(x, y, z) are called the coordinates of PP. Conversely, given any triple (x,y,z)(x, y, z), this construction runs backward: fix LL on the x-axis, then MM in the XY-plane, then PP above (or below) MM. 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 PP three planes parallel to the three coordinate planes, meeting the axes at points AA, BB, CC with OA=xOA = x, OB=yOB = y, OC=zOC = z. Then xx, yy, zz are exactly the perpendicular distances of PP from the YZ-plane, ZX-plane and XY-plane respectively. In particular, the origin has coordinates (0,0,0)(0, 0, 0); a point on the x-axis has the form (x,0,0)(x, 0, 0), on the y-axis (0,y,0)(0, y, 0), and on the z-axis (0,0,z)(0, 0, z); a point on the XY-plane has the form (x,y,0)(x, y, 0), on the YZ-plane (0,y,z)(0, y, z), and on the ZX-plane (x,0,z)(x, 0, z).

Octant sign table:OctantIIIIIIIVVVIVIIVIIIx+−−++−−+y++−−++−−z++++−−−−\text{Octant sign table:}\quad \begin{array}{c|cccccccc} \text{Octant} & \text{I} & \text{II} & \text{III} & \text{IV} & \text{V} & \text{VI} & \text{VII} & \text{VIII} \\\hline x & + & - & - & + & + & - & - & + \\ y & + & + & - & - & + & + & - & - \\ z & + & + & + & + & - & - & - & - \end{array}

where: each column is a possible sign pattern (x,y,z)(x, y, z) 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 (−3,1,2)(-3, 1, 2) has signs (−,+,+)(-, +, +), which the table shows is octant II; the point (−3,1,−2)(-3, 1, -2) 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 P(x1,y1,z1)P(x_1, y_1, z_1) and Q(x2,y2,z2)Q(x_2, y_2, z_2),

PQ=(x2−x1)2+(y2−y1)2+(z2−z1)2.(1)PQ = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2 + (z_2 - z_1)^2}. \qquad (1)

where: the three squared terms are the differences of corresponding coordinates, exactly mirroring the two-dimensional formula (x2−x1)2+(y2−y1)2\sqrt{(x_2-x_1)^2 + (y_2-y_1)^2} with one extra term for the third dimension. Setting x1=y1=z1=0x_1 = y_1 = z_1 = 0 gives the distance of a point Q(x2,y2,z2)Q(x_2, y_2, z_2) from the origin as OQ=x22+y22+z22OQ = \sqrt{x_2^2 + y_2^2 + z_2^2}, 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 PP, QQ, RR are collinear when the largest of the three pairwise distances equals the sum of the other two, for instance PQ+QR=PRPQ + QR = PR. A triangle with vertices AA, BB, CC is isosceles when two of ABAB, BCBC, CACA are equal, and right-angled when the Pythagorean relation holds among the three squared side lengths, for instance AB2+BC2=CA2AB^2 + BC^2 = CA^2 for the right angle at BB. A quadrilateral ABCDABCD is a parallelogram when its opposite sides are pairwise equal, AB=CDAB = CD and BC=DABC = DA; it is further a rectangle only if, in addition, its diagonals ACAC and BDBD 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 R(x,y,z)R(x, y, z) divides the segment joining P(x1,y1,z1)P(x_1, y_1, z_1) and Q(x2,y2,z2)Q(x_2, y_2, z_2) internally in the ratio m:nm : n, then

R=(mx2+nx1m+n, my2+ny1m+n, mz2+nz1m+n).(2)R = \left(\frac{mx_2 + nx_1}{m+n},\ \frac{my_2 + ny_1}{m+n},\ \frac{mz_2 + nz_1}{m+n}\right). \qquad (2)

where: m:nm : n is the ratio in which RR divides PQPQ, measured from PP toward QQ. Taking m=n=1m = n = 1 recovers the midpoint formula, R=(x1+x22,y1+y22,z1+z22)R = \left(\frac{x_1+x_2}{2}, \frac{y_1+y_2}{2}, \frac{z_1+z_2}{2}\right). Applying the midpoint idea to a triangle with vertices A(x1,y1,z1)A(x_1,y_1,z_1), B(x2,y2,z2)B(x_2,y_2,z_2), C(x3,y3,z3)C(x_3,y_3,z_3) — the centroid divides each median in the ratio 2:12:1 from the vertex — gives the centroid formula:

G=(x1+x2+x33, y1+y2+y33, z1+z2+z33).(3)G = \left(\frac{x_1+x_2+x_3}{3},\ \frac{y_1+y_2+y_3}{3},\ \frac{z_1+z_2+z_3}{3}\right). \qquad (3)

where: GG is the centroid, the point where the three medians of the triangle meet, and each coordinate of GG 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.

Figure
A dividing point R on the segment joining P and Q with the ratio m to n marked and a separate small triangle showing its centroid G as the average of the three vertices
Section formula and centroid formula P (x1, y1, z1) Q (x2, y2, z2) R (x, y, z) m n R divides PQ in the ratio m : n A B C G G = average of the three vertex coordinates

Derivations

Derivation AThe Distance Formula in Three Dimensions

The goal of this derivation is to prove formula (1), that the distance between two points P(x1,y1,z1)P(x_1, y_1, z_1) and Q(x2,y2,z2)Q(x_2, y_2, z_2) in three-dimensional space equals (x2−x1)2+(y2−y1)2+(z2−z1)2\sqrt{(x_2-x_1)^2 + (y_2-y_1)^2 + (z_2-z_1)^2}, by building a rectangular box (a parallelepiped) with PQPQ 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 PP and QQ, draw six planes parallel to the three coordinate planes: three through PP and three through QQ. Because PP and QQ are opposite corners, these six planes enclose a rectangular parallelepiped (a box with all right angles) whose one main diagonal is exactly the segment PQPQ. Label the other six vertices of this box so that AA is the vertex adjacent to both PP and QQ along two box edges, chosen so that triangle PAQPAQ has its right angle at AA, and NN is a further vertex making triangle ANQANQ right-angled at NN.

Step 2. Since the box has all edges parallel to the coordinate axes, the edge lengths are exactly the coordinate differences. The edge from PP to AA, running parallel to the y-axis, has length PA=y2−y1PA = y_2 - y_1 (up to sign, which squaring will remove). The edge from AA to NN, running parallel to the x-axis, has length AN=x2−x1AN = x_2 - x_1. The edge from NN to QQ, running parallel to the z-axis, has length NQ=z2−z1NQ = z_2 - z_1.

Step 3. Apply Pythagoras' theorem to the right triangle PAQPAQ, right-angled at AA: this triangle lies in a plane containing the diagonal AQAQ of one rectangular face together with the edge PAPA, so PQ2=PA2+AQ2PQ^2 = PA^2 + AQ^2.

Step 4. Apply Pythagoras' theorem a second time, now to the right triangle ANQANQ, right-angled at NN, which lies in the rectangular face itself: AQ2=AN2+NQ2AQ^2 = AN^2 + NQ^2.

Step 5. Substitute the result of Step 4 into the result of Step 3 to eliminate the auxiliary length AQAQ: PQ2=PA2+AN2+NQ2PQ^2 = PA^2 + AN^2 + NQ^2.

Step 6. Replace PAPA, ANAN, NQNQ by the coordinate differences found in Step 2: PQ2=(y2−y1)2+(x2−x1)2+(z2−z1)2PQ^2 = (y_2-y_1)^2 + (x_2-x_1)^2 + (z_2-z_1)^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 PQ=(x2−x1)2+(y2−y1)2+(z2−z1)2PQ = \sqrt{(x_2-x_1)^2 + (y_2-y_1)^2 + (z_2-z_1)^2}, which is formula (1). Setting PP to the origin, so x1=y1=z1=0x_1=y_1=z_1=0, immediately gives the distance-from-origin formula OQ=x22+y22+z22OQ = \sqrt{x_2^2+y_2^2+z_2^2} as a special case.

Go deeper · Derivation B · 1 minThe Section Formula by the Similar-Triangles Method
Derivation BThe Section Formula by the Similar-Triangles Method

The goal here is to derive the internal section formula (2), which locates the point R(x,y,z)R(x,y,z) dividing the segment from P(x1,y1,z1)P(x_1,y_1,z_1) to Q(x2,y2,z2)Q(x_2,y_2,z_2) in the ratio m:nm:n, 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 PP, RR, QQ onto the x-axis, landing at feet P1(x1,0,0)P_1(x_1,0,0), R1(x,0,0)R_1(x,0,0), Q1(x2,0,0)Q_1(x_2,0,0). Because PP1PP_1, RR1RR_1, QQ1QQ_1 are all parallel to each other (all perpendicular to the x-axis, hence parallel), the plane figure formed by PP, RR, QQ and their feet contains two pairs of similar triangles, cut by the transversal line PQPQ and its parallels.

Step 2. Since RR divides PQPQ in the ratio m:nm:n, meaning PR:RQ=m:nPR : RQ = m : n, the similar triangles from Step 1 give the same ratio for the projected segments on the x-axis: P1R1:R1Q1=m:nP_1R_1 : R_1Q_1 = m : n. Writing this out with coordinates, (x−x1):(x2−x)=m:n(x - x_1) : (x_2 - x) = m : n.

Step 3. Cross-multiply the ratio from Step 2: n(x−x1)=m(x2−x)n(x - x_1) = m(x_2 - x), which expands to nx−nx1=mx2−mxnx - nx_1 = mx_2 - mx. Collect the xx terms on one side: x(m+n)=mx2+nx1x(m+n) = mx_2 + nx_1, so x=mx2+nx1m+nx = \dfrac{mx_2 + nx_1}{m+n}.

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 m:nm:n along the same segment PQPQ, gives y=my2+ny1m+ny = \dfrac{my_2 + ny_1}{m+n}.

Step 5. Repeat once more with perpendiculars dropped onto the z-axis to get z=mz2+nz1m+nz = \dfrac{mz_2 + nz_1}{m+n}. 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 R=(mx2+nx1m+n,my2+ny1m+n,mz2+nz1m+n)R = \left(\frac{mx_2+nx_1}{m+n}, \frac{my_2+ny_1}{m+n}, \frac{mz_2+nz_1}{m+n}\right), which is formula (2). Setting m=nm=n 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 2:12:1) produces the centroid formula (3).

Worked examples

Board level - Distance and collinearity (NCERT Example 4 extended)

Show that the points P(−2,3,5)P(-2, 3, 5), Q(1,2,3)Q(1, 2, 3) and R(7,0,−1)R(7, 0, -1) are collinear, and find the ratio in which QQ divides PRPR.

Step 1. Compute each pairwise distance using formula (1). PQ=(1+2)2+(2−3)2+(3−5)2=9+1+4=14PQ = \sqrt{(1+2)^2+(2-3)^2+(3-5)^2} = \sqrt{9+1+4} = \sqrt{14}.

Step 2. QR=(7−1)2+(0−2)2+(−1−3)2=36+4+16=56=214QR = \sqrt{(7-1)^2+(0-2)^2+(-1-3)^2} = \sqrt{36+4+16} = \sqrt{56} = 2\sqrt{14}.

Step 3. PR=(7+2)2+(0−3)2+(−1−5)2=81+9+36=126=314PR = \sqrt{(7+2)^2+(0-3)^2+(-1-5)^2} = \sqrt{81+9+36} = \sqrt{126} = 3\sqrt{14}.

Step 4. Check the collinearity condition: PQ+QR=14+214=314=PRPQ + QR = \sqrt{14} + 2\sqrt{14} = 3\sqrt{14} = PR. Since this holds, PP, QQ, RR are collinear, with QQ lying between PP and RR.

Step 5. Since PQ:QR=14:214=1:2PQ : QR = \sqrt{14} : 2\sqrt{14} = 1 : 2, the point QQ divides PRPR internally in the ratio 1:2\mathbf{1 : 2}.

Board level - Right triangle and parallelogram test

Show that A(0,7,10)A(0,7,10), B(−1,6,6)B(-1,6,6), C(−4,9,6)C(-4,9,6) are the vertices of a right-angled triangle, and separately verify that A(1,2,3)A(1,2,3), B(−1,−2,−1)B(-1,-2,-1), C(2,3,2)C(2,3,2), D(4,7,6)D(4,7,6) form a parallelogram ABCDABCD but not a rectangle (NCERT Example 7).

Step 1. For the first triangle, compute the squared side lengths: AB2=(−1−0)2+(6−7)2+(6−10)2=1+1+16=18AB^2 = (-1-0)^2+(6-7)^2+(6-10)^2 = 1+1+16 = 18; BC2=(−4+1)2+(9−6)2+(6−6)2=9+9+0=18BC^2 = (-4+1)^2+(9-6)^2+(6-6)^2 = 9+9+0 = 18; CA2=(0+4)2+(7−9)2+(10−6)2=16+4+16=36CA^2 = (0+4)^2+(7-9)^2+(10-6)^2 = 16+4+16 = 36.

Step 2. Since AB2+BC2=18+18=36=CA2AB^2 + BC^2 = 18 + 18 = 36 = CA^2, triangle ABCABC is right-angled at BB, the vertex common to the two equal legs ABAB and BCBC. It is also isosceles since AB=BC=18=32AB = BC = \sqrt{18} = 3\sqrt{2}.

Step 3. For the second set of points, compute the side lengths: AB=(−1−1)2+(−2−2)2+(−1−3)2=4+16+16=36=6AB = \sqrt{(-1-1)^2+(-2-2)^2+(-1-3)^2} = \sqrt{4+16+16} = \sqrt{36} = 6; CD=(4−2)2+(7−3)2+(6−2)2=4+16+16=6CD = \sqrt{(4-2)^2+(7-3)^2+(6-2)^2} = \sqrt{4+16+16} = 6; BC=(2+1)2+(3+2)2+(2+1)2=9+25+9=43BC = \sqrt{(2+1)^2+(3+2)^2+(2+1)^2} = \sqrt{9+25+9} = \sqrt{43}; DA=(1−4)2+(2−7)2+(3−6)2=9+25+9=43DA = \sqrt{(1-4)^2+(2-7)^2+(3-6)^2} = \sqrt{9+25+9} = \sqrt{43}.

Step 4. Since AB=CDAB = CD and BC=DABC = DA, opposite sides are equal, so ABCDABCD is a parallelogram. To test whether it is a rectangle, compare the diagonals: AC=(2−1)2+(3−2)2+(2−3)2=3AC = \sqrt{(2-1)^2+(3-2)^2+(2-3)^2} = \sqrt{3}, while BD=(4+1)2+(7+2)2+(6+1)2=25+81+49=155BD = \sqrt{(4+1)^2+(7+2)^2+(6+1)^2} = \sqrt{25+81+49} = \sqrt{155}.

Step 5. Since AC≠BDAC \ne BD, the diagonals are unequal, so ABCDABCD is a parallelogram but not a rectangle — matching NCERT's own conclusion.

Competitive level (JEE / NEET) - Locus condition and centroid vertex

(a) A(3,4,5)A(3,4,5) and B(−1,3,−7)B(-1,3,-7) are fixed points; find the equation of the set of points P(x,y,z)P(x,y,z) such that PA2+PB2=2k2PA^2 + PB^2 = 2k^2 (NCERT Example 6), and identify the surface it represents. (b) The centroid of triangle ABCABC is (1,1,1)(1,1,1), with A(3,−5,7)A(3,-5,7) and B(−1,7,−6)B(-1,7,-6); find CC (NCERT Example 9 setup).

Step 1. For part (a), write PA2=(x−3)2+(y−4)2+(z−5)2PA^2 = (x-3)^2+(y-4)^2+(z-5)^2 and PB2=(x+1)2+(y−3)2+(z+7)2PB^2 = (x+1)^2+(y-3)^2+(z+7)^2 directly from the distance formula, without taking a square root, since the condition is already stated in squared distances.

Step 2. Add: PA2+PB2=(x−3)2+(x+1)2+(y−4)2+(y−3)2+(z−5)2+(z+7)2PA^2+PB^2 = (x-3)^2+(x+1)^2 + (y-4)^2+(y-3)^2 + (z-5)^2+(z+7)^2. Expand each pair: (x−3)2+(x+1)2=2x2−4x+10(x-3)^2+(x+1)^2 = 2x^2-4x+10; (y−4)2+(y−3)2=2y2−14y+25(y-4)^2+(y-3)^2 = 2y^2-14y+25; (z−5)2+(z+7)2=2z2+4z+74(z-5)^2+(z+7)^2 = 2z^2+4z+74.

Step 3. Sum and set equal to 2k22k^2: 2x2+2y2+2z2−4x−14y+4z+109=2k22x^2+2y^2+2z^2 - 4x - 14y + 4z + 109 = 2k^2, which rearranges to 2x2+2y2+2z2−4x−14y+4z=2k2−1092x^2+2y^2+2z^2-4x-14y+4z = 2k^2 - 109. Dividing through by 22 and completing the square on each variable shows this is a sphere (the three-dimensional analogue of the circle x2+y2=r2x^2+y^2 = r^2 traced by a locus condition in the plane), since the coefficients of x2x^2, y2y^2, z2z^2 are equal and there are no cross terms.

Step 4. For part (b), use the centroid formula (3) with G=(1,1,1)G=(1,1,1), A=(3,−5,7)A=(3,-5,7), B=(−1,7,−6)B=(-1,7,-6) and unknown C=(x,y,z)C=(x,y,z): x+3−13=1\frac{x+3-1}{3}=1, y−5+73=1\frac{y-5+7}{3}=1, z+7−63=1\frac{z+7-6}{3}=1.

Step 5. Solve each equation independently: from the first, x+2=3x+2=3 so x=1x=1; from the second, y+2=3y+2=3 so y=1y=1; from the third, z+1=3z+1=3 so z=2z=2. Hence C=(1,1,2)C = \mathbf{(1, 1, 2)}, 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 x2,y2,z2x^2,y^2,z^2 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 PP 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: xx, yy, zz 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 PQ+QR=PRPQ+QR=PR (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 zz changing sign only after four octants have been listed (I–IV positive zz, V–VIII negative zz), not after every second one. Rebuild the table from the definition — three independent binary sign choices give 23=82^3 = 8 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 (−4−1)2(-4-1)^2 as −25-25 instead of 2525; 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, AB=CDAB=CD and BC=DABC=DA prove only a parallelogram; a rectangle additionally needs AC=BDAC=BD (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 (x,y,z)(x, y, z) of a point off a labelled space diagram, and plot a point given its coordinates.
  • State correctly which coordinate plane each of xx, yy, zz 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 (x,0,0)(x,0,0), and on a coordinate plane, such as (0,y,z)(0,y,z).
  • 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 (x,y,z)(x,y,z) 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 (x,y,z)(x, y, z) is an ordered triple by definition, exactly as (x,y)(x, y) was ordered in plane coordinate geometry. The point (2,3,5)(2, 3, 5) and the point (3,2,5)(3, 2, 5) 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 xx and yy, giving 22=42^2=4 regions. An octant in space is exactly the same idea one dimension up: three mutually perpendicular coordinate planes give three independent sign choices, for xx, yy and zz, giving 23=82^3=8 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 (x2−x1)2(x_2-x_1)^2 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 (−4−1)2=(−5)2=25(-4-1)^2=(-5)^2=25, 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.

Before this

Where this leads