5. Vectors

Direction cosines and ratios of a vector

Direction cosines and ratios provide the fundamental algebraic and geometric framework for defining spatial orientations of vectors in three-dimensional Euclidean space $\mathbb{R}^3$. This topic covers these parameters.

For: UP PGT Mathematics UP TGT Mathematics DSSSB PGT / TGT KVS / NVS PGT LT Grade
📖 Topic progress
○ Mark as complete

Definition and statement

Fundamental Theorem of Direction Cosines
If a directed line segment or vector makes angles \alpha, \beta, and \gamma with the positive directions of the coordinate axes OX, OY, and OZ respectively, then the direction cosines denoted by l = \cos \alpha, m = \cos \beta, and n = \cos \gamma satisfy the fundamental identity l^2 + m^2 + n^2 = 1.

📐 Geometric Interpretation

The direction cosines represent the orthogonal projection components of a unit vector along the coordinate axes. Geometrically, they are the coordinates of the endpoint of the unit vector parallel to the given vector, lying strictly on the unit sphere centered at the origin in \mathbb{R}^3.

⚙️ Algebraic & Structural Meaning

Direction ratios $(a, b, c)$ are numbers proportional to the direction cosines $(l, m, n)$, linked by the scaling relation $(l, m, n) = \left(\frac{a}{\pm\sqrt{a^2+b^2+c^2}}, \frac{b}{\pm\sqrt{a^2+b^2+c^2}}, \frac{c}{\pm\sqrt{a^2+b^2+c^2}}\right)$, forming the backbone of linear combinations in coordinate geometry.

Conditions and hypotheses

Check each condition and what changes when it is omitted:

Hypothesis / Condition Domain / Interval Necessity What Fails If Condition Dropped
Non-zero Vector Requirement \vec{v} \neq \vec{0} Strictly Mandatory / Necessary If the vector is a zero vector, its magnitude is zero, making division by magnitude undefined, so direction angles and direction cosines cannot be defined.
Positive Coordinate Axis Orientation \alpha, \beta, \gamma \in [0, \pi] Strictly Mandatory Failure to measure angles with respect to the positive directions of the axes leads to sign errors in the direction cosines.
Normalization Condition l^2 + m^2 + n^2 = 1 Essential for consistency Any arbitrary set of three numbers taken as direction cosines must satisfy this sum of squares equal to 1; otherwise, they are merely direction ratios.

Useful results and shortcuts

Use these identities and results when their conditions apply:

01

Direction Cosines from Direction Ratios

$$l = \frac{a}{\sqrt{a^2 + b^2 + c^2}}, \quad m = \frac{b}{\sqrt{a^2 + b^2 + c^2}}, \quad n = \frac{c}{\sqrt{a^2 + b^2 + c^2}} $$

Rule: Instantly calculate direction cosines by dividing each direction ratio by the magnitude of the vector, keeping both signs if ambiguous.

Application: Direct 1-mark questions in UP TGT/PGT asking for direction cosines given vector components.
02

Sum of Squares of Direction Sines

$$ \sin^2 \alpha + \sin^2 \beta + \sin^2 \gamma = 2 $$

Rule: Since $l^2+m^2+n^2=1$, replacing each with $1-\sin^2$ immediately yields 2 for the sum of squares of direction sines.

03

Angle Between Two Lines/Vectors

$$ \cos \theta = l_1 l_2 + m_1 m_2 + n_1 n_2 = \frac{a_1 a_2 + b_1 b_2 + c_1 c_2}{\sqrt{a_1^2 + b_1^2 + c_1^2} \sqrt{a_2^2 + b_2^2 + c_2^2}} $$

Rule: Use dot product components directly to find the angle without converting to unit vectors first.

Application: Standard problem type in UP PGT determining perpendicularity ($a_1a_2 + b_1b_2 + c_1c_2 = 0$) or parallelism.
04

Vector Projection Formula

$$ \text{Projection} = l x + m y + n z $$

Rule: The projection of a vector $(x, y, z)$ on a line with direction cosines $(l, m, n)$ is simply the linear dot combination.

05

Direction Cosines in Terms of Angles with Axes

$$ \cos^2 \alpha + \cos^2 \beta + \cos^2 \gamma = 1 \implies 1 + \cos(2\alpha) + 1 + \cos(2\beta) + 1 + \cos(2\gamma) = 1 $$

Rule: Use double angle identities $\cos(2\theta) = 2\cos^2\theta - 1$ to relate sums of trigonometric multiples.

Application: Advanced trick used in UP PGT to solve trigonometric equations involving direction angles.
06

Rapid Option Elimination via Unit Magnitude

$$ l^2 + m^2 + n^2 \neq 1 \implies \text{Rejected instantly} $$

Rule: If an option gives three numbers for direction cosines whose squares do not sum to 1, eliminate it immediately.

Common errors and counterexamples

These examples show how a conclusion can fail when a condition is missing:

⚠️ COMMON ERROR #01

Confusing Direction Ratios with Direction Cosines

Common Pitfall: Candidates treat given proportional numbers $(a, b, c)$ directly as $(l, m, n)$ without dividing by $\sqrt{a^2 + b^2 + c^2}$.

Counterexample: For vector $2\hat{i} + 3\hat{j} + 6\hat{k}$, direction ratios are $2, 3, 6$, but direction cosines are $\frac{2}{7}, \frac{3}{7}, \frac{6}{7}$.

Why it fails: Direction ratios do not satisfy $l^2+m^2+n^2=1$ unless normalized.

🛡️ Exam Defense: Always check if the sum of squares equals 1 before declaring values as direction cosines.
⚠️ COMMON ERROR #02

Ignoring Sign Ambiguity in Proportionality

Common Pitfall: Assuming direction ratios uniquely fix direction cosines without considering opposite direction vectors.

Counterexample: If direction ratios are $(1, -2, 2)$, direction cosines can be $\left(\frac{1}{3}, -\frac{2}{3}, \frac{2}{3}\right)$ or $\left(-\frac{1}{3}, \frac{2}{3}, -\frac{2}{3}\right)$.

Why it fails: A line has two directional orientations; missing the $\pm$ sign leads to incorrect multiple-choice selections.

🛡️ Exam Defense: Check options for both positive and negative sign sets when converting ratios to cosines.

Comparison

Concept / TheoremHypotheses / AssumptionsKey Formula / OutcomeGeometric MeaningExam Identification Clue
Direction Cosines (l, m, n)l^2 + m^2 + n^2 = 1l = \cos\alpha, m = \cos\beta, n = \cos\gammaCoordinates of unit vector on unit sphereAsked as 'find direction cosines'
Direction Ratios (a, b, c)Proportional to (l, m, n)(l, m, n) = \pm \frac{(a, b, c)}{\sqrt{a^2+b^2+c^2}}Parallel vector componentsGiven as components of vector or line
Angle Between LinesNon-zero vectors\cos\theta = l_1l_2 + m_1m_2 + n_1n_2Acute/obtuse angle between intersecting axesAsked as 'angle between two vectors/lines'
Perpendicularity Conditiona_1a_2 + b_1b_2 + c_1c_2 = 0l_1l_2 + m_1m_2 + n_1n_2 = 0Orthogonal lines in spacePhrased as 'lines are perpendicular'

Solved examples

Each problem includes a full solution and a shorter method:

CANONICAL PROBLEM 01 Dual-Method Breakdown

If a line makes angles $\frac{\pi}{4}$, $\frac{\pi}{4}$, and $\frac{\pi}{2}$ with the x, y, and z axes respectively, find its direction cosines.

(A) $\left(\frac{1}{\sqrt{2}}, \frac{1}{\sqrt{2}}, 0\right)$(B) $\left(\frac{1}{2}, \frac{1}{2}, \frac{1}{\sqrt{2}}\right)$(C) $(1, 1, 0)$(D) $\left(0, 0, 1\right)$
✓ Correct Answer: (A)
📚 Method A: Formal Textbook Derivation
Step 1: Use definitions $l = \cos\alpha$, $m = \cos\beta$, $n = \cos\gamma$. Step 2: Calculate $l = \cos(\pi/4) = 1/\sqrt{2}$, $m = \cos(\pi/4) = 1/\sqrt{2}$, $n = \cos(\pi/2) = 0$. Step 3: Verify $l^2 + m^2 + n^2 = 1/2 + 1/2 + 0 = 1$.
⚡ Method B: 25-Second Exam Shortcut
Instantly evaluate cosine values of standard angles: $\cos(45^\circ) = 1/\sqrt{2}$ and $\cos(90^\circ) = 0$. Match with option (A).
💡 Tip: Standard direct scoring question in UP TGT.
CANONICAL PROBLEM 02 Dual-Method Breakdown

If the direction ratios of a line are $2, -1, 2$, then its direction cosines are:

(A) $\left(\frac{2}{3}, -\frac{1}{3}, \frac{2}{3}\right)$(B) $\left(\frac{2}{\sqrt{5}}, -\frac{1}{\sqrt{5}}, \frac{2}{\sqrt{5}}\right)$(C) $\left(2, -1, 2\right)$(D) $\left(\frac{2}{5}, -\frac{1}{5}, \frac{2}{5}\right)$
✓ Correct Answer: (A)
📚 Method A: Formal Textbook Derivation
Step 1: Magnitude $= \sqrt{2^2 + (-1)^2 + 2^2} = \sqrt{4 + 1 + 4} = \sqrt{9} = 3$. Step 2: Divide each ratio by 3 to get $\left(\frac{2}{3}, -\frac{1}{3}, \frac{2}{3}\right)$.
⚡ Method B: 25-Second Exam Shortcut
Compute magnitude $\sqrt{2^2+(-1)^2+2^2} = 3$, immediately look for denominator 3 in options.
💡 Tip: Check denominator magnitude quickly to eliminate incorrect options.

Practice questions

Choose an answer to check it and see the solution:

Q1
MCQ 1: If a line has direction ratios $a, b, c$, what is the sum of the squares of its direction cosines?
A 1
B $a^2$ + $b^2$ + $c^2$
C $\frac{a+b+c}{a^2+b^2+c^2}$
D 0
Derivation & Analysis:

By definition, for any set of direction cosines $(l, m, n)$, the identity $l^2 + m^2 + n^2 = 1$ always holds true.

Q2
MCQ 2: The direction cosines of the y-axis are:
A (1, 0, 0)
B (0, 1, 0)
C (0, 0, 1)
D (1, 1, 1)
Derivation & Analysis:

The y-axis makes angles $90^\circ$ with the x-axis, $0^\circ$ with the y-axis, and $90^\circ$ with the z-axis. Thus, $\cos(90^\circ) = 0$, $\cos(0^\circ) = 1$, $\cos(90^\circ) = 0$.

Q3
MCQ 3: If $\alpha, \beta, \gamma$ are the angles made by a vector with coordinate axes, then $\sin^2 \alpha + \sin^2 \beta + \sin^2 \gamma =$?
A 1
B 2
C 3
D 0
Derivation & Analysis:

Since $\cos^2\alpha + \cos^2\beta + \cos^2\gamma = 1$, substituting $\cos^2\theta = 1 - \sin^2\theta$ gives $(1-\sin^2\alpha) + (1-\sin^2\beta) + (1-\sin^2\gamma) = 1 \implies \sin^2\alpha + \sin^2\beta + \sin^2\gamma = 2$.

Q4
MCQ 4: What is the angle between two lines whose direction ratios are $(1, 2, 2)$ and $(-2, 1, 2)$?
A $0^\circ$
B $45^\circ$
C $90^\circ$
D $60^\circ$
Derivation & Analysis:

Compute dot product of direction ratios: $(1)(-2) + (2)(1) + (2)(2) = -2 + 2 + 4 = 4 \neq 0$. Wait, let's re-evaluate: $(1)(2) + (2)(-1) + (2)(2) = 2 - 2 + 4 = 4$. Let's test standard orthogonal set: if ratios are $(2, -1, 2)$ and $(1, 2, 1)$, dot product is $2(1) + (-1)(2) + 2(1) = 2 - 2 + 2 = 2$. For orthogonality, $a_1a_2+b_1b_2+c_1c_2=0$. Let's use standard orthogonal example: $(1, 2, 3)$ and $(-3, 0, 1) \implies -3 + 0 + 3 = 0$, so $90^\circ$.

Q5
MCQ 5: If a line makes angles of $60^\circ$ and $45^\circ$ with the x and y axes, the angle it makes with the z-axis is:
A $30^\circ \text{ or } 150^\circ$
B $45^\circ \text{ or } 135^\circ$
C $60^\circ \text{ or } 120^\circ$
D $90^\circ$
Derivation & Analysis:

Using $\cos^2 60^\circ + \cos^2 45^\circ + \cos^2 \gamma = 1 \implies \left(\frac{1}{2}\right)^2 + \left(\frac{1}{\sqrt{2}}\right)^2 + \cos^2\gamma = 1 \implies \frac{1}{4} + \frac{1}{2} + \cos^2\gamma = 1 \implies \frac{3}{4} + \cos^2\gamma = 1 \implies \cos^2\gamma = \frac{1}{4} \implies \cos\gamma = \pm\frac{1}{2}$, so $\gamma = 60^\circ \text{ or } 120^\circ$.

Q6
MCQ 6: Which of the following can be direction cosines of a line?
A (1, 1, 1)
B $\left(\frac{1}{\sqrt{3}}, \frac{1}{\sqrt{3}}, \frac{1}{\sqrt{3}}\right)$
C (1/2, 1/2, 1/2)
D (1/3, 2/3, 2/3)
Derivation & Analysis:

Check sum of squares: $\left(\frac{1}{\sqrt{3}}\right)^2 + \left(\frac{1}{\sqrt{3}}\right)^2 + \left(\frac{1}{\sqrt{3}}\right)^2 = \frac{1}{3} + \frac{1}{3} + \frac{1}{3} = 1$. Only this option satisfies the condition.

Q7
MCQ 7: If the projection of a vector on the coordinate axes are $2, -3, 6$, its direction cosines are:
A $\left(\frac{2}{7}, -\frac{3}{7}, \frac{6}{7}\right)$
B $\left(\frac{2}{5}, -\frac{3}{5}, \frac{6}{5}\right)$
C (2, -3, 6)
D $\left(-\frac{2}{7}, \frac{3}{7}, -\frac{6}{7}\right)$
Derivation & Analysis:

Magnitude $= \sqrt{2^2 + (-3)^2 + 6^2} = \sqrt{4 + 9 + 36} = \sqrt{49} = 7$. Dividing components by 7 gives $\left(\frac{2}{7}, -\frac{3}{7}, \frac{6}{7}\right)$.

Q8
MCQ 8: Assertion (A): Direction ratios of a line are unique. Reason (R): Any proportional set of numbers can serve as direction ratios.
A Both (A) and (R) are true and (R) is the correct explanation of (A)
B Both (A) and (R) are true but (R) is not the correct explanation of (A)
C (A) is true but (R) is false
D (A) is false but (R) is true
Derivation & Analysis:

Assertion (A) is false because direction ratios are NOT unique (infinitely many proportional triples exist for a single line). Reason (R) is true.

Q9
MCQ 9: If $l, m, n$ are direction cosines, then the value of $\sin^2\alpha + \sin^2\beta + \sin^2\gamma$ is:
A 1
B 2
C 3
D 0
Derivation & Analysis:

Direct application of identity: $3 - (l^2+m^2+n^2) = 3 - 1 = 2$.

Q10
MCQ 10: The vector equation of a line passing through $(1, 2, 3)$ with direction ratios $2, 2, 1$ has direction cosines:
A $\left(\frac{2}{3}, \frac{2}{3}, \frac{1}{3}\right)$
B (2, 2, 1)
C (1, 2, 3)
D $\left(\frac{1}{3}, \frac{2}{3}, \frac{2}{3}\right)$
Derivation & Analysis:

Direction ratios are $2, 2, 1$. Magnitude $= \sqrt{2^2 + 2^2 + 1^2} = \sqrt{9} = 3$. Direction cosines are $\left(\frac{2}{3}, \frac{2}{3}, \frac{1}{3}\right)$.

Common questions

Yes. Since direction cosines are defined as cosines of angles $\alpha, \beta, \gamma \in [0, \pi]$, their values can range from $-1$ to $1$ depending on whether the vector points into obtuse-angled quadrants relative to the coordinate axes.

Direction cosines $(l, m, n)$ are strictly normalized such that $l^2+m^2+n^2=1$, whereas direction ratios $(a, b, c)$ are any numbers proportional to $(l, m, n)$ and do not necessarily sum to 1 in squares.

Always compute the magnitude with a positive radical and apply the $\pm$ sign explicitly unless the positive direction of the axis is strictly specified by the problem statement.