How do you write an equation of a line given slope 2 and passes through (0,-4)?

Apr 12, 2017

$y = 2 x - 4$

Explanation:

For this, we use the point-gradient formula:
$y - {y}_{1} = m \left(x - {x}_{1}\right)$
Where (x_1,y_1) is a specific point that lies on the line (in this case, we are given $\left(0 , - 4\right)$
and $m$ is the gradient/slope of the line, in this case $2$

By putting these values in, we get:
$y - \left(- 4\right) = 2 \left(x - 0\right)$
$y + 4 = 2 x$
$y = 2 x - 4$