The equation of the straight line passing through the point (3, 2) and perpendicular to the line y = x is
A. x – y = 5
B. x + y = 5
C. x + y = 1
D. x – y = 1
Given that straight line passing through the point (3,2) and is perpendicular to
line y=x
Let the equation of line L is (y-y1) =m(x-x1)
Since, L is passing through the point (3,2)
y-2=m(x-3)..…(i)
Now, given equation is y=x
Comparing it with y=mx+b
we get slope of the equation as 1.
It is also given that line L and y=x are perpendicular to each other.
We know that when two lies are perpendicular then m1*m2= -1 m*1=-1
m=-1
Putting this value of m in equation (i) we get y-2=-(1)(x-3)
y-2=-x+3
x+y=5
Hence, the correct option is b