Fundamentholfundamenthol

Rectangular Coordinate System in Space

MathsThree Dimensional GeometryFor JEE aspirants
Preview: Rectangular Coordinate System in Space

Rectangular Coordinate System in Space

The rectangular coordinate system in space fixes the position of every point using three mutually perpendicular axes, , and , that meet at the origin . A point is written as an ordered triple , where each number is its signed perpendicular distance from one coordinate plane. The rectangular coordinate system in space is the base for the distance formula, section formula, centroid and area results of 3D geometry, and it feeds directly into lines and planes for JEE Main and JEE Advanced.

Key Formulas: Quick Reference
  1. Position vector of : and
  2. Distance:
  3. Distance of from the x, y and z axes: , ,
  4. Origin shifted to : , ,
  5. Internal division in : ; external division: (same pattern for and )
  6. Midpoint: (same pattern for and )
  7. Centroid of a triangle: ; of a tetrahedron: (same pattern for and )
  8. Area of a triangle: and
  9. Volume of a tetrahedron:

1. Coordinate Axes and Coordinate Planes

Let be any point in space and let , and be three lines through that are perpendicular to each other. These lines are called the coordinate axes and is called the origin. The planes , and , each containing two of the axes, are called the coordinate planes.

The axes are taken in right-handed order: if the fingers of your right hand curl from towards , the thumb points along . Following NCERT, every figure on this page draws the x-axis coming towards you, the y-axis to the right and the z-axis upwards.
Coordinate axes and coordinate planes in space Three mutually perpendicular coordinate axes X prime O X, Y prime O Y and Z prime O Z meet at the origin O. The XY-plane, YZ-plane and ZX-plane are shaded, forming the rectangular coordinate system in three dimensional space. YZ-plane ZX-plane XY-plane X Y Z X′ Y′ Z′ O Right-handed system
Figure 1: The rectangular coordinate system in space. The axes , , meet at the origin and pairs of axes form the XY, YZ and ZX coordinate planes.

2. Octants and the Sign Convention

The three coordinate planes divide space into eight octants. The signs of the three coordinates of a point decide which octant it lies in.

The eight octants in three dimensional space The XY, YZ and ZX coordinate planes divide space into eight octants numbered I to VIII. Each octant label shows the signs of the x, y and z coordinates, for example octant I has plus plus plus and octant VII has minus minus minus. X Y Z I (+, +, +) II (−, +, +) III (−, −, +) IV (+, −, +) V (+, +, −) VI (−, +, −) VII (−, −, −) VIII (+, −, −)
Figure 2: The three coordinate planes split space into eight octants. The sign pattern of a point's coordinates fixes its octant.
OctantSign of xSign of ySign of zExample point
I+++
II−++
III−−+
IV+−+
V++−
VI−+−
VII−−−
VIII+−−
A point with a zero coordinate is not inside any octant. With one zero it lies on a coordinate plane, for example is on the YZ-plane; with two zeros it lies on an axis, for example is on the z-axis.

3. Coordinates of a Point in Space

Consider a point in space. Its position is given by the triad , where , and are the perpendicular distances of from the YZ-plane, ZX-plane and XY-plane respectively, each taken with a sign.

How to read the coordinates of P

  1. Drop a perpendicular from to the XY-plane. Its algebraic length is the z-coordinate.
  2. From the foot , drop perpendiculars to the x-axis and the y-axis. Their algebraic lengths give the y-coordinate and the x-coordinate, so and .
  3. Equivalently, complete the cuboid with and as opposite corners. Then , and .
Coordinates of a point P in space using a cuboid Point P with coordinates x, y, z is the far corner of a cuboid whose opposite corner is the origin O. PM equals x, the distance from the YZ-plane, PN equals y, the distance from the ZX-plane, and PL equals z, the distance from the XY-plane. A, B and C lie on the x, y and z axes. X Y Z x y z O A B C L M N P(x, y, z) PM = x (from YZ-plane) PN = y (from ZX-plane) PL = z (from XY-plane)
Figure 3: Coordinates of a point in space. and are opposite corners of a cuboid, so , and are the perpendicular distances from the three coordinate planes.

Position vector of a point

If , and are unit vectors along , and , the position vector of with respect to is

In short, the point is often written simply as .

Position vector of a point in space The position vector r of point P equals x times unit vector i plus y times unit vector j plus z times unit vector k. The components x i, y j and z k are drawn head to tail from the origin O along the x, y and z directions and add up to the vector O P. X Y Z î ĵ k̂ xî yĵ zk̂ r P(x, y, z) O r = xî + yĵ + zk̂
Figure 4: Position vector built head to tail from its three components along the coordinate axes.

Points on the axes and coordinate planes

Set of pointsSet notationGeneral point
x-axis
y-axis
z-axis
XY-plane
YZ-plane
ZX-plane

4. Distance Formula

The distance between the points and is

Why it works

Build the cuboid whose edges are parallel to the axes and whose diagonal is (Figure 5). In the horizontal face, and , so . The edge is vertical, so is right-angled at and .

Distance formula in three dimensions Points P x1 y1 z1 and Q x2 y2 z2 are opposite corners of a cuboid with edges parallel to the axes. In the base, P S equals x2 minus x1 and S R equals y2 minus y1, and R Q equals z2 minus z1. Applying Pythagoras theorem twice gives P Q squared equals the sum of the three squares. x2 − x1 y2 − y1 z2 − z1 P(x1, y1, z1) Q(x2, y2, z2) S R X Y Z PQ2 = PS2 + SR2 + RQ2
Figure 5: Proof of the distance formula. Pythagoras in and then in gives .

Vector method

If the position vectors of and are and , then , so

Putting gives the distance of a point from the origin, .
Solved Example 1
Show that the points , and form a right-angled isosceles triangle.
Solution:

Let , and .

, so .

, so .

, so .

Since , . Also . Hence is right-angled and isosceles.

Solved Example 2
Show, using the distance formula, that the points , and are collinear.
Solution:

Let , and .

Since , the points , , are collinear and lies between and . In fact , so is the midpoint of .

Solved Example 3
Find the locus of a point which moves so that the sum of its distances from and is constant.
Solution:

Let the moving point be and let (a constant, with ).

Squaring both sides and cancelling :

Squaring again:

This is the required locus, an ellipsoid with and as foci on the z-axis.

5. Distance of a Point from the Coordinate Axes and Planes

Let , and be the perpendiculars from to the x-axis, y-axis and z-axis. The feet are , and , so by the distance formula

The distance from an axis uses the other two coordinates. The distance from a coordinate plane uses only the missing coordinate.

Distance of a point from the coordinate axes From point P x y z, perpendiculars are dropped to the x-axis at A, the y-axis at B and the z-axis at C. P A equals the square root of y squared plus z squared, P B equals the square root of z squared plus x squared, and P C equals the square root of x squared plus y squared. X Y Z P(x, y, z) A B C O PA = √(y2 + z2) PB = √(z2 + x2) PC = √(x2 + y2)
Figure 6: Distance of from the axes: to the x-axis, to the y-axis and to the z-axis.
Distance of fromValue
origin
x-axis
y-axis
z-axis
YZ-plane
ZX-plane
XY-plane
Solved Example 4
Find the distance of the point from the origin, from each coordinate axis and from each coordinate plane.
Solution:

From the origin: .

From the x-axis: . From the y-axis: . From the z-axis: .

From the YZ-plane: . From the ZX-plane: . From the XY-plane: .

6. Shifting the Origin (Translation of Axes)

Shifting the origin to another point without changing the directions of the axes is called the translation of axes.

Let the origin be shifted to without changing the direction of the axes, and let the new coordinate frame be . If is a point with respect to the frame , then its coordinates with respect to are , where

Shifting the origin in three dimensions The origin O is shifted to O prime x prime y prime z prime without changing the directions of the axes, giving the new frame O prime X prime Y prime Z prime. A point P with coordinates x y z in the old frame has coordinates x1 equals x minus x prime, y1 equals y minus y prime and z1 equals z minus z prime in the new frame. X Y Z X′ Y′ Z′ shift O O′(x′, y′, z′) P In OXYZ: P(x, y, z) In O′X′Y′Z′: P(x1, y1, z1) x1 = x − x′, y1 = y − y′, z1 = z − z′
Figure 7: Translation of axes. When the origin moves to with the same axis directions, the new coordinates of are , , .
New coordinates = old coordinates of the point minus the coordinates of the new origin. A shift of origin changes coordinates but never changes distances, angles or areas.
Solved Example 5
If the origin is shifted to without changing the directions of the axes, find the new coordinates of the point with respect to the new frame.
Solution:

Here the new origin is and the point is .

Therefore the coordinates of the point with respect to the new frame are .

7. Section Formula

Internal division

If divides the join of and internally in the ratio , that is , then

External division

If divides externally in the ratio , that is lies on produced with , then

Section formula: internal and external division Top panel: point P lies between A x1 y1 z1 and B x2 y2 z2 and divides A B internally so that A P to P B is m to n. Bottom panel: point Q lies on A B produced beyond B and divides A B externally so that A Q to Q B is m to n. Internal division: P between A and B m n A(x1, y1, z1) B(x2, y2, z2) P External division: Q outside AB m n A B Q AP : PB = m : n AQ : QB = m : n (m ≠ n)
Figure 8: Section formula. divides internally and divides it externally, both in the ratio .

Midpoint and the form

Putting gives the midpoint of :

When the ratio is unknown, take it as . The dividing point is

If the division is internal; if it is external in the ratio .

Cross pairing: multiplies the coordinates of the far end and multiplies the coordinates of the near end . Swapping them gives the point that divides in instead.
Solved Example 6
Find the coordinates of the point which divides the line joining the points and in the ratio .
Solution:

Let the required point be . Here , , and .

Hence the required point is .

Solved Example 7
Prove that the three points , and are collinear.
Solution:

The general coordinates of a point which divides the join of and in the ratio are

If lies on the line , then for some value of the point coincides with . Equating the x-coordinates:

Putting in (1), , which are the coordinates of .

Hence , , are collinear. Since , divides externally in the ratio .

Solved Example 8
Show that the points , and are collinear. Also find the ratio in which divides .
Solution:

Let divide in the ratio . Then

Equating the x-coordinate to : .

For : and , which match the y and z coordinates of .

So one value of satisfies all three coordinates, and , , are collinear. Since , divides externally in the ratio .

Solved Example 9
The vertices of a triangle are , and . The internal bisector of meets in . Find .
Solution:

and .

By the angle bisector theorem, , so divides internally in the ratio .

Hence units.

Solved Example 10
If the points , , , are , , and respectively, show that and intersect. Also find the point of intersection.
Solution:

Let and meet at . If divides in the ratio and in the ratio , then

Equating x-coordinates: , which simplifies to ...(i)

Equating y-coordinates: , which simplifies to ...(ii)

(ii) minus 2 times (i) gives , so . Putting this in (i): , so .

is rejected because it makes the denominators zero. So .

Check with z-coordinates: and . They agree, so the lines do intersect.

With , . Since , this point is the common midpoint of and .

8. Centroid, Incentre and Centroid of a Tetrahedron

Centroid of a triangle

The centroid of the triangle with vertices , and is

It divides each median in the ratio from the vertex.

Incentre of a triangle

With side lengths , and , the incentre is

Centroid of a tetrahedron

If , , and are the vertices of a tetrahedron, its centroid is

It lies on the line joining a vertex to the centroid of the opposite face and divides it in the ratio .

Centroid of a triangle and centroid of a tetrahedron Left: triangle A B C with its three medians meeting at the centroid G, which divides median A D in the ratio 2 to 1. Right: tetrahedron A B C D where G1 is the centroid of face B C D and the centroid G of the tetrahedron divides A G1 in the ratio 3 to 1. A B C D G AG : GD = 2 : 1 Centroid of a triangle A B C D G1 G Centroid of a tetrahedron AG : GG1 = 3 : 1
Figure 9: Centroid of a triangle divides each median in ; centroid of a tetrahedron divides the line from a vertex to the opposite face centroid in .
Solved Example 11
Two vertices of a triangle are and and its centroid is . Find the third vertex.
Solution:

Let the third vertex be . Using the centroid formula:

Hence the third vertex is .

Solved Example 12
The centroid of the tetrahedron , where is the origin and , , , is . Find the distance of the point from the origin.
Solution:

Distance of from the origin units.

9. Area of a Triangle and Volume of a Tetrahedron

Area using projections on the coordinate planes

For the triangle with vertices , and , let , and be the areas of its projections on the YZ-plane, ZX-plane and XY-plane. Each projection is a triangle in two coordinates, so

The area of is then given by

Area of a triangle in space using projections Triangle A B C in space is projected onto the XY-plane to give triangle A prime B prime C prime whose area is delta z. Similarly delta x and delta y are the areas of the projections on the YZ and ZX planes, and the area delta of triangle A B C satisfies delta squared equals delta x squared plus delta y squared plus delta z squared. X Y Z A′ B′ C′ A B C Area of ABC = Δ Area of A′B′C′ = Δz Δ2 = Δx2 + Δy2 + Δz2
Figure 10: Area of a triangle in 3D. is the area of the projection on the XY-plane; with , from the other two planes, .

Area using vectors

Three points are collinear exactly when this area is zero, which gives a third collinearity test after the distance and section-ratio methods.

Volume of a tetrahedron

The volume of the tetrahedron with vertices , , and is times the modulus of

Equivalently, . If , the four points are coplanar.

Solved Example 13
Find the area of the triangle with vertices , and by both methods.
Solution:

Vector method. and .

So square units.

Projection method.

, so square units. Both methods agree; the sign of does not matter because it is squared.

Solved Example 14
Find the volume of the tetrahedron with vertices , , and .
Solution:

With as the origin, , and .

cubic units.

Common Mistakes to Avoid

Watch out
  • Reading as the distance of the point from the x-axis. It is the distance from the YZ-plane; the distance from the x-axis is .
  • Pairing the ratio wrongly in the section formula. gives the point dividing in , not .
  • Rejecting a negative in the method. A negative value is valid and means external division.
  • Adding the new origin's coordinates while shifting the origin. The rule is subtraction: .
  • Dropping the in , , , or the and the modulus in the volume of a tetrahedron.
  • Giving an octant for a point that has a zero coordinate. Such a point lies on a coordinate plane or an axis.
  • Proving collinearity by showing two distances are equal. You must show that the sum of two distances equals the third.

Frequently Asked Questions

What are the coordinates of a point in space?

The coordinates of a point are its signed perpendicular distances from the YZ-plane, ZX-plane and XY-plane respectively. You can read them by completing a cuboid with the origin and the point as opposite corners: the three edge lengths along the axes are , and .

How do you find which octant a point lies in?

Look only at the signs of the coordinates. is octant I, is II, is III and is IV; the same four patterns with negative give V to VIII. If any coordinate is zero, the point lies on a coordinate plane or axis instead.

What is the distance of a point from the x-axis?

For the foot of the perpendicular on the x-axis is , so the distance is . Similarly the distances from the y-axis and z-axis are and . The distance from the YZ-plane, by contrast, is simply .

How do you prove that three points are collinear in 3D?

There are three quick tests. Show that the sum of two distances equals the third, or show that one point divides the join of the other two in a ratio that satisfies all three coordinates, or show that the area of the triangle formed by the points, , is zero.

What is the difference between internal and external division?

In internal division the point lies between and and the formula uses in the denominator. In external division the point lies on produced and the formula uses , with a minus sign in the numerator too. In the method, a negative signals external division.

How do you find the area of a triangle with vertices in 3D?

The fastest method is using a determinant. Alternatively, find the areas , , of the projections on the three coordinate planes and use . Both give the same answer.

How important is this topic for JEE Main?

Distance formula, section formula and centroid are the first step in most JEE Main 3D geometry questions, including line and shortest-distance problems. Direct questions on collinearity, ratio of division and the third vertex from a centroid also appear, so aim to solve them accurately in under two minutes.

What should JEE Advanced aspirants focus on in this concept?

JEE Advanced rarely asks these formulas directly. They appear inside multi-step problems such as a locus, a ratio found from a variable point, or an area or volume found through vectors. Become fluent with the method and the cross-product area formula, since both return in lines and planes.

Previous year questions on Rectangular Coordinate System in Space

1 question from past papers, each with a step-by-step solution.

Ready to master Three Dimensional Geometry?

Take a full mock test, practice concept-by-concept, and get an AI-powered rank prediction — all on Fundamenthol.