How do you graph #y=2x-4#?

1 Answer
Feb 18, 2016

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

Explanation:

Find the points on the line that intersect the x and y axes. Then combine those 2 points to get the line. (given any 2 points on the x-y plane, there is one and only one line passing through them)

Replace x with 0 to solve for y. This gives you the point on the y-axis.
#y=2*0-4#
#y=4#
So the first point is (0,4)

Replace y with 0 to solve for x. This gives you the point on the x-axis.
#0=2x-4#
#4=2x#
#x=2#
So the second point is (2,0)

Place the 2 points on your x-y plane and draw the line...

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