Solveeit Logo

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 135135 ^ { \circ } 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=02 x + y + 5 = 0

B

x+2y+3=0x + 2 y + 3 = 0

C

x+y+5=0x + y + 5 = 0

D

x+y+3=0x + y + 3 = 0

Answer

x+y+5=0x + y + 5 = 0

Explanation

Solution

Let the equation of line is y=mx+cy = m x + c

Given line makes an angle of 135135 ^ { \circ } with x-axis

So, m=tanθ=tan135=1m = \tan \theta = \tan 135 ^ { \circ } = - 1and cuts the intercepts – 5

from origin to y-axis i.e., c=5c = - 5

Hence, equation of line is y=x5x+y+5=0y = - x - 5 \Rightarrow x + y + 5 = 0.