# How do you write an equation for a line given m=-7 and f(2)=-1?

Mar 20, 2018

$y = - 7 x + 13$

#### Explanation:

$f \left(2\right) = - 1$ is basically the coordinate $\left(2 , - 1\right)$. The gradient $\left(m\right)$ is given, so

$y = - 7 x + c$

Substituting $\left(2 , - 1\right)$

$- 1 = - 14 + c$

$c = 13$

Therefore

$y = - 7 x + 13$