Class 12 Maths, Worked in Full Past papersGet updates
Chapter 11 · Three Dimensional Geometry

Example 1: Direction cosines of a line at 90∘90^\circ⁠, 60∘60^\circ⁠, 30∘30^\circ to the axes

ExamplesDirection cosines · Section 11.2
The question

If a line makes angle 90∘90^\circ⁠, 60∘60^\circ and 30∘30^\circ with the positive direction of xx⁠, yy and zz-axis respectively, find its direction cosines.

Exam answer

Let the direction cosines of the line be l,m,nl, m, n⁠. Then

l=cos⁡90∘=0m=cos⁡60∘=12n=cos⁡30∘=32\begin{aligned} l &= \cos 90^\circ = 0 \\ m &= \cos 60^\circ = \frac12 \\ n &= \cos 30^\circ = \frac{\sqrt3}{2} \end{aligned}

∴\therefore The direction cosines are 0,12,320, \dfrac12, \dfrac{\sqrt3}{2}⁠.

Want the reason behind every step, the basics and the checks?

The one idea this problem is built on

The direction cosines of a directed line are, by definition, the cosines of the angles it makes with the positive xx⁠, yy and zz-axes. Here the three angles are given, so we only have to take their cosines. The rule l2+m2+n2=1l^2 + m^2 + n^2 = 1 then checks the answer.

Given, to find, and the plan
Given
A line making angles α=90∘\alpha = 90^\circ⁠, β=60∘\beta = 60^\circ⁠, γ=30∘\gamma = 30^\circ with the positive directions of the xx⁠, yy and zz-axes.
To find
Its direction cosines l,m,nl, m, n⁠.
Plan
(1) Name the direction angles. (2) Take their cosines. (3) Check that l2+m2+n2=1l^2 + m^2 + n^2 = 1⁠. (4) See where the line points.

Basics you need

1Direction angles and direction cosines

If a directed line makes angles α,β,γ\alpha, \beta, \gamma with the positive xx⁠, yy and zz-axes, then l=cos⁡αl = \cos\alpha⁠, m=cos⁡βm = \cos\beta⁠, n=cos⁡γn = \cos\gamma are its direction cosines (Section 11.2). Basics: direction cosines

2Cosines of the standard angles

cos⁡90∘=0\cos 90^\circ = 0⁠, cos⁡60∘=12\cos 60^\circ = \frac12 and cos⁡30∘=32\cos 30^\circ = \frac{\sqrt3}{2}⁠, from the half-equilateral triangle with sides 1,3,21, \sqrt3, 2⁠.

3The squares add up to 1

For every line, l2+m2+n2=1l^2 + m^2 + n^2 = 1⁠: the vector li^+mj^+nk^l\hat i + m\hat j + n\hat k is a unit vector along the line, and its length is found by Pythagoras in three dimensions. Basics: distance in 3D

4Points in space

(x,y,z)(x, y, z) means xx units along OXOX⁠, yy along OYOY and zz along OZOZ⁠. A point with x=0x = 0 lies in the yzyz-plane. Basics: three numbers fix a point

Solution

  1. Name the direction angles

    The angles with the positive xx⁠, yy and zz-axes are

    α=90∘,β=60∘,γ=30∘.\alpha = 90^\circ, \quad \beta = 60^\circ, \quad \gamma = 30^\circ.
    The question gives the angles with the positive directions of the axes, which are exactly the direction angles of Section 11.2. They describe the line taken in one direction. The same line taken the other way makes the supplementary angles 180∘−α180^\circ - \alpha⁠, 180∘−β180^\circ - \beta⁠, 180∘−γ180^\circ - \gamma⁠, that is 90∘90^\circ⁠, 120∘120^\circ⁠, 150∘150^\circ⁠.
    Direction angles of a directed line (Section 11.2, recalled from Chapter 10). Basics: direction cosines
  2. Take the cosines

    l=cos⁡90∘=0,m=cos⁡60∘=12,n=cos⁡30∘=32.\begin{aligned} l &= \cos 90^\circ = 0, \\ m &= \cos 60^\circ = \frac12, \\ n &= \cos 30^\circ = \frac{\sqrt3}{2}. \end{aligned}
    This is the definition: direction cosines are the cosines of the direction angles, in the order xx⁠, yy⁠, zz⁠. The values come from the half-equilateral triangle: cut an equilateral triangle of side 2 in half to get a right triangle with sides 1,3,21, \sqrt3, 2 and angles 30∘,60∘,90∘30^\circ, 60^\circ, 90^\circ⁠; then cos⁡60∘=12\cos 60^\circ = \frac12 and cos⁡30∘=32\cos 30^\circ = \frac{\sqrt3}{2}⁠. The cosine of a right angle is 0.
    l=cos⁡αl = \cos\alpha⁠, m=cos⁡βm = \cos\beta⁠, n=cos⁡γn = \cos\gamma⁠. Lesson: direction cosines and direction ratios
  3. Check that the squares add up to 1

    l2+m2+n2=0+14+34=1.l^2 + m^2 + n^2 = 0 + \frac14 + \frac34 = 1.
    Every set of direction cosines must pass this test, because li^+mj^+nk^l\hat i + m\hat j + n\hat k is a unit vector. It is also a real check on the question: not every three angles belong to a line. For example, 60∘,60∘,60∘60^\circ, 60^\circ, 60^\circ would give 14+14+14=34≠1\frac14 + \frac14 + \frac14 = \frac34 \ne 1⁠, so no line makes 60∘60^\circ with all three axes. Our angles pass, so such a line exists.
    l2+m2+n2=1l^2 + m^2 + n^2 = 1 (Section 11.2). Basics: Pythagoras twice
  4. See where the line points

    Draw the line through the origin, in the given direction. The unit vector along it is

    0 i^+12 j^+32 k^,0\,\hat i + \frac12\,\hat j + \frac{\sqrt3}{2}\,\hat k,

    so it ends at P(0,12,32)P\left(0, \frac12, \frac{\sqrt3}{2}\right)⁠. Its xx-coordinate is 0, so OPOP lies in the yzyz-plane.

    X Y Z 60° 30° P(0, 1/2, √3/2) 1/2 √3/2 O 90° with OX
    The unit arrow OPOP in an oblique projection (not to scale: the xx-axis is drawn shortened and slanting). OPOP lies in the yzyz-plane, which is drawn true to shape, so the 60∘60^\circ with OYOY and the 30∘30^\circ with OZOZ look right; OPOP is perpendicular to OXOX⁠.
    A line at 90∘90^\circ to the xx-axis is perpendicular to it, so (through the origin) it lies in the yzyz-plane. Inside that plane the angles with OYOY and OZOZ must add up to 90∘90^\circ⁠, and indeed 60∘+30∘=90∘60^\circ + 30^\circ = 90^\circ⁠. The dashed lines show the cosines as lengths: OPOP has length 1, its shadow on OYOY is cos⁡60∘=12\cos 60^\circ = \frac12 and its shadow on OZOZ is cos⁡30∘=32\cos 30^\circ = \frac{\sqrt3}{2}⁠.
    The components of a unit vector are its direction cosines. Basics: a unit arrow's shadows on the axes
Result

The direction cosines of the line are l=0l = 0⁠, m=12m = \frac12⁠, n=32n = \frac{\sqrt3}{2}⁠. (The same line taken in the opposite direction has 0,−12,−320, -\frac12, -\frac{\sqrt3}{2}⁠.)

(Textbook answer: l=0l = 0⁠, m=12m = \frac12⁠, n=32n = \frac{\sqrt3}{2}⁠.)

Check it with numbers

To eight places, cos⁡60∘=0.50000000\cos 60^\circ = 0.50000000 and cos⁡30∘=0.86602540\cos 30^\circ = 0.86602540⁠. Then 0.500000002=0.250.50000000^2 = 0.25 and 0.866025402≈0.75000000.86602540^2 \approx 0.7500000⁠, so l2+m2+n2≈0+0.25+0.75=1l^2 + m^2 + n^2 \approx 0 + 0.25 + 0.75 = 1⁠.

Going back from the cosines to the angles: cos⁡−10=90∘\cos^{-1}0 = 90^\circ⁠, cos⁡−10.5=60∘\cos^{-1}0.5 = 60^\circ and cos⁡−10.86602540≈30.000000∘\cos^{-1}0.86602540 \approx 30.000000^\circ⁠.

Common mistakes
  1. Writing cos⁡90∘=1\cos 90^\circ = 1⁠. It is cos⁡0∘\cos 0^\circ that equals 1; cos⁡90∘=0\cos 90^\circ = 0⁠.
  2. Swapping the values of cos⁡30∘\cos 30^\circ and cos⁡60∘\cos 60^\circ⁠. The larger angle has the smaller cosine: cos⁡60∘=12<32=cos⁡30∘\cos 60^\circ = \frac12 < \frac{\sqrt3}{2} = \cos 30^\circ⁠.
  3. Taking sines instead of cosines. That gives sin⁡90∘,sin⁡60∘,sin⁡30∘=1,32,12\sin 90^\circ, \sin 60^\circ, \sin 30^\circ = 1, \frac{\sqrt3}{2}, \frac12⁠, whose squares add up to 1+34+14=21 + \frac34 + \frac14 = 2⁠, not 1; the check l2+m2+n2=1l^2 + m^2 + n^2 = 1 catches this slip. (It does not catch the swap in mistake 2, because 0,32,120, \frac{\sqrt3}{2}, \frac12 also passes it.)
  4. Using the angles with the coordinate planes. Direction angles are measured from the axes, not from the planes xyxy⁠, yzyz⁠, zxzx⁠.
What to take away
  1. Given the angles with the axes, the direction cosines are just their cosines, in the order xx⁠, yy⁠, zz⁠.
  2. Always check l2+m2+n2=1l^2 + m^2 + n^2 = 1⁠; three angles that fail it belong to no line.
  3. A direction cosine 0 means the line is perpendicular to that axis.

Every fact used, and where it comes from

FactUsed inSource
Direction angles and l=cos⁡αl = \cos\alpha⁠, m=cos⁡βm = \cos\beta⁠, n=cos⁡γn = \cos\gammaSteps 1, 2Section 11.2; Section 10.2 (Basics)
Reversing a line replaces each angle by its supplement and flips the signsStep 1, ResultSection 11.2
cos⁡90∘=0\cos 90^\circ = 0⁠, cos⁡60∘=12\cos 60^\circ = \frac12⁠, cos⁡30∘=32\cos 30^\circ = \frac{\sqrt3}{2}Step 2Trigonometry (Class XI)
l2+m2+n2=1l^2 + m^2 + n^2 = 1Step 3Section 11.2 (Basics)
li^+mj^+nk^l\hat i + m\hat j + n\hat k is a unit vector along the lineStep 4Section 10.5.1 (Lesson)
Found an error, or want more?

Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →