Which line is perpendicular to line p?

Check the final answer first, then review the worked steps.

Answer

line s

Work

m_p = \frac{2-1}{1-0} = 1; m_s = \frac{-1-0}{1-0} = -1; 1 \cdot (-1) = -1

Step-by-step solution

Step 1: Find the slope of line $p$. Pick two points on line $p$, such as $(0, 1)$ and $(1, 2)$. The slope $m_p = \frac{2-1}{1-0} = 1$.
Step 2: Recall that perpendicular lines have slopes that are negative reciprocals of each other. The required slope is $m_{\perp} = -\frac{1}{1} = -1$.
Step 3: Check the slopes of the other lines. For line $s$, pick $(0, 0)$ and $(1, -1)$. The slope $m_s = \frac{-1-0}{1-0} = -1$. Since $-1 \times 1 = -1$, line $s$ is perpendicular to line $p$.