Q.Find the angle between the lines whose direction cosines are given by the equations l+m+n=0, l2+m2−n2=0.
🔒You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.
🔒 Start your 14-day free trial to unlock the full solution →Concept understanding — Angle Between Lines
Angle Between Two Lines
In space, the angle between two lines is measured through their directions, not their positions — two lines that never meet still have a well-defined angle between them (the angle you would see if you slid one across to meet the other).
So the angle between the lines is just the angle between their direction vectors. If the lines run along b1 and b2,
cosθ=∣b1∣∣b2∣∣b1⋅b2∣
Why the absolute value
A line has two opposite directions, so b and −b describe the same line. The modulus in the numerator picks the acute angle (0∘≤θ≤90∘), which is the convention for the angle between lines.
In Cartesian form
If the lines have direction ratios (a1,b1,c1) and (a2,b2,c2),
cosθ=a12+b12+c12a22+b22+c22∣a1a2+b1b2+c1c2∣.
If instead you know the direction cosines (l1,m1,n1) and (l2,m2,n2), the denominators are both 1 and cosθ=∣l1l2+m1m2+n1n2∣.
Two special cases
- Parallel: the direction ratios are proportional, a2a1=b2b1=c2c1.
- Perpendicular: the dot product vanishes, a1a2+b1b2+c1c2=0.
Example …
Concept: Angle Between Lines — using direction cosines to find the angle between two lines.
Step 1: From l+m+n=0, we have n=−(l+m). Substitute into l2+m2−n2=0:
l2+m2−(l+m)2=0⟹l2+m2−(l2+2lm+m2)=0⟹−2lm=0
So lm=0, meaning either l=0 or m=0.
Step 2:
- If l=0, then m+n=0⟹n=−m. Direction ratios: (0,1,−1).
- If m=0, then l+n=0⟹n=−l. Direction ratios: (1,0,−1). …
The angle between the two lines is 60∘ (or π/3). The key is to solve the system for direction ratios, then use the dot product formula.
Why This Approach Works
When two lines are defined by direction cosines (l,m,n) that satisfy given equations, we are essentially finding the intersection of two surfaces in direction-cosine space. Each equation restricts the possible directions; solving them together gives us the actual direction vectors of the lines. The angle between the lines is then simply the angle between these vectors.
The first equation l+m+n=0 is a plane through the origin. The second l2+m2−n2=0 is a cone. Their intersection yields two distinct lines through the origin — exactly the two lines we need.
Step-by-Step Solution
1. Express one variable in terms of the others
From l+m+n=0, we have:
n=−(l+m)
2. Substitute into the second equation
l2+m2−[−(l+m)]2=0
l2+m2−(l2+2lm+m2)=0
l2+m2−l2−2lm−m2=0
−2lm=0
∴lm=0
The condition lm=0 means either l=0 or m=0 (or both, but that would make all three zero, which is impossible for direction cosines). This splits the problem into two separate cases — each case gives one line.
3. Case 1: l=0
With l=0, the first equation gives 0+m+n=0, so n=−m.
The direction ratios for this line are (0,m,−m), or simply (0,1,−1) after scaling.
4. Case 2: m=0
With m=0, the first equation gives l+0+n=0, so n=−l.
The direction ratios for this line are (l,0,−l), or simply (1,0,−1) after scaling. …
Method: Angle between two lines given by direction-cosine equations
Use this when the two lines are not given directly, but their direction cosines (l,m,n) are described by two equations (typically one linear, one homogeneous quadratic).
Steps
Step 1: Eliminate one variable using the linear equation.
Solve the linear relation for one letter (say n) and substitute into the quadratic. You are left with a single homogeneous relation between the other two.
Step 2: Factor to get the two directions.
The reduced relation factors (or collapses to a simple condition such as a product being zero). Each factor or case gives the direction ratios of one of the two lines; scale to convenient integers. …
Common Mistakes
Mistake 1: Solving for the actual direction cosines with l2+m2+n2=1.
Why it's wrong: it adds needless algebra — the angle formula works with direction ratios since the magnitudes cancel. Correct approach: from lm=0 just take ratios (0,1,−1) and (1,0,−1) and substitute.
Mistake 2: Losing one of the two cases from lm=0.
Why it's wrong: lm=0 means l=0 or m=0; each gives one line, and you need both to form the angle. Correct approach: treat the two cases separately, then take the angle between the two resulting directions. …
Showing the 12 most recent of 67 on this concept.
- AP EAPCET 2021Set eng-2021-08-24-FN1 markMCQQ.The angle between the lines whose direction cosines are given by the equations l2+m2−n2=0, l+m+n=0 is ____ (A) 6π (B) 4π (C) 3π (D) 2π
›Reveal solutionSolution
Eliminate n between the two given relations to find the two actual sets of direction ratios, then compute the angle between them directly.
Concept and Intuition
The two given equations jointly define (generically) two lines through the origin whose direction cosines satisfy both. Eliminating one variable reduces the quadratic relation to a simple product-equals-zero form, revealing the two explicit direction-ratio triples.
Step-by-Step Solution
- From l+m+n=0: n=−(l+m).
- Substitute into l2+m2−n2=0: l2+m2−(l+m)2=l2+m2−l2−2lm−m2=−2lm=0.
- So lm=0, meaning l=0 or m=0.
- If l=0: n=−m, giving direction ratios (0,1,−1).
- If m=0: n=−l, giving direction ratios (1,0,−1). …
- AP EAPCET 2024Set eng-2024-05-23-FN1 markMCQQ.If the direction cosines of two lines are given by l+m+n=0 and mn−2lm−2nl=0, then the acute angle between those lines is (A) 2π/5 (B) π/3 (C) π/4 (D) π/60
›Reveal solutionSolution
Eliminate n using the linear relation, factor the resulting quadratic in l,m to get two sets of direction ratios, then use the cosine formula between two lines.
Concept and Intuition
When direction cosines satisfy one linear and one quadratic (or bilinear) relation, substituting the linear relation into the quadratic one reduces it to a single quadratic in the ratio l:m, whose two roots give the direction ratios of the two lines being described.
Step-by-Step Solution
- From l+m+n=0: n=−(l+m).
- Substitute into mn−2lm−2nl=0:
m(−(l+m))−2lm−2(−(l+m))l=−lm−m2−2lm+2l2+2lm=2l2−lm−m2=0
- Solve for l in terms of m: 2l2−lm−m2=0⇒l=4m±m2+8m2=4m±3m, giving l=m or l=−2m.
- Case 1: l=m=1⇒n=−(1+1)=−2. Direction ratios: (1,1,−2).
- Case 2: l=−1,m=2⇒n=−(−1+2)=−1. Direction ratios: (−1,2,−1)∝(1,−2,1). …
- AP EAPCET 2026Set eng-2026-05-14-AN1 markMCQQ.The acute angle between the lines whose direction cosines satisfy the relations l2−5m2+n2=0 and l+m−n=0 is (A) Cos−1(43) (B) 3π (C) Cos−1(32) (D) 6π
›Reveal solutionSolution
The two relations on direction cosines actually describe a pair of lines; solving them simultaneously extracts both direction ratios, and the angle between them is π/3.
Concept and Intuition
A single homogeneous quadratic relation like l2−5m2+n2=0 together with a linear relation like l+m−n=0 defines two lines through the origin (the linear relation is a plane, and the quadratic relation restricted to that plane factors into two linear factors — i.e. two direction ratios). Once we have both direction ratio triples, the angle between the lines is just the standard angle-between-vectors formula.
Step-by-Step Solution
- From l+m−n=0: n=l+m.
- Substitute into l2−5m2+n2=0: l2−5m2+(l+m)2=0.
- Expand: l2−5m2+l2+2lm+m2=0⇒2l2+2lm−4m2=0.
- Divide by 2: l2+lm−2m2=0.
- Factor: (l+2m)(l−m)=0, so l=−2m or l=m.
- Case l=m: take m=1⇒l=1, n=l+m=2. Direction ratios (1,1,2).
- Case l=−2m: take m=1⇒l=−2, n=l+m=−1. Direction ratios (−2,1,−1). …
- AP EAPCET 2021Set eng-2021-08-25-AN1 markMCQQ.If the direction ratios of two lines are given by 3lm−4ln+mn=0 and l+2m+3n=0, then the angle between the lines is ________ (A) 2π (B) 3π (C) 4π (D) 6π
›Reveal solutionSolution
The linear relation combined with the quadratic relation gives two explicit direction-ratio triples; their dot product is zero. Answer: θ=π/2.
Concept and Intuition
A pair of homogeneous-degree-2 relation and a linear relation in (l,m,n) together represent two actual lines through a point. Eliminating one variable from the linear relation and substituting into the quadratic relation gives a single-variable quadratic whose two roots correspond to the two lines' direction ratios.
Step-by-Step Solution
- From l+2m+3n=0: l=−2m−3n.
- Substitute into 3lm−4ln+mn=0: 3(−2m−3n)m−4(−2m−3n)n+mn=−6m2−9mn+8mn+12n2+mn=−6m2+12n2=0.
- So m2=2n2⇒m=±2n. Take n=1.
- Case 1: m=2, l=−22−3. Case 2: m=−2, l=22−3.
- Dot product: l1l2+m1m2+n1n2=(−22−3)(22−3)+(2)(−2)+1⋅1. …
- AP EAPCET 2026Set eng-2026-05-12-FN1 markMCQQ.The angle between the lines whose direction cosines are given by the equations 2l−m+n=0 and lm+2mn−10nl=0 is θ, then cosθ= (A) 37020 (B) 7010 (C) 708 (D) 37016
›Reveal solutionSolution
Eliminating n between the two given relations yields a quadratic in m/l whose two roots are the direction ratios of the two lines; their angle has cosθ=8/70.
Concept and Intuition
When direction cosines satisfy one linear relation and one homogeneous quadratic relation, eliminating one variable between them produces a quadratic whose two roots correspond to the direction ratios of the two lines being jointly described.
Step-by-Step Solution
- From 2l−m+n=0: n=m−2l.
- Substitute into lm+2mn−10nl=0: lm+2m(m−2l)−10(m−2l)l=0.
- Expand: lm+2m2−4ml−10ml+20l2=0⇒2m2+(1−4−10)lm+20l2=0⇒2m2−13lm+20l2=0.
- Divide by l2, let k=m/l: 2k2−13k+20=0⇒k=413±169−160=413±3, giving k=4 or k=2.5.
- Case k=4: m=4l, n=m−2l=2l — direction ratios (1,4,2) (taking l=1).
- Case k=2.5: taking l=2, m=5, n=m−2l=1 — direction ratios (2,5,1). …
- AP EAPCET 2024Set eng-2024-05-22-AN1 markMCQQ.If a line L makes angles 3π and 4π with Y-axis and Z-axis respectively, then the angle between L and another line having direction ratios 1, 1, 1 is (A) Cos−1(62) (B) Cos−1(332+1) (C) Cos−1(32−1) (D) Cos−1(62+1)
›Reveal solutionSolution
Find the missing direction cosine from l2+m2+n2=1, then use cosθ=ll2+mm2+nn2 against (1,1,1); the answer is Cos−1(62+1).
Concept and Intuition
The direction cosines of a line satisfy l2+m2+n2=1 where l=cosα, m=cosβ, n=cosγ are the cosines of the angles the line makes with the X, Y, Z axes respectively. Once all three are known, the angle between two lines is cosθ=l1l2+m1m2+n1n2.
Step-by-Step Solution
- Given angle with Y-axis is 3π: m=cos3π=21.
- Given angle with Z-axis is 4π: n=cos4π=21.
- From l2+m2+n2=1: l2=1−41−21=41⇒l=21 (taking the positive root).
- Direction cosines of the second line with ratios (1,1,1): (31,31,31). …
- AP EAPCET 2021Set eng-2021-08-23-AN1 markMCQQ.The angle between the straight lines 3x+4y+9=0 and x−7y−22=0 is ______ (A) 4π (B) 6π (C) 3π (D) 8π
›Reveal solutionSolution
This tests the standard formula for the angle between two lines given their slopes. The answer is 4π.
Concept and Intuition
The angle θ between two lines with slopes m1,m2 satisfies tanθ=1+m1m2m1−m2. We extract each slope from its line equation and substitute.
Step-by-Step Solution
- 3x+4y+9=0⇒y=−43x−49, so m1=−43.
- x−7y−22=0⇒y=71x−722, so m2=71.
- tanθ=1+m1m2m1−m2=1+(−43)(71)−43−71.
- Numerator: −2821−284=−2825. Denominator: 1−283=2825. …
- AP EAPCET 2021Set eng-2021-08-19-AN1 markMCQQ.Find the angle between the pair of lines represented by the equation x2+4xy+y2=0. (A) 30° (B) 45° (C) 60° (D) 90°
›Reveal solutionSolution
A direct application of the standard angle-between-lines formula for a homogeneous pair-of-lines equation.
Concept and Intuition
The equation ax2+2hxy+by2=0 represents two straight lines through the origin, and the angle between them is governed by the formula tanθ=a+b2h2−ab (valid when a+b=0), derived from factoring the quadratic into two linear factors y=m1x, y=m2x.
Step-by-Step Solution
- Compare x2+4xy+y2=0 with ax2+2hxy+by2=0: a=1, 2h=4⇒h=2, b=1.
- tanθ=a+b2h2−ab=1+124−1=223=3. …
- AP EAPCET 2021Set eng-2021-08-19-AN1 markMCQQ.The angle between the lines represented by cosθ(cosθ+1)x2−(2cosθ+sin2θ)xy+(1−cosθ)y2=0 is ______. (A) 4π (B) 6π (C) 3π (D) 12π
›Reveal solutionSolution
A messy-looking trigonometric pair-of-lines equation simplifies beautifully via the Pythagorean identity, giving a constant angle of 45° independent of θ.
Concept and Intuition
Even though the coefficients depend on θ, applying the angle formula tanϕ=a+b2h2−ab and simplifying using sin2θ=1−cos2θ often produces a θ-independent result — a hallmark of well-designed exam questions.
Step-by-Step Solution
- Identify A=cosθ(cosθ+1), 2H=−(2cosθ+sin2θ), B=1−cosθ.
- A+B=cos2θ+cosθ+1−cosθ=cos2θ+1.
- AB=cosθ(cosθ+1)(1−cosθ)=cosθ(1−cos2θ)=cosθsin2θ.
- H2=4(2cosθ+sin2θ)2; expand numerator: 4cos2θ+4cosθsin2θ+sin4θ.
- H2−AB=44cos2θ+4cosθsin2θ+sin4θ−4cosθsin2θ=44cos2θ+sin4θ.
- Using sin4θ=(1−cos2θ)2=1−2cos2θ+cos4θ: numerator =4cos2θ+1−2cos2θ+cos4θ=cos4θ+2cos2θ+1=(cos2θ+1)2. …
- AP EAPCET 2022Set eng-2022-07-07-FN1 markMCQQ.Suppose (l1,m1,n1) and (l2,m2,n2) are the directional cosines of two lines and θ is the angle between them and cosθ=±(l1l2+m1m2+n1n2). Let A=(1,−2,3), B=(3,1,−3) and C=(−3,1,3) be the vertices of a triangle ABC. Then cosA= (A) −351 (B) 71 (C) −71 (D) 351
›Reveal solutionSolution
The angle at vertex A between sides AB and AC is found from the dot product formula cosA=∣AB∣∣AC∣AB⋅AC=351.
Concept and Intuition
The angle between two lines through a common vertex of a triangle equals the angle between the vectors from that vertex to the other two vertices. This is exactly the direction-cosine formula for the angle between two lines given in the problem, applied to vectors AB and AC.
Step-by-Step Solution
- A=(1,−2,3),B=(3,1,−3),C=(−3,1,3).
- AB=B−A=(2,3,−6); ∣AB∣=4+9+36=49=7.
- AC=C−A=(−4,3,0); ∣AC∣=16+9+0=25=5.
- AB⋅AC=(2)(−4)+(3)(3)+(−6)(0)=−8+9+0=1.
- cosA=∣AB∣∣AC∣AB⋅AC=7×51=351.
Common Mistakes …
- AP EAPCET 2022Set eng-2022-07-04-FN1 markMCQQ.For α∈[0,2π], the angle between the lines represented by [xcosθ−y][(cosθ+tanα)x−(1−cosθ.tanα)y]=0 is (A) α (B) θ (C) θ+α (D) θ−α
›Reveal solutionSolution
Extracting the two slopes and applying the angle-between-lines formula, all the θ-dependence cancels out, leaving the angle equal to α.
Concept and Intuition
A product of two linear factors set to zero represents a pair of lines through the origin; each factor gives a line's equation directly, from which we read off its slope. The angle between two lines with slopes m1,m2 is tanϕ=1+m1m2m1−m2.
Step-by-Step Solution
- First factor xcosθ−y=0⇒y=xcosθ, so m1=cosθ.
- Second factor (cosθ+tanα)x−(1−cosθtanα)y=0⇒m2=1−cosθtanαcosθ+tanα.
- Compute m2−m1=1−cosθtanα(cosθ+tanα)−cosθ(1−cosθtanα)=1−cosθtanαtanα(1+cos2θ).
- Compute 1+m1m2=1−cosθtanα(1−cosθtanα)+cosθ(cosθ+tanα)=1−cosθtanα1+cos2θ. …
- AP EAPCET 2021Set eng-2021-08-25-FN1 markMCQQ.The angle between the lines ab(x2−y2)+(a2−b2)xy=0 is ______ (A) 2π (B) 3π (C) 4π (D) 6π
›Reveal solutionSolution
The coefficients of x2 and y2 in this pair-of-lines equation are exact negatives of each other, which is exactly the condition for the two lines to be perpendicular.
Concept and Intuition
For a homogeneous pair of lines Ax2+2Hxy+By2=0, the lines are perpendicular precisely when the coefficient of x2 plus the coefficient of y2 is zero (A+B=0) — this is a standard, easily-checked shortcut, avoiding the need to compute the actual slopes.
Step-by-Step Solution
- Expand the given equation: abx2−aby2+(a2−b2)xy=0, i.e. abx2+(a2−b2)xy−aby2=0.
- Compare to Ax2+2Hxy+By2=0: A=ab, B=−ab.
- Check A+B=ab+(−ab)=0.
- This satisfies the perpendicularity condition for a homogeneous pair of lines, so the angle between them is 2π, independent of the specific values of a and b. …
🎓Unlock everything free for 14 days
- ✓Full step-by-step solutions
- ✓Concept-first explanations
- ✓Methods, shortcuts & mistakes
- ✓PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.