# How do you graph the equation y=-x+5?

Feb 7, 2017

Identify that the equation is linear.

There are no exponents or radicals involved.

You can pick two arbitrary values for $x$ and plug them in; plot the points; and draw a line connecting the two.

Or, you can set $x$ and then $y$ to be equal to $0$ and solve to get the two possible intercepts.

$\left(0\right) = - x + 5$

$x = 5$

${P}_{1} = \left(5 , 0\right)$

$y = - \left(0\right) + 5$

$y = 5$

${P}_{2} = \left(0 , 5\right)$

Plot these points and draw a line connecting them:

graph{-x+5 [-6.79, 13.21, -2.28, 7.72]}