What is a Linear Relation?
A linear relation is a relationship between two variables, typically $x$ and $y$, that forms a straight line when graphed. A key feature of a linear relation is its constant rate of change. This means that for every constant increase in the $x$-variable, the $y$-variable also increases or decreases by a constant amount.
Tables of Values
We can represent a relation using a table of values, which pairs $x$-coordinates with their corresponding $y$-coordinates. To determine if the relationship is linear without graphing, we can analyze the values in the table.
What are First Differences?
To check if a relation given in a table is linear, we calculate the first differences. The first differences are the differences between consecutive $y$-values in a table. For this method to work, the differences between the consecutive $x$-values must be constant.
Calculation: First Difference = $y_2 - y_1$, then $y_3 - y_2$, and so on.
The Rule for Linearity
- If the first differences are constant (the same value every time), then the relation is linear.
- If the first differences are not constant, then the relation is non-linear.
Example 1: A Linear Relation
Consider the table below. The $x$-values increase by 1 each time.
| x |
y |
First Differences ($y_2 - y_1$) |
| 0 |
2 |
|
| 1 |
5 |
$5 - 2 = 3$ |
| 2 |
8 |
$8 - 5 = 3$ |
| 3 |
11 |
$11 - 8 = 3$ |
Since the first differences are all equal to 3, the relation is linear.
Example 2: A Non-Linear Relation
Consider this table. The $x$-values also increase by 1 each time.
| x |
y |
First Differences ($y_2 - y_1$) |
| 0 |
0 |
|
| 1 |
1 |
$1 - 0 = 1$ |
| 2 |
4 |
$4 - 1 = 3$ |
| 3 |
9 |
$9 - 4 = 5$ |
Here, the first differences are 1, 3, and 5. Since these values are not constant, the relation is non-linear.