MHT-CET Maths · Line and Plane

Line — Equation, Direction Cosines, and Vector Form

How to describe a straight line in 3-D — through direction ratios and direction cosines (with l² + m² + n² = 1), in symmetric Cartesian form and vector form r = a + λb, and — the MHT-CET workhorse — how to find a line's direction as the cross product of two given directions (perpendicular to two lines, or parallel to / the intersection of two planes).

Why this matters

This is the densest single subtopic in Line and Plane — about 23 PYQs, leaning MODERATE-to-HARD. ONE idea dominates the hard half: when a line must be perpendicular to two given directions, or parallel to two planes, or is the intersection of two planes, its direction vector is the CROSS PRODUCT of the two direction/normal vectors — the same 3×3 determinant every time. The rest is conversion fluency: rewrite a non-standard Cartesian equation like 2x − 2 = 3y + 1 = 6z − 2 into symmetric form, read off a point and direction, and translate to vector form. Master the cross-product reflex plus the normalize-the-Cartesian-form drill and you own the subtopic.

Concept 1 of 8

Direction ratios, direction cosines, and the l² + m² + n² = 1 identity

Intuition

A line's direction is fixed by three numbers. The raw, unscaled triple (a,b,c)(a, b, c) is its direction ratios — any nonzero multiple points the same way. Normalise them to unit length and you get the direction cosines (l,m,n)(l, m, n): the cosines of the angles the line makes with the X, Y, Z axes. Because they are components of a UNIT vector, they always satisfy l2+m2+n2=1l^2 + m^2 + n^2 = 1.

Definition

For a line with direction ratios (a,b,c)(a, b, c):

  • The direction cosines are l=aa2+b2+c2l = \dfrac{a}{\sqrt{a^2+b^2+c^2}}, m=ba2+b2+c2m = \dfrac{b}{\sqrt{a^2+b^2+c^2}}, n=ca2+b2+c2n = \dfrac{c}{\sqrt{a^2+b^2+c^2}}, where l=cosαl = \cos\alpha, m=cosβm = \cos\beta, n=cosγn = \cos\gamma and α,β,γ\alpha, \beta, \gamma are the angles with the X, Y, Z axes.
  • They always satisfy the identity l2+m2+n2=1l^2 + m^2 + n^2 = 1, i.e. cos2α+cos2β+cos2γ=1\cos^2\alpha + \cos^2\beta + \cos^2\gamma = 1.

So from any two of the three axis-angles you can recover the third, and a sign choice (±\pm) decides which of the two supplementary angles the line makes.

Direction cosines and their identity

(l,m,n)=(a,b,c)a2+b2+c2,l2+m2+n2=cos2α+cos2β+cos2γ=1(l, m, n) = \frac{(a, b, c)}{\sqrt{a^2 + b^2 + c^2}}, \qquad l^2 + m^2 + n^2 = \cos^2\alpha + \cos^2\beta + \cos^2\gamma = 1
  • (a,b,c)(a, b, c)direction ratios — any unscaled triple along the line
  • (l,m,n)(l, m, n)direction cosines — the normalised (unit) triple
  • α,β,γ\alpha, \beta, \gammaangles the line makes with the X, Y, Z axes

Diagram · direction cosines (drag to rotate)

xyzr
α ≈ 49° · l = 0.66β ≈ 62° · m = 0.48γ ≈ 54° · n = 0.58

l, m, n are the cosines of the angles r makes with the x-, y-, z-axes — and the components of the unit vector along r. So l² + m² + n² = 1.00 = 1, always.

Worked example

A line makes angles 6060^\circ with the X-axis and 4545^\circ with the Z-axis. Find the acute angle it makes with the Y-axis.
  1. Use cos2α+cos2β+cos2γ=1\cos^2\alpha + \cos^2\beta + \cos^2\gamma = 1 with α=60\alpha = 60^\circ, γ=45\gamma = 45^\circ.
  2. cos260+cos2β+cos245=114+cos2β+12=1\cos^2 60^\circ + \cos^2\beta + \cos^2 45^\circ = 1 \Rightarrow \tfrac{1}{4} + \cos^2\beta + \tfrac{1}{2} = 1.
  3. cos2β=14cosβ=±12\cos^2\beta = \tfrac{1}{4} \Rightarrow \cos\beta = \pm\tfrac{1}{2}. The acute angle is β=60\beta = 60^\circ.
Answer:β=60\beta = 60^\circ
Practice this conceptself-check · 4 quick reps

Try it yourself

A line has direction ratios (2,1,2)(2, -1, 2). Find its direction cosines.

Practice — Level 1 (4 reps)

Quick reps to lock in the method. Try each, then check.

  1. 1.
    Direction cosines of a line with direction ratios (1,2,2)(1, 2, 2)?
  2. 2.
    If l=12,m=12l = \tfrac{1}{2}, m = \tfrac{1}{2}, find n2n^2.
  3. 3.
    A line makes 9090^\circ with the X-axis. What is ll?
  4. 4.
    Can (l,m,n)=(23,23,23)(l, m, n) = (\tfrac{2}{3}, \tfrac{2}{3}, \tfrac{2}{3}) be direction cosines?

From the bank · past-year question

Example 1Line and PlaneEASY
If the directed line makes an angle 4545^{\circ} and 6060^{\circ} with the X and Y -axes respectively, then the obtuse angle θ\theta made by the line with the Z -axis is

[Q137 · 19 April Shift I · 2025]

Direction ratios are NOT direction cosines until you normalise

(2,1,2)(2, -1, 2) are direction ratios; the direction cosines are (2,1,2)/3(2, -1, 2)/3. The identity l2+m2+n2=1l^2 + m^2 + n^2 = 1 holds only for the normalised triple — never for raw ratios.

The ±\pm sign decides acute vs obtuse

Solving cos2γ=14\cos^2\gamma = \tfrac14 gives cosγ=±12\cos\gamma = \pm\tfrac12, i.e. γ=60\gamma = 60^\circ OR 120120^\circ. Read the question: if it asks for the OBTUSE angle, take the negative root and report 120120^\circ, not 6060^\circ.

Concept 2 of 8

Symmetric Cartesian form and vector form of a line

Intuition

A line in 3-D is pinned down by ONE point on it and ONE direction. The vector form r=a+λb\vec{r} = \vec{a} + \lambda\vec{b} says "start at a\vec{a}, then walk any multiple λ\lambda of b\vec{b}." The symmetric Cartesian form is the same line with λ\lambda eliminated — equating the three coordinate expressions. Translating between them is pure book-keeping: read the point, read the direction.

Definition

A line through point A(x1,y1,z1)A(x_1, y_1, z_1) with direction ratios (a,b,c)(a, b, c):

  • Vector form: r=a+λb\vec{r} = \vec{a} + \lambda\vec{b}, where a=x1i^+y1j^+z1k^\vec{a} = x_1\hat{i} + y_1\hat{j} + z_1\hat{k} is the position vector of AA and b=ai^+bj^+ck^\vec{b} = a\hat{i} + b\hat{j} + c\hat{k} is the direction.
  • Symmetric (Cartesian) form: xx1a=yy1b=zz1c\dfrac{x - x_1}{a} = \dfrac{y - y_1}{b} = \dfrac{z - z_1}{c}.

To convert: the constants in the numerators give the point, the denominators give the direction. The two forms describe exactly the same line.

Symmetric and vector form

xx1a=yy1b=zz1cr=a+λb\frac{x - x_1}{a} = \frac{y - y_1}{b} = \frac{z - z_1}{c} \quad\Longleftrightarrow\quad \vec{r} = \vec{a} + \lambda\vec{b}
  • (x1,y1,z1)(x_1, y_1, z_1)a fixed point on the line (the numerators)
  • (a,b,c)(a, b, c)direction ratios of the line (the denominators)
  • λ\lambdascalar parameter sweeping along the line

Worked example

Write the vector equation of the line x32=y+14=z51\dfrac{x-3}{2} = \dfrac{y+1}{-4} = \dfrac{z-5}{1}.
  1. Read the point from the numerators: A(3,1,5)A(3, -1, 5), so a=3i^j^+5k^\vec{a} = 3\hat{i} - \hat{j} + 5\hat{k}.
  2. Read the direction from the denominators: b=2i^4j^+k^\vec{b} = 2\hat{i} - 4\hat{j} + \hat{k}.
  3. Assemble: r=(3i^j^+5k^)+λ(2i^4j^+k^)\vec{r} = (3\hat{i} - \hat{j} + 5\hat{k}) + \lambda(2\hat{i} - 4\hat{j} + \hat{k}).
Answer:r=(3i^j^+5k^)+λ(2i^4j^+k^)\vec{r} = (3\hat{i} - \hat{j} + 5\hat{k}) + \lambda(2\hat{i} - 4\hat{j} + \hat{k})
Practice this conceptself-check · 4 quick reps

Try it yourself

Find the vector equation of the line whose Cartesian form is y=2, 4x3z+5=0y = 2,\ 4x - 3z + 5 = 0.

Practice — Level 1 (4 reps)

Quick reps to lock in the method. Try each, then check.

  1. 1.
    Direction of the line x14=y2=z+35\dfrac{x-1}{4} = \dfrac{y}{-2} = \dfrac{z+3}{5}?
  2. 2.
    A point on x+21=y73=z6\dfrac{x+2}{1} = \dfrac{y-7}{3} = \dfrac{z}{6}?
  3. 3.
    Vector form of x1=y11=z21\dfrac{x}{1} = \dfrac{y-1}{1} = \dfrac{z-2}{1}?
  4. 4.
    In r=a+λb\vec{r} = \vec{a} + \lambda\vec{b}, which vector gives the direction?

From the bank · past-year question

Example 2Line and PlaneMODERATE
The vector equation of a line whose Cartesian equations are y=2,4x3z+5=0y = 2, 4x - 3z + 5 = 0 is

[Q101 · 2nd May Shift 1 · 2023]

Numerators give the point, denominators give the direction — don't swap them

In x32=\dfrac{x-3}{2} = \cdots the point coordinate is +3+3 (sign flipped from x3x - 3) and the direction is 22. A frequent slip is reading the denominator as part of the point or carrying the wrong sign on the constant.

A fixed coordinate means a zero direction component

For y=2y = 2, the line never moves in yy, so the direction's j^\hat{j}-component is 00 — the direction is (3,0,4)(3, 0, 4), not (3,2,4)(3, 2, 4). The constant 22 belongs to the POINT, not the direction.

Concept 3 of 8

Line through two points

Intuition

Two points fix a line. The direction is simply the displacement from one to the other — head minus tail, BAB - A. Take that as the direction and either point as the base, and you have the whole line. "Parallel to the line joining PP and QQ" means the same thing: just borrow the direction QPQ - P.

Definition

The line through points A(a)A(\vec{a}) and B(b)B(\vec{b}) has:

  • Direction ba\vec{b} - \vec{a} (head minus tail).
  • Vector form r=a+λ(ba)\vec{r} = \vec{a} + \lambda(\vec{b} - \vec{a}).

A line parallel to ABAB but passing through a different point P(p)P(\vec{p}) keeps the same direction: r=p+λ(ba)\vec{r} = \vec{p} + \lambda(\vec{b} - \vec{a}).

Direction from two points

r=a+λ(ba)\vec{r} = \vec{a} + \lambda(\vec{b} - \vec{a})
  • a,b\vec{a}, \vec{b}position vectors of the two points
  • ba\vec{b} - \vec{a}the line's direction (displacement ABA \to B)

Diagram · position vectors & displacement

OABabb − a

From the origin O, the position vectors a and b locate points A and B. The displacement from A to B is AB = b − a — move it anywhere and shift the origin: the difference, and so AB, is unchanged.

Worked example

Find the vector equation of the line through (3,0,2)(3, 0, -2) parallel to the line joining P(2i^j^+k^)P(2\hat{i} - \hat{j} + \hat{k}) and Q(4i^+3j^k^)Q(4\hat{i} + 3\hat{j} - \hat{k}).
  1. Direction =QP=(4i^+3j^k^)(2i^j^+k^)=2i^+4j^2k^= Q - P = (4\hat{i} + 3\hat{j} - \hat{k}) - (2\hat{i} - \hat{j} + \hat{k}) = 2\hat{i} + 4\hat{j} - 2\hat{k}.
  2. Base point given: p=3i^2k^\vec{p} = 3\hat{i} - 2\hat{k}.
  3. Line: r=(3i^2k^)+λ(2i^+4j^2k^)\vec{r} = (3\hat{i} - 2\hat{k}) + \lambda(2\hat{i} + 4\hat{j} - 2\hat{k}).
Answer:r=(3i^2k^)+λ(2i^+4j^2k^)\vec{r} = (3\hat{i} - 2\hat{k}) + \lambda(2\hat{i} + 4\hat{j} - 2\hat{k})
Practice this conceptself-check · 4 quick reps

Try it yourself

Find the direction ratios of the line joining A(1,4,2)A(1, 4, 2) and B(1,4,5)B(-1, 4, 5).

Practice — Level 1 (4 reps)

Quick reps to lock in the method. Try each, then check.

  1. 1.
    Direction of the line through (0,0,0)(0,0,0) and (2,3,6)(2,3,6)?
  2. 2.
    Direction of the line joining (5,1,2)(5,1,2) and (5,4,2)(5,4,2)?
  3. 3.
    Is the direction ABA \to B the same as BAB \to A?
  4. 4.
    Direction of the line joining i^+j^\hat{i} + \hat{j} and 3i^j^+2k^3\hat{i} - \hat{j} + 2\hat{k}?

From the bank · past-year question

Example 3Line and PlaneEASY
The equation of a line passing through the point (2,1,1)(2,-1,1) and parallel to the line joining the points i^+2j^+2k^\hat{i}+2\hat{j}+2\hat{k} and i^+4j^+k^-\hat{i}+4\hat{j}+\hat{k} is

[Q140 · 15th May Shift 2 · 2023]

Head minus tail — keep the order consistent

Direction is ba\vec{b} - \vec{a}; reversing gives the opposite direction. For a line that is fine (a line has no preferred sense), but the option must MATCH a scalar multiple of your direction — a sign flip on only some components is a different vector.

"Parallel to the line joining P, Q" ≠ "through P or Q"

Borrow only the DIRECTION QPQ - P; the base point is the separately-given point. Plugging PP or QQ in as the base point gives the wrong line.

Concept 4 of 8

Normalising a non-standard Cartesian equation

Intuition

MHT-CET loves to disguise a line as 2x2=3y+1=6z22x - 2 = 3y + 1 = 6z - 2. This is NOT yet in symmetric form — the coefficients of x,y,zx, y, z aren't 1. The fix is mechanical: in each piece factor out the coefficient so the variable appears alone, which exposes the true point and rescales the direction ratios. Then clear the fractions to get clean integer direction ratios.

Definition

Given pxp0=qyq0=rzr0px - p_0 = qy - q_0 = rz - r_0 (the x,y,zx, y, z coefficients p,q,rp, q, r are not 1):

  • Factor each piece: p(xp0p)=q(yq0q)=r(zr0r)p\left(x - \tfrac{p_0}{p}\right) = q\left(y - \tfrac{q_0}{q}\right) = r\left(z - \tfrac{r_0}{r}\right).
  • Divide through to symmetric form: xp0/p1/p=yq0/q1/q=zr0/r1/r\dfrac{x - p_0/p}{1/p} = \dfrac{y - q_0/q}{1/q} = \dfrac{z - r_0/r}{1/r}.

So the point is (p0p,q0q,r0r)\left(\tfrac{p_0}{p}, \tfrac{q_0}{q}, \tfrac{r_0}{r}\right) and the direction ratios are (1p,1q,1r)\left(\tfrac{1}{p}, \tfrac{1}{q}, \tfrac{1}{r}\right) — multiply by the LCM to make them integers.

Reduce to symmetric form

pxp0=qyq0=rzr0    xp0/p1/p=yq0/q1/q=zr0/r1/rpx - p_0 = qy - q_0 = rz - r_0 \;\Rightarrow\; \frac{x - p_0/p}{1/p} = \frac{y - q_0/q}{1/q} = \frac{z - r_0/r}{1/r}
  • point(p0p,q0q,r0r)\left(\tfrac{p_0}{p}, \tfrac{q_0}{q}, \tfrac{r_0}{r}\right)
  • direction(1p,1q,1r)\left(\tfrac{1}{p}, \tfrac{1}{q}, \tfrac{1}{r}\right), scaled to integers

Worked example

Write the vector equation of the line 2x2=3y+1=6z22x - 2 = 3y + 1 = 6z - 2.
  1. Factor each piece: 2(x1)=3(y+13)=6(z13)2(x - 1) = 3\left(y + \tfrac{1}{3}\right) = 6\left(z - \tfrac{1}{3}\right).
  2. Symmetric form: x11/2=y+1/31/3=z1/31/6\dfrac{x - 1}{1/2} = \dfrac{y + 1/3}{1/3} = \dfrac{z - 1/3}{1/6}. Point (1,13,13)\left(1, -\tfrac{1}{3}, \tfrac{1}{3}\right).
  3. Direction ratios (12,13,16)\left(\tfrac{1}{2}, \tfrac{1}{3}, \tfrac{1}{6}\right); multiply by 6 (3,2,1)\to (3, 2, 1).
  4. Vector form: r=(i^13j^+13k^)+λ(3i^+2j^+k^)\vec{r} = \left(\hat{i} - \tfrac{1}{3}\hat{j} + \tfrac{1}{3}\hat{k}\right) + \lambda(3\hat{i} + 2\hat{j} + \hat{k}).
Answer:r=(i^13j^+13k^)+λ(3i^+2j^+k^)\vec{r} = \left(\hat{i} - \tfrac{1}{3}\hat{j} + \tfrac{1}{3}\hat{k}\right) + \lambda(3\hat{i} + 2\hat{j} + \hat{k})
Practice this conceptself-check · 4 quick reps

Try it yourself

Reduce 6x2=3y+1=2z26x - 2 = 3y + 1 = 2z - 2 to vector form.

Practice — Level 1 (4 reps)

Quick reps to lock in the method. Try each, then check.

  1. 1.
    Point on the line 3x3=2y+4=z3x - 3 = 2y + 4 = z?
  2. 2.
    Integer direction ratios from (12,13,16)\left(\tfrac{1}{2}, \tfrac{1}{3}, \tfrac{1}{6}\right)?
  3. 3.
    Direction of 4x=3y=2z4x = 3y = 2z?
  4. 4.
    Is 2x2=3y+1=6z22x - 2 = 3y + 1 = 6z - 2 already in symmetric form?

From the bank · past-year question

Example 4Line and PlaneMODERATE
The Cartesian equation of a line is 2x2=3y+1=6z22x-2=3y+1=6z-2, then the vector equation of the line is

[Q121 · 4th May Shift 2 · 2023]

You must factor BEFORE reading the point

From 2x2=2x - 2 = \cdots, the point coordinate is x=1x = 1 (set 2x2=02x - 2 = 0), NOT x=2x = 2 and NOT x=2x = -2. Factor out the coefficient first; the constant alone is misleading.

Direction ratios are the RECIPROCALS of the coefficients

For 2x=3y=6z2x = 3y = 6z the direction is (12,13,16)(3,2,1)\left(\tfrac12, \tfrac13, \tfrac16\right) \propto (3, 2, 1) — the reciprocal pattern. The classic distractor leaves the direction as the coefficients (2,3,6)(2, 3, 6), which points the wrong way.

Concept 5 of 8

Direction as a cross product: ⊥ two lines, ∥ two planes, intersection of two planes

Intuition

This single reflex answers the hardest and most common questions in the subtopic. Whenever a line's direction must be PERPENDICULAR to two given directions, that direction is their cross product d1×d2\vec{d}_1 \times \vec{d}_2. Three disguises of the same idea: (1) a line perpendicular to two given lines → cross the two lines' directions; (2) a line parallel to two planes → it's perpendicular to both normals, so cross the two NORMALS; (3) the line of intersection of two planes → it lies in both, hence perpendicular to both normals, so again cross the normals.

Definition

Compute the direction via the 3×33 \times 3 determinant:

d=u×v=i^j^k^u1u2u3v1v2v3\vec{d} = \vec{u} \times \vec{v} = \begin{vmatrix} \hat{i} & \hat{j} & \hat{k} \\ u_1 & u_2 & u_3 \\ v_1 & v_2 & v_3 \end{vmatrix}
where u,v\vec{u}, \vec{v} are:

  • the two lines' direction vectors (for a line \perp both lines, or perpendicular to two given vectors), OR
  • the two planes' normal vectors n1,n2\vec{n}_1, \vec{n}_2 (for a line parallel to both planes, or the intersection of the two planes).

For a plane ax+by+cz=dax + by + cz = d, the normal is (a,b,c)(a, b, c). The resulting d\vec{d} gives the direction ratios directly; divide by d|\vec{d}| for direction cosines or a unit vector.

Cross product (determinant expansion)

u×v=(u2v3u3v2)i^(u1v3u3v1)j^+(u1v2u2v1)k^\vec{u} \times \vec{v} = (u_2 v_3 - u_3 v_2)\,\hat{i} - (u_1 v_3 - u_3 v_1)\,\hat{j} + (u_1 v_2 - u_2 v_1)\,\hat{k}
  • u,v\vec{u}, \vec{v}the two directions (line directions or plane normals)
  • j^\hat{j} termcarries a MINUS sign — the cofactor expansion's alternating sign

Diagram · unit normal n̂ = (a×b)/|a×b|

ab−n̂

A plane has exactly two unit normals, ±n̂. The cross product a × b picks one by the right-hand rule; b × a gives the other. Dividing by |a × b| rescales it to length 1.

Worked example

Find the equation of the line through (2,1,1)(2, 1, -1) and parallel to the planes x+2yz=3x + 2y - z = 3 and 2xy+z=42x - y + z = 4.
  1. Normals: n1=(1,2,1)\vec{n}_1 = (1, 2, -1), n2=(2,1,1)\vec{n}_2 = (2, -1, 1). The line is parallel to both planes, so \perp both normals.
  2. Direction =n1×n2=((2)(1)(1)(1), [(1)(1)(1)(2)], (1)(1)(2)(2))= \vec{n}_1 \times \vec{n}_2 = \big((2)(1) - (-1)(-1),\ -[(1)(1) - (-1)(2)],\ (1)(-1) - (2)(2)\big).
  3. =(21, (1+2), 14)=(1,3,5)= (2 - 1,\ -(1 + 2),\ -1 - 4) = (1, -3, -5).
  4. Line: x21=y13=z+15\dfrac{x - 2}{1} = \dfrac{y - 1}{-3} = \dfrac{z + 1}{-5}.
Answer:x21=y13=z+15\dfrac{x - 2}{1} = \dfrac{y - 1}{-3} = \dfrac{z + 1}{-5}
Practice this conceptself-check · 4 quick reps

Try it yourself

Find the equation of the line through (1,2,3)(1, 2, 3) perpendicular to the lines x23=y12=z+12\dfrac{x-2}{3} = \dfrac{y-1}{2} = \dfrac{z+1}{-2} and x2=y3=z1\dfrac{x}{2} = \dfrac{y}{-3} = \dfrac{z}{1}.

Practice — Level 1 (4 reps)

Quick reps to lock in the method. Try each, then check.

  1. 1.
    (1,0,0)×(0,1,0)=?(1, 0, 0) \times (0, 1, 0) = ?
  2. 2.
    Normal of the plane 3xy+2z=73x - y + 2z = 7?
  3. 3.
    Direction of the intersection of x=0x = 0 and y=0y = 0 (the YZ and XZ planes)?
  4. 4.
    d1×d2\vec{d}_1 \times \vec{d}_2 for d1=(1,1,0),d2=(0,1,1)\vec{d}_1 = (1,1,0), \vec{d}_2 = (0,1,1)?

From the bank · past-year question

Example 5Line and PlaneMODERATE
The equation of line passing through the point (1,2,3)(1,2,3) and perpendicular to the lines x23=y12=z+12\frac{x-2}{3}=\frac{y-1}{2}=\frac{z+1}{-2} and x2=y3=z1\frac{x}{2}=\frac{y}{-3}=\frac{z}{1} is:

[Q131 · 11th May Shift 2 · 2024]

Parallel to two PLANES → cross the NORMALS, not the planes

A line parallel to two planes is perpendicular to both normals, so its direction is n1×n2\vec{n}_1 \times \vec{n}_2. Likewise the line of intersection of two planes uses n1×n2\vec{n}_1 \times \vec{n}_2. Don't confuse a plane's normal (a,b,c)(a,b,c) with the plane itself.

The j^\hat{j} component flips sign

The middle term of u×v\vec{u} \times \vec{v} is (u1v3u3v1)-(u_1 v_3 - u_3 v_1). Dropping that minus sign is the single most common cross-product error — and the wrong-sign option is always sitting right there as a distractor.

Direction ratios are only defined up to a scalar

(4,7,13)(−4, −7, −13) and (4,7,13)(4, 7, 13) point along the same line, and (2,7,4)(2, -7, 4) equals (4,14,8)/2(4, -14, 8)/2. When matching options, scale your answer before declaring it absent — a common multiple may be the listed choice.

Concept 6 of 8

Unit vector perpendicular to two lines

Intuition

Same cross-product engine, one extra step. After you find d=d1×d2\vec{d} = \vec{d}_1 \times \vec{d}_2 (perpendicular to both lines), the QUESTION often wants the UNIT vector — so divide by d|\vec{d}|. The hard part is arithmetic discipline: get the cross product's signs right, then compute the magnitude correctly.

Definition

The unit vector perpendicular to two lines with directions d1,d2\vec{d}_1, \vec{d}_2 is

n^=d1×d2d1×d2.\hat{n} = \frac{\vec{d}_1 \times \vec{d}_2}{|\vec{d}_1 \times \vec{d}_2|}.
Compute d1×d2\vec{d}_1 \times \vec{d}_2 by the determinant, then d=dx2+dy2+dz2|\vec{d}| = \sqrt{d_x^2 + d_y^2 + d_z^2}. There are TWO unit normals, ±n^\pm\hat{n}; match the sign pattern of the given options.

Unit normal to two lines

n^=d1×d2d1×d2\hat{n} = \frac{\vec{d}_1 \times \vec{d}_2}{|\vec{d}_1 \times \vec{d}_2|}
  • d1×d2\vec{d}_1 \times \vec{d}_2vector perpendicular to both lines
  • d1×d2|\vec{d}_1 \times \vec{d}_2|its magnitude — divide to normalise

Worked example

Find a unit vector perpendicular to the lines with directions d1=(5,2,1)\vec{d}_1 = (5, 2, 1) and d2=(4,3,5)\vec{d}_2 = (4, 3, 5).
  1. d1×d2=((2)(5)(1)(3), [(5)(5)(1)(4)], (5)(3)(2)(4))=(103, (254), 158)=(7,21,7)\vec{d}_1 \times \vec{d}_2 = \big((2)(5) - (1)(3),\ -[(5)(5) - (1)(4)],\ (5)(3) - (2)(4)\big) = (10 - 3,\ -(25 - 4),\ 15 - 8) = (7, -21, 7).
  2. Factor: (7,21,7)=7(1,3,1)(7, -21, 7) = 7(1, -3, 1), so use direction (1,3,1)(1, -3, 1).
  3. Magnitude: 1+9+1=11\sqrt{1 + 9 + 1} = \sqrt{11}.
  4. Unit vector: 111(i^3j^+k^)\dfrac{1}{\sqrt{11}}(\hat{i} - 3\hat{j} + \hat{k}).
Answer:i^3j^+k^11\dfrac{\hat{i} - 3\hat{j} + \hat{k}}{\sqrt{11}}
Practice this conceptself-check · 4 quick reps

Try it yourself

Find a unit vector perpendicular to both lines whose directions are (3,1,2)(3, 1, 2) and (1,2,3)(1, 2, 3).

Practice — Level 1 (4 reps)

Quick reps to lock in the method. Try each, then check.

  1. 1.
    If d1×d2=(2,1,2)\vec{d}_1 \times \vec{d}_2 = (2, -1, 2), the unit normal is?
  2. 2.
    Magnitude of (5,7,1)(5, -7, -1)?
  3. 3.
    How many unit vectors are perpendicular to two given (non-parallel) lines?
  4. 4.
    Unit vector along (7,21,7)(7, -21, 7)?

From the bank · past-year question

Example 6Line and PlaneMODERATE
Let L1:x+25=y32=z61L_{1}:\frac{x+2}{5}=\frac{y-3}{2}=\frac{z-6}{1} and L2:x34=y+23=z35L_{2}:\frac{x-3}{4}=\frac{y+2}{3}=\frac{z-3}{5} be the given lines. Then the unit vector perpendicular to both L1L_{1} and L2L_{2} is

[Q128 · 15th May Shift 1 · 2023]

Factor the cross product before normalising

(7,21,7)=7(1,3,1)(7, -21, 7) = 7(1, -3, 1). Normalising the unfactored vector still works (49+441+49=711\sqrt{49 + 441 + 49} = 7\sqrt{11}), but factoring first turns the magnitude into the clean 11\sqrt{11} the options use and avoids arithmetic slips.

Both signs are valid — read the option set

+n^+\hat{n} and n^-\hat{n} are both perpendicular to the two lines. The bank's key picks ONE; match the sign pattern of the cross product exactly (especially that flipped j^\hat{j} sign) rather than assuming all-positive.

Concept 7 of 8

Angle a line makes with an axis; equal inclination

Intuition

The cosine of the angle a line makes with an axis is just that axis's direction cosine. With the X-axis it's l=a/dl = a/|\vec{d}|; similarly m,nm, n for Y, Z. A line equally inclined to all three axes has equal direction cosines, which forces equal direction RATIOS — (1,1,1)(1, 1, 1) up to sign and scale.

Definition

For a line with direction d=(a,b,c)\vec{d} = (a, b, c):

  • Angle α\alpha with the X-axis: cosα=aa2+b2+c2\cos\alpha = \dfrac{a}{\sqrt{a^2 + b^2 + c^2}}. Similarly cosβ=bd\cos\beta = \dfrac{b}{|\vec{d}|}, cosγ=cd\cos\gamma = \dfrac{c}{|\vec{d}|}.
  • Equally inclined to all axes: a=b=c|a| = |b| = |c|; each cos=13\cos = \dfrac{1}{\sqrt{3}}, so the angle is cos113\cos^{-1}\tfrac{1}{\sqrt 3}.

When a line is the intersection of two planes, first get its direction n1×n2\vec{n}_1 \times \vec{n}_2, then take cosα=a/d\cos\alpha = a/|\vec{d}|.

Angle with an axis

cosα=aa2+b2+c2,equally inclineda=b=c, cos=13\cos\alpha = \frac{a}{\sqrt{a^2 + b^2 + c^2}}, \qquad \text{equally inclined} \Rightarrow |a| = |b| = |c|,\ \cos = \tfrac{1}{\sqrt 3}
  • α\alphaangle between the line and the X-axis
  • aathe X-direction ratio of the line

Diagram · direction cosines (drag to rotate)

xyzr
α ≈ 49° · l = 0.66β ≈ 62° · m = 0.48γ ≈ 54° · n = 0.58

l, m, n are the cosines of the angles r makes with the x-, y-, z-axes — and the components of the unit vector along r. So l² + m² + n² = 1.00 = 1, always.

Worked example

The line of intersection of the planes 2x+3y+z=12x + 3y + z = 1 and x+3y+2z=2x + 3y + 2z = 2 makes an angle α\alpha with the positive X-axis. Find cosα\cos\alpha.
  1. Direction =n1×n2=(2,3,1)×(1,3,2)=((3)(2)(1)(3), [(2)(2)(1)(1)], (2)(3)(3)(1))=(3,3,3)= \vec{n}_1 \times \vec{n}_2 = (2,3,1) \times (1,3,2) = \big((3)(2)-(1)(3),\ -[(2)(2)-(1)(1)],\ (2)(3)-(3)(1)\big) = (3, -3, 3).
  2. Magnitude: d=9+9+9=33|\vec{d}| = \sqrt{9 + 9 + 9} = 3\sqrt{3}.
  3. cosα=ad=333=13\cos\alpha = \dfrac{a}{|\vec{d}|} = \dfrac{3}{3\sqrt 3} = \dfrac{1}{\sqrt 3}.
Answer:cosα=13\cos\alpha = \dfrac{1}{\sqrt 3}
Practice this conceptself-check · 4 quick reps

Try it yourself

Triangle with A(2,3,5)A(2, 3, 5), B(1,3,2)B(-1, 3, 2), C(λ,5,μ)C(\lambda, 5, \mu). The median through AA is equally inclined to the coordinate axes. Find λ+μ\lambda + \mu.

Practice — Level 1 (4 reps)

Quick reps to lock in the method. Try each, then check.

  1. 1.
    Angle of (1,1,1)(1, 1, 1) with each axis?
  2. 2.
    cosα\cos\alpha (with X-axis) for direction (2,1,2)(2, 1, 2)?
  3. 3.
    Equal inclination to all axes forces which direction ratios?
  4. 4.
    Direction making 4545^\circ with X and Z, 9090^\circ with Y?

From the bank · past-year question

Example 7Line and PlaneMODERATE
Let L be the line of intersection of the planes 2x+3y+z=12x+3y+z=1 and x+3y+2z=2x+3y+2z=2. If L makes an angle α\alpha with the positive X-axis, then cosα\cos\alpha equals

[Q140 · 9th May Shift 2 · 2023]

Divide by the magnitude — cosα=a/d\cos\alpha = a/|\vec{d}|, not aa alone

For direction (3,3,3)(3, -3, 3), cosα=3/(33)=1/3\cos\alpha = 3/(3\sqrt 3) = 1/\sqrt 3, NOT 33. The cosine is the NORMALISED first component (the direction cosine), so always divide by d|\vec{d}|.

"Equally inclined" means equal magnitudes, watch the signs

Equal inclination forces a=b=c|a| = |b| = |c|, but signs can differ if the question specifies acute/obtuse angles with particular axes. For the basic case take all components equal and positive.

Concept 8 of 8

Direction cosines from a linear + quadratic constraint pair

Intuition

The hardest item type: you're given TWO relations between l,m,nl, m, n — one linear, one quadratic (often involving the missing third relation l2+m2+n2=1l^2 + m^2 + n^2 = 1 implicitly). Use the linear one to eliminate a variable, substitute into the quadratic to get a single-variable quadratic, solve for the RATIO l:m:nl : m : n, then normalise to actual direction cosines.

Definition

Given a linear relation (e.g. l5m+3n=0l - 5m + 3n = 0) and a quadratic relation (e.g. 7l2+5m23n2=07l^2 + 5m^2 - 3n^2 = 0):

  • Solve the linear relation for one variable, say l=5m3nl = 5m - 3n.
  • Substitute into the quadratic → a homogeneous quadratic in m,nm, n → factor for the ratio m:nm : n (two cases).
  • Back-substitute to get the full ratio l:m:nl : m : n for each case, then normalise (divide by l2+m2+n2\sqrt{l^2 + m^2 + n^2}) to get genuine direction cosines.

Two ratios usually emerge, so there are two valid lines — the answer often lists both.

Method (linear eliminate, quadratic factor, normalise)

l=5m3n  sub  quadratic in m,n    l:m:n  ÷l2+m2+n2  (l,m,n)l = 5m - 3n \;\xrightarrow{\text{sub}}\; \text{quadratic in } m, n \;\Rightarrow\; l : m : n \;\xrightarrow{\div\sqrt{l^2+m^2+n^2}}\; (l, m, n)
  • lineareliminate one of l,m,nl, m, n
  • quadraticfactor for the surviving ratio (two roots → two lines)

Worked example

If the direction cosines l,m,nl, m, n satisfy l+m+n=0l + m + n = 0 and 2lm+2lnmn=02lm + 2ln - mn = 0, find the ratio l:m:nl : m : n for one solution.
  1. From the linear relation: l=(m+n)l = -(m + n).
  2. Substitute: 2((m+n))m+2((m+n))nmn=02m22mn2mn2n2mn=02(-(m+n))m + 2(-(m+n))n - mn = 0 \Rightarrow -2m^2 - 2mn - 2mn - 2n^2 - mn = 0.
  3. 2m25mn2n2=02m2+5mn+2n2=0(2m+n)(m+2n)=0-2m^2 - 5mn - 2n^2 = 0 \Rightarrow 2m^2 + 5mn + 2n^2 = 0 \Rightarrow (2m + n)(m + 2n) = 0.
  4. Case n=2mn = -2m: then l=(m2m)=ml = -(m - 2m) = m, so l:m:n=1:1:2l : m : n = 1 : 1 : -2.
Answer:l:m:n=1:1:2l : m : n = 1 : 1 : -2 (one solution)
Practice this conceptself-check · 4 quick reps

Try it yourself

Direction cosines l,m,nl, m, n satisfy l=5m3nl = 5m - 3n and 7l2+5m23n2=07l^2 + 5m^2 - 3n^2 = 0. Find l+m+nl + m + n for the case l:m:n=1:2:3l : m : n = 1 : 2 : 3.

Practice — Level 1 (4 reps)

Quick reps to lock in the method. Try each, then check.

  1. 1.
    Normalise the ratio 1:2:31 : 2 : 3 to direction cosines.
  2. 2.
    l+m+nl + m + n for direction cosines 16(1,1,2)\tfrac{1}{\sqrt 6}(-1, 1, 2)?
  3. 3.
    Factor 2m2+5mn+2n2=02m^2 + 5mn + 2n^2 = 0.
  4. 4.
    How many lines typically satisfy a linear + quadratic DC pair?

From the bank · past-year question

Example 8Line and PlaneHARD
If the direction cosines l,m,nl, m, n of two lines are connected by relations l5m+3n=0l - 5m + 3n = 0 and 7l2+5m23n2=07l^2 + 5m^2 - 3n^2 = 0, then value of l+m+nl+m+n is

[Q111 · 11th May Shift 1 · 2024]

Solve for the RATIO first, then normalise — don't skip normalisation

The quadratic gives l:m:nl : m : n (e.g. 1:2:31 : 2 : 3), which are direction RATIOS. Direction cosines require dividing by l2+m2+n2=14\sqrt{l^2 + m^2 + n^2} = \sqrt{14}. Reporting l+m+n=6l + m + n = 6 instead of 6/146/\sqrt{14} is the classic miss.

Two roots → two answers; report both if asked

The quadratic factors into two cases, giving two distinct lines (e.g. 614\tfrac{6}{\sqrt{14}} AND 26\tfrac{2}{\sqrt 6}). The correct option usually lists BOTH values — a single value is an incomplete distractor.

Summary — formulas & gotchas at a glance

A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.

Formulas (8)

  • Direction ratios, direction cosines, and the l² + m² + n² = 1 identity

    Direction cosines and their identity

    (l,m,n)=(a,b,c)a2+b2+c2,l2+m2+n2=cos2α+cos2β+cos2γ=1(l, m, n) = \frac{(a, b, c)}{\sqrt{a^2 + b^2 + c^2}}, \qquad l^2 + m^2 + n^2 = \cos^2\alpha + \cos^2\beta + \cos^2\gamma = 1
  • Symmetric Cartesian form and vector form of a line

    Symmetric and vector form

    xx1a=yy1b=zz1cr=a+λb\frac{x - x_1}{a} = \frac{y - y_1}{b} = \frac{z - z_1}{c} \quad\Longleftrightarrow\quad \vec{r} = \vec{a} + \lambda\vec{b}
  • Line through two points

    Direction from two points

    r=a+λ(ba)\vec{r} = \vec{a} + \lambda(\vec{b} - \vec{a})
  • Normalising a non-standard Cartesian equation

    Reduce to symmetric form

    pxp0=qyq0=rzr0    xp0/p1/p=yq0/q1/q=zr0/r1/rpx - p_0 = qy - q_0 = rz - r_0 \;\Rightarrow\; \frac{x - p_0/p}{1/p} = \frac{y - q_0/q}{1/q} = \frac{z - r_0/r}{1/r}
  • Direction as a cross product: ⊥ two lines, ∥ two planes, intersection of two planes

    Cross product (determinant expansion)

    u×v=(u2v3u3v2)i^(u1v3u3v1)j^+(u1v2u2v1)k^\vec{u} \times \vec{v} = (u_2 v_3 - u_3 v_2)\,\hat{i} - (u_1 v_3 - u_3 v_1)\,\hat{j} + (u_1 v_2 - u_2 v_1)\,\hat{k}
  • Unit vector perpendicular to two lines

    Unit normal to two lines

    n^=d1×d2d1×d2\hat{n} = \frac{\vec{d}_1 \times \vec{d}_2}{|\vec{d}_1 \times \vec{d}_2|}
  • Angle a line makes with an axis; equal inclination

    Angle with an axis

    cosα=aa2+b2+c2,equally inclineda=b=c, cos=13\cos\alpha = \frac{a}{\sqrt{a^2 + b^2 + c^2}}, \qquad \text{equally inclined} \Rightarrow |a| = |b| = |c|,\ \cos = \tfrac{1}{\sqrt 3}
  • Direction cosines from a linear + quadratic constraint pair

    Method (linear eliminate, quadratic factor, normalise)

    l=5m3n  sub  quadratic in m,n    l:m:n  ÷l2+m2+n2  (l,m,n)l = 5m - 3n \;\xrightarrow{\text{sub}}\; \text{quadratic in } m, n \;\Rightarrow\; l : m : n \;\xrightarrow{\div\sqrt{l^2+m^2+n^2}}\; (l, m, n)

Watch out for (17)

Mastery check — 5 interleaved questions

Try each one before clicking. Questions are interleaved across the concepts above, not grouped — interleaving sharpens transfer.

Example 1Line and PlaneMODERATE
The direction cosines of the line xy+2z=5x-y+ 2z= 5 and 3x+y+z=63x+y+z= 6 are

[Q102 · 20 April Shift I · 2025]

Example 2Line and PlaneMODERATE
The vector equation of the line 2x+4=3y+1=6z32x+4=3y+1=6z-3 is

[Q147 · 11th May Shift 1 · 2024]

Example 3Line and PlaneMODERATE
The equation of the line passing through the point (1,3,2)(-1, 3, -2) and perpendicular to each of the lines x1=y2=z3\dfrac{x}{1} = \dfrac{y}{2} = \dfrac{z}{3} and x+23=y12=z+15\dfrac{x+2}{-3} = \dfrac{y-1}{2} = \dfrac{z+1}{5}, is

[Q136 · 2nd May Shift 1 · 2023]

Example 4Line and PlaneHARD
Let L1:x+13=y+21=z+12L_1:\frac{x+1}{3}=\frac{y+2}{1}=\frac{z+1}{2} and L2:x21=y+22=z33L_2:\frac{x-2}{1}=\frac{y+2}{2}=\frac{z-3}{3} be two given lines. Then the unit vector perpendicular to L1L_1 and L2L_2 is

[Q129 · 4th May Shift 1 · 2023]

Example 5Line and PlaneMODERATE
ABC triangle: A(2,3,5), B(-1,3,2), C(λ\lambda,5,μ\mu). Median through A equally inclined to co-ordinate axes. Value of λ+μ\lambda+\mu is

[Q101 · 10th May Shift 1 · 2024]

Drill every past-year question on this subtopic

23 questions from the bank — paginated, with cart and Word-export support.

Related notes