# How do you write an equation of a line with slope -1 and y-intercept -2?

Nov 20, 2016

$y = - x - 2$

#### Explanation:

The equation of a straight line can be written as $y = m x + c$.

$m$ represents the slope and $c$is the y-intercpet.

You have been given values for both of these, so just write them into the equation.

$m = - 1 \mathmr{and} c = - 2$

$y = - 1 x - 2$, which is better as

$y = - x - 2$