Question
Question: The equation of a straight line which cuts off intercepts on x-axis twice that on y-axis and is at a...
The equation of a straight line which cuts off intercepts on x-axis twice that on y-axis and is at a unit distance from the origin is
A. x−2y+5=0
B. x+2y−5=0
C. x+2y+5=0
D. x−2y−5=0
Solution
We will first assume the equation of a line y=mx+c. We know that we get the value of x-intercept by substituting y=0 in the equation and the value of y-intercept by substituting x=0 in the equation of line. Also, we will use the formula to find the distance between origin and a straight line given by,
Let the equation of line be y=mx+c.
Distance=1+m2∣c∣
Complete step-by-step answer:
We have been asked to find the equation of a line which cuts off the intercept on x-axis twice that on y-axis and is at a unit distance from the origin.
Let us suppose the equation of a line to be y=mx+c.
We know that we get x-intercept by substituting y=0 in the equation of line and y-intercept by substituting x=0.
So, x-intercept is given by,
0=mx+c ⇒−c=mx ⇒m−c=x
And y-intercept is given by,
y=m×0+c ⇒y=c
According to question,
⇒m−c=2c
Taking (m−c) to right side of equation, we get
2c+mc=0
Taking 'c' as common, we get
c(2+m1)=0 ⇒c=0and2+m1=0 ⇒m1=−2 ⇒m=−21
We know the distance between the origin and a line having equation y=mx+c is given by,
Distance=1+m2∣c∣
According to question,
1+m2∣c∣=1
When c=0, we get
1+m20=1 ⇒1+m2=0
On squaring both sides, we get
1+m2=0
m2=−1, which is not possible because the value of m is an imaginary number.
So, 'c' cannot be equal to zero.
When, m=2−1 we get
⇒1+(2−1)2∣c∣=1
⇒1+41∣c∣=1 ⇒41+4∣c∣=1 ⇒5∣c∣2=1 ⇒∣c∣=25 ⇒c=±25
So, the equation of line are as follows:
Case I:
Form=−21andc=25\y=−21x+25
On taking LCM of terms, we get
y=2−x+5 ⇒2y=−x+5 ⇒2y+x−5=0
Case II:
Whenm=2−1andc=2−5\y=2−1x−25
On taking LCM of the terms, we get
y=2−x−5 ⇒2y=−x−5 ⇒2y+x+5=0
Let us draw the figure for the lines as shown below,
Therefore, the correct options are B and C.
Note: The general mistake that we make is using the formula of distance between origin and the line without a modulus function which gives us only one value of 'c' and our answer is incomplete. So, be careful and remember that formula includes the modulus function i.e. 1+m2∣c∣
We get c=0 during the calculation but for this value of 'c' we get the value of m an imaginary number. So, we could not take this value of 'c'.