Write the equation of a line that passes through the point (1, 2) and is perpendicular to the line y = x + 5
The product of the slopes of two perpendicular lines is always -1.
Answer: Thus, the required equation of the line is y = -x + 3.
Go through the explanation to understand better.
Let the slope of the required line be m
Since the line required is perpendicular to the line y = x + 5.
Thus, m × 1 = -1
⇒ m = -1
Using the point slope form of the equation, we get:
(y - y1) = m (x - x1)
⇒ (y - 2) = -1(x - 1)
⇒ y -2 = -x + 1
⇒ y = -x + 3