Q.Find the angle between the pair of lines given by r=3i^+2j^−4k^+λ(i^+2j^+2k^) and r=5i^−2j^+μ(3i^+2j^+6k^).
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
Lines with directions b1=(1,2,2) and b2=(2,2,1):
cosθ=99∣1⋅2+2⋅2+2⋅1∣=98,
so θ=cos−198.
Finding the angle between two lines using their direction ratios or direction cosines is one of the most exam-relevant results in the NCERT Class 12 Three Dimensional Geometry chapter, tested in CBSE boards, JEE Main and several state CETs. "Angle between two lines in 3D formula" is a commonly searched revision topic, and the same absolute-value trick reappears later for angles between lines and planes.
Concept: Angle Between Lines — the angle between two lines equals the angle between their direction vectors.
Step 1: Identify direction vectors.
First line: b1=i^+2j^+2k^
Second line: b2=3i^+2j^+6k^
Step 2: Use dot product formula:
cosθ=∣b1∣∣b2∣b1⋅b2
Compute dot product:
b1⋅b2=1(3)+2(2)+2(6)=3+4+12=19
Step 3: Find magnitudes:
∣b1∣=12+22+22=1+4+4=9=3
∣b2∣=32+22+62=9+4+36=49=7
Step 4:
cosθ=3×719=2119
Thus θ=cos−1(2119)
The angle between the lines is cos−1(2119).
The angle between two lines in vector form depends only on their direction vectors, not on the fixed points. Using the dot product formula, the angle θ satisfies cosθ=2119, so θ=cos−1(2119).
The key idea: when two lines are given in parametric vector form r=a+λb, the direction of each line is completely determined by its direction vector b. The fixed points a only tell us where the lines are located in space — they have no effect on the angle between the lines.
So the problem reduces to finding the angle between the two direction vectors:
- b1=i^+2j^+2k^
- b2=3i^+2j^+6k^
The angle θ between any two vectors is given by the dot product formula:
cosθ=∣b1∣∣b2∣b1⋅b2
Let's work through it step by step.
- Compute the dot product b1⋅b2:
b1⋅b2=(1)(3)+(2)(2)+(2)(6)=3+4+12=19
- Find the magnitude ∣b1∣:
∣b1∣=12+22+22=1+4+4=9=3
- Find the magnitude ∣b2∣:
∣b2∣=32+22+62=9+4+36=49=7
- Substitute into the formula:
cosθ=3×719=2119
Since 2119<1, the angle is acute and well-defined.
- Write the final expression for θ:
θ=cos−1(2119)
A common mistake is to include the fixed points a1=3i^+2j^−4k^ and a2=5i^−2j^ in the calculation. These only shift the lines in space — they don't affect the angle between them. The angle depends solely on the direction vectors.
If the direction vectors had been given in Cartesian form (e.g., a1x−x1=b1y−y1=c1z−z1), the same dot product formula applies using the direction ratios (a1,b1,c1) and (a2,b2,c2). The vector form is just more compact.
The angle between the lines is cos−1(2119).
Method: Angle Between Two Lines Given in Vector Form
Use this when both lines are written as r=a+λb and you need the angle between them.
Steps
Step 1: Keep only the direction vectors.
The fixed points a1,a2 locate the lines in space but do not affect the angle — discard them and keep b1,b2.
Step 2: Apply the dot-product formula.
cosθ=∣b1∣∣b2∣∣b1⋅b2∣
Compute the dot product for the numerator and each magnitude for the denominator.
Step 3: Take the inverse cosine.
Write θ=cos−1(⋯). The modulus guarantees the acute angle; leave the answer as an exact cos−1 unless a decimal is requested.
Common Mistakes
Mistake 1: Bringing the fixed points a1,a2 into the angle calculation.
Why it's wrong: the points only position the lines in space; the angle depends solely on the direction vectors b1,b2. Correct approach: use only (1,2,2) and (3,2,6) in the dot-product formula.
Mistake 2: Forgetting to divide by the magnitudes.
Why it's wrong: the dot product 19 alone is not cosθ; you must divide by ∣b1∣∣b2∣=3×7. Correct approach: cosθ=2119, then θ=cos−12119.
Showing the 12 most recent of 67 on this concept.
- 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).
- Angle between (1,1,2) and (−2,1,−1): dot product =1(−2)+1(1)+2(−1)=−2+1−2=−3.
- Magnitudes: 1+1+4=6 and 4+1+1=6.
- cosθ=6⋅6∣−3∣=63=21 (taking absolute value since we want the acute angle).
- θ=cos−1(1/2)=π/3.
Common Mistakes
- Forgetting to take the absolute value of the dot product when the problem asks for the acute angle specifically.
- Arithmetic slip while expanding (l+m)2.
✓Final answerThe correct option is (B) — 3π.
ANSWER: B
- 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. (−22−3)(22−3)=−(8−9)=1 (using (a+b)(a−b) pattern with sign care), so sum =1−2+1=0.
- Since the dot product is zero, the lines are perpendicular: θ=π/2.
Common Mistakes
- Sign errors expanding (−22−3)(22−3) — treat it carefully term by term.
- Forgetting that a homogeneous quadratic + linear pair represents two lines, not one.
✓Final answerThe correct option is (A) — 2π.
ANSWER: A
- 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.
- Only K=4 is among the options. Verify: d1=(4,3,5), dot with (2,−1,2) is 8−3+10=15; ∣d1∣=50=52; cosθ=52⋅315=21, i.e., θ=45∘. ✓
Common Mistakes
- Dropping one of the two quadratic roots without checking which matches the given options.
- Sign error in the dot product (the −1 in d2 must multiply the 3, giving −3, not +3).
✓Final answerThe correct option is (B) — 4.
ANSWER: B
- 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).
- sinθ=1−7025=7045=149=143.
- tanθ=cosθsinθ=5/703/14=143⋅570=5370/14=535=53.
Common Mistakes
- Cross-product component sign errors (easy to mix up the j-component sign, which is negated relative to i,k).
- Forgetting to take the absolute value of the dot product when the angle between planes is required to be acute.
✓Final answerThe correct option is (C) — 53.
ANSWER: C
- 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.
- tanθ=25/28−25/28=1⇒θ=4π.
Common Mistakes
- Slope sign error when rearranging 3x+4y+9=0 to slope-intercept form.
- Forgetting the absolute value, which could otherwise give a negative or obtuse-angle tangent.
✓Final answerThe correct option is (A) — 4π.
ANSWER: A
- 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).
- Angle between the lines: cosθ=1+1+41+4+1∣(1)(1)+(1)(−2)+(−2)(1)∣=6∣1−2−2∣=63=21.
- θ=3π (acute angle, taking absolute value of cosine).
Common Mistakes
- Not taking the absolute value in the cosine formula (would give an obtuse angle instead of the requested acute one).
- Losing one of the two roots of the quadratic in l,m.
✓Final answerThe correct option is (B) — π/3.
ANSWER: B
- 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).
- cosθ=l⋅31+m⋅31+n⋅31=3l+m+n=321+21+21=31+21=2⋅32+1=62+1.
- So θ=Cos−1(62+1).
Common Mistakes
- Forgetting the third direction cosine must be solved from l2+m2+n2=1, not assumed.
- Not converting (1,1,1) (direction ratios) into direction cosines by dividing by 3 before using the dot-product formula.
✓Final answerThe correct option is (D) — Cos−1(62+1).
ANSWER: D
- 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).
- Angle between (0,1,−1) and (1,0,−1): cosθ=0+1+11+0+1(0)(1)+(1)(0)+(−1)(−1)=2⋅21=21.
- So θ=cos−1(1/2)=3π.
Common Mistakes
- Trying to use the general angle-between-lines formula for pairs of direction-cosine equations without first simplifying — direct elimination is far cleaner here.
- Sign slips substituting n=−(l+m).
✓Final answerThe correct option is (C) — 3π.
ANSWER: C
- AP EAPCET 2026Set eng-2026-05-14-FN1 markMCQQ.If the angle θ between the line 1x+1=2y−1=2z−2 and the plane 2x−y+λz+4=0 is such that sinθ=31, then the value of λ is (A) 35 (B) −53 (C) 43 (D) −34
›Reveal solutionSolution
Using sinθ=∣d∣∣n∣∣d⋅n∣ for the line-plane angle and solving for λ gives λ=35. Answer: (A).
Concept and Intuition
The angle θ between a line (direction vector d) and a plane (normal vector n) is the complement of the angle between d and n, so sinθ=cos(angle between d,n)=∣d∣∣n∣∣d⋅n∣. This directly converts the given sinθ value into an equation for the unknown in the normal vector.
Step-by-Step Solution
- Line: 1x+1=2y−1=2z−2 has direction d=(1,2,2), ∣d∣=1+4+4=3.
- Plane: 2x−y+λz+4=0 has normal n=(2,−1,λ), ∣n∣=4+1+λ=5+λ.
- d⋅n=1(2)+2(−1)+2(λ)=2−2+2λ=2λ
- sinθ=35+λ∣2λ∣=31
- ⇒2λ=5+λ⇒4λ=5+λ⇒3λ=5⇒λ=35
Common Mistakes
- Using cosθ instead of sinθ for the line-plane angle formula (it's the complementary relation, not the same as line-line angle).
- Sign/arithmetic slip in the dot product cancelling the first two terms to zero.
✓Final answerThe correct option is (A) — 35.
ANSWER: A
- 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.
- cos2θ=219=73.
- cos2θ=2⋅73−1=76−1=−71.
Common Mistakes
- Forgetting the identity needs cos2θ, not cosθ itself, before doubling.
- Sign error in the dot product (missing that 1×(−1)=−1).
✓Final answerThe correct option is (B) — 7−1.
ANSWER: B
- AP EAPCET 2026Set eng-2026-05-15-AN1 markMCQQ.Let θ be the angle between the line 1x+1=2y−1=2z−2 and the plane 2x−y+λz+4=0. If sinθ=31, then λ= (A) 34 (B) 35 (C) 32 (D) 37
›Reveal solutionSolution
This tests the line-plane angle formula. Setting up sinθ in terms of λ and solving the resulting equation gives λ=35.
Concept and Intuition
The angle θ between a line with direction d and a plane with normal n satisfies sinθ=∣d∣∣n∣∣d⋅n∣ (since the angle between the line and the normal is 90∘−θ). Plugging in the components and the given sinθ gives a single equation in λ.
Step-by-Step Solution
- Direction of the line: d=(1,2,2), so ∣d∣=1+4+4=3.
- Normal of the plane: n=(2,−1,λ), so ∣n∣=4+1+λ=5+λ.
- d⋅n=1(2)+2(−1)+2(λ)=2−2+2λ=2λ.
- sinθ=35+λ2λ=31.
- Cross-multiplying: 2λ=5+λ.
- Squaring: 4λ=5+λ⇒3λ=5⇒λ=35.
Common Mistakes
- Using cosθ instead of sinθ for the line-plane angle formula (it is reversed compared to the line-line or plane-plane angle formulas).
- Sign/arithmetic slip in the dot product 1(2)+2(−1)+2λ=2λ (the first two terms cancel).
✓Final answerThe correct option is (B) — 35.
ANSWER: B
- AP EAPCET 2024Set eng-2024-05-22-FN1 markMCQQ.If the slope of one of the pair of lines represented by 2x2+3xy+Ky2=0 is 2, then the angle between the pair of lines is (A) 2π (B) 3π (C) 6π (D) 4π
›Reveal solutionSolution
The homogeneous pair 2x2+3xy+Ky2=0 gives slopes satisfying a quadratic in m=y/x; using the given slope 2 we find K, then both slopes, and their product tells us the angle.
Concept and Intuition
A pair of straight lines through the origin, ax2+2hxy+by2=0, can be seen as y=m1x and y=m2x. Substituting y=mx turns the equation into a quadratic in m, whose two roots are the two slopes.
Step-by-Step Solution
- Substitute y=mx into 2x2+3xy+Ky2=0: dividing by x2, Km2+3m+2=0.
- One slope is given as m=2: K(4)+3(2)+2=0⇒4K+8=0⇒K=−2.
- The slope equation becomes −2m2+3m+2=0, i.e. 2m2−3m−2=0.
- Factor: (2m+1)(m−2)=0⇒m=2 or m=−21.
- Product of slopes m1m2=2×(−21)=−1.
- Since m1m2=−1, the two lines are perpendicular, so the angle between them is 2π.
Common Mistakes
- Forgetting that K must first be determined from the given slope before finding the other slope.
- Confusing "sum of slopes" and "product of slopes" formulas from the quadratic.
✓Final answerThe correct option is (A) — 2π.
ANSWER: A
🎓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.