Question
Question: A straight line makes an angle of \(135 ^ { \circ }\) with x–axis and cuts y-axis at a distance of –...
A straight line makes an angle of 135∘ with x–axis and cuts y-axis at a distance of – 5 from the origin. The equation of the line is.
A
2x+y+5=0
B
x+2y+3=0
C
x+y+5=0
D
x+y+3=0
Answer
x+y+5=0
Explanation
Solution
Let the equation of line is y=mx+c
Given line makes an angle of 135∘ with x-axis
So, m=tanθ=tan135∘=−1and cuts the intercepts – 5
from origin to y-axis i.e., c=−5
Hence, equation of line is y=−x−5⇒x+y+5=0.