Make a table of values
Pick some x values, work out y for each, and plot the points.
| x | −1 | 0 | 1 | 2 |
|---|---|---|---|---|
| y = 2x − 1 | −3 | −1 | 1 | 3 |
Join the points and you have the line y = 2x − 1.
Lines: slope and intercept
In y = mx + b, m is the slope (how far y rises for each step right in x) and b is the y-intercept (where the line crosses the y-axis). y = 2x − 1 crosses the y-axis at −1 and rises 2 for every 1 across.
Intercepts
- The y-intercept is where x = 0.
- The x-intercepts are where y = 0, the solutions of the equation.
Parabolas
Example: y = x² − 2x − 3
- Vertex: x = −b ÷ 2a = 2 ÷ 2 = 1, and y = 1 − 2 − 3 = −4, so the vertex is (1, −4).
- x-intercepts: x² − 2x − 3 = (x + 1)(x − 3) = 0, so x = −1 and x = 3.
- y-intercept: at x = 0, y = −3.
A U-shaped curve through (−1, 0), (0, −3), (1, −4) and (3, 0)
Changing the formula moves the graph: y = (x − h)² + k is the same U shape with its vertex at (h, k). Try a few on the graphing calculator and watch the curve move as you type.