WHY take the acute angle? Two intersecting lines actually form two pairs of angles (θ and 180∘−θ). A line points "both ways", so flipping a direction vector b to −b describes the same line but gives the supplementary angle. To get a single, unambiguous answer we force it to be acute by putting a modulus∣⋅∣ in the formula.
We start from the ONLY thing we need — the dot product definition.
Step 1 — Dot product definition.b1⋅b2=∣b1∣∣b2∣cosθWhy this step? This is the first-principles bridge between an algebraic operation (components) and a geometric quantity (angle).
Step 2 — Solve for cosθ.cosθ=∣b1∣∣b2∣b1⋅b2Why this step? We want the angle, so isolate cosθ.
Step 3 — Force the acute angle.
Because b and −b give the same line, we take absolute value of the numerator:
cosθ=∣b1∣∣b2∣∣b1⋅b2∣Why this step?∣cosθ∣ guarantees θ∈[0∘,90∘].
There's also a clean sin form using the cross product:
sinθ=∣b1∣∣b2∣∣b1×b2∣Why useful? Sometimes you have the cross product handy; also lets you find tanθ safely.
Imagine two pencils lying on a table, both passing through the same spot. The corner where they meet makes an angle — and that angle doesn't care where on the table the pencils are, only which way they point. A "direction arrow" tells us which way a pencil points. To find the angle between two arrows we use a magic recipe called the dot product: multiply matching parts, add them up, then divide by the arrows' lengths. The result is the cosine of the angle. We also keep the answer "small" (always less than a right angle) because a pencil pointing left is the same line as one pointing right.
Dekho, 3D mein ek line ka sirf direction important hota hai — woh kahan rakhi hai, isse angle pe koi farak nahi padta. Isliye do lines ke beech ka angle nikalne ke liye hum unke direction vectorsb1 aur b2 ka angle nikaalte hain. Aur vectors ke beech angle? Wahi purana dot product wala funda: b1⋅b2=∣b1∣∣b2∣cosθ. Bas isko cosθ ke liye solve kar lo.
Ek choti si twist hai — line dono direction mein point karti hai, matlab b aur −b same line hai. Isliye answer kabhi obtuse na aaye, hum upar modulus∣⋅∣ lagate hain. Toh final formula: cosθ=∣b1∣∣b2∣∣b1⋅b2∣, aur angle hamesha acute (0 se 90 degree) aata hai.
Do special cases yaad rakho, ratta mat maaro — derive karo. Perpendicular matlab cos90∘=0, toh sirf numerator (dot product) zero: a1a2+b1b2+c1c2=0. Parallel matlab dono same direction, toh ratios proportional: a2a1=b2b1=c2c1.
Sabse common galti: jab line symmetric form 2x−1=3y=4z+1 mein di ho, toh denominators(2,3,4) direction ratios hain — point (1,0,−1) ko mat use karna. Aur direction ratios unit nahi hote, isliye magnitude se divide karna mat bhoolna. Bas itna dhyaan rakho, exam mein ye topic free marks hai!