The perpendicular distance of a line from the origin is 5 units and its slope is - 1. Find the equation of the line.
Let c be the intercept on the y-axis.
Then, the equation of the line is
y=−x+c [∵ m=−1]
⇒ x+y=c
⇒ x√12+12+y√12+12=c√12+12
[Dividing both sides by √(coefficient of x)2+(coefficient of y)2]
⇒ x√2+y√2=c√2
This is the normal form of the given line.
Therefore, c√2 denotes the length of the perpendicular from the origin.
But, the length of the perpendicular is 5 units.
∴ ∣∣∣c√2∣∣∣=5
⇒ c=±5 √2
Thus, substituting c=±5 √2 in y=−x +
c, we get the equation of line to be y=−x+5 √2 or, x+y−5 √2=0