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

1 Answer
Jul 27, 2016

Using some arbitrary values for x compute corresponding y values; plot the resulting coordinate pairs; and draw a line through those points.

Explanation:

You will need at least 2 sets of coordinates since this is a linear equation. (3 or more would allow you to check your results).

As an example I used
color(white)("XXX")x in {-2,0,+2}
to get the sample coordinate pairs:
color(white)("XXX")(-2,1)
color(white)("XXX")(0,5) and
color(white)("XXX")(+2,9)

Here is the result:
enter image source here