Given:
A line passes through two points (-7, -5) and (-7, -2).
To find:
The equation of the line.
Solution:
If a line passes through two points, then the slope of the line is
[tex]m=\dfrac{y_2-y_1}{x_2-x_1}[/tex]
The line passes through two points (-7, -5) and (-7, -2). So, the equation of the line is
[tex]m=\dfrac{-2-(-5)}{-7-(-7)}[/tex]
[tex]m=\dfrac{-2+5}{-7+7}[/tex]
[tex]m=\dfrac{3}{0}[/tex]
[tex]m=\infty[/tex]
Here, slope is ∞. It means it is a vertical line of the form [tex]x=a[/tex], where a is constant.
It the given points x-coordinates are same, i.e., -7. So, equation of the line is
[tex]x=-7[/tex]
Therefore, the equation of the line is [tex]x=-7[/tex].