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

Jul 29, 2017

Work out points and plot them on a grid.

#### Explanation:

The basic way to draw a graph is to plot points.

To find points, choose different $x$ values and then work out the matching $y$ values.

In this case, the $y$ values will be the negative of what $x$ is, so just change the sign of $x$.

Examples would be:
$\left(5 , - 5\right) , \left(8 , - 8\right) , \left(0 , 0\right) , \left(- 4 , 4\right) , \left(- 7 , 7\right)$ and so on.

Plot these points on a grid and join them with a straight line.
The result is shown below:

graph{y=-x [-20, 20, -10, 10]}