How do you graph 2x-1=y?

1 Answer

See below

Explanation:

This equation is in slope-intercept form so the values for graphing are provided.

The general form is

color(pink)(| bar(ul(color(black)(y=color(red)mcolor(black)x+color(green)b)) |)

with color(red)m being the slope and color(green)b being the y-intercept.

We have:

y=color(red)2xcolor(green)(-1)

The y-intercept is at (0,-1)

We can then apply the slope. color(red)m="rise"/"run"=2, which means we can move two units up for every one unit to the right. Starting from (0,-1), we can move two units up and one unit to the right, so we'll get:

(0+1,-1+2)=(1,1)

We can then plot the two points and connect them.

Graphed, it looks like this:

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