How do you create a table and graph the equation #y=2x-1#?

1 Answer
Oct 27, 2014

You can create a table by substituting any value for #x# and then solving for #y#. I'll be taking 3 values:

  1. Let #x=0#
    Then,
    #y=2(0)-1#
    #y=-1#
  2. Let #x=1#
    Then,
    #y=2(1)-1=2-1#
    #y=1#
  3. Let #x=2#
    Then,
    #y=2(2)-1=4-1#
    #y=3#

We can then make a table for #x# and corresponding #y# values as follows:

#x****(0)****(1)****(2)#
#y****(-1)****(1)****(3)#

So, you'll get three points on the graph with x-coordinates and y-coordinates that can be taken from the table as #(0,-1), (1,1) and (2,3)#

Plot the points, and pass a straight line through them. The graph will look something like this:

Graph of a diagonal line.