Solveeit Logo

Question

Question: Show that the equation of the line passing through the origin and making an angle \(\theta \) with t...

Show that the equation of the line passing through the origin and making an angle θ\theta with the line y=mx+cy = mx + c is yx=m±tanθ1mtanθ\dfrac{y}{x} = \dfrac{{m \pm \tan \theta }}{{1 \mp m\tan \theta }}.

Explanation

Solution

Hint- In this question, we have to find the equation of line passing through origin and making angle θ\theta with the given line. Proceed with using formula of angle θ\theta between two lines of different slopes (m1,m2)({m_1},{m_2}) i.e. tanθ=m1m21+m1m2\tan \theta = \left| {\dfrac{{{m_1} - {m_2}}}{{1 + {m_1}{m_2}}}} \right| and find a relation between variables x and y to reach the answer.

Complete step-by-step solution -
__
Let equation of the line passing through origin be y=m1xy = {m_1}x ------(a)
Now, this line makes an angle θ\theta with the line y=mx+cy = mx + c
tanθ=m1m1+m1m\Rightarrow \tan \theta = \left| {\dfrac{{{m_1} - m}}{{1 + {m_1}m}}} \right|
Put m1=yx{m_1} = \dfrac{y}{x} using the equation (a)
tanθ=±(yxm1+yx×m)\Rightarrow \tan \theta = \pm \left( {\dfrac{{\dfrac{y}{x} - m}}{{1 + \dfrac{y}{x} \times m}}} \right)
From this we get, either tanθ=(yxm1+yx×m)\tan \theta = \left( {\dfrac{{\dfrac{y}{x} - m}}{{1 + \dfrac{y}{x} \times m}}} \right) or tanθ=(yxm1+yx×m)\tan \theta = - \left( {\dfrac{{\dfrac{y}{x} - m}}{{1 + \dfrac{y}{x} \times m}}} \right)
Taking into consideration, tanθ=(yxm1+yx×m)\tan \theta = \left( {\dfrac{{\dfrac{y}{x} - m}}{{1 + \dfrac{y}{x} \times m}}} \right)
On cross multiplying we get, tanθ(1+yx×m)=yxm\tan \theta \left( {1 + \dfrac{y}{x} \times m} \right) = \dfrac{y}{x} - m
tanθ+tanθ×yx×m=yxm\Rightarrow \tan \theta + \tan \theta \times \dfrac{y}{x} \times m = \dfrac{y}{x} - m
tanθ+m=yxtanθ×yx×m\Rightarrow \tan \theta + m = \dfrac{y}{x} - \tan \theta \times \dfrac{y}{x} \times m
tanθ+m=yx(1mtanθ)\Rightarrow \tan \theta + m = \dfrac{y}{x}\left( {1 - m\tan \theta } \right)
m+tanθ1mtanθ=yx\Rightarrow \dfrac{{m + \tan \theta }}{{1 - m\tan \theta }} = \dfrac{y}{x}
or, yx=m+tanθ1mtanθ\dfrac{y}{x} = \dfrac{{m + \tan \theta }}{{1 - m\tan \theta }} ------(b)

Taking into consideration, tanθ=(yxm1+yx×m)\tan \theta = - \left( {\dfrac{{\dfrac{y}{x} - m}}{{1 + \dfrac{y}{x} \times m}}} \right)
On cross multiplying we get, tanθ(1+yx×m)=yx+m\tan \theta \left( {1 + \dfrac{y}{x} \times m} \right) = - \dfrac{y}{x} + m
tanθ+tanθ×yx×m=yx+m\Rightarrow \tan \theta + \tan \theta \times \dfrac{y}{x} \times m = - \dfrac{y}{x} + m
tanθm=yxtanθ×yx×m\Rightarrow \tan \theta - m = - \dfrac{y}{x} - \tan \theta \times \dfrac{y}{x} \times m
tanθm=yx(1mtanθ)\Rightarrow \tan \theta - m = \dfrac{y}{x}\left( { - 1 - m\tan \theta } \right)
tanθm1mtanθ=yx\Rightarrow \dfrac{{\tan \theta - m}}{{ - 1 - m\tan \theta }} = \dfrac{y}{x}
or, yx=mtanθ1+mtanθ\dfrac{y}{x} = \dfrac{{m - \tan \theta }}{{1 + m\tan \theta }} ------(c)

From (b) and (c) we get,
yx=m+tanθ1mtanθ\dfrac{y}{x} = \dfrac{{m + \tan \theta }}{{1 - m\tan \theta }} or yx=mtanθ1+mtanθ\dfrac{y}{x} = \dfrac{{m - \tan \theta }}{{1 + m\tan \theta }}
Collectively we can say that,
yx=m±tanθ1mtanθ\dfrac{y}{x} = \dfrac{{m \pm \tan \theta }}{{1 \mp m\tan \theta }}
Hence it has been shown that yx=m±tanθ1mtanθ\dfrac{y}{x} = \dfrac{{m \pm \tan \theta }}{{1 \mp m\tan \theta }}.

Note- Always remember for lines passing through origin, the intercept on y-axis is zero and so in equation y=mx+c,c=0y = mx + c,c = 0 . It can be seen that the line passing through origin can be rewritten as y=mxy = mx where m can be negative or positive depending on the angle.