# How do you write the equation for a line containing the points (–4, 1) and (–2, 3)?

Oct 26, 2014

The point slope formula is
$\left(y - {y}_{1}\right) = m \left(x - {x}_{1}\right)$
Where m = the slope calculated as $\frac{{y}_{2} - {y}_{1}}{{x}_{2} - {x}_{1}}$

$\left({x}_{1} , {y}_{1}\right) \left({x}_{2} , {y}_{2}\right)$
(-4 , 1) (-2 , 3)

Solve for the slope
m = $\frac{3 - 1}{- 2 - \left(- 3\right)}$ = $\frac{2}{1}$ = m = 2

$\left(y - 3\right) = 2 \left(x - \left(- 2\right)\right)$ Plug in known values.

$y - 3 = 2 \left(x + 2\right)$ Simplify signs

$y - 3 = 2 x + 4$ Use Distributive property

$y = - 2 x + 4 + 3$ isolate the y variable

$y = - 5 x + 7$ Simplify.