Solveeit Logo

Question

Question: Find the equation of a line which slope 2 and the length of the perpendicular form the origin is \[\...

Find the equation of a line which slope 2 and the length of the perpendicular form the origin is 5\sqrt 5 .

Explanation

Solution

Hint : The general equation of a line is given as y=mx+cy = mx + c , where mm is the slope of the line and cc is the y-intercept.
In this question we are given with a slope of a line so by using the general equation of a straight line we will find the equation of a straight line and also we are given with perpendicular distance of the origin from the straight line so using the relation we will find the value of y-intercept cc and by substituting the y-intercept we will find the equation of the line.

Complete step-by-step answer :
Given the slope of the line is m=2m = 2
Now as we know the general equation of a line is given as y=mx+cy = mx + c , hence by substituting the values of slope we can write the equation as
y=2x+cy = 2x + c
This equation can also be written as
2xy+c=02x - y + c = 0
Now we are given with the length of the perpendicular form the origin as 5\sqrt 5 , the coordinate of the origin is (0,0)\left( {0,0} \right)
We know the perpendicular distance of a line from a point is given by the formula d=±(ax1+by1+ca2+b2)d = \pm \left( {\dfrac{{a{x_1} + b{y_1} + c}}{{\sqrt {{a^2} + {b^2}} }}} \right)
Hence by substituting the values of the equation of the line and the coordinate of the origin we can write,

5=±(a(0)+b(0)+c(2)2+(1)2) 5=(0+0+c4+1) c=5×5 c=5   \sqrt 5 = \pm \left( {\dfrac{{a\left( 0 \right) + b\left( 0 \right) + c}}{{\sqrt {{{\left( 2 \right)}^2} + {{\left( 1 \right)}^2}} }}} \right) \\\ \Rightarrow \sqrt 5 = \left( {\dfrac{{0 + 0 + c}}{{\sqrt {4 + 1} }}} \right) \\\ \Rightarrow c = \sqrt 5 \times \sqrt 5 \\\ \Rightarrow c = 5 \;

Hence by substituting the value of cc in equation (i) we can write
2xy+5=02x - y + 5 = 0
Therefore the equation of a line is 2xy+5=02x - y + 5 = 0
So, the correct answer is “ 2xy+5=02x - y + 5 = 0 ”.

Note : The perpendicular distance of a line from a point is given by the formula d=±(ax1+by1+ca2+b2)d = \pm \left( {\dfrac{{a{x_1} + b{y_1} + c}}{{\sqrt {{a^2} + {b^2}} }}} \right) , where equation of the line is ax+by+c=0ax + by + c = 0 and the coordinate of the point is (x1,y1)\left( {{x_1},{y_1}} \right) . In this question since the perpendicular line was from the origin so we took the coordinate of the point as (0,0)\left( {0,0} \right) .