How do you graph the equation y=-x?

1 Answer
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:
(5,-5), (8, -8), (0,0), (-4, 4), (-7, 7) 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]}