# What is the equation of a line that goes through (4,2) and (0,2)?

Mar 9, 2018

color(blue)(y = 2

#### Explanation:

${A}_{1} \left(4 , 2\right) , {A}_{2} \left(0 , 2\right)$

Equation of a line given two points on the line is

$\frac{y - {y}_{1}}{{y}_{2} - {y}_{1}} = \frac{x - {x}_{1}}{{x}_{2} - {x}_{1}}$

$\frac{y - 2}{2 - 2} = \frac{x - 4}{0 - 4}$

(y - 2) * (0 - 4) = (cancel(color(red)(2 - 2)))^color(green)(0) * ((x - 4)

$\left(y - 2\right) \cdot - 4 = 0$

$- 4 y + 8 = 0$

$- 4 y = - 8$ or $y = \frac{- 8}{- 4} = 2$