Question
Question: If \[\theta \] is the angle which the straight line joining the points \[\left( {{x}_{1}},{{y}_{1}} ...
If θ is the angle which the straight line joining the points (x1,y1)and (x2,y2)subtends at the origin prove that tanθ=x1x2+y1y2x2y1−x1y2 and cosθ=x12+y12x22+y22x1x2+y1y2.
Solution
Hint:Find the slope of the line formed by point A and B with origin because that will be the angle subtended by line AB on the origin , then use the Formula tanθ=1+m1m2m1−m2to find θ to find the angle between those two lines.
Complete step-by-step answer:
Let A (x1,y1) and B (x2,y2) be the given points.
Let O be the origin.
Slope of OA = m1=x1y1
Slope of OB = m2=x2y2
It is given that θ is the angle between lines OA and OB.
tanθ=1+m1m2m1−m2
By substituting the values of A and B we get,
tanθ=1+(x1y1×x2y2)x1y1−x2y2
By solving this we get,
tanθ=x1x2+y1y2x2y1−x1y2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (1)
We know that cosθ=1+tan2θ1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (2)
Substitute the value (1) in (2), we get
cosθ=(x2y1−x1y2)2+(x1x2+y1y2)2x1x2+y1y2
cosθ=x22y12+x12y22+x12x22+y12y22x1x2+y1y2
cosθ=x12+y12x22+y22x1x2+y1y2
Hence proved.
Note: From the above we can conclude that after finding the slopes we get the value tanθ and further substituted in the trigonometric operation to get the final solution. Only variables are used so modulus doesn’t play an important role.