Find an equation of the line containing the given pair of points (-5,-8) and (-9,-2)
Find an equation of the line containing the given pair of points (-5,-8) and (-9,-2)
$$\small{\text{
$\dfrac{y-y_1}{x-x_1}=\dfrac{y_2-y_1}{x_2-x_1} \Rightarrow
\boxed{y=\left( \dfrac{y_2-y_1}{x_2-x_1}\right)x+\dfrac{y_1x_2-x_1y_2}{x_2-x_1}}
$
}} \\ \\
\small{\text{
$P_1 (x_1=-5, y_1=-8)
\qquad P_2 (x_2=-9, y_2=-2)
$
}}
\\ \\
\small{\text{
y=\left( \dfrac{ (-2)-(-8)}{(-9)-(-5) }\right)x
+\dfrac{(-8)(-9)-(-5)(-2)} { (-9)-(-5) }
$
}}
\\ \\
\small{\text{
$
y=- \dfrac{ 6 }{ 4 }x
+\dfrac{ 72-10 } { -4 }
$
}}
\\ \\
\small{\text{
$
y=-1.5x -15.5$
}}$$
Check: -8 = -1.5(-5) - 15.5 ok
-2 = -1.5(-9) - 15.5 ok
Find an equation of the line containing the given pair of points (-5,-8) and (-9,-2)
$$\small{\text{
$\dfrac{y-y_1}{x-x_1}=\dfrac{y_2-y_1}{x_2-x_1} \Rightarrow
\boxed{y=\left( \dfrac{y_2-y_1}{x_2-x_1}\right)x+\dfrac{y_1x_2-x_1y_2}{x_2-x_1}}
$
}} \\ \\
\small{\text{
$P_1 (x_1=-5, y_1=-8)
\qquad P_2 (x_2=-9, y_2=-2)
$
}}
\\ \\
\small{\text{
y=\left( \dfrac{ (-2)-(-8)}{(-9)-(-5) }\right)x
+\dfrac{(-8)(-9)-(-5)(-2)} { (-9)-(-5) }
$
}}
\\ \\
\small{\text{
$
y=- \dfrac{ 6 }{ 4 }x
+\dfrac{ 72-10 } { -4 }
$
}}
\\ \\
\small{\text{
$
y=-1.5x -15.5$
}}$$
Check: -8 = -1.5(-5) - 15.5 ok
-2 = -1.5(-9) - 15.5 ok