Advertisements
Advertisements
Question
If θ is the angle which the straight line joining the points (x1, y1) and (x2, y2) subtends at the origin, prove that \[\tan \theta = \frac{x_2 y_1 - x_1 y_2}{x_1 x_2 + y_1 y_2}\text { and } \cos \theta = \frac{x_1 x_2 + y_1 y_2}{\sqrt{{x_1}^2 + {y_1}^2}\sqrt{{x_2}^2 + {y_2}^2}}\].
Advertisements
Solution
Let A (x1, y1) and B (x2, y2) be the given points.
Let O be the origin.

Slope of OA = m1 = \[\frac{y_1}{x_1}\]
Slope of OB = m2 = \[\frac{y_2}{x_2}\]
It is given that \[\theta\] is the angle between lines OA and OB.
\[\therefore \tan \theta = \frac{m_1 - m_2}{1 + m_1 m_2}\]
\[ = \frac{\frac{y_1}{x_1} - \frac{y_2}{x_2}}{1 + \frac{y_1}{x_1} \times \frac{y_2}{x_2}}\]
\[ \Rightarrow \tan \theta = \frac{x_2 y_1 - x_1 y_2}{x_1 x_2 + y_1 y_2}\]
Now,
As we know that
\[\cos \theta = \sqrt{\frac{1}{1 + \tan^2 \theta}}\]
\[\therefore \cos \theta = \frac{x_1 x_2 + y_1 y_2}{\sqrt{\left( x_2 y_1 - x_1 y_2 \right)^2 + \left( x_1 x_2 + y_1 y_2 \right)^2}}\]
\[\Rightarrow \cos \theta = \frac{x_1 x_2 + y_1 y_2}{\sqrt{{x_2}^2 {y_1}^2 + {x_1}^2 {y_2}^2 + {x_1}^2 {x_2}^2 + {y_1}^2 {y_2}^2}}\]
\[\Rightarrow \cos \theta = \frac{x_1 x_2 + y_1 y_2}{\sqrt{{x_1}^2 + {y_1}^2} \sqrt{{x_2}^2 + {y_2}^2}}\]
APPEARS IN
RELATED QUESTIONS
Draw a quadrilateral in the Cartesian plane, whose vertices are (–4, 5), (0, 7), (5, –5) and (–4, –2). Also, find its area.
The base of an equilateral triangle with side 2a lies along they y-axis such that the mid point of the base is at the origin. Find vertices of the triangle.
Find the distance between P (x1, y1) and Q (x2, y2) when :
- PQ is parallel to the y-axis,
- PQ is parallel to the x-axis
Consider the given population and year graph. Find the slope of the line AB and using it, find what will be the population in the year 2010?

Find the slope of a line passing through the following point:
(−3, 2) and (1, 4)
Find the slope of a line passing through the following point:
\[(a t_1^2 , 2 a t_1 ) \text { and } (a t_2^2 , 2 a t_2 )\]
Find the slope of a line (i) which bisects the first quadrant angle (ii) which makes an angle of 30° with the positive direction of y-axis measured anticlockwise.
Using the method of slope, show that the following points are collinear A (4, 8), B (5, 12), C (9, 28).
What can be said regarding a line if its slope is positive ?
What can be said regarding a line if its slope is negative?
Find the angle between X-axis and the line joining the points (3, −1) and (4, −2).
Find the equation of a straight line with slope −2 and intersecting the x-axis at a distance of 3 units to the left of origin.
Find the equations of the bisectors of the angles between the coordinate axes.
If the image of the point (2, 1) with respect to a line mirror is (5, 2), find the equation of the mirror.
Find the angles between the following pair of straight lines:
3x + y + 12 = 0 and x + 2y − 1 = 0
Prove that the straight lines (a + b) x + (a − b ) y = 2ab, (a − b) x + (a + b) y = 2ab and x + y = 0 form an isosceles triangle whose vertical angle is 2 tan−1 \[\left( \frac{a}{b} \right)\].
If two opposite vertices of a square are (1, 2) and (5, 8), find the coordinates of its other two vertices and the equations of its sides.
Write the coordinates of the image of the point (3, 8) in the line x + 3y − 7 = 0.
If x + y = k is normal to y2 = 12x, then k is ______.
If the line joining two points A(2, 0) and B(3, 1) is rotated about A in anticlock wise direction through an angle of 15°. Find the equation of the line in new position.
Find the equation to the straight line passing through the point of intersection of the lines 5x – 6y – 1 = 0 and 3x + 2y + 5 = 0 and perpendicular to the line 3x – 5y + 11 = 0.
A ray of light coming from the point (1, 2) is reflected at a point A on the x-axis and then passes through the point (5, 3). Find the coordinates of the point A.
Find the angle between the lines y = `(2 - sqrt(3)) (x + 5)` and y = `(2 + sqrt(3))(x - 7)`
Find the equation of a straight line on which length of perpendicular from the origin is four units and the line makes an angle of 120° with the positive direction of x-axis.
Slope of a line which cuts off intercepts of equal lengths on the axes is ______.
The equation of the straight line passing through the point (3, 2) and perpendicular to the line y = x is ______.
Equation of the line passing through (1, 2) and parallel to the line y = 3x – 1 is ______.
Equations of diagonals of the square formed by the lines x = 0, y = 0, x = 1 and y = 1 are ______.
The points (3, 4) and (2, – 6) are situated on the ______ of the line 3x – 4y – 8 = 0.
The line `x/a + y/b` = 1 moves in such a way that `1/a^2 + 1/b^2 = 1/c^2`, where c is a constant. The locus of the foot of the perpendicular from the origin on the given line is x2 + y2 = c2.
Line joining the points (3, – 4) and (– 2, 6) is perpendicular to the line joining the points (–3, 6) and (9, –18).
The line which passes through the origin and intersect the two lines `(x - 1)/2 = (y + 3)/4 = (z - 5)/3, (x - 4)/2 = (y + 3)/3 = (z - 14)/4`, is ______.
The lines whose vector equations are `r = 2hati - 3hatj + 7hatk + lambda (2hati + phatj + 5hatk) and r = hati - 2hatj + 3hatk + µ(3hati + phatj + phatk)` are perpendicular for all values of λ and µ if p =
