Q.Show that the straight lines whose direction cosines are given by 2l+2m−n=0 and mn+nl+lm=0 are at right angles.
🔒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 — two lines are perpendicular if the sum of the products of their corresponding direction cosines is zero.
We are given:
2l+2m−n=0andmn+nl+lm=0.
Step 1: From the first equation, n=2l+2m. Substitute into the second:
m(2l+2m)+l(2l+2m)+lm=0.
Step 2: Simplify:
2lm+2m2+2l2+2lm+lm=0⇒2l2+5lm+2m2=0.
Step 3: Divide by m2 (assuming m=0; the case m=0 can be checked separately and yields the same conclusion):
2(ml)2+5(ml)+2=0.
This quadratic in l/m gives two ratios, say l1/m1 and l2/m2, whose product is 1 (constant term/coefficient of t2). Hence:
m1l1⋅m2l2=1⇒l1l2=m1m2. …
The condition for perpendicular lines in 3D is l1l2+m1m2+n1n2=0. By eliminating one variable from the given equations and using the sum and product of ratios, we show this sum equals zero, proving the lines are at right angles.
Why This Approach Works
When two lines are perpendicular in space, the dot product of their direction vectors is zero. For direction cosines (l1,m1,n1) and (l2,m2,n2), this means:
l1l2+m1m2+n1n2=0
The problem gives us two equations that both pairs of direction cosines satisfy. Instead of solving for individual values (which would be messy), we can work with the ratios of the direction cosines. The key insight: if we treat l/m or m/n as unknowns, the given equations become quadratic in these ratios. The two roots of that quadratic correspond to the two lines, and we can use sum and product of roots to directly check the perpendicular condition.
When direction cosines satisfy two equations, eliminate one variable to get a quadratic in the ratio of the other two. The two roots give the two lines — no need to find them individually.
Step-by-Step Solution
1. Set up the equations
We have two lines whose direction cosines satisfy:
2l+2m−n=0(1)
mn+nl+lm=0(2)
Let (l1,m1,n1) and (l2,m2,n2) be the direction cosines of the two lines.
2. Eliminate n using equation (1)
From (1): n=2l+2m
Substitute into (2):
m(2l+2m)+l(2l+2m)+lm=0
Expand:
2lm+2m2+2l2+2lm+lm=0
Combine like terms:
2l2+5lm+2m2=0
3. Form a quadratic in the ratio l/m
Divide through by m2 (assuming m=0; we'll check the edge case later):
2(ml)2+5(ml)+2=0
Let t=l/m. Then:
2t2+5t+2=0
The two roots t1 and t2 correspond to l1/m1 and l2/m2 respectively.
For a quadratic at2+bt+c=0:
- Sum of roots: t1+t2=−ab
- Product of roots: t1t2=ac
Here, a=2, b=5, c=2, so:
t1+t2=−25,t1t2=22=1
4. Express the perpendicular condition in terms of ratios
We need to check: l1l2+m1m2+n1n2=0
From n=2l+2m, we have:
n1=2l1+2m1,n2=2l2+2m2
Substitute into the dot product:
l1l2+m1m2+(2l1+2m1)(2l2+2m2)
Expand the last term:
=l1l2+m1m2+4l1l2+4l1m2+4m1l2+4m1m2
Combine:
=5l1l2+5m1m2+4(l1m2+m1l2)
5. Factor using the ratios
Divide the entire expression by m1m2 (again assuming m1,m2=0):
=m1m2[5(m1l1)(m2l2)+5+4(m1l1+m2l2)]
Let t1=l1/m1 and t2=l2/m2. Then the expression inside brackets becomes:
5t1t2+5+4(t1+t2)
6. Plug in the sum and product
We have t1t2=1 and t1+t2=−25.
Substitute:
5(1)+5+4(−25)=5+5−10=0
Therefore l1l2+m1m2+n1n2=0, proving the lines are perpendicular. …
Method: Testing perpendicularity of two lines defined by direction-cosine equations
Use this when two lines are described only by two equations their direction cosines satisfy (one linear, one quadratic) and you must show they are perpendicular — without finding the lines separately.
Steps
Step 1: Reduce to a quadratic in a ratio.
Eliminate one letter using the linear equation, substitute into the quadratic, and divide through by m2 (or l2) to get a quadratic in a single ratio t=l/m. Its two roots t1,t2 correspond to the two lines.
Step 2: Read off sum and product of roots.
For at2+bt+c=0, use t1+t2=−ab and t1t2=ac — you never need the roots individually. …
Common Mistakes
Mistake 1: Solving for the individual direction cosines.
Why it's wrong: it is long and unnecessary — the test l1l2+m1m2+n1n2=0 can be checked straight from the sum and product of the ratio-roots. Correct approach: reduce to 2t2+5t+2=0 and use t1t2 and t1+t2.
Mistake 2: Ignoring the edge case m=0 before dividing by m2.
Why it's wrong: dividing by m2 silently assumes m=0. Correct approach: check m=0 separately (it forces all cosines to zero, which is impossible), so the division is safe. …
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 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 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 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 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 2026Set eng-2026-05-14-FN1 markMCQQ.If (K,3,5),(2,−1,2) are direction ratios of two lines and the angle between them is 45∘, then a value of K is (A) 2 (B) 4 (C) 6 (D) 8
›Reveal solutionSolution
Applying the direction-cosine angle formula and solving the resulting quadratic in K gives K=4 (the other root, 52, isn't among the choices). Answer: (B).
Concept and Intuition
The angle between two lines with direction ratios (l1,m1,n1) and (l2,m2,n2) satisfies cosθ=l12+m12+n12l22+m22+n22l1l2+m1m2+n1n2. Setting this equal to cos45∘ gives an equation purely in K.
Step-by-Step Solution
- d1=(K,3,5), d2=(2,−1,2). Dot product: 2K−3+10=2K+7.
- ∣d1∣=K2+9+25=K2+34, ∣d2∣=4+1+4=3.
- cos45∘=3K2+342K+7=21
- Cross-multiplying: 2(2K+7)=32K2+34⇒4K+14=32K2+34.
- Squaring: (4K+14)2=18(K2+34)⇒16K2+112K+196=18K2+612
⇒2K2−112K+416=0⇒K2−56K+208=0
- Discriminant =562−4(208)=3136−832=2304=482. K=256±48=52 or 4. …
- AP EAPCET 2026Set eng-2026-05-12-AN1 markMCQQ.If the angle between the lines having direction ratios (3,1,2) and (1,−1,2) is θ, then cos2θ= (A) 71 (B) 7−1 (C) 73 (D) 7−3
›Reveal solutionSolution
Computing cosθ from the direction-ratio dot-product formula and applying the double-angle identity gives cos2θ=−71.
Concept and Intuition
The angle between two lines with direction ratios (a1,b1,c1) and (a2,b2,c2) satisfies
cosθ=a12+b12+c12a22+b22+c22a1a2+b1b2+c1c2.
Once cosθ is known, cos2θ=2cos2θ−1 follows directly from the double angle formula — no need to find θ itself.
Step-by-Step Solution
- Direction ratios: (3,1,2) and (1,−1,2).
- Dot product: 3(1)+1(−1)+2(2)=3−1+4=6.
- Magnitudes: 9+1+4=14, 1+1+4=6.
- cosθ=14⋅66=846=2216=213. …
- 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 2025Set eng-2025-05-22-FN1 markMCQQ.If the angle between the lines joining the origin to the points of intersection of x+2y+λ=0 and 2x2−2xy+3y2+2x−y−1=0 is 2π, then a value of λ is (A) 1 (B) 21 (C) 2 (D) 23
›Reveal solutionSolution
Homogenize the conic using the given line so the joining lines through the origin become a single degree-2 equation, then apply "coefficient of x2 + coefficient of y2 = 0" for perpendicularity. Answer: λ=1.
Concept and Intuition
The lines joining the origin to the intersection points of a line and a conic can be obtained by making the conic's equation homogeneous of degree 2, using the line's equation (rearranged to equal 1) to convert the linear and constant terms. Once we have a homogeneous pair Ax2+Bxy+Cy2=0, the two lines are perpendicular exactly when A+C=0.
Step-by-Step Solution
- The line is x+2y+λ=0⇒x+2y=−λ⇒1=−λx+2y (assuming λ=0).
- Homogenize the conic 2x2−2xy+3y2+2x−y−1=0: multiply the degree-1 terms by (−λx+2y) once, and the constant term by (−λx+2y)2:
2x2−2xy+3y2+(2x−y)(−λx+2y)−(λx+2y)2=0
- Expand (2x−y)(x+2y)=2x2+4xy−xy−2y2=2x2+3xy−2y2, and (x+2y)2=x2+4xy+4y2. Multiply the whole equation by λ2:
λ2(2x2−2xy+3y2)−λ(2x2+3xy−2y2)−(x2+4xy+4y2)=0
- Collect coefficients: …
- 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. …
🎓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.