If the line segment joining the points A(a,b) and B(c,d) subtends an angle θ at the origin,then cosθ=ac+bd√(a2+b2)(c2+d2)
Open in App
Solution
Ifa1x+b1y+c1=0 and a2x+b2y+c2=0 are two times, the angle between them can be calculated using the following formula. cosθ=a1a2+b1b2√(a12+b12)(a22+b22) Slope of line OA=ba linOA:(y−0)=ba(x−0)⇒bx−ay=0 Similarly linOB:dx−cy=0 ∴cosθ=bd+(−a)(−c)√(a2+b2)(c2+d2)=bd+ac√(a2+b2)(c2+d2)