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.
- COMEDK 2022Set 20221 markMCQQ.The angle between the lines 3x+4=5y−1=4z+3 and 1x+1=1y−4=2z−5 is (A) 30∘ (B) cos−1(223) (C) cos−1(538) (D) None of these
›Reveal solutionSolution
(Numerically 8/(5*1.732) = 0.924, giving theta ~ 22.5 degrees - not 30 degrees, and option (B) 3/(2 sqrt2) = 1.06 > 1 is not even a valid cosine.)
Concept: Angle between two lines with direction ratios b1 and b2:
cos(theta) = |b1 . b2| / (|b1| |b2|)
Line 1: direction (3, 5, 4)
Line 2: direction (1, 1, 2)
Dot product:
3(1) + 5(1) + 4(2) = 3 + 5 + 8 = 16
Magnitudes:
|b1| = sqrt(9 + 25 + 16) = sqrt(50) = 5 sqrt(2)
|b2| = sqrt(1 + 1 + 4) = sqrt(6)
cos(theta) = 16 / (5 sqrt2 * sqrt6) = 16 / (5 sqrt12) = 16 / (5 * 2 sqrt3) = 16 / (10 sqrt3) = 8 / (5 sqrt3)
So theta = cos^-1 ( 8 / (5 sqrt 3) ).
(Numerically 8/(5*1.732) = 0.924, giving theta ~ 22.5 degrees - not 30 degrees, and option (B) 3/(2 sqrt2) = 1.06 > 1 is not even a valid cosine.)
✓Final answerThe correct option is (C) — cos−1(538)
ANSWER: C
- COMEDK 2026Set 2026-A1 markMCQQ. Consider two skew lines in 3D space. M1:1x−1=12−y=1z−5 and M2:1x+3=2y−7=1z+4 Let L1 be the line of shortest distance (common perpendicular) between M1 and M2 If L2 is a line parallel to the vector b=^+k^, Then the acute angle θ between the lines L1 and L2 is: (A) 30∘ (B) 45∘ (C) cos−1(31) (D) 60∘
›Reveal solutionSolution
The shortest-distance line between two skew lines is perpendicular to both; its direction is the cross product of their direction vectors. For the given lines, that direction is ⟨1,−1,3⟩, and the acute angle with ⟨0,1,1⟩ is 60∘, so the answer is (D).
We have two skew lines in 3D. The line of shortest distance between them is the unique line that is perpendicular to both. So its direction vector must be orthogonal to the direction vectors of both given lines — that is, it must be parallel to the cross product of those two direction vectors.
Step 1: Write the direction vectors of M1 and M2 in standard form.
For M1:
1x−1=12−y=1z−5
Notice the second term: 12−y=−1y−2. So the symmetric form is actually:
1x−1=−1y−2=1z−5
Thus the direction vector of M1 is:
d1=⟨1,−1,1⟩
For M2:
1x+3=2y−7=1z+4
So its direction vector is:
d2=⟨1,2,1⟩
Step 2: Find the direction vector of L1, the line of shortest distance.
L1 is perpendicular to both M1 and M2, so its direction vector v is parallel to d1×d2.
Compute the cross product:
v=d1×d2=i^11j^−12k^11=i^((−1)(1)−(1)(2))−j^((1)(1)−(1)(1))+k^((1)(2)−(−1)(1))
Simplify:
- i-component: (−1)(1)−(1)(2)=−1−2=−3
- j-component: (1)(1)−(1)(1)=0, so −j^(0)=0
- k-component: (1)(2)−(−1)(1)=2+1=3
Thus:
v=⟨−3,0,3⟩=−3⟨1,0,−1⟩
We can take the direction as ⟨1,0,−1⟩ (since scaling doesn't change direction).
TipThe cross product gave ⟨−3,0,3⟩, which is parallel to ⟨1,0,−1⟩. Always simplify direction vectors when possible.
Step 3: Identify the direction of L2.
L2 is parallel to b=j^+k^=⟨0,1,1⟩.
Step 4: Find the acute angle between L1 and L2.
The angle θ between two lines is the acute angle between their direction vectors. Use the dot product formula:
cosθ=∣v∣∣b∣∣v⋅b∣
Here v=⟨1,0,−1⟩, b=⟨0,1,1⟩.
Dot product:
v⋅b=(1)(0)+(0)(1)+(−1)(1)=−1
Magnitudes:
∣v∣=12+02+(−1)2=2
∣b∣=02+12+12=2
Thus:
cosθ=2⋅2∣−1∣=21
So θ=cos−1(21)=60∘.
Watch outA common mistake is to forget the absolute value in the dot product — the angle between lines is always taken as acute (between 0∘ and 90∘). Here the raw dot product was −1, but we use ∣−1∣=1.
Step 5: Match with the options.
60∘ corresponds to option (D).
✓Final answerThe correct option is (D).
ANSWER: D
- COMEDK 2024Set 2024-E1 markMCQQ.The measure of the angle between the lines x=k+1,y=2k−1,z=2k+3,k∈R and 2x−1=1y+1=−2z−1 is (A) cos−1(94) (B) sin−1(34) (C) sin−1(35) (D) 2π
›Reveal solutionSolution
The angle between two lines is found from the dot product of their direction vectors. The first line’s direction vector is (1,2,2); the second is (2,1,−2). Their dot product is zero, so the lines are perpendicular. The correct option is (D).
Concept & Intuition
The angle between two lines in space is defined as the acute angle between their direction vectors. If the direction vectors are a and b, then
cosθ=∥a∥∥b∥∣a⋅b∣.
When the dot product is zero, the lines are perpendicular (angle π/2). The trick here is to correctly extract the direction vectors from the given equations — especially the first line, which is given in parametric form with parameter k.
Step-by-step solution
- Find the direction vector of the first line. The line is given as
x=k+1,y=2k−1,z=2k+3.
This is parametric form with parameter k. The coefficients of k give the direction vector:
d1=(1,2,2).
(The constant terms (1,−1,3) give a point on the line, but we only need the direction.)
- Find the direction vector of the second line. The line is given in symmetric form:
2x−1=1y+1=−2z−1.
The denominators are the components of the direction vector:
d2=(2,1,−2).
- Compute the dot product.
d1⋅d2=(1)(2)+(2)(1)+(2)(−2)=2+2−4=0.
-
Interpret the result.
A dot product of zero means the direction vectors are orthogonal. Therefore the angle between the lines is 90∘, i.e., π/2 radians.
-
Check the options.
- (A) cos−1(4/9) — not zero.
- (B) sin−1(4/3) — invalid, since sin−1 argument cannot exceed 1.
- (C) sin−1(5/3) — not zero.
- (D) π/2 — matches our result.
TipAlways check for perpendicularity first: if the dot product is zero, you’re done — no need to compute magnitudes or inverse trig values.
Watch outA common mistake is misreading the first line’s direction. The line x=k+1 means the coefficient of k is 1, not 0. Also, the second line’s denominators are (2,1,−2), not (2,1,2) — the minus sign matters.
✓Final answerThe correct option is (D).
ANSWER: D
- COMEDK 2023Set 2023-E1 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) 4π (B) 6π (C) 3π (D) 2π
›Reveal solutionSolution
Solving the two relations gives two sets of direction ratios whose dot product is 0, so the angle is 2π.
From l+2m+3n=0, l=−2m−3n. Substitute into 3lm−4ln+mn=0:
3(−2m−3n)m−4(−2m−3n)n+mn=0
−6m2−9mn+8mn+12n2+mn=0 ⇒ −6m2+12n2=0 ⇒ m2=2n2.
Take n=1: m=2 gives l=−22−3; m=−2 gives l=22−3.
Dot product of the two triples (l1,m1,n1) and (l2,m2,n2):
l1l2=(−22−3)(22−3)=−(8−9)=1,m1m2=−2,n1n2=1,
l1l2+m1m2+n1n2=1−2+1=0.
Hence cosθ=0 and θ=2π.
✓Final answerThe correct option is (D) — 2π
- COMEDK 2021Set 20211 markMCQQ.The angle between the lines 2x=3y=−z and 6x=−y=−4z is (A) 30∘ (B) 45∘ (C) 90∘ (D) 0∘
›Reveal solutionSolution
A zero dot product means the direction vectors are perpendicular, so the angle is 90 degrees.
Concept: write each symmetric-form line in the standard x/a = y/b = z/c form to read off direction ratios, then use cos(theta) proportional to the dot product.
Line 1: 2x = 3y = -z. Put each equal to t: x = t/2, y = t/3, z = -t.
Direction ratios (1/2, 1/3, -1); multiply by 6: (3, 2, -6).
Line 2: 6x = -y = -4z = s: x = s/6, y = -s, z = -s/4.
Direction ratios (1/6, -1, -1/4); multiply by 12: (2, -12, -3).
Dot product = (3)(2) + (2)(-12) + (-6)(-3) = 6 - 24 + 18 = 0.
A zero dot product means the direction vectors are perpendicular, so the angle is 90 degrees.
✓Final answerThe correct option is (C) — 90∘
ANSWER: C
- COMEDK 2026Set 2026-M1 markMCQQ.The angle between the two lines whose direction cosines satisfy the relations l+m+n=0 and l2=m2+n2 is (A) 2π (B) 4π (C) 3π (D) 6π
›Reveal solutionSolution
We find the direction cosines of the two lines satisfying the given equations, then compute the angle between them using the dot product. The angle is 3π, so the correct option is (C).
We are given two conditions on the direction cosines (l,m,n) of a line:
- l+m+n=0
- l2=m2+n2
These conditions define not one line, but two distinct lines (since the equations are symmetric and quadratic). Our goal is to find the angle between these two lines.
Concept and intuition:
Direction cosines satisfy l2+m2+n2=1. The given equations are constraints that pick out specific directions. By solving the system, we’ll get two possible sets of (l,m,n) (up to sign, which doesn’t affect the line direction). The angle between the lines is then found from the dot product of their direction vectors.
- Use the condition l+m+n=0 to eliminate one variable. From l=−(m+n). Substitute into l2=m2+n2:
(m+n)2=m2+n2
Expand:
m2+2mn+n2=m2+n2
Simplify:
2mn=0⇒mn=0
So either m=0 or n=0.
-
Case 1: m=0.
Then l+0+n=0⇒l=−n.
Also l2=02+n2=n2, which is automatically true since l=−n gives l2=n2.
So one direction vector (up to scaling) is (l,m,n)=(−n,0,n)=n(−1,0,1).
A convenient direction vector for the first line is v1=(−1,0,1).
-
Case 2: n=0.
Then l+m+0=0⇒l=−m.
And l2=m2+02=m2, again automatically satisfied.
So the direction vector is (l,m,n)=(−m,m,0)=m(−1,1,0).
A convenient direction vector for the second line is v2=(−1,1,0).
-
Find the angle between the two lines.
The angle θ between lines with direction vectors v1 and v2 satisfies:
cosθ=∥v1∥∥v2∥∣v1⋅v2∣
Compute dot product:
v1⋅v2=(−1)(−1)+(0)(1)+(1)(0)=1
Magnitudes:
∥v1∥=(−1)2+02+12=2
∥v2∥=(−1)2+12+02=2
So:
cosθ=2⋅21=21
Hence θ=3π.
TipNotice we didn’t need to enforce l2+m2+n2=1 explicitly — any scalar multiple of a direction vector gives the same line, so we can pick simple integer vectors.
Watch outA common mistake is to forget that mn=0 gives two separate cases, and then incorrectly treat the solution as a single line. Always check for both possibilities.
✓Final answerThe correct option is (C).
ANSWER: C
- COMEDK 2025Set 2025-E1 markMCQQ.The angle between two lines is 45∘ and slope of one line is 41 then which is the possible value of the slope of the other line. (A) 45 (B) 35 (C) 54 (D) 53
›Reveal solutionSolution
Using the tangent formula for the angle between two lines, we set tan45∘=1+m1m2m2−m1 with m1=41, solve for m2, and obtain m2=35 or m2=−53. Among the options, the possible value is 35.
The key idea is that the acute angle θ between two lines with slopes m1 and m2 satisfies
tanθ=1+m1m2m2−m1.
Here θ=45∘, so tan45∘=1. This gives an equation we can solve for the unknown slope.
- Set up the formula Let m1=41 and let the unknown slope be m2. Then
tan45∘=1+41m2m2−41.
Since tan45∘=1, we have
1+41m2m2−41=1.
- Remove the absolute value This gives two cases:
1+41m2m2−41=1or1+41m2m2−41=−1.
- Solve the first case
m2−41=1+41m2.
Multiply through by 4: 4m2−1=4+m2, so 3m2=5, giving
m2=35.
- Solve the second case
m2−41=−1−41m2.
Multiply by 4: 4m2−1=−4−m2, so 5m2=−3, giving
m2=−53.
- Check the options The given choices are 45, 35, 54, 53. Only 35 appears.
Watch outA common mistake is to forget the absolute value and only solve the positive case, or to mis-simplify the algebra. Also note that −53 is a valid slope but not listed among the options.
TipThe formula works for any two non‑vertical lines. If one slope is given, the other slope can be two possible values — one giving an acute angle, the other giving the supplementary angle (still 45∘ if we take acute).
✓Final answerThe correct option is (B).
ANSWER: B
- COMEDK 2021Set 20211 markMCQQ.The slopes of the lines, which make an angle 45∘ with the line 3x−y=−5, are (A) 1,−1 (B) 21,−1 (C) 1,21 (D) −2,21
›Reveal solutionSolution
So the slopes are -2 and 1/2.
Concept: angle between two lines: tan(theta) = |(m1 - m2)/(1 + m1 m2)|.
The given line 3x - y = -5 has slope 3. Let the required slope be m, with theta = 45 degrees, so tan(theta) = 1:
|(m - 3)/(1 + 3m)| = 1.
Case 1: (m - 3)/(1 + 3m) = 1 => m - 3 = 1 + 3m => -2m = 4 => m = -2.
Case 2: (m - 3)/(1 + 3m) = -1 => m - 3 = -1 - 3m => 4m = 2 => m = 1/2.
So the slopes are -2 and 1/2.
✓Final answerThe correct option is (D) — −2,21
ANSWER: D
- KCET 2026Set UNKNOWN1 markMCQQ.The angle between the lines whose direction ratios are a,b,c and b−c,c−a,a−b is (A) 90° (B) 45° (C) 30° (D) 0°
›Reveal solutionSolution
Compute the dot product of the two direction-ratio triples symbolically; it simplifies to zero for any a,b,c, so the lines are always perpendicular.
Step 1 — Set up the dot product
Direction ratios (a,b,c) and (b−c,c−a,a−b). Their dot product is
a(b−c)+b(c−a)+c(a−b)
Step 2 — Expand
=ab−ac+bc−ab+ac−bc=0
Every term cancels, regardless of the specific values of a,b,c.
Step 3 — Conclude
Since the dot product of the two direction-ratio vectors is identically 0, the two lines are always perpendicular, i.e. the angle between them is 90°.
✓Final answerThe correct option is (A) — 90°.
- KCET 2026Set UNKNOWN1 markMCQQ.The measure of the angle between the lines x=k−1,y=2k+1,z=2k+3,k∈R and 2x+1=1y−2=2z−1 is (A) cos−1(32) (B) cos−1(98) (C) cos−1(125) (D) sin−1(98)
›Reveal solutionSolution
Extract direction ratios for both lines (one from the parametric form, one already in symmetric form), then use the standard cosine-of-angle formula.
Step 1 — Direction ratios of the first line
x=k−1, y=2k+1, z=2k+3 is a parametric line in k. Differentiating (or comparing coefficients of k) gives direction ratios
(1,2,2)
Step 2 — Direction ratios of the second line
2x+1=1y−2=2z−1 is already in symmetric form, with direction ratios
(2,1,2)
Step 3 — Apply the angle formula
cosθ=12+22+2222+12+22(1)(2)+(2)(1)+(2)(2)=992+2+4=3×38=98
Step 4 — Conclude
θ=cos−1(98)
✓Final answerThe correct option is (B) — cos−1(98).
- COMEDK 2021Set 20211 markMCQQ.If two pairs of lines x2−2mxy−y2=0 and x2−2nxy−y2=0 are such that one of them represents the bisector of the angles between the other, then (A) mn=1 (B) m+n=mn (C) mn=−1 (D) m−n=mn
›Reveal solutionSolution
This must be the second pair x^2 - 2n xy - y^2 = 0. Comparing the xy coefficients: 2/m = -2n => mn = -1.
Concept: the pair of angle bisectors of ax^2 + 2hxy + by^2 = 0 is (x^2 - y^2)/(a - b) = xy/h.
First pair: x^2 - 2mxy - y^2 = 0, so a = 1, b = -1, 2h = -2m => h = -m.
Its bisector pair: (x^2 - y^2)/(1 - (-1)) = xy/(-m)
=> (x^2 - y^2)/2 = -xy/m
=> m(x^2 - y^2) = -2xy
=> m x^2 + 2xy - m y^2 = 0
=> x^2 + (2/m) xy - y^2 = 0.
This must be the second pair x^2 - 2n xy - y^2 = 0. Comparing the xy coefficients:
2/m = -2n
=> mn = -1.
✓Final answerThe correct option is (C) — mn=−1
ANSWER: C
🎓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.