Chapter 6 ยท Proportional relationships, lines, and slope
Solutions, Tables, and Lines
Test whether an ordered pair is a solution of a linear equation, then use a table of solutions to plot points and draw the line.
You know slope-intercept form, , where the slope and the -intercept are fixed numbers. In this lesson, a linear equation is any equation in and that can be written this way. The variables and each stand for a real number, and may be any real number.
What makes such an equation true? One number alone cannot do it. You need a value for and a value for together. You write them as an ordered pair , with the -value always first and the -value second. The two numbers are the pair's coordinates.
Try the pair in . Substitute it, which means replace each variable with its number: . The right side is , so the equation says , which is true. A pair that makes the equation true is a solution of the equation. Now try . The right side is still , but the left side is . The equation says , which is false, so is not a solution.
Worked example
Testing two ordered pairs
Decide whether each ordered pair is a solution of : first , then .
Read the pair (3, 7) in order. An ordered pair is always written (x, y), so the first number is the x-value and the second number is the y-value.
Substitute 3 for x on the right side of the equation. This is allowed because x stands for exactly this number in the pair. Multiply first, then add.
Compare with the left side. The left side is y, and y is 7 for this pair. Both sides are the same number, so the equation is true and (3, 7) is a solution.
Now read (-2, -1): the x-value is -2 and the y-value is -1. Substitute -2 for x. A positive number times a negative number is negative, so 2 times -2 is -4.
Compare with the left side, which is y = -1. The two sides are different numbers, so the equation is false and (-2, -1) is not a solution.
Answer
The pair is a solution of , and the pair is not a solution.
In this figure, and in every figure in this lesson, the horizontal axis shows and the vertical axis shows . Each grid square is 1 unit. The axes have no measurement unit, because and are plain numbers here. Line A is the line with equation .
Point A is at , the solution from the example, and it lies on Line A. Point B is at and Point C is at . Neither pair is a solution, and neither point lies on Line A. Swapping the coordinates of Point A gives Point B, a different point in a different place.
Line A crosses the -axis at , not at the origin. The equation agrees: is true, but says , which is false. Because Line A misses the origin, is linear but not proportional. A proportional relationship has the form for a fixed number , and its line passes through the origin.
Key concept
The line is every solution
A solution of a linear equation in and is an ordered pair that makes the equation true when you substitute the first number for and the second number for .
The graph of the equation is the set of all points whose coordinates are solutions. For an equation , where and are fixed numbers and can be any real number, the graph is one straight line. Every solution is a point on that line, and every point on that line is a solution.
So you can test any point by substituting its exact coordinates, and you can draw the line by plotting a few solutions.
A table of values is an organized list of solutions. You choose some -values, substitute each one to compute its -value, and write each pair in its own row. Each row is a solution, because you computed to make the equation true. You may choose any -values, because can be any real number. Small integers, including a negative number and , keep the arithmetic simple.
How many rows do you need? Exactly one straight line passes through two different points, so two different solutions already fix the line. Use three. The third row is a check on your arithmetic.
Here is the check, and it uses slope. On a line , two different points always have different -values, so the change in between them is not and you can divide by it. The change in divided by the change in equals the slope for every such pair of points. If your table gives any other number, a -value is wrong.
Worked example
From an equation to a table to a line
Make a table of values for using , and . Then graph the line.
Substitute -1 for x. The product of two negative numbers is positive, so -2 times -1 is 2. Then add 3. The first row of the table is the pair (-1, 5).
Substitute 0 for x. Any number times 0 is 0, so only the 3 is left. The second row is the pair (0, 3), the point where the line crosses the y-axis.
Substitute 2 for x. A negative number times a positive number is negative, so -2 times 2 is -4. Then add 3. The third row is the pair (2, -1).
Plot each pair, starting at the origin. The x-value tells you how far to move right (positive) or left (negative). The y-value tells you how far to move up (positive) or down (negative). So (-1, 5) is 1 unit left and 5 units up, (0, 3) is 3 units up on the y-axis, and (2, -1) is 2 units right and 1 unit down.
Check with slope before you draw. From (-1, 5) to (0, 3), x changes by 0 - (-1) = 1 and y changes by 3 - 5 = -2. From (0, 3) to (2, -1), x changes by 2 - 0 = 2 and y changes by -1 - 3 = -4. Neither change in x is 0, so you can divide. Both quotients equal the slope -2 from the equation, so the three points lie on one straight line.
Draw the straight line through the three points and extend it past them in both directions. The line keeps going because x can be any real number, not only the three values in the table.
Answer
The graph of is the straight line through , and , extended in both directions.
| x | Substitute into y = -2x + 3 | y | Ordered pair (x, y) |
|---|---|---|---|
This figure shows the finished graph. As before, the horizontal axis shows , the vertical axis shows , and each grid square is 1 unit. Each row of the table became one point: Point A is , Point B is and Point C is . Line A passes through all three, and it is the graph of .
The table holds only three solutions, but the line holds every solution. Point D at was never in the table, yet it lies on Line A. Substituting confirms it: . The coordinates of a solution do not have to be integers either. For , you get , so is a solution too.
A drawing can make a point look as if it is on a line when it is slightly off. To be sure, substitute the exact coordinates.
Worked example
A slope that is a fraction
Graph from a table of values. Then decide whether is a solution.
You may use any x-values, but multiples of 2 are convenient here. The slope has denominator 2, and half of an even number is an integer, so each y-value will be an integer that sits exactly on a grid crossing. Use -6, 0 and 6.
Substitute -6 for x. Half of -6 is -3, and -3 minus 2 is -5. The first pair is (-6, -5).
Substitute 0, then 6, in the same way. Half of 0 is 0 and half of 6 is 3. Subtract 2 each time. The other two pairs are (0, -2) and (6, 1).
Check with slope. From (-6, -5) to (0, -2), x changes by 0 - (-6) = 6 and y changes by -2 - (-5) = 3. From (0, -2) to (6, 1), x changes by 6 - 0 = 6 and y changes by 1 - (-2) = 3. Each quotient is 3 divided by 6, which equals the slope one half, so the points lie on one straight line. Plot them and draw the line through them, extended in both directions.
Test (3, -1) by substituting its exact coordinates, x = 3 and y = -1. Half of 3 is exactly 1.5, and 1.5 minus 2 is -0.5. The left side is y = -1, and -1 is not equal to -0.5, so the equation is false.
Compare with the figure that follows. Points A, B and C are the table pairs (-6, -5), (0, -2) and (6, 1), and Line A passes through all three. Point D is (3, -1). It sits 0.5 units directly below (3, -0.5), the point of Line A with x = 3. That gap is small on the grid, which is why you substitute instead of judging by eye.
Answer
The graph of is the line through , and . The pair is not a solution; the solution with is .
Takeaway. A solution of a linear equation is an ordered pair , with first and second, that makes the equation true. For an equation , all of the solutions together form one straight line. So a table of values gives you exact points to plot, the line through them is the graph, and substituting exact coordinates tells you whether any other point belongs on it.
Next, you will graph horizontal and vertical lines. Vertical lines have an undefined slope, so they cannot be written as and need their own approach.