A linear equation such as makes a straight line when it is graphed. To graph it, choose a few values of , work out each value of , and plot the points.
Example
Values for y = 2x − 1
x
y
−1
−3
0
−1
1
1
2
3
Graph of y = 2x − 1
A coordinate grid with x and y axes from −5 to 5. Four points are plotted: (−1, −3), (0, −1), (1, 1) and (2, 3). A straight line passes through all four points, rising from lower left to upper right, with arrows at both ends. It crosses the y-axis at −1.
The line rises 2 units for every 1 unit it moves to the right, so its slope is . It crosses the -axis at , so the -intercept is .
Practice
1. Find the slope of the line through and . Use .
2. Solve .
3. Write the equation of a line with slope and -intercept 3.