# How do you write an equation of a line with point (2,4) slope 2?

Dec 22, 2016

$y = 2 x$

#### Explanation:

The equation of a line in $\textcolor{b l u e}{\text{point-slope form}}$ is.

$\textcolor{red}{\overline{\underline{| \textcolor{w h i t e}{\frac{2}{2}} \textcolor{b l a c k}{y - {y}_{1} = m \left(x - {x}_{1}\right)} \textcolor{w h i t e}{\frac{2}{2}} |}}}$
where m represents the slope and $\left({x}_{1} , {y}_{1}\right) \text{ a point on the line}$

$\text{here " m=2" and } \left({x}_{1} , {y}_{1}\right) = \left(2 , 4\right)$

$\Rightarrow y - 4 = 2 \left(x - 2\right)$

distribute and collect like terms.

$y - 4 = 2 x - 4$

$\Rightarrow y = 2 x - 4 + 4 \Rightarrow y = 2 x \text{ is the equation of the line}$
graph{2x [-10, 10, -5, 5]}