PYQ Vault

CBSE Class 12 Mathematics · Formula sheet

Three Dimensional Geometry formulas

18 formulas, 1 reference table and 44 common traps for CBSE Class 12 Mathematics Three Dimensional Geometry, grouped by subtopic.

Full notes with worked examples

Direction Cosines and Direction Ratios

Learn this subtopic in the notes

Direction cosines from the angles with the axes

Direction cosines

l=cos⁡α,m=cos⁡β,n=cos⁡γ,l2+m2+n2=1l = \cos\alpha,\quad m = \cos\beta,\quad n = \cos\gamma, \qquad l^2 + m^2 + n^2 = 1
  • α,β,γ\alpha, \beta, \gammaangles with the positive x, y and z axes
  • l,m,nl, m, ndirection cosines of the line

Direction ratios, and reading them from an equation

Direction cosines from direction ratios

l=aa2+b2+c2,m=ba2+b2+c2,n=ca2+b2+c2l = \dfrac{a}{\sqrt{a^2 + b^2 + c^2}},\quad m = \dfrac{b}{\sqrt{a^2 + b^2 + c^2}},\quad n = \dfrac{c}{\sqrt{a^2 + b^2 + c^2}}
  • a,b,ca, b, cdirection ratios of the line

The line through two points: collinear points and parallel lines

Direction cosines of the line through two points

x2−x1PQ, y2−y1PQ, z2−z1PQ\dfrac{x_2 - x_1}{PQ},\ \dfrac{y_2 - y_1}{PQ},\ \dfrac{z_2 - z_1}{PQ}

The coordinate axes: direction cosines, feet and distances

AxisDirection cosinesFoot of the perpendicular from (x, y, z)Distance of (x, y, z) from the axis
x-axis1,0,01, 0, 0(x,0,0)(x, 0, 0)y2+z2\sqrt{y^2 + z^2}
y-axis0,1,00, 1, 0(0,y,0)(0, y, 0)x2+z2\sqrt{x^2 + z^2}Q
Board 2023 and 2024 asked the distance of a point from the y-axis: it is √(x² + z²), not |y|.
z-axis0,0,10, 0, 1(0,0,z)(0, 0, z)x2+y2\sqrt{x^2 + y^2}Q
Board 2023 asked the direction ratios of a line parallel to the z-axis: 0, 0, 1.

Common traps

Keeping one sign of the third cosine

When you find the third cosine from l2+m2+n2=1l^2 + m^2 + n^2 = 1, you get its square. Both signs are possible, so the angle can be acute or obtuse. Write both unless the question says which.

Calling 1, 1, 1 direction cosines

Direction cosines must satisfy l2+m2+n2=1l^2 + m^2 + n^2 = 1, and 1+1+1=31 + 1 + 1 = 3. So 1,1,11, 1, 1 are direction ratios; the direction cosines are ±13\pm\dfrac{1}{\sqrt{3}} each.

An angle bigger than a straight angle

The angle a line makes with an axis lies from 00 to π\pi. An option such as 5π4\dfrac{5\pi}{4} can never be that angle.

Assertion-reason code (D) in Mathematics

In CBSE Mathematics papers, code (D) means the Assertion is false and the Reason is true. Decide each statement on its own first, then ask whether the Reason explains the Assertion.

Reading the printed denominators

In 2z+18\dfrac{2z + 1}{8} the denominator 8 is not a direction ratio: the coefficient of zz is 2. Rewrite it as z+124\dfrac{z + \frac{1}{2}}{4} first, and change the sign of the denominator when the variable has a minus sign.

Mixing signs

Divide all three direction ratios by +a2+b2+c2+\sqrt{a^2 + b^2 + c^2}, or all three by −a2+b2+c2-\sqrt{a^2 + b^2 + c^2}. Changing the sign of only one cosine gives a different line.

Forgetting to divide

Direction ratios such as 2,−3,62, -3, 6 are not direction cosines. When the question asks for direction cosines, divide by the square root of the sum of squares, here 7.

Keeping the wrong coordinate

The foot on the y-axis keeps the y-coordinate. The distance from the y-axis leaves the y-coordinate out. Mixing these up gives the option ∣y∣|y| or y2+z2\sqrt{y^2 + z^2}, both wrong.

A zero denominator is not division by zero

x−10=y−10=z−11\dfrac{x - 1}{0} = \dfrac{y - 1}{0} = \dfrac{z - 1}{1} is a line parallel to the z-axis through (1,1,1)(1, 1, 1). The 0 says xx and yy do not change along the line.

Checking only two of the three ratios

Parallel needs one common multiplier for all three pairs, signs included. Two ratios agreeing is not enough; check the third as well.

Parallel is not collinear

Proportional direction ratios of ABAB and BCBC show the segments are parallel. Say also that BB is common to both; that is what puts the three points on one line.

Equation of a Line in Space

Learn this subtopic in the notes

Vector and Cartesian equations of a line through a point

Line through a point, parallel to a vector

r⃗=a⃗+λb⃗x−x1a=y−y1b=z−z1c\vec{r} = \vec{a} + \lambda\vec{b} \qquad \dfrac{x - x_1}{a} = \dfrac{y - y_1}{b} = \dfrac{z - z_1}{c}
  • a⃗\vec{a}position vector of the point (x₁, y₁, z₁)
  • b⃗\vec{b}a vector along the line, with direction ratios a, b, c
  • λ\lambdaa real number (the parameter)

Points on a line: the general point and a given distance

General point of a line

x−x1a=y−y1b=z−z1c=λ ⇒ (x1+aλ, y1+bλ, z1+cλ)\dfrac{x - x_1}{a} = \dfrac{y - y_1}{b} = \dfrac{z - z_1}{c} = \lambda \ \Rightarrow\ (x_1 + a\lambda,\ y_1 + b\lambda,\ z_1 + c\lambda)

A line perpendicular to two given lines

Direction perpendicular to two lines

b⃗=b1⃗×b2⃗=∣i^j^k^a1b1c1a2b2c2∣\vec{b} = \vec{b_1} \times \vec{b_2} = \begin{vmatrix} \hat{i} & \hat{j} & \hat{k} \\ a_1 & b_1 & c_1 \\ a_2 & b_2 & c_2 \end{vmatrix}

Where two lines meet

The lines meet when one λ and one μ satisfy all three

x1+a1λ=x2+a2μ,y1+b1λ=y2+b2μ,z1+c1λ=z2+c2μx_1 + a_1\lambda = x_2 + a_2\mu,\quad y_1 + b_1\lambda = y_2 + b_2\mu,\quad z_1 + c_1\lambda = z_2 + c_2\mu

The foot of the perpendicular and the distance of a point from a line

Foot M of the perpendicular from P

M=(x1+aλ, y1+bλ, z1+cλ),PM→⋅(ai^+bj^+ck^)=0M = (x_1 + a\lambda,\ y_1 + b\lambda,\ z_1 + c\lambda), \qquad \overrightarrow{PM} \cdot (a\hat{i} + b\hat{j} + c\hat{k}) = 0

The image of a point in a line

Image from the foot

M=P+P′2 ⇒ P′=2M−PM = \dfrac{P + P'}{2} \ \Rightarrow\ P' = 2M - P

Common traps

Keeping the old point

A line parallel to a given line copies only its direction. The point must be the new one the question gives; MCQ options often keep the given line's point to catch this.

Copying a direction before the standard form

From a line printed as a chain of expressions, or with numerators like (k−y)(k - y), the direction ratios can be read only after each variable has coefficient +1+1.

A vector equation without a parameter

A vector equation needs r⃗=\vec{r} = on the left and a parameter such as λ\lambda multiplying the direction. Writing only a⃗+b⃗\vec{a} + \vec{b} is one point, not a line.

One point where there are two

A distance condition gives a quadratic in λ\lambda. Both roots are points of the line at that distance, one on each side. Give both.

Measuring from the wrong point

Read whether the distance is from AA, from BB or from some other point, and subtract that point's coordinates from the general point.

Leaving the square root in

Square both sides of PQ=dPQ = d before expanding. Expanding under a square root is where most arithmetic slips happen.

The middle sign of the cross product

The j^\hat{j} term of b1⃗×b2⃗\vec{b_1} \times \vec{b_2} carries a minus sign: −j^(a1c2−a2c1)-\hat{j}(a_1c_2 - a_2c_1). Check the answer with two dot products; both must be zero.

Adding or dotting the directions

b1⃗+b2⃗\vec{b_1} + \vec{b_2} is not perpendicular to either line, and b1⃗⋅b2⃗\vec{b_1} \cdot \vec{b_2} is a number, not a direction. Only the cross product gives a direction perpendicular to both.

One letter for both lines

Using λ\lambda in both general points forces the two points to move together, and you may decide that lines which do meet do not. Give each line its own parameter.

Not checking the third coordinate

Two equations in λ\lambda and μ\mu always have a solution unless the lines are parallel. The lines meet only if that solution also satisfies the third equation; write the check in your answer.

Reading the direction before the standard form

A numerator like (k−x)(k - x) means the denominator's sign must change before it is a direction ratio. A wrong sign in one direction ratio gives a wrong λ\lambda and a wrong foot.

Dotting the wrong vectors

The perpendicular condition is PM→\overrightarrow{PM} dotted with the line's direction. Dotting p⃗\vec{p} or a⃗\vec{a} with the direction gives nothing useful.

The length to the wrong point

The length of the perpendicular is PP to the foot MM, not PP to the point printed in the line's equation.

Stopping at the foot

The foot MM is halfway. The image is as far beyond MM as PP is before it: P′=2M−PP' = 2M - P.

Subtracting the wrong way

M−PM - P is the step from PP to the foot, not the image. Use the mid-point formula and solve for each coordinate of P′P'.

Angle Between Two Lines

Learn this subtopic in the notes

The angle between two lines

Acute angle between two lines

cos⁡θ=∣a1a2+b1b2+c1c2∣a12+b12+c12 a22+b22+c22=∣b1⃗⋅b2⃗∣∣b1⃗∣ ∣b2⃗∣\cos\theta = \dfrac{|a_1a_2 + b_1b_2 + c_1c_2|}{\sqrt{a_1^2 + b_1^2 + c_1^2}\,\sqrt{a_2^2 + b_2^2 + c_2^2}} = \dfrac{|\vec{b_1} \cdot \vec{b_2}|}{|\vec{b_1}|\,|\vec{b_2}|}
  • a1,b1,c1a_1, b_1, c_1direction ratios of the first line
  • a2,b2,c2a_2, b_2, c_2direction ratios of the second line

Perpendicular lines, and finding an unknown

Condition for perpendicular lines

a1a2+b1b2+c1c2=0b1⃗⋅b2⃗=0a_1a_2 + b_1b_2 + c_1c_2 = 0 \qquad \vec{b_1} \cdot \vec{b_2} = 0

Parallel lines

Condition for parallel lines

a1a2=b1b2=c1c2\dfrac{a_1}{a_2} = \dfrac{b_1}{b_2} = \dfrac{c_1}{c_2}

Common traps

No modulus, an obtuse angle

Without the modulus a negative dot product gives an obtuse angle. The angle between two lines is taken acute, so cos⁡θ=∣l1l2+m1m2+n1n2∣\cos\theta = |l_1l_2 + m_1m_2 + n_1n_2|.

Using the points

The vectors a1⃗\vec{a_1} and a2⃗\vec{a_2} only place the lines. Putting them into the angle formula is a common slip in long vector equations.

A numerator with the variable second

In k−zc\dfrac{k - z}{c} the direction ratio is −c-c. A wrong sign changes the dot product and the angle.

The sign hidden in the numerator

A numerator written as (number minus variable) flips the sign of its denominator. Missing this changes the equation, and the value of the unknown comes out wrong.

Forgetting the 1 for y

In x=py+qx = py + q, z=ry+sz = ry + s the direction ratios are p,1,rp, 1, r. Perpendicular means pp′+rr′=−1pp' + rr' = -1, not +1+1; the 2026 assertion printed +1+1 and was false.

One root of a square

When the unknown appears as a square, the equation has two roots. Both give perpendicular lines; write both.

Dot product zero means perpendicular

A Reason that says lines are parallel when b1⃗⋅b2⃗=0\vec{b_1} \cdot \vec{b_2} = 0 is false. Parallel needs proportional direction ratios.

Opposite directions still parallel

Direction ratios 3,−6,93, -6, 9 and −1,2,−3-1, 2, -3 are proportional with a negative multiplier. The lines are parallel; a minus sign does not stop that.

Shortest Distance Between Two Lines

Learn this subtopic in the notes

Shortest distance between skew lines

d=∣(b1⃗×b2⃗)⋅(a2⃗−a1⃗)∣b1⃗×b2⃗∣∣d = \left|\dfrac{(\vec{b_1} \times \vec{b_2}) \cdot (\vec{a_2} - \vec{a_1})}{|\vec{b_1} \times \vec{b_2}|}\right|
  • a1⃗,a2⃗\vec{a_1}, \vec{a_2}position vectors of a point on each line
  • b1⃗,b2⃗\vec{b_1}, \vec{b_2}direction vectors of the two lines

Distance between parallel lines

d=∣b⃗×(a2⃗−a1⃗)∣∣b⃗∣d = \dfrac{|\vec{b} \times (\vec{a_2} - \vec{a_1})|}{|\vec{b}|}

Do the lines meet? Intersecting, parallel or skew

Lines that are not parallel intersect exactly when

(a2⃗−a1⃗)⋅(b1⃗×b2⃗)=0(\vec{a_2} - \vec{a_1}) \cdot (\vec{b_1} \times \vec{b_2}) = 0

Common traps

A negative distance

The dot product can be negative. The distance is its modulus divided by ∣b1⃗×b2⃗∣|\vec{b_1} \times \vec{b_2}|; write the modulus in the formula line, where it earns a mark.

The skew formula on parallel lines

For parallel lines b1⃗×b2⃗=0⃗\vec{b_1} \times \vec{b_2} = \vec{0} and the formula becomes 00\dfrac{0}{0}. Compare the direction ratios before you choose a formula.

Terms printed out of order

When a vector equation prints its k^\hat{k} term before its j^\hat{j} term, sort the parts by i^\hat{i}, j^\hat{j}, k^\hat{k} before you read a⃗\vec{a} and b⃗\vec{b}.

Two different b's

If the second line carries 2b⃗2\vec{b}, use b⃗\vec{b} in both the cross product and the denominator, or 2b⃗2\vec{b} in both. Mixing them doubles or halves the answer.

A dot product in place of the cross product

For parallel lines the numerator is the length of a cross product, ∣b⃗×(a2⃗−a1⃗)∣|\vec{b} \times (\vec{a_2} - \vec{a_1})|. A dot product there gives a different number.

A zero triple product alone

Zero also happens for parallel lines, which lie in one plane but never meet. Say the directions are not proportional as well; only then does zero mean the lines intersect.

Skew is not parallel

Lines that do not meet may be parallel or skew. Skew lines have directions that are not proportional and a non-zero shortest distance.

The Plane

Learn this subtopic in the notes

Equation of a plane and the distance of a point from it

Plane through a point with a given normal

a(x−x1)+b(y−y1)+c(z−z1)=0d=∣ax1+by1+cz1+d∣a2+b2+c2a(x - x_1) + b(y - y_1) + c(z - z_1) = 0 \qquad d = \dfrac{|ax_1 + by_1 + cz_1 + d|}{\sqrt{a^2 + b^2 + c^2}}

Planes through the line of intersection of two planes

Family of planes through a line of intersection

(a1x+b1y+c1z+d1)+λ(a2x+b2y+c2z+d2)=0(a_1x + b_1y + c_1z + d_1) + \lambda(a_2x + b_2y + c_2z + d_2) = 0

Where a line meets a plane

General point substituted into the plane

a(x1+lλ)+b(y1+mλ)+c(z1+nλ)+d=0a(x_1 + l\lambda) + b(y_1 + m\lambda) + c(z_1 + n\lambda) + d = 0

Common traps

Distance without the constant moved across

The distance formula uses the plane as ax+by+cz+d=0ax + by + cz + d = 0. Move the constant to the left first, and keep the modulus: a given distance then gives two values of an unknown.

Constants on the wrong side

Bring each plane to the form (expression) =0= 0 before adding λ\lambda times the second. Adding the equations with constants on the right changes the sign of one constant.

Along a line is not perpendicular

"Distance measured along a line" is the length of a segment parallel to that line, from the point to the plane. The perpendicular-distance formula answers a different question.

More CBSE Class 12 Mathematics formula sheets