How do you graph a linear y=x ?

1 Answer
May 8, 2018

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

Explanation:

#x = y#

make a table in two columns, first column for x values
second column for y values
then choose values for x and substitute it in the equation to find y value
like:
x | y
0 | 0
1 | 1
2 | 2
3 | 3
-1 | -1

here they are equivalent because of x = y but in other equations they will be different.
Then just plot them in the coordinate system and connect the point and you will get the graph of the equation

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