In the last lesson, we learned how to plot individual points on the coordinate plane. Now, let's look at what happens when points form a pattern, specifically a straight line. A relationship that creates a straight line on a graph is called a linear relationship.
The defining feature of a linear relationship is a constant rate of change. This means that for every step you take in the x-direction, you take a constant-sized step in the y-direction.
Consider this table of values for x and y:
| x | y |
|:---:|:---:|
| 0 | 1 |
| 1 | 3 |
| 2 | 5 |
| 3 | 7 |
Notice that every time x increases by 1, y increases by 2. This constant rate of change (change in y / change in x = 2/1 = 2) tells us the relationship is linear.
The most common way to write the equation for a line is the slope-intercept form.
y = mx + b
This form is powerful because it tells us everything we need to know to graph the line.
Let's graph the equation y = (2/3)x + 1.
What is the y-intercept of the line `y = 5x - 8`?
What is the slope of the line `y = (1/2)x + 3`?
A line has a y-intercept at (0, 2) and a slope of 3. What is the equation of the line?