Introduction to 3D Geometry & Direction Cosines
(For KEAM – Mathematics)
1. Simple Explanation
In three‑dimensional Cartesian space, every line or plane is described relative to the three perpendicular axes x, y, z.
Direction cosines are the cosines of the angles that a line (or the normal to a plane) makes with the coordinate axes. They provide a convenient, unit‑free way to encode the orientation of a line or plane.
-
For a line L with direction ratios (l, m, n), the direction cosines are
[ \cos\alpha = \frac{l}{\sqrt{l^{2}+m^{2}+n^{2}}},; \cos\beta = \frac{m}{\sqrt{l^{2}+m^{2}+n^{2}}},; \cos\gamma = \frac{n}{\sqrt{l^{2}+m^{2}+n^{2}}} ] where (\alpha, \beta, \gamma) are the angles between L and the x, y, and z axes respectively. -
For a plane with normal vector n = (A, B, C), the same formula gives the direction cosines of the normal.
Thus direction cosines of a plane are simply the normalized components of its normal vector.
A key property:
[
\cos^{2}\alpha + \cos^{2}\beta + \cos^{2}\gamma = 1
]
2. Key Points
| Concept | Formula / Notes |
|---|---|
| Direction Cosines of a Line | (\displaystyle \cos\alpha = \frac{l}{\sqrt{l^{2}+m^{2}+n^{2}}}) etc. |
| Direction Ratios | Any triple ((l,m,n)) proportional to the direction vector of the line. |
| Angle Between Two Lines | If ((l_{1},m_{1},n_{1})) and ((l_{2},m_{2},n_{2})) are direction ratios, then |
| [ | |
| \cos\theta = \frac{l_{1}l_{2}+m_{1}m_{2}+n_{1}n_{2}} |
{\sqrt{l_{1}^{2}+m_{1}^{2}+n_{1}^{2}}\;
\sqrt{l_{2}^{2}+m_{2}^{2}+n_{2}^{2}}}
] or equivalently using direction cosines: (\displaystyle \cos\theta = \cos\alpha_{1}\cos\alpha_{2} + \cos\beta_{1}\cos\beta_{2} + \cos\gamma_{1}\cos\gamma_{2}). | Equation of a Line (parametric) | (\displaystyle \frac{x - x_{0}}{l} = \frac{y - y_{0}}{m} = \frac{z - z_{0}}{n}) | | Equation of a Line (symmetric) | Same as above but with l, m, n as direction ratios. | | Plane Equation | If normal vector n = (A,B,C) then (Ax + By + Cz + D = 0). | | Direction Cosines of a Plane Normal | Same as for a line; they satisfy the unit‑length condition. | | Angle Between a Line and a Plane | Let (\theta) be the angle between the line and the plane, then (\displaystyle \sin\theta = |\cos\phi|) where (\phi) is the angle between the line and the plane’s normal. | | Slope of a Line (in 3‑D) | (\displaystyle \tan\theta = \frac{\sqrt{m^{2}+n^{2}}}{l}) (angle with x‑axis). |
3. Worked Example
Problem:
Find the direction cosines of the line passing through points
(P(1,2,3)) and (Q(4,6,9)).
Use them to determine the angle between this line and the z‑axis.
Step 1 – Direction Ratios
Vector (\overrightarrow{PQ} = \langle 4-1,; 6-2,; 9