Q.Find the angle between the lines whose direction ratios are a,b,c and b−c,c−a,a−b.
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 with direction ratios (a,b,c) and (b−c,c−a,a−b) is given by
cosθ=a2+b2+c2(b−c)2+(c−a)2+(a−b)2a(b−c)+b(c−a)+c(a−b).
Step 1: Compute the numerator:
a(b−c)+b(c−a)+c(a−b)=ab−ac+bc−ab+ac−bc=0.
Step 2: Since the numerator is zero, cosθ=0, so θ=90∘.
The angle between the lines is 90∘.
The angle between two lines depends only on their direction ratios. Using the dot product formula, the cosine of the angle simplifies to zero, meaning the lines are perpendicular. The angle is 90∘.
Concept and Intuition
The angle between two lines in space is defined as the acute angle between their direction vectors. If two lines have direction ratios (a,b,c) and (b−c,c−a,a−b), we are essentially comparing two vectors. The key tool is the dot product: for vectors u and v,
cosθ=∣u∣∣v∣u⋅v.
If the dot product turns out to be zero, the lines are perpendicular — and that is exactly what happens here. The structure of the second set of ratios is cleverly designed to make the dot product vanish, regardless of the values of a,b,c (as long as they are not all zero).
A common mistake is to assume the lines are parallel or to try finding the angle by inspection. Always compute the dot product explicitly — the symmetry here is deceptive.
Step-by-Step Solution
-
Write the direction vectors.
Let u=ai^+bj^+ck^ and v=(b−c)i^+(c−a)j^+(a−b)k^.
-
Compute the dot product.
u⋅v=a(b−c)+b(c−a)+c(a−b).
- Expand and simplify.
=ab−ac+bc−ab+ac−bc.
Every term cancels: ab cancels with −ab, −ac cancels with +ac, bc cancels with −bc.
So u⋅v=0.
- Interpret the result. A zero dot product means the vectors are perpendicular. Therefore, the angle between the lines is 90∘.
You don’t even need to compute the magnitudes — the dot product alone tells you the cosine is zero, so the angle is fixed. This is a classic trick: the second set of ratios is the cyclic difference of the first.
The angle between the lines is 90∘ (they are perpendicular).
Method: Angle Between Two Lines from Direction Ratios
Use this whenever two lines are given by their direction ratios (or direction vectors) and you must find the angle between them — including the special "are they perpendicular?" case.
Steps
Step 1: Write each line's direction ratios as a vector.
A line's position is irrelevant to the angle; only its direction matters. Call them b1=(a1,b1,c1) and b2=(a2,b2,c2).
Step 2: Form the cosine from the dot product.
cosθ=∣b1∣∣b2∣∣b1⋅b2∣=a12+b12+c12a22+b22+c22∣a1a2+b1b2+c1c2∣
The modulus in the numerator forces the acute angle, the convention for the angle between lines.
Step 3: Check the numerator first.
Compute the dot product a1a2+b1b2+c1c2 before touching the magnitudes. If it comes out 0, the lines are perpendicular and θ=90∘ immediately — no magnitudes needed. If it is non-zero, evaluate the two square roots and take θ=cos−1(⋯). When the ratios are symbolic (letters, not numbers), expanding the dot product and watching for terms that cancel is exactly what reveals a hidden right angle.
Common Mistakes
Mistake 1: Trying to judge the angle by inspection instead of computing the dot product.
Why it's wrong: the second set of ratios (b−c,c−a,a−b) looks unrelated to (a,b,c), and guessing (e.g. "they look parallel") misses that the dot product is engineered to vanish. Correct approach: always evaluate a(b−c)+b(c−a)+c(a−b); it collapses to 0, so θ=90∘.
Mistake 2: Wasting effort on the magnitudes before checking the numerator.
Why it's wrong: once the dot product is 0, cosθ=0 regardless of the denominators, so computing a2+b2+c2 etc. is unnecessary. Correct approach: check the numerator first; a zero there settles the angle at once.
Showing the 12 most recent of 16 on this concept.
- CBSE 20241 markMCQQ.The angle between the lines 2x+1=−52−y=4z and 1x−3=2y−7=35−z is: (A) 4π (B) 2π (C) 3π (D) 6π
›Reveal solutionSolution
The angle between two lines in space is found using the dot product of their direction vectors. After extracting the direction ratios and computing the cosine, the angle is 2π, so the correct option is (B).
The key idea is simple: in 3D geometry, the angle between two lines is defined as the acute angle between their direction vectors. We don’t care about where the lines are placed — only their orientation matters. That’s why we can ignore the points they pass through and focus entirely on the direction ratios.
Let’s extract those direction vectors carefully.
- First line: 2x+1=−52−y=4z The standard symmetric form is ax−x1=by−y1=cz−z1, where (a,b,c) are the direction ratios. Here, the y-term is −52−y. Rewrite it as 5y−2 (multiply numerator and denominator by −1). So the line becomes:
2x+1=5y−2=4z
Hence, direction ratios for the first line are (2,5,4).
- Second line: 1x−3=2y−7=35−z The z-term is 35−z. Rewrite as −3z−5. So the line is:
1x−3=2y−7=−3z−5
Hence, direction ratios for the second line are (1,2,−3).
Watch outA common mistake is to take the z-direction ratio as 3 instead of −3 from 35−z. Always rewrite in the form cz−z1 — the sign of c matters.
- Compute the angle using the dot product formula: If d1=(2,5,4) and d2=(1,2,−3), then
cosθ=∣d1∣∣d2∣d1⋅d2
Dot product:
2⋅1+5⋅2+4⋅(−3)=2+10−12=0
Magnitudes:
∣d1∣=22+52+42=4+25+16=45
∣d2∣=12+22+(−3)2=1+4+9=14
Since the dot product is zero, cosθ=0, so θ=2π.
TipYou don’t even need to compute the magnitudes here — if the dot product is zero, the vectors are perpendicular, and the angle is 2π regardless of their lengths.
✓Final answerThe angle between the lines is 2π, so the correct option is (B).
- CBSE 2026Set 65/3/11 markMCQQ.If l1,m1,n1 and l2,m2,n2 are direction cosines of lines L1 and L2 respectively and θ is the acute angle between them, then: (A) cosθ=l1l2+m1m2+n1n2 (B) sinθ=l1l2+m1m2+n1n2 (C) tanθ=l2l1+m2m1+n2n1 (D) cosθ=∣l1l2+m1m2+n1n2∣
›Reveal solutionSolution
The angle between two lines is found using the dot product of their direction vectors. For direction cosines, the cosine of the angle is simply the sum of the products of corresponding cosines. Since the angle is acute, we take the absolute value to ensure a non-negative cosine. The correct choice is (D).
The core idea here is beautifully simple: direction cosines are the components of a unit vector along each axis. So if you have two lines, their direction cosines (l1,m1,n1) and (l2,m2,n2) are just the coordinates of two unit vectors pointing along those lines.
Now, what does the dot product of two unit vectors give you? Exactly the cosine of the angle between them. That’s the geometric meaning of the dot product. So:
cosθ=l1l2+m1m2+n1n2
But there’s a subtlety the question is testing: the angle between two lines is always taken as the acute angle (between 0∘ and 90∘). The dot product formula above can give a negative value if the angle is obtuse (greater than 90∘). To get the acute angle, we take the absolute value.
Let’s walk through the options one by one.
-
Option (A): cosθ=l1l2+m1m2+n1n2
This is almost correct, but it doesn’t account for the acute angle condition. If the lines make an obtuse angle, this sum is negative, and cosθ for the acute angle should be positive. So (A) is not fully correct for the acute angle.
-
Option (B): sinθ=l1l2+m1m2+n1n2
This is simply wrong. The sum of products of direction cosines gives cosine, not sine. No further discussion needed — discard.
-
Option (C): tanθ=l2l1+m2m1+n2n1
This is nonsense. Division by a direction cosine is not defined if that cosine is zero, and even when defined, it has no relation to the tangent of the angle between lines. Discard.
-
Option (D): cosθ=∣l1l2+m1m2+n1n2∣
This is the correct one. The absolute value ensures we always get the cosine of the acute angle. If the dot product is negative, the actual angle is obtuse, but the acute angle between the lines is its supplement, whose cosine is the absolute value.
Watch outA common mistake is to forget that the angle between lines is defined as the acute angle. Many students pick option (A) without thinking about the sign. Always check: if the dot product is negative, the lines are more than 90∘ apart, and the acute angle is 180∘−θ, whose cosine is the absolute value.
TipDirection cosines always satisfy l2+m2+n2=1. This is a quick sanity check: if you ever see a formula that doesn’t respect this, it’s likely wrong. Options (B) and (C) fail this test immediately.
✓Final answerThe correct option is (D).
-
- CBSE 20201 markMCQQ.The plane 2x−3y+6z−11=0 makes an angle sin−1(α) with the x-axis. The value of α is (A) 23 (B) 32 (C) 72 (D) 73
›Reveal solutionSolution
The angle between a plane and a line is the complement of the angle between the plane’s normal and the line. Using the direction ratios of the x-axis and the normal vector of the plane, we find sinθ=72, so α=72.
The problem asks for the sine of the angle between a given plane and the x-axis. A common mistake is to directly use the angle between the normal and the line — but that gives the complement. Let’s build the correct idea from scratch.
Concept first: When we talk about the angle between a line and a plane, we mean the smallest angle between the line and its projection onto the plane. This is not the angle between the line and the normal to the plane. In fact, if θ is the angle between the line and the plane, and ϕ is the angle between the line and the normal, then θ+ϕ=90∘. So sinθ=cosϕ.
Watch outNever confuse the angle between a line and a plane with the angle between the line and the normal. They are complementary. If you compute the angle with the normal directly, you get ϕ, not θ.
The plan: Find ϕ (angle between the x-axis and the normal vector), then use sinθ=cosϕ.
1. Identify the direction vectors
The x-axis has direction ratios (1,0,0).
The plane 2x−3y+6z−11=0 has normal vector n=(2,−3,6).
2. Find cosϕ, where ϕ is the angle between the x-axis and n
The formula for the cosine of the angle between two vectors a and b is:
cosϕ=∣a∣∣b∣∣a⋅b∣
We take the absolute value because the angle between a line and a plane is always taken as acute (between 0∘ and 90∘).
For a=(1,0,0) and b=(2,−3,6):
a⋅b=1(2)+0(−3)+0(6)=2
∣a∣=1,∣b∣=22+(−3)2+62=4+9+36=49=7
So:
cosϕ=1×7∣2∣=72
3. Relate to the angle between the line and the plane
If θ is the angle between the x-axis and the plane, then θ=90∘−ϕ, so:
sinθ=cosϕ=72
The problem states that the plane makes an angle sin−1(α) with the x-axis. That means sinθ=α. Therefore α=72.
TipA direct formula exists: If a line has direction ratios (l,m,n) and a plane has equation ax+by+cz+d=0, then the sine of the angle θ between them is:
sinθ=a2+b2+c2⋅l2+m2+n2∣al+bm+cn∣
This is exactly what we computed — it saves you the step of finding the complement.
✓Final answerThe value of α is 72, which corresponds to option (C).
- CBSE 2026Set A1 markMCQQ.The angle between the straight lines 2x−2=7y−1=−3z+3 and −1x+2=2y−4=4z−5 is(a) 2π(b) 0(c) 6π(d) 4π
›Reveal solutionSolution
Dot product of the direction ratios is zero ⇒ angle =2π.
Direction ratios of the two lines are (2,7,−3) and (−1,2,4). Their dot product:
2(−1)+7(2)+(−3)(4)=−2+14−12=0.
Since the dot product is 0, the lines are perpendicular, so the angle is 2π.
✓Final answer(a) 2π.
- CBSE 2026Set A1 markMCQQ.If the direction cosines of two straight lines are l1,m1,n1 and l2,m2,n2 then the cosine of the angle between the lines will be(a) (l1+m1+n1)(l2+m2+n2)(b) l2l1+m2m1+n2n1(c) l1l2+m1m2+n1n2(d) none of these
›Reveal solutionSolution
cosθ=l1l2+m1m2+n1n2 for direction cosines.
Since direction cosines are already normalized (l2+m2+n2=1), the cosine of the angle between two lines is just the dot product of their direction-cosine triples:
cosθ=l1l2+m1m2+n1n2.
✓Final answer(c) l1l2+m1m2+n1n2.
- CBSE 2026Set ANNUAL1 markMCQQ.Write the angle between the lines through the points (4,7,8), (2,3,4) and (−1,−2,1), (1,2,5).(a) 2π(b) 4π(c) 0(d) 6π
›Reveal solutionSolution
Both lines have the same direction ratios (up to a scalar), so they are parallel and the angle between them is 0.
Direction ratios of line 1 through (4,7,8) and (2,3,4):
(2−4, 3−7, 4−8)=(−2,−4,−4) ∝ (1,2,2)
Direction ratios of line 2 through (−1,−2,1) and (1,2,5):
(1−(−1), 2−(−2), 5−1)=(2,4,4) ∝ (1,2,2)
Both lines have direction ratios proportional to (1,2,2) — they are parallel. The angle between two parallel lines is 0.
✓Final answerThe correct option is (c) 0.
- CBSE 2025Set ANNUAL1 markQ.Assertion (A): The line r⃗ = a⃗₁ + λb⃗₁ and r⃗ = a⃗₂ + μb⃗₂ are perpendicular when b⃗₁ − b⃗₂ = 0. Reason (R): The angle 'θ' between the line r⃗ = a⃗₁ + λb⃗₁ and r⃗ = a⃗₂ + μb⃗₂ is given by cosθ = (b⃗₁ − b⃗₂)/(|b⃗₁||b⃗₂|).
›Reveal solutionSolution
Perpendicularity of two lines requires the dot product of their direction vectors to vanish (b1⋅b2=0), not their difference; the angle formula also uses the dot product, not the difference — so both statements as given are false.
Checking Assertion (A): Two lines r=a1+λb1 and r=a2+μb2 are perpendicular when the angle between their direction vectors is 90∘, i.e. when b1⋅b2=0. The condition b1−b2=0 actually means b1=b2, which makes the lines parallel, not perpendicular. So Assertion (A) is false.
Checking Reason (R): The correct formula for the angle between the two lines is
cosθ=∣b1∣∣b2∣b1⋅b2,
using the dot product of b1 and b2 in the numerator — not their difference b1−b2 as stated. So Reason (R) is also false.
✓Final answer(d) Both Assertion (A) and Reason (R) are false.
- CBSE 2024Set A1 markQ.Write True or False: If l1,m1,n1 and l2,m2,n2 are the direction cosines of two lines and θ is the acute angle between the two lines, then sinθ=∣l1l2+m1m2+n1n2∣.
›Reveal solutionSolution
The correct formula uses cosθ, not sinθ: cosθ=∣l1l2+m1m2+n1n2∣.
For two lines with direction cosines l1,m1,n1 and l2,m2,n2, the acute angle θ between them satisfies cosθ=∣l1l2+m1m2+n1n2∣ (this follows from u⋅v=∣u∣∣v∣cosθ with u,v unit vectors along the lines). The statement writes sinθ in place of cosθ, which is not the standard relation, so it is false.
✓Final answerFalse.
- CBSE 2024Set ANNUAL1 markMCQQ.Assertion (A): The angle between the straight lines 2x+1=5y−2=4z+3 and 1x−1=2y+2=−3z−3 is 90°. Reason (R): Skew lines are lines in different planes which are parallel and intersecting.(a) Both Assertion (A) and Reason (R) are true and Reason (R) is the correct explanation of Assertion (A).(b) Both Assertion (A) and Reason (R) are true and Reason (R) is not the correct explanation of Assertion (A).(c) Assertion (A) is true, but Reason (R) is false.(d) Assertion (A) is false, but Reason (R) is true.
›Reveal solutionSolution
Assertion (A) is true, but Reason (R) is false — option (c).
Checking Assertion: direction ratios are d1=(2,5,4) and d2=(1,2,−3).
d1⋅d2=2(1)+5(2)+4(−3)=2+10−12=0
Since the dot product is zero, the lines are perpendicular, i.e. the angle between them is 90∘. Assertion (A) is true.
Checking Reason: the statement given — "Skew lines are lines in different planes which are parallel and intersecting" — is self-contradictory and wrong: skew lines are, by definition, lines that are neither parallel nor intersecting, lying in different planes. So Reason (R) is false.
Hence Assertion is true but Reason is false.
✓Final answerAssertion (A) is true, but Reason (R) is false — option (c).
- CBSE 2023Set 65/3/11 markMCQQ.The value of λ for which the angle between the lines r=i^+j^+k^+p(2i^+j^+2k^) and r=(1+q)i^+(1+qλ)j^+(1+q)k^ is 2π is :(a) −4(b) 4(c) 2(d) −2
›Reveal solutionSolution
The angle between two lines is 2π when their direction vectors are perpendicular (dot product = 0). For the given lines, this gives λ=−4, so the correct option is (a).
Concept & Intuition
When two lines in space are perpendicular, the angle between them is 90∘ (π/2 radians). The key idea is that the direction vectors of the lines determine this angle — not their position vectors. The constant terms (i^+j^+k^ in the first line, and the q-dependent position in the second) only tell us where the lines are located, not which way they point.
For two lines with direction vectors d1 and d2, the angle θ between them satisfies:
cosθ=∣d1∣∣d2∣d1⋅d2
When θ=2π, cosθ=0, so the numerator must be zero: d1⋅d2=0. That's the entire condition — no need to compute magnitudes or worry about the constant terms.
Watch outA common mistake is to include the constant position vectors (i^+j^+k^ etc.) in the dot product. Those are just points on the line, not directions. Only the coefficients of p and q matter.
Step-by-step solution
- Extract the direction vectors from each line. The first line is r=i^+j^+k^+p(2i^+j^+2k^). The coefficient of p is the direction vector:
d1=2i^+j^+2k^
The second line is r=(1+q)i^+(1+qλ)j^+(1+q)k^.
Rewrite it in the standard form r=(constant)+q(direction):
r=(i^+j^+k^)+q(i^+λj^+k^)
So the direction vector is:
d2=i^+λj^+k^
- Apply the perpendicularity condition. For θ=2π, we need d1⋅d2=0:
(2i^+j^+2k^)⋅(i^+λj^+k^)=0
- Compute the dot product.
2(1)+1(λ)+2(1)=0
2+λ+2=0
λ+4=0
- Solve for λ.
λ=−4
TipNotice that the q in the second line's constant term (i^+j^+k^) is actually the same as the coefficient of q in the direction part — this is a common parametric form. Always isolate the parameter's coefficient to get the direction vector cleanly.
✓Final answerThe required value of λ is −4, which corresponds to option (a).
- CBSE 2023Set ANNUAL1 markQ.If the coordinates of the points A, B, C and D are (1,2,3),(4,5,7),(−4,3,−6) and (2,9,2) respectively, the acute angle between the lines AB and CD will be ______.
›Reveal solutionSolution
Compute direction vectors of AB and CD; if one is a positive scalar multiple of the other, the lines are parallel and the angle between them is 0∘.
Direction of AB: B−A=(4−1,5−2,7−3)=(3,3,4)
Direction of CD: D−C=(2−(−4),9−3,2−(−6))=(6,6,8)
Notice (6,6,8)=2×(3,3,4), so the direction vector of CD is a positive scalar multiple of AB's direction vector. Hence AB and CD are parallel (same sense), and the angle between them is
✓Final answer0∘.
- CBSE 2022Set ANNUAL1 markMCQQ.The slope of the line which makes an angle 45° with the line 3x−y=−5 are:(a) 1,21(b) 1,−1(c) 2,2−1(d) 21,−2
›Reveal solutionSolution
The line 3x−y=−5 has slope 3; solving tan45°=1+3mm−3=1 gives m=21 or m=−2.
Rewrite 3x−y=−5 as y=3x+5, so its slope is m1=3.
The angle θ between two lines of slopes m1,m2 satisfies tanθ=1+m1m2m2−m1. With θ=45°, tan45°=1:
1+3mm−3=1
Case 1: 1+3mm−3=1⇒m−3=1+3m⇒−2m=4⇒m=−2.
Case 2: 1+3mm−3=−1⇒m−3=−1−3m⇒4m=2⇒m=21.
So the two possible slopes are 21 and −2.
✓Final answerThe correct option is (d) 21,−2.
🎓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.