Q.Find the angle between the following pairs of lines:
🔒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 — the angle between two lines equals the angle between their direction vectors. For lines given in vector form r=a+λb, use cosθ=∣b1∣∣b2∣∣b1⋅b2∣.
(i) Direction vectors: b1=3i^+2j^+6k^, b2=i^+2j^+2k^.
Dot product: b1⋅b2=3(1)+2(2)+6(2)=3+4+12=19.
Magnitudes: ∣b1∣=32+22+62=9+4+36=49=7; ∣b2∣=12+22+22=1+4+4=9=3.
cosθ=7×319=2119. Since 2119<1, θ=cos−1(2119).
(ii) Direction vectors: b1=i^−j^−2k^, b2=3i^−5j^−4k^.
Dot product: b1⋅b2=1(3)+(−1)(−5)+(−2)(−4)=3+5+8=16. …
The angle between two lines in vector form is found using the dot product of their direction vectors. For (i) the angle is θ=cos−1(2119), and for (ii) the angle is θ=cos−1(1583).
The key idea is simple: a line in space is defined by a point and a direction. The direction vector tells you which way the line runs. When two lines are given in the form r=a+λb, the angle between them is just the angle between their direction vectors b1 and b2. The position vectors a don't matter at all for the angle — they only tell you where the lines are located, not how they're oriented.
Why does this work? Because the direction vector is like an arrow along the line. If you slide both arrows to the same starting point, the angle between them is exactly the angle between the lines. The dot product formula b1⋅b2=∣b1∣∣b2∣cosθ gives us cosθ, and then we take the inverse cosine.
A common mistake is to include the position vectors a in the dot product. They are irrelevant for the angle — only the coefficients of λ and μ matter.
Let's work through each part step by step.
Part (i)
-
Identify the direction vectors.
For the first line, r=2i^−5j^+k^+λ(3i^+2j^+6k^), the direction vector is b1=3i^+2j^+6k^.
For the second line, r=7i^−6k^+μ(i^+2j^+2k^), the direction vector is b2=i^+2j^+2k^.
-
Compute the dot product.
b1⋅b2=(3)(1)+(2)(2)+(6)(2)=3+4+12=19.
-
Find the magnitudes.
∣b1∣=32+22+62=9+4+36=49=7.
∣b2∣=12+22+22=1+4+4=9=3.
-
Apply the formula.
cosθ=∣b1∣∣b2∣b1⋅b2=7×319=2119.
Therefore, θ=cos−1(2119).
Notice that 19/21 is already in simplest form. If the dot product had been zero, the lines would be perpendicular. If the direction vectors were scalar multiples, the lines would be parallel.
Part (ii)
- Identify the direction vectors. First line: r=3i^+j^−2k^+λ(i^−j^−2k^), so b1=i^−j^−2k^. …
Method: Angle between two lines from their direction vectors
The angle between two lines is the angle between their directions — where the lines sit is irrelevant. When lines are given as r=a+λb, only the b's matter.
Steps
Step 1: Pull out the two direction vectors b1,b2 — the coefficients of λ and μ. Discard the position vectors a entirely; they never enter the angle.
Step 2: Apply the cosine formula.
cosθ=∣b1∣∣b2∣∣b1⋅b2∣.
The absolute value in the numerator forces the acute angle, the convention for the angle between lines. …
Common Mistakes
Mistake 1: Including the position vectors a in the calculation.
Why it's wrong: the angle depends only on the directions b1,b2 (the coefficients of λ,μ); the constant vectors — even a large −56k^ — are irrelevant. Correct approach: dot only the direction vectors.
Mistake 2: Omitting the modulus in the numerator. …
Showing the 12 most recent of 67 on this concept.
- 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 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 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 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 2022Set eng-2022-07-05-AN1 markMCQQ.If A(−3,3), B(1,1), C(1,−1) and D(−2,−2) are the vertices of a quadrilateral, the angle between the diagonals AC and BD is (A) 4π (B) 2π (C) 6π (D) 3π
›Reveal solutionSolution
The angle between two lines is found from the dot product of their direction vectors; here it comes out to exactly zero, meaning the diagonals are perpendicular.
Concept and Intuition
The angle between two line segments equals the angle between their direction vectors, computed via cosθ=∣u∣∣v∣u⋅v. A zero dot product immediately signals a right angle, without needing the magnitudes at all.
Step-by-Step Solution
- A(−3,3), C(1,−1): diagonal AC has direction AC=C−A=(1−(−3),−1−3)=(4,−4).
- B(1,1), D(−2,−2): diagonal BD has direction BD=D−B=(−2−1,−2−1)=(−3,−3).
- Dot product: AC⋅BD=4(−3)+(−4)(−3)=−12+12=0. …
- 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-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 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 2025Set eng-2025-05-24-FN1 markMCQQ.Let A = (2, 0, -1), B = (1, -2, 0), C = (1, 2, -1) and D = (0, -1, -2) be four points. If θ is the acute angle between the plane determined by A, B, C and the plane determined by A, C, D, then tanθ= (A) 514 (B) 143 (C) 53 (D) 35
›Reveal solutionSolution
This tests finding the angle between two planes via their normal vectors (cross products of edge vectors) and converting cosine to tangent. Answer: tanθ=53.
Concept and Intuition
The angle between two planes equals the angle between their normal vectors (taking the acute value). A plane through three points has its normal given by the cross product of any two vectors lying in it (e.g. AB×AC). Once both normals are known, cosθ follows from the dot product formula, and tanθ from sinθ/cosθ using sinθ=1−cos2θ.
Step-by-Step Solution
- A=(2,0,−1),B=(1,−2,0),C=(1,2,−1),D=(0,−1,−2).
- Plane ABC: AB=B−A=(−1,−2,1), AC=C−A=(−1,2,0). Normal N1=AB×AC=((−2)(0)−(1)(2), (1)(−1)−(−1)(0), (−1)(2)−(−2)(−1))=(−2,−1,−4).
- Plane ACD: AD=D−A=(−2,−1,−1). Normal N2=AC×AD=((2)(−1)−(0)(−1), (0)(−2)−(−1)(−1), (−1)(−1)−(2)(−2))=(−2,−1,5).
- N1⋅N2=(−2)(−2)+(−1)(−1)+(−4)(5)=4+1−20=−15. ∣N1∣=4+1+16=21, ∣N2∣=4+1+25=30.
- cosθ=2130∣−15∣=63015=37015=705 (taking the acute angle). …
- 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.