How do you graph y=2x?

1 Answer
Mar 14, 2018

Refer to the explanation.

Explanation:

Graph:

y=2x is a linear equation in slope-intercept form:

y=mx+b,

where:

m is the slope and b is the y-intercept.

Determine the x- and y-intercepts.

The x-intercept is the value of x when y=0, and the y-intercept is the value of y when x=0.

According to the slope-intercept equation, the y-intercept in the given equation is 0, and the point is (0,0).

To determine the x-intercept, substitute 0 for y and solve for x.

0=2x

Divide both sides by 2.

02=x

0=x

The x-intercept is 0 and the point is (0,0).

The line will go through the origin.

Plot the x- and y-intercepts and draw a straight line through them.

graph{y=-2x [-10, 10, -5, 5]}