How do you find the slope and intercept to graph y=2x?

2 Answers
Nov 1, 2015

See explanation

Explanation:

Standard for of equation is y= mx+c

where m is the gradient (slope) and c is the y-intercept. The gradient is the amount of up for the amount of along. So a gradient of say 2/3 would mean that for every 3 along the x-axis you would go up by 2 on the y-axis.

In your case the m is of value 2. This may be quite correctly written as 2/1. So for every 1 along the x-axis you go 2 along the y-axis.

color(green)("Your gradient is " 2)

The line will cross the y-axis at x=0. So just substitute and solve.

so y=2x "becomes " y=2 times 0

and 2 times 0 = 0

So your graph crosses the y-axis at y=0

Nov 1, 2015

The slope is 2 and the y-intercept is 0.

Explanation:

y=2x is in the slope-intercept form of a linear equation, y=mx+b, where m is the slope and b is the y-intercept.

For the equation y=2x, the slope is 2 and the y-intercept is 0.

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