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 18 on this concept.
- JEE Main 2026Set 2026-04-04-s14 marksMCQQ.Let the line L₁ : x + 3 = 0 intersect the lines L₂ : x − y = 0 and L₃ : 3x + y = 0 at the points A and B, respectively. Let the bisector of the obtuse angle between the lines L₂ and L₃ intersect the line L₁ at the point C. Then BC² : AC² is equal to: (A) 5:1 (B) 1:5 (C) 2:3 (D) 3:2
›Reveal solutionSolution
Finding the obtuse-angle bisector's slope (2−5) and intersecting it with the vertical line L1 gives point C; comparing the resulting y-distances to A and B gives BC2:AC2=5:1.
Since all three points A,B,C lie on the same vertical line L1:x=−3, every distance calculation collapses to a simple difference of y-coordinates — the real work is identifying which of the two perpendicular angle bisectors is the OBTUSE one.
- A: intersection of L1(x=−3) and L2(x=y): A=(−3,−3).
- B: intersection of L1 and L3(y=−3x): B=(−3,9).
- L2 has direction angle 45°; L3 has slope −3, direction angle (as an undirected line) ≈108.43°. The acute angle between them is ≈63.43°, so the obtuse angle is ≈116.57°.
The bisector of the obtuse angle is perpendicular to the bisector of the acute angle; the acute bisector's direction is the AVERAGE of the two lines' direction angles
- Acute bisector direction ≈(45+108.43)/2=76.7° (slope ≈4.18); the obtuse bisector, perpendicular to this, has slope ≈−0.236.
- Working this out exactly (via the standard angle-bisector formula for x−y=0 and 3x+y=0, taking the branch matching this slope) gives the obtuse bisector y=(2−5)x.
- Intersect with L1(x=−3): C=(−3, −3(2−5))=(−3, −6+35).
- AC=∣(−6+35)−(−3)∣=∣35−3∣=3(5−1); BC=∣(−6+35)−9∣=∣35−15∣=3(5−5).
- AC2BC2=(5−1)2(5−5)2=6−2530−105=2(3−5)10(3−5)=5.
✓Final answerThe correct option is (A).
- JEE Main 2026Set 2026-01-23-s14 marksMCQQ.Let the line y - x = 1 intersect the ellipse x²/2 + y²/1 = 1 at the points A and B. Then the angle made by the line segment AB at the center of the ellipse is: (A) π/2 - tan⁻¹(1/4) (B) π/2 + tan⁻¹(1/4) (C) π - tan⁻¹(1/4) (D) π/2 + 2tan⁻¹(1/4)
›Reveal solutionSolution
Find where the line meets the ellipse, take the dot product of the two position vectors from the center, then convert the resulting arccos into the tan−1 form the options use. The angle is 2π+tan−141.
The 'angle at the center' of a chord is just the angle between the two radius-like vectors from the origin to the chord's endpoints — once those points are found, this is pure vector geometry, nothing special about the ellipse beyond that.
- Substitute y=x+1 into 2x2+y2=1:
2x2+(x+1)2=1⟹2x2+x2+2x+1=1⟹23x2+2x=0⟹x(23x+2)=0
So x=0 or x=−34.
-
The corresponding points: x=0⇒y=1, giving A=(0,1); x=−34⇒y=−34+1=−31, giving B=(−34,−31).
-
The angle at the center O between OA and OB:
OA⋅OB=(0)(−34)+(1)(−31)=−31,∣OA∣=1,∣OB∣=916+91=317
cosθ=17/3−1/3=−171
-
The negative cosine means θ is obtuse, which already rules out two of the four options. Write θ=π−ϕ where cosϕ=171.
-
For ϕ, build a right triangle with adjacent 1 and hypotenuse 17, so the opposite side is 17−1=4 — meaning tanϕ=4, i.e. ϕ=tan−14.
Tiptan−14 isn't one of the answer forms, but tan−1x+tan−1x1=2π (for x>0) converts it: ϕ=2π−tan−141.
- So:
θ=π−ϕ=π−(2π−tan−141)=2π+tan−141
✓Final answerThe correct option is (B).
- JEE Main 2026Set 2026-01-24-s14 marksMCQQ.Let A(1,0), B(2,−1) and C(7/3, 4/3) be three points. If the equation of the bisector of the angle ABC is αx + βy = 5, then the value of α² + β² is (A) 5 (B) 10 (C) 13 (D) 8
›Reveal solutionSolution
The internal bisector of an angle at a vertex points along the sum of the unit vectors drawn from that vertex to the other two points; carrying this out for ∠ABC gives the bisector 3x + y = 5, so α² + β² = 10.
The key idea behind any angle bisector at a vertex is symmetry: a vector that makes equal angles with two given rays must combine the rays after normalizing their lengths, not before. That's why summing the two unit vectors along BA and BC, rather than summing the raw vectors, always gives a true bisector direction.
-
Set up the two rays from B(2,−1):
BA=A−B=(1−2,0−(−1))=(−1,1), with ∣BA∣=2.
BC=C−B=(37−2, 34+1)=(31, 37), with ∣BC∣=91+949=950=352.
-
Normalize both:
BA^=(−21, 21), BC^=(52/31/3, 52/37/3)=(521, 527).
-
Add the two unit vectors to get the bisector direction:
BA^+BC^=(52−5+1, 525+7)=(52−4, 5212), proportional to (−1,3).
The internal bisector at vertex B of △ABC always runs along BA^+BC^.
-
Write the line through B(2,−1) with direction (−1,3):
−1x−2=3y+1⇒3(x−2)=−(y+1)⇒3x+y=5.
-
Comparing with αx+βy=5 gives α=3, β=1, so α2+β2=9+1=10.
Watch outAdding the raw vectors BA+BC instead of their unit vectors does not generally give the bisector — only the normalized sum does, since the two rays from B have different lengths here.
✓Final answerThe correct option is (B).
-
- JEE Main 2025Set 2025-01-23-s14 marksMCQQ.If the line 3x - 2y + 12 = 0 intersects the parabola 4y = 3x^2 at the points A and B, then at the vertex of the parabola, the line segment AB subtends an angle equal to (A) π/2 - tan^{-1}(3/2) (B) tan^{-1}(9/7) (C) tan^{-1}(11/9) (D) tan^{-1}(4/5)
›Reveal solutionSolution
Finding the two intersection points and using the cross/dot product of the position vectors from the vertex gives the subtended angle as tan−1(9/7).
The angle "subtended at a point" by a segment is just the angle between the two vectors from that point to the segment's endpoints -- once the endpoints are known, tanθ via the cross and dot products is faster than computing individual slopes.
- The parabola 4y=3x2 has vertex at the origin.
- Substitute y=23x+12 from the line into 4y=3x2:
3x2=2(3x+12)⟹3x2−6x−24=0⟹x2−2x−8=0⟹(x−4)(x+2)=0
- So x=4⇒y=12 giving A=(4,12), and x=−2⇒y=3 giving B=(−2,3).
- Vectors from the vertex O(0,0): OA=(4,12), OB=(−2,3).
- Dot product: OA⋅OB=4(−2)+12(3)=−8+36=28.
- Cross product (z-component): 4(3)−12(−2)=12+24=36.
- tanθ=dot∣cross∣=2836=79
✓Final answer(B) tan^{-1}(9/7)
- JEE Main 2025Set 2025-04-03-s24 marksMCQQ.Each of the angles β and γ that a given line makes with the positive y- and z-axes, respectively, is half of the angle that this line makes with the positive x-axes. Then the sum of all possible values of the angle β is (A) π/2 (B) π (C) 3π/4 (D) 3π/2
›Reveal solutionSolution
Writing the identity in terms of c=cos(α/2) gives 2c2(2c2−1)=0, whose valid roots give β=π/2 or β=π/4; their sum is 3π/4.
Let α,β,γ be the angles the line makes with the positive x, y, z axes, so direction cosines satisfy:
cos2α+cos2β+cos2γ=1
Given β=γ=α/2:
- cos2α+2cos2(2α)=1
- Let c=cos(α/2). Using cosα=2c2−1:
(2c2−1)2+2c2=1
- Expand: 4c4−4c2+1+2c2=1⟹4c4−2c2=0⟹2c2(2c2−1)=0
- So either c2=0 or c2=21.
- Since β=α/2 must itself be a valid angle with an axis, α∈[0,π] forces α/2∈[0,π/2], so c=cos(α/2)≥0 — only the non-negative root of each case is admissible.
- c=0⟹α/2=π/2⟹β=π/2 (check: cosα=−1,cosβ=cosγ=0, sum of squares =1 ✓)
- c=21⟹α/2=π/4⟹β=π/4 (check: cosα=0,cosβ=cosγ=21, sum of squares =0+21+21=1 ✓)
- Sum of all possible β: 2π+4π=43π
✓Final answer(C)
- JEE Main 2024Set 2024-04-08-s24 marksMCQQ.If the line segment joining the points (5,2) and (2,a) subtends an angle 4π at the origin, then the absolute value of the product of all possible values of a is : (A) 6 (B) 8 (C) 2 (D) −4
›Reveal solutionSolution
Use the dot-product formula for the angle between the position vectors of the two points, set cos(π/4)=1/2, square, and read off the product of roots.
The two points subtend angle π/4 at the origin, so the angle between vectors u=(5,2) and v=(2,a) is π/4.
- Write the cosine condition:
cos4π=∣u∣∣v∣u⋅v=294+a210+2a.
- Since cos4π=21, square both sides:
29(4+a2)(10+2a)2=21⇒2(10+2a)2=29(4+a2).
- Expand: 2(100+40a+4a2)=200+80a+8a2 and 29(4+a2)=116+29a2, giving
200+80a+8a2=116+29a2⇒21a2−160a+84=0.
- The product of the roots is 2184=4, so the absolute value of the product of all possible values of a is 4.
✓Final answerThe correct option is (D).
- JEE Main 2024Set 2024-01-27-s14 marksMCQQ.The portion of the line 4x+5y=20 in the first quadrant is trisected by the lines L1 and L2 passing through the origin. The tangent of an angle between the lines L1 and L2 is: (A) 58 (B) 4125 (C) 52 (D) 4130
›Reveal solutionSolution
Find the two trisection points, get the slopes of the lines from the origin, and use the angle formula.
- Line 4x+5y=20 meets axes at A(5,0), B(0,4).
- Trisection points: P=32A+B=(310,34), Q=3A+2B=(35,38).
- Slopes: m1=10/34/3=52, m2=5/38/3=58.
- tanθ=1+m1m2m2−m1=1+16/256/5=41/256/5=4130.
✓Final answerThe correct option is (D).
- JEE Main 2023Set 2023-04-11-s24 marksQ.Let the line \ell : x = \frac{1-y}{-2} = \frac{z-3}{\lambda}, \lambda \in R meet the plane P : x + 2y + 3z = 4 at the point (\alpha, \beta, \gamma). If the angle between the line \ell and the plane P is \cos^{-1}\left(\sqrt{\frac{5}{14}}\right), then \alpha + 2\beta + 6\gamma is equal to _______.
›Reveal solutionSolution
Use the angle-between-line-and-plane formula to find λ first, then find the actual intersection point.
- Line direction ratios (1,2,λ); plane normal (1,2,3).
- sinθ=5+λ214∣1⋅1+2⋅2+3λ∣=5/14 (from the given cosθ) ⇒λ=2/3.
- Points on the line: (t,2t+1,32t+3); substitute into x+2y+3z=4: solving gives t=−1.
- Intersection: (α,β,γ)=(−1,−1,37).
- α+2β+6γ=−1−2+14=11.
✓Final answer\boxed{11}
- JEE Main 2023Set 2023-01-31-s14 marksQ.Let \theta be the angle between the planes P_1: \vec{r}\cdot(\hat{i}+\hat{j}+2\hat{k}) = 9 and P_2: \vec{r}\cdot(2\hat{i}-\hat{j}+\hat{k}) = 15. Let L be the line that meets P_2 at the point (4, -2, 5) and makes an angle \theta with the normal of P_2. If \alpha is the angle between L and P_2 then (\tan^2\theta)(\cot^2\alpha) is equal to ________.
›Reveal solutionSolution
The angle a line makes with a plane is always complementary to the angle it makes with the plane's normal, which immediately links θ and α without needing the line's actual equation.
- Normals: n1=(1,1,2), n2=(2,−1,1); n1⋅n2=2−1+2=3, ∣n1∣=∣n2∣=6.
- cosθ=63=21⇒θ=60∘⇒tan2θ=3.
- Line L makes angle θ with the normal of P2; the angle α between L and the plane P2 itself satisfies α=90∘−θ.
- So cotα=cot(90∘−θ)=tanθ⇒cot2α=tan2θ=3.
- tan2θ⋅cot2α=3×3=9.
✓Final answer\boxed{9}
- JEE Main 2023Set 2023-04-08-s24 marksMCQQ.For a, b ∈ Z and |a-b| ≤ 10, let the angle between the plane P : ax + y - z = b and the line l : (x-1)/1 = (y-2)/(-1) = (z+1)/1 be cos⁻¹(1/3). If the distance of the point (6, -6, 4) from the plane P is 3√6, then a⁴ + b² is equal to (A) 85 (B) 48 (C) 25 (D) 32
›Reveal solutionSolution
Use the standard line-plane angle formula (sine of the angle, since the normal and the line direction give the complementary cosine) together with the point-to-plane distance to pin down the integers a,b.
- Normal to P: n=(a,1,−1); line direction d=(1,−1,1), so n⋅d=a−2, ∣d∣=3.
- The angle between line and plane satisfies sinθ=3a2+2∣a−2∣=sin(cos−1(1/3))=322.
- Squaring: 9(a−2)2=24(a2+2)⇒15a2+36a+12=0⇒5a2+12a+4=0⇒a=−2 or −0.4; since a∈Z, a=−2.
- Distance condition with a=−2: 6∣−12−6−4−b∣=36⇒∣b+22∣=18⇒b=−4 or −40.
- ∣a−b∣≤10 rules out b=−40 (gives 38), leaving b=−4 (∣a−b∣=2).
- a4+b2=(−2)4+(−4)2=16+16=32.
✓Final answer(D)
- JEE Main 2022Set 2022-06-26-s14 marksMCQQ.If the two lines l1 : (x – 2)/3 = (y + 1)/–2, z = 2 and l2 : (x – 1)/1 = (2y + 3)/α = (z + 5)/2 are perpendicular, then an angle between the lines l2 and l3 : (1 – x)/3 = (2y – 1)/–4 = z/4 is: (A) cos⁻¹(29/4) (B) sec⁻¹(29/4) (C) cos⁻¹(2/29) (D) cos⁻¹(2/√29)
›Reveal solutionSolution
After finding α=3 from perpendicularity, the angle between l2 and l3 comes out to sec⁻¹(29/4).
- l1's direction vector, read from (x−2)/3=(y+1)/(−2), z=2, is (3,−2,0). l2's direction vector, read from (x−1)/1=(2y+3)/α=(z+5)/2, is (1, α/2, 2) (since 2y+3=αs means dy/ds=α/2).
- Perpendicularity of l1 and l2 requires their direction vectors' dot product to vanish: 3(1)+(−2)(α/2)+0(2)=0 → 3−α=0 → α=3.
- With α=3, l2's direction vector (scaled by 2 for convenience) is (2,3,4). l3's direction vector, read from (1−x)/3=(2y−1)/(−4)=z/4, is (−3,−2,4).
- cosθ = |d2·d3|/(|d2||d3|) = |2(−3)+3(−2)+4(4)|/(√(4+9+16)·√(9+4+16)) = |−6−6+16|/(√29·√29) = 4/29.
- θ = cos⁻¹(4/29), which is equivalently written as sec⁻¹(29/4) since secθ = 1/cosθ = 29/4.
✓Final answerThe correct option is (B), sec⁻¹(29/4).
- JEE Main 2022Set 2022-06-28-s14 marksMCQQ.The acute angle between the planes P₁ and P₂, when P₁ and P₂ are the planes passing through the intersection of the planes 5x + 8y + 13z − 29 = 0 and 8x − 7y + z − 20 = 0 and the points (2, 1, 3) and (0, 1, 2), respectively, is (A) π/3 (B) π/4 (C) π/6 (D) π/12
›Reveal solutionSolution
Pinning down the family-of-planes parameter using each given point yields the two normals, whose angle is π/3.
- Planes through the intersection: 5x+8y+13z−29+λ(8x−7y+z−20)=0.
- For P1 through (2,1,3): substitute to get 28−8λ=0⇒λ=7/2; simplifying gives P1:2x−y+z−6=0.
- For P2 through (0,1,2): substitute to get 5−25λ=0⇒λ=1/5; simplifying gives P2:x+y+2z−5=0.
- Normals: n1=(2,−1,1), n2=(1,1,2).
- cosθ=∣n1∣∣n2∣n1⋅n2=6⋅62−1+2=63=21⇒θ=3π.
✓Final answerThe correct option is (A), π/3.
🎓Unlock everything free for 10 days
- ✓Full step-by-step solutions
- ✓Concept-first explanations
- ✓Methods, shortcuts & mistakes
- ✓PYQ mapping + timed mock tests
Full access for 10 days. No credit card required.