Line perpendicular to m is y =–4.
Distance from P to m is 5 units.
Solution:
Line m contains points (1, 1) and (5, 1).
Slope passing through two points formula:
[tex]$\text{slope}=\frac{y_2-y_1}{x_2-x_1}[/tex]
[tex]$=\frac{1-1}{5-1}[/tex]
Slope = 0
Slope of the line perpendicular to the line m:
[tex]$\text{Slope}=\frac{-1}{\text{slope}}=0[/tex]
Equation of a line passing through one point and slope formula:
[tex]y-y_1=m(x-x_1)[/tex]
Here, m = 0 and P(2, –4)
[tex]$\Rightarrow y-(-4)=0(x-2)[/tex]
[tex]$\Rightarrow y+4=0[/tex]
[tex]$\Rightarrow y=-4[/tex]
⇒ y = –4
Equation of a line perpendicular to m and passing through P is y = –4.
Option C is the correct graph. Because it only has slope 0 and P(2, –4).
Point of intersection where line m and P meets is (2, 1).
Let us find the distance between the line m in the point (2, 1) and P(2, –4).
Distance formula:
[tex]\text {Distance}=\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}[/tex]
[tex]=\sqrt{(2-2)^2+(-4-1)^2}[/tex]
[tex]=\sqrt{25}[/tex]
= 5
Distance = 5 units
Hence line perpendicular to m is y =–4.
Distance from P to m is 5 units.