How do you graph the line #y=2x+1 #?

1 Answer


graph{2x+1 [-10, 10, -5, 5]}


equation for these types of problem is #y=mx+b#
Since y and x are the variables you change to get the graph, you don't care about them.

m is the slope. So it's the amount it goes up divided by the amount it goes sideways. So for example, if it's a 2, then it goes up 2 boxes every 1 box it goes sideways

b is the y intercept, or where the graph is when x=0. Since this is 1, you move the graph up one.