Classwise Concept with Examples | ||||||
---|---|---|---|---|---|---|
6th | 7th | 8th | 9th | 10th | 11th | 12th |
Content On This Page | ||
---|---|---|
Cartesian Coordinate System | Distance Formula | Section Formula |
Chapter 12 Introduction to Three Dimensional Geometry (Concepts)
Prepare to expand your spatial awareness as we embark on an Introduction to Three Dimensional Geometry. While our previous explorations in coordinate geometry have been confined to the two-dimensional plane (often called $\mathbb{R}^2$), the world we inhabit is inherently three-dimensional. This chapter provides the fundamental framework for extending the principles of coordinate geometry into space ($\mathbb{R}^3$), allowing us to precisely locate points and analyze geometric figures in three dimensions using algebraic methods. This serves as the essential groundwork for more advanced topics like vectors, lines, and planes in space, crucial in physics, engineering, computer graphics, and numerous other scientific disciplines.
The foundation of 3D coordinate geometry is the three-dimensional rectangular coordinate system. Imagine adding a third axis, the z-axis, perpendicular to both the familiar horizontal x-axis and vertical y-axis at their point of intersection, the origin. These three axes are mutually perpendicular (orthogonal) to each other. The coordinates of the origin are now represented by the ordered triplet $\mathbf{(0, 0, 0)}$. These three axes, taken pairwise, determine three fundamental coordinate planes:
- The xy-plane (containing the x and y axes, where $z=0$)
- The yz-plane (containing the y and z axes, where $x=0$)
- The zx-plane (containing the z and x axes, where $y=0$)
In this 3D system, the location of any point $P$ in space is uniquely specified by an ordered triplet of real numbers, $\mathbf{(x, y, z)}$, known as its coordinates. These coordinates represent the signed perpendicular distances of the point $P$ from the three coordinate planes:
- $x$ is the perpendicular distance from the yz-plane.
- $y$ is the perpendicular distance from the zx-plane.
- $z$ is the perpendicular distance from the xy-plane.
The core analytical tools developed in 2D coordinate geometry are now extended naturally into three dimensions:
- Distance Formula in 3D: Derived using two applications of the Pythagorean theorem in space, this formula calculates the straight-line distance between two points $P(x_1, y_1, z_1)$ and $Q(x_2, y_2, z_2)$: $$ \mathbf{PQ = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2 + (z_2 - z_1)^2}} $$ This formula is fundamental for calculating lengths of line segments, determining properties of 3D figures (like checking if points form an isosceles or right-angled triangle in space), and testing for collinearity of three points.
- Section Formula in 3D: This formula determines the coordinates of a point $R(x, y, z)$ that divides the line segment joining $P(x_1, y_1, z_1)$ and $Q(x_2, y_2, z_2)$ internally in a given ratio $m:n$. The coordinates are: $$ \mathbf{x = \frac{mx_2 + nx_1}{m+n}}, \quad \mathbf{y = \frac{my_2 + ny_1}{m+n}}, \quad \mathbf{z = \frac{mz_2 + nz_1}{m+n}} $$ (The formula for external division is obtained by replacing $n$ with $-n$). A vital special case is the Mid-point Formula, obtained when $m=n=1$: $$ \mathbf{\text{Mid-point } (\bar{x}, \bar{y}, \bar{z}) = \left( \frac{x_1 + x_2}{2}, \frac{y_1 + y_2}{2}, \frac{z_1 + z_2}{2} \right)} $$ These formulas are essential for problems involving finding centroids of triangles in space, determining coordinates of points dividing segments in specific ratios, and verifying geometric properties like the intersection point of diagonals or medians in 3D figures.
This chapter, therefore, establishes the essential coordinate framework and fundamental distance and section formulas for working in three dimensions, paving the way for the more extensive study of lines and planes in 3D space typically covered in Class 12 mathematics.
Cartesian Coordinate System in Three Dimensions
While the two-dimensional Cartesian plane is used to describe points on a flat surface using an ordered pair $(x, y)$, our world is three-dimensional. To locate points in space, we need to extend this system by adding a third dimension. The three-dimensional Cartesian coordinate system is the framework that allows us to uniquely define the position of any point in space using an ordered triplet of real numbers, $(x, y, z)$.
Coordinate Axes and Coordinate Planes
The foundation of the 3D coordinate system is a set of three mutually perpendicular lines, known as the coordinate axes, that intersect at a single point.
- The horizontal axis is usually called the x-axis.
- The second horizontal axis, perpendicular to the x-axis, is the y-axis.
- The vertical axis, perpendicular to both the x and y axes, is the z-axis.
The point where these three axes meet is called the origin, denoted by O. Its coordinates are $(0, 0, 0)$. The positive directions of the axes are typically arranged according to the right-hand rule: if you align the fingers of your right hand with the positive x-axis and curl them towards the positive y-axis, your thumb will point in the direction of the positive z-axis.

These three axes, taken in pairs, define three infinite planes called the coordinate planes. These planes serve as the primary references for locating points.
- The xy-plane is the flat surface containing the x-axis and the y-axis. For any point on this plane, its z-coordinate is always zero. The equation of the xy-plane is $z = 0$.
- The yz-plane is the flat surface containing the y-axis and the z-axis. For any point on this plane, its x-coordinate is always zero. The equation of the yz-plane is $x = 0$.
- The xz-plane is the flat surface containing the x-axis and the z-axis. For any point on this plane, its y-coordinate is always zero. The equation of the xz-plane is $y = 0$.

Coordinates of a Point in Space
The location of any point P in 3D space is given by an ordered triplet of numbers, $(x, y, z)$, called its coordinates. Each coordinate represents the signed perpendicular distance from the point to one of the coordinate planes.
- The x-coordinate is the perpendicular distance of P from the yz-plane.
- The y-coordinate is the perpendicular distance of P from the xz-plane.
- The z-coordinate is the perpendicular distance of P from the xy-plane.
For example, to locate the point P(2, 3, 4), you would start at the origin, move 2 units along the positive x-axis, then 3 units parallel to the positive y-axis, and finally 4 units parallel to the positive z-axis.
Example 1. What are the coordinates of a point on the y-axis at a distance of 5 units from the origin in the negative direction?
Answer:
A point on the y-axis has its x-coordinate and z-coordinate equal to zero.
The distance from the origin is 5 units in the negative y direction.
Therefore, the coordinates of the point are (0, -5, 0).
Octants
Just as the two coordinate axes divide a 2D plane into four quadrants, the three coordinate planes divide 3D space into eight distinct regions. Each of these regions is called an octant.
The specific octant in which a point lies is determined by the signs (+ or –) of its x, y, and z coordinates. The first octant is the one where all three coordinates are positive. The naming convention for the other octants can vary, but the sign combinations are fixed.
Octant | x | y | z | Example Point |
---|---|---|---|---|
I | + | + | + | (2, 3, 5) |
II | – | + | + | (-2, 3, 5) |
III | – | – | + | (-2, -3, 5) |
IV | + | – | + | (2, -3, 5) |
V | + | + | – | (2, 3, -5) |
VI | – | + | – | (-2, 3, -5) |
VII | – | – | – | (-2, -3, -5) |
VIII | + | – | – | (2, -3, -5) |
Points that lie on a coordinate plane (where one coordinate is zero) or on a coordinate axis (where two coordinates are zero) are on the boundaries of the octants and do not belong to any single octant.
Example 2. Identify the octant in which each of the following points lies: (a) (1, -2, 3) (b) (-4, -1, -5).
Answer:
(a) For the point (1, -2, 3):
The x-coordinate is positive (+).
The y-coordinate is negative (–).
The z-coordinate is positive (+).
Looking at the table, the sign pattern (+, –, +) corresponds to the IVth Octant.
(b) For the point (-4, -1, -5):
The x-coordinate is negative (–).
The y-coordinate is negative (–).
The z-coordinate is negative (–).
Looking at the table, the sign pattern (–, –, –) corresponds to the VIIth Octant.
Distance Formula in Three Dimensions
Just as we can calculate the distance between two points on a 2D plane, we can also find the distance between two points in 3D space. The formula is a straightforward and intuitive extension of the two-dimensional distance formula, incorporating the third coordinate, z. It is derived from the Pythagorean theorem.
Derivation of the 3D Distance Formula
Let's find the distance between two points in space, $P(x_1, y_1, z_1)$ and $Q(x_2, y_2, z_2)$.
We can visualize the distance as the length of the main diagonal of a rectangular box (a cuboid) where P and Q are opposite corners. The sides of this box are parallel to the coordinate axes.

Step 1: Find the length of the diagonal on the base of the box.
Consider the point R with coordinates $(x_2, y_2, z_1)$. The points P and R lie on the same horizontal plane ($z=z_1$). The distance between them is a 2D distance problem.
Using the 2D distance formula, the square of the distance PR is:
$(PR)^2 = (x_2 - x_1)^2 + (y_2 - y_1)^2$
Step 2: Use the vertical height to form a right triangle.
Now, consider the triangle $\triangle PRQ$. The segment PR is horizontal, and the segment RQ is vertical (connecting $(x_2, y_2, z_1)$ to $(x_2, y_2, z_2)$). Therefore, $\triangle PRQ$ is a right-angled triangle with the right angle at R.
The length of the vertical side RQ is the difference in the z-coordinates: $|z_2 - z_1|$.
The square of this length is $(RQ)^2 = (z_2 - z_1)^2$.
Step 3: Apply the Pythagorean theorem to the right triangle.
The distance we want, PQ, is the hypotenuse of the right triangle $\triangle PRQ$.
$(PQ)^2 = (PR)^2 + (RQ)^2$
Substitute the expressions we found for $(PR)^2$ and $(RQ)^2$.
$(PQ)^2 = [(x_2 - x_1)^2 + (y_2 - y_1)^2] + (z_2 - z_1)^2$
Taking the square root of both sides gives the distance formula in three dimensions:
Distance $d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2 + (z_2 - z_1)^2}$
... (i)
Distance of a Point from the Origin
A special case of this formula is the distance of any point $P(x, y, z)$ from the origin $O(0, 0, 0)$.
Substituting $(x_1, y_1, z_1) = (0, 0, 0)$ and $(x_2, y_2, z_2) = (x, y, z)$ into the formula, we get:
Distance from origin $= \sqrt{x^2 + y^2 + z^2}$
... (ii)
Example 1. Find the distance between the points A(1, 2, 3) and B(-2, 4, 1).
Answer:
Given:
Point A = $(x_1, y_1, z_1) = (1, 2, 3)$.
Point B = $(x_2, y_2, z_2) = (-2, 4, 1)$.
Solution:
We apply the 3D distance formula (Formula i).
$d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2 + (z_2 - z_1)^2}$
Substitute the coordinates of points A and B.
$d = \sqrt{(-2 - 1)^2 + (4 - 2)^2 + (1 - 3)^2}$
Simplify the terms inside the parentheses.
$d = \sqrt{(-3)^2 + (2)^2 + (-2)^2}$
Calculate the squares and sum them.
$d = \sqrt{9 + 4 + 4} = \sqrt{17}$
The distance between the points is $\sqrt{17}$ units.
Example 2. Find the distance of the point P(3, -1, 5) from the origin.
Answer:
Given:
Point P = $(x, y, z) = (3, -1, 5)$.
Solution:
We use the special formula for the distance from the origin (Formula ii).
$d = \sqrt{x^2 + y^2 + z^2}$
Substitute the coordinates of point P.
$d = \sqrt{(3)^2 + (-1)^2 + (5)^2}$
Calculate the squares and sum them.
$d = \sqrt{9 + 1 + 25} = \sqrt{35}$
The distance of the point from the origin is $\sqrt{35}$ units.
Section Formula in Three Dimensions
The section formula, which we used in two-dimensional geometry to find a point that divides a line segment in a specific ratio, can be extended to work in three-dimensional space. The principle remains the same, but we now have to calculate a z-coordinate in addition to the x and y-coordinates.
This formula is fundamental for problems involving ratios, midpoints, centroids of triangles, and other geometric figures in 3D space.
Section Formula for Internal Division
Imagine a line segment in space connecting two points, $P(x_1, y_1, z_1)$ and $Q(x_2, y_2, z_2)$. Let's say we want to find the coordinates of a point $R(x, y, z)$ that lies on this segment and divides it internally in the ratio $m:n$.
This means that the point R is located between P and Q, and the ratio of the length of the segment PR to the length of the segment RQ is $\frac{m}{n}$.
Derivation
Let's derive the formula using similar triangles. From points P, R, and Q, draw planes parallel to the yz-plane, intersecting the x-axis at points A, C, and B, respectively. The coordinates of these points on the x-axis will be $(x_1, 0, 0)$, $(x, 0, 0)$, and $(x_2, 0, 0)$.
The planes divide the line segment PQ in the same ratio as they divide the segment AB on the x-axis. Therefore, the ratio of the length of AC to the length of CB is also $m:n$.
$\frac{AC}{CB} = \frac{m}{n}$
The lengths of these segments on the x-axis are the differences in their x-coordinates:
$\frac{x - x_1}{x_2 - x} = \frac{m}{n}$
Now, we solve for $x$ by cross-multiplying:
$n(x - x_1) = m(x_2 - x)$
$nx - nx_1 = mx_2 - mx$
$nx + mx = mx_2 + nx_1$
$x(m+n) = mx_2 + nx_1$
$x = \frac{mx_2 + nx_1}{m+n}$
By a completely analogous argument (by drawing planes parallel to the xz-plane and xy-plane), we can derive the formulas for the y and z coordinates. The coordinates of the point R are:
$R(x, y, z) = \left( \frac{mx_2 + nx_1}{m+n}, \frac{my_2 + ny_1}{m+n}, \frac{mz_2 + nz_1}{m+n} \right)$
... (i)
Midpoint Formula in 3D
A special and very common case of internal division is finding the midpoint of a line segment. The midpoint divides the segment in the ratio $1:1$. By setting $m=1$ and $n=1$ in the internal division formula, we get the midpoint formula:
$x = \frac{1 \cdot x_2 + 1 \cdot x_1}{1+1} = \frac{x_1 + x_2}{2}$
Similarly for y and z, the midpoint is:
Midpoint $= \left( \frac{x_1 + x_2}{2}, \frac{y_1 + y_2}{2}, \frac{z_1 + z_2}{2} \right)$
... (ii)
The coordinates of the midpoint are simply the average of the corresponding coordinates of the endpoints.
Section Formula for External Division
If the point R lies on the line passing through P and Q, but outside the segment PQ, it is said to divide the segment externally. The derivation is identical, except the ratio $\frac{PR}{RQ}$ is considered negative, which can be achieved by replacing $n$ with $-n$ in the internal formula.
The coordinates of a point R that divides the segment PQ externally in the ratio $m:n$ are:
$R(x, y, z) = \left( \frac{mx_2 - nx_1}{m-n}, \frac{my_2 - ny_1}{m-n}, \frac{mz_2 - nz_1}{m-n} \right)$
... (iii)
Example 1. Find the coordinates of the point which divides the line segment joining A(1, -2, 3) and B(3, 4, -5) internally in the ratio 2:3.
Answer:
Given: A(1, -2, 3), B(3, 4, -5), and ratio $m:n = 2:3$.
Solution:
Using the internal division formula:
$x = \frac{2(3) + 3(1)}{2+3} = \frac{6 + 3}{5} = \frac{9}{5}$
$y = \frac{2(4) + 3(-2)}{2+3} = \frac{8 - 6}{5} = \frac{2}{5}$
$z = \frac{2(-5) + 3(3)}{2+3} = \frac{-10 + 9}{5} = -\frac{1}{5}$
The coordinates are $\left(\frac{9}{5}, \frac{2}{5}, -\frac{1}{5}\right)$.
Example 2. Find the coordinates of the midpoint of the line segment joining the points P(4, -5, 6) and Q(2, 1, -2).
Answer:
Given: P(4, -5, 6) and Q(2, 1, -2).
Solution:
Using the midpoint formula:
$x = \frac{4 + 2}{2} = 3$
$y = \frac{-5 + 1}{2} = -2$
$z = \frac{6 + (-2)}{2} = 2$
The midpoint is (3, -2, 2).
Example 3. Find the ratio in which the yz-plane divides the line segment formed by joining the points (-2, 4, 7) and (3, -5, 8).
Answer:
Given: Points P(-2, 4, 7) and Q(3, -5, 8).
Solution:
Let the yz-plane divide the line segment PQ at a point R in the ratio $k:1$.
Any point on the yz-plane has its x-coordinate equal to 0.
Using the section formula for the x-coordinate of R:
$x = \frac{k(x_2) + 1(x_1)}{k+1} = \frac{k(3) + 1(-2)}{k+1}$
Since R is on the yz-plane, its x-coordinate is 0.
$0 = \frac{3k - 2}{k+1}$
$3k - 2 = 0 \implies 3k = 2 \implies k = \frac{2}{3}$
The ratio is $k:1$, which is $\frac{2}{3}:1$, or $2:3$.
Since the ratio $k$ is positive, the division is internal.
The yz-plane divides the segment internally in the ratio 2:3.
Centroid of a Triangle and Tetrahedron
The concept of finding a "center of mass" or centroid by averaging coordinates extends from 2D to 3D for various geometric figures.
Centroid of a Triangle in 3D
The centroid of a triangle is the point of intersection of its medians. A median is a line segment joining a vertex to the midpoint of the opposite side. The centroid is the geometric center of the triangle and would be its center of mass if the triangle were a thin, uniform plate.
Derivation
Let the vertices of a triangle in 3D space be $A(x_1, y_1, z_1)$, $B(x_2, y_2, z_2)$, and $C(x_3, y_3, z_3)$.
Let AD be the median from vertex A to the side BC. By definition, D is the midpoint of BC.
Step 1: Find the coordinates of the midpoint D.
Using the midpoint formula, the coordinates of D are:
$D = \left( \frac{x_2 + x_3}{2}, \frac{y_2 + y_3}{2}, \frac{z_2 + z_3}{2} \right)$
Step 2: Use the property that the centroid divides the median in a 2:1 ratio.
The centroid, G, lies on the median AD and divides it internally in the ratio $AG:GD = 2:1$.
We can now use the section formula to find the coordinates of G, with $A(x_1, y_1, z_1)$ as the first point, $D$ as the second point, and the ratio $m:n = 2:1$.
The x-coordinate of G is:
$x_G = \frac{2 \cdot x_D + 1 \cdot x_1}{2+1} = \frac{2\left(\frac{x_2 + x_3}{2}\right) + x_1}{3} = \frac{(x_2 + x_3) + x_1}{3} = \frac{x_1 + x_2 + x_3}{3}$
Similarly, the y-coordinate of G is:
$y_G = \frac{2 \cdot y_D + 1 \cdot y_1}{2+1} = \frac{2\left(\frac{y_2 + y_3}{2}\right) + y_1}{3} = \frac{(y_2 + y_3) + y_1}{3} = \frac{y_1 + y_2 + y_3}{3}$
And the z-coordinate of G is:
$z_G = \frac{2 \cdot z_D + 1 \cdot z_1}{2+1} = \frac{2\left(\frac{z_2 + z_3}{2}\right) + z_1}{3} = \frac{(z_2 + z_3) + z_1}{3} = \frac{z_1 + z_2 + z_3}{3}$
This gives us the formula for the centroid, which is simply the average of the coordinates of the vertices:
$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)$
... (iv)
Centroid of a Tetrahedron
A tetrahedron is a pyramid with a triangular base and three other triangular faces that meet at a common vertex. It is the simplest of all ordinary convex polyhedra and has four vertices.
The centroid of a tetrahedron is the point where the segments connecting each vertex to the centroid of the opposite triangular face intersect. It is the geometric center and the center of mass of the tetrahedron.
Derivation
Let the four vertices of the tetrahedron be $A(x_1, y_1, z_1)$, $B(x_2, y_2, z_2)$, $C(x_3, y_3, z_3)$, and $D(x_4, y_4, z_4)$.
Consider the line segment connecting vertex A to the centroid of the opposite face, the triangle BCD. Let's call the centroid of triangle BCD as $G_1$.
Step 1: Find the coordinates of the centroid $G_1$ of the opposite face.
Using the formula for the centroid of a triangle on the vertices B, C, and D, we get:
$G_1 = \left( \frac{x_2 + x_3 + x_4}{3}, \frac{y_2 + y_3 + y_4}{3}, \frac{z_2 + z_3 + z_4}{3} \right)$
Step 2: Use the property that the centroid of the tetrahedron divides this segment in a 3:1 ratio.
The centroid of the tetrahedron, G, lies on the segment $AG_1$ and divides it internally in the ratio $AG:GG_1 = 3:1$.
We can now use the section formula to find the coordinates of G, with $A(x_1, y_1, z_1)$ as the first point, $G_1$ as the second point, and the ratio $m:n = 3:1$.
The x-coordinate of G is:
$x_G = \frac{3 \cdot x_{G_1} + 1 \cdot x_1}{3+1} = \frac{3\left(\frac{x_2 + x_3 + x_4}{3}\right) + x_1}{4} = \frac{(x_2 + x_3 + x_4) + x_1}{4} = \frac{x_1 + x_2 + x_3 + x_4}{4}$
Similarly, the y and z coordinates will follow the same pattern:
$y_G = \frac{y_1 + y_2 + y_3 + y_4}{4}$
$z_G = \frac{z_1 + z_2 + z_3 + z_4}{4}$
This gives us the formula for the centroid of a tetrahedron, which is the average of the coordinates of its four vertices:
$G = \left( \frac{x_1 + x_2 + x_3 + x_4}{4}, \frac{y_1 + y_2 + y_3 + y_4}{4}, \frac{z_1 + z_2 + z_3 + z_4}{4} \right)$
... (v)