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

Example 4: Direction cosines of the xx-, yy- and zz-axes

ExamplesDirection cosines · Section 11.2
The question

Find the direction cosines of xx⁠, yy and zz-axis.

Exam answer

The xx-axis makes angles 0∘,90∘,90∘0^\circ, 90^\circ, 90^\circ with the xx⁠, yy and zz-axes. So its direction cosines are

cos⁡0∘,cos⁡90∘,cos⁡90∘i.e. 1,0,0\begin{aligned} &\cos 0^\circ, \cos 90^\circ, \cos 90^\circ \\ &\text{i.e. } 1, 0, 0 \end{aligned}

Similarly, the yy-axis makes angles 90∘,0∘,90∘90^\circ, 0^\circ, 90^\circ and the zz-axis makes 90∘,90∘,0∘90^\circ, 90^\circ, 0^\circ with the axes.

∴\therefore The direction cosines of the xx⁠, yy and zz-axes are 1,0,01, 0, 0⁠; 0,1,00, 1, 0 and 0,0,10, 0, 1⁠.

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

The one idea this problem is built on

An axis is itself a line, so it has direction cosines like any other line: the cosines of the angles it makes with the three positive axes. An axis makes 0∘0^\circ with itself and 90∘90^\circ with the other two, and cos⁡0∘=1\cos 0^\circ = 1⁠, cos⁡90∘=0\cos 90^\circ = 0⁠.

Given, to find, and the plan
Given
The three coordinate axes, taken in their positive directions.
To find
The direction cosines of each axis.
Plan
(1) Find the angles the xx-axis makes with the three axes and take cosines. (2) Do the same for the yy and zz-axes. (3) Check with l2+m2+n2=1l^2 + m^2 + n^2 = 1 and with the unit vectors i^,j^,k^\hat i, \hat j, \hat k⁠.

Basics you need

1Direction cosines

For a directed line making angles α,β,γ\alpha, \beta, \gamma with the positive xx⁠, yy and zz-axes, the direction cosines are cos⁡α,cos⁡β,cos⁡γ\cos\alpha, \cos\beta, \cos\gamma (Section 11.2). Basics: direction cosines

2The axes are mutually perpendicular

In the rectangular coordinate system each axis is at 90∘90^\circ to the other two. Basics: coordinates in 3D

3Two cosines

cos⁡0∘=1\cos 0^\circ = 1 and cos⁡90∘=0\cos 90^\circ = 0⁠.

Solution

  1. The xx-axis

    The positive xx-axis makes 0∘0^\circ with the xx-axis, and 90∘90^\circ with each of the yy and zz-axes. So its direction cosines are

    cos⁡0∘, cos⁡90∘, cos⁡90∘,i.e. 1,0,0.\cos 0^\circ,\ \cos 90^\circ,\ \cos 90^\circ, \quad\text{i.e. } 1, 0, 0.
    A directed line makes the angle 0∘0^\circ with a line pointing the same way, so the xx-axis makes 0∘0^\circ with the positive xx-axis. The other two axes are perpendicular to it, which is how the coordinate system is built. We take the positive direction of the axis; that is what "the xx-axis" means here.
    Direction cosines are the cosines of the direction angles. Basics: direction cosines
  2. The yy and zz-axes

    y-axis:cos⁡90∘,cos⁡0∘,cos⁡90∘=0,1,0,z-axis:cos⁡90∘,cos⁡90∘,cos⁡0∘=0,0,1.\begin{aligned} y\text{-axis:}\quad &\cos 90^\circ, \cos 0^\circ, \cos 90^\circ \\ &= 0, 1, 0, \\ z\text{-axis:}\quad &\cos 90^\circ, \cos 90^\circ, \cos 0^\circ \\ &= 0, 0, 1. \end{aligned}
    The same reasoning: each axis makes 0∘0^\circ with itself and 90∘90^\circ with the other two. Only the position of the 1 moves, because the order is always (angle with xx⁠, angle with yy⁠, angle with zz⁠).
    The axes are mutually perpendicular. Basics: coordinates in 3D
  3. Check and see them

    Each set passes l2+m2+n2=1l^2 + m^2 + n^2 = 1⁠, for example 12+02+02=11^2 + 0^2 + 0^2 = 1⁠. And li^+mj^+nk^l\hat i + m\hat j + n\hat k gives i^\hat i⁠, j^\hat j and k^\hat k⁠, the unit vectors along the axes.

    X Y Z (1, 0, 0) (0, 1, 0) (0, 0, 1) O
    The unit vectors along the axes in an oblique projection (not to scale: the xx-axis is drawn shortened and slanting). Their components (1,0,0)(1, 0, 0)⁠, (0,1,0)(0, 1, 0)⁠, (0,0,1)(0, 0, 1) are the direction cosines of the axes.
    The unit vector along a line is li^+mj^+nk^l\hat i + m\hat j + n\hat k⁠, so a line whose unit vector is i^\hat i must have direction cosines 1,0,01, 0, 0⁠. This also gives the direction cosines of the negative axes: the negative xx-axis is the xx-axis reversed, so it has −1,0,0-1, 0, 0⁠.
    li^+mj^+nk^l\hat i + m\hat j + n\hat k is the unit vector along the line. Lesson: direction cosines
Result

The direction cosines are 1,0,01, 0, 0 for the xx-axis, 0,1,00, 1, 0 for the yy-axis and 0,0,10, 0, 1 for the zz-axis.

(Textbook answer: 1,0,01, 0, 0⁠; 0,1,00, 1, 0⁠; 0,0,10, 0, 1⁠.)

Check it with numbers

Take a point on the xx-axis, Q(5,0,0)Q(5, 0, 0)⁠, and the origin O(0,0,0)O(0, 0, 0)⁠. The direction ratios of OQOQ are 5,0,05, 0, 0⁠, and OQ=25+0+0=5OQ = \sqrt{25 + 0 + 0} = 5⁠, so the direction cosines are 55,05,05=1,0,0\frac55, \frac05, \frac05 = 1, 0, 0⁠, as found.

Any two axes are perpendicular: for the xx and yy-axes, 1⋅0+0⋅1+0⋅0=01 \cdot 0 + 0 \cdot 1 + 0 \cdot 0 = 0⁠.

Common mistakes
  1. Writing 0,1,10, 1, 1 for the xx-axis. That uses cos⁡90∘=1\cos 90^\circ = 1⁠; in fact cos⁡90∘=0\cos 90^\circ = 0 and cos⁡0∘=1\cos 0^\circ = 1⁠.
  2. Putting the 1 in the wrong place. The order is always xx⁠, yy⁠, zz⁠: the yy-axis is 0,1,00, 1, 0⁠.
  3. Forgetting the direction. "The xx-axis" means the positive direction; the negative xx-axis has −1,0,0-1, 0, 0⁠.
What to take away
  1. The axes have direction cosines 1,0,01, 0, 0⁠; 0,1,00, 1, 0⁠; 0,0,10, 0, 1⁠: the components of i^,j^,k^\hat i, \hat j, \hat k⁠.
  2. A direction cosine is 1 only when the line points exactly along that axis, and 0 when the line is perpendicular to it.

Every fact used, and where it comes from

FactUsed inSource
Direction cosines cos⁡α,cos⁡β,cos⁡γ\cos\alpha, \cos\beta, \cos\gammaSteps 1, 2Section 11.2 (Basics)
The coordinate axes are mutually perpendicularSteps 1, 2Rectangular coordinate system, Section 10.2 (Basics)
cos⁡0∘=1\cos 0^\circ = 1⁠, cos⁡90∘=0\cos 90^\circ = 0Steps 1, 2Trigonometry (Class XI)
l2+m2+n2=1l^2 + m^2 + n^2 = 1⁠; li^+mj^+nk^l\hat i + m\hat j + n\hat k is a unit vectorStep 3Sections 11.2 and 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 →