Direction cosines from ratios
Three Dimensional Geometry · Direction Cosines and Direction Ratios\[l=\frac{a}{\sqrt{a^2+b^2+c^2}},\ m=\frac{b}{\sqrt{a^2+b^2+c^2}},\ n=\frac{c}{\sqrt{a^2+b^2+c^2}}\]
Chapter 11 · Vectors and Three-Dimensional Geometry
In three dimensions, a line is fixed by a point on it and its direction. This chapter describes directions with direction cosines and direction ratios, writes the equation of a line in vector and Cartesian form, finds the angle between two lines, and computes the shortest distance between two skew lines – lines that are neither parallel nor intersecting.
This chapter applies vector methods to lines in space. You will find direction cosines and direction ratios of a line, write the equation of a line in vector and Cartesian form, find the angle between two lines and calculate the shortest distance between two skew lines or two parallel lines.
Planes are not in the 2026-27 syllabus, even though older books devote a large section to them. Everything in this chapter is now about lines, so you can skip equations of planes, angles between planes and distances from a plane.
It belongs to the Vectors and Three-Dimensional Geometry unit, worth 14 marks together with Vector Algebra. Direction cosines and the angle between lines suit MCQs and short answers, while finding the shortest distance between two lines, or showing that two lines intersect, works well as a longer question. The question pattern described here is the one this site follows; always confirm it in the latest official sample paper at cbseacademic.nic.in.
Key tip: Before using a Cartesian equation, put it in standard form \(\frac{x-x_1}{a}=\frac{y-y_1}{b}=\frac{z-z_1}{c}\). A line written as \(\frac{1-x}{2}\) must become \(\frac{x-1}{-2}\), or both the point and the direction ratios will be wrong.
\[l=\frac{a}{\sqrt{a^2+b^2+c^2}},\ m=\frac{b}{\sqrt{a^2+b^2+c^2}},\ n=\frac{c}{\sqrt{a^2+b^2+c^2}}\]
\[\vec r=\vec a+\lambda\vec b,\qquad \frac{x-x_1}{a}=\frac{y-y_1}{b}=\frac{z-z_1}{c}\]
\[\cos\theta=\frac{|a_1a_2+b_1b_2+c_1c_2|}{\sqrt{\sum a_1^2}\sqrt{\sum a_2^2}}\]
\[d=\frac{|(\vec a_2-\vec a_1)\cdot(\vec b_1\times\vec b_2)|}{|\vec b_1\times\vec b_2|}\]
On \(\frac{x-1}{2}=\frac{y+3}{-1}=\frac{z}{4}=\lambda\), every point is \((1+2\lambda,\ -3-\lambda,\ 4\lambda)\).
Two non-parallel lines intersect exactly when their shortest distance is 0 (they are coplanar).
\(2,-1,2\) are direction ratios; the direction cosines are \(\frac23,-\frac13,\frac23\).
In \(\frac{1-x}{2}=\frac{y}{3}=\frac{2z+1}{4}\), rewrite as \(\frac{x-1}{-2}=\frac{y}{3}=\frac{z+\frac12}{2}\): DRs are \(-2,3,2\).
\(\vec r=(\hat i+\hat k)+\lambda(\hat i+\hat j)\) and \(\vec r=(2\hat j-\hat k)+\mu(\hat j+\hat k)\).
\(\vec b_1\times\vec b_2=\hat i-\hat j+\hat k\), \(\vec a_2-\vec a_1=-\hat i+2\hat j-2\hat k\); \(d=\frac{|-1-2-2|}{\sqrt3}=\frac{5}{\sqrt3}\).
Untimed mixed questions from all topics. Answers are revealed after you submit.
Start PracticeA board-style chapter test drawn fresh from the question bank each time: MCQs, assertion-reason, numericals, written answers you self-check against model solutions, and a case study.
Start TestNo. Planes in 3-D are part of the rationalised content, so this chapter covers only lines.
Direction ratios are any three numbers proportional to the direction cosines. Direction cosines are the specific ratios that satisfy \(l^2+m^2+n^2=1\).
If the shortest distance between two non-parallel lines is zero, the lines intersect. If it is non-zero, the lines are skew.
Practise writing lines in standard form and then apply the angle and distance formulas carefully. Check the cross product by confirming it is perpendicular to both direction vectors.