Lines and Graphing · Chapter 9
Linear Equations in Two Variables
The numbered examples below are interactive: the numbers change every time you load the page. Type your answer, press Enter or Check, and use New numbers to practice again.
The Cartesian Plane and Paired Data
The Cartesian plane has two number lines: x is the horizontal axis and y is the vertical axis.
Example. The speed of a race car.
| time (seconds) | speed (mph) |
|---|
| 0 | 0 |
| 1 | 72.7 |
| 2 | 129.9 |
| 3 | 162.8 |
| 4 | 192.2 |
| 5 | 212.4 |
| 6 | 228.1 |
This is paired data: there is a speed associated with each time.
There is also a position and a value for paired data. For example if we have a list of odd numbers, each number has a position:
{1,3,5,7,9,…}first, second, third, fourth, fifth
| Odd numbers |
|---|
| position | value |
|---|
| 1 | 1 |
| 2 | 3 |
| 3 | 5 |
| 4 | 7 |
| 5 | 9 |
| Squares |
|---|
| position | value |
|---|
| 1 | 1 |
| 2 | 4 |
| 3 | 9 |
| 4 | 16 |
| 5 | 25 |
Ordered Pairs and Quadrants
An ordered pair (x,y) names a point. The first number is the x-coordinate and the second is the y-coordinate.
To plot (2,3): 1. Start at the origin. 2. Move across the x-axis. 3. Move up or down the y-axis.
The axes divide the plane into four quadrants, labeled counterclockwise starting at the upper right.
Plot each point on a coordinate plane.
a. (3,4) (3,−4) (−3,4) (−3,−4)
State the quadrant of each point, or say that it lies on an axis.
a. (−1,3)b. (2,5)c. (0,0)d. (0,−3)e. (4,0)f. (2,−3)
Solutions to Linear Equations in Two Variables
In y=−2x+3, x is the independent variable and y is the dependent variable: the value of y depends on the value of x.
To find possible solutions to an equation with two variables, get the variables on opposite sides of the equal sign, get the dependent variable by itself, then plug in a number for x and find the corresponding y value.
Example. 2x+3y=6
2x=6−3y→2x−6=−3y→−32x−6=y→y=−32x+2
| x | y |
|---|
| 0 | 2 |
| 1 | 34 |
| 2 | 32 |
| 3 | 0 |
| 4 | −32 |
| 5 | −34 |
| 6 | −2 |
Example. 2x+y=3. Multiple answers could be true.
x=2, y=−1:x=0, y=3:x=5, y=−7:2(2)+(−1)=4+(−1)=3 ✓2(0)+3=0+3=3 ✓2(5)+(−7)=10+(−7)=3 ✓
So (2,−1), (0,3) and (5,−7) are all solutions. Solving for y gives y=−2x+3 and we can make a table of as many solutions as we like:
| x | y |
|---|
| −3 | 9 |
| −2 | 7 |
| −1 | 5 |
| 0 | 3 |
| 1 | 1 |
| 2 | −1 |
| 3 | −3 |
| 4 | −5 |
| 5 | −7 |
Example. 2x−5y=20:
2x−20=5y→y=52x−20=52x−4
| x | −5 | −4 | −3 | −2 | −1 | 0 | 1 | 2 | 3 | 4 | 5 |
|---|
| y | −6 | −528 | −526 | −524 | −522 | −4 | −518 | −516 | −514 | −512 | −2 |
Example. 6=2(4x+1)−4y:
6+4y6+4y4y4yy=2(4x+1)=8x+2=8x+2−6=8x−4=2x−1
Graphing Lines in the Plane
To graph a line: solve for y, make a table of values, plot the points, and draw the line through them with arrows on the ends.
Graph y=2x−1, x+y=5, y=3x−1 and y=−31x+2.
| y=2x−1 |
|---|
| x | y |
|---|
| −3 | −7 |
| −2 | −5 |
| −1 | −3 |
| 0 | −1 |
| 1 | 1 |
| 2 | 3 |
| 3 | 5 |
| x+y=5→y=5−x |
|---|
| x | y |
|---|
| −3 | 8 |
| −2 | 7 |
| −1 | 6 |
| 0 | 5 |
| 1 | 4 |
| 2 | 3 |
| 3 | 2 |
| y=3x−1 |
|---|
| x | y |
|---|
| −3 | −10 |
| −2 | −7 |
| −1 | −4 |
| 0 | −1 |
| 1 | 2 |
| 2 | 5 |
| 3 | 8 |
| y=−31x+2 |
|---|
| x | y |
|---|
| −6 | 4 |
| −3 | 3 |
| 0 | 2 |
| 3 | 1 |
| 6 | 0 |
Example. Graph 3x−2y=6.
3x=6+2y→3x−6=2y→23x−6=y→y=23x−3
| x | −8 | −6 | −4 | −2 | 0 | 2 | 4 | 6 | 8 |
|---|
| y | −15 | −12 | −9 | −6 | −3 | 0 | 3 | 6 | 9 |
Graph each equation.
a. y=21xb. x=3c. y=−2
| y=21x |
|---|
| x | y |
|---|
| −6 | −3 |
| −4 | −2 |
| −2 | −1 |
| 0 | 0 |
| 2 | 1 |
| 4 | 2 |
| 6 | 3 |
| x=3 |
|---|
| x | y |
|---|
| 3 | 1 |
| 3 | 2 |
| 3 | 3 |
| y=−2 |
|---|
| x | y |
|---|
| 0 | −2 |
| 1 | −2 |
| 2 | −2 |
| 3 | −2 |
A vertical line x=3 has the same x-value for every point, and a horizontal line y=−2 has the same y-value for every point.
Intercepts
An intercept is where the graphed line crosses an axis.
The x-intercept is where the line crosses the x-axis, and where y=0.
The y-intercept is where the line crosses the y-axis, and where x=0.
Here the y-intercept is (0,1) and the x-intercept is (−1,0). So y=1 when x=0 and x=−1 when y=0.
Example. Find the intercepts of 3x−2y=6. First solve for 2y: 3x−6=2y.
x-intercept (set y=0): 3x−6=2(0)=0 → 3x=6 → x=36=2. The x-intercept is (2,0).
y-intercept (set x=0): 3(0)−6=2y → −6=2y → y=−3. The y-intercept is (0,−3).
Example. Find the intercepts of −x+2y=4. Then 2y=4+x.
x-intercept: 0=4+x → x=−4, so (−4,0).
y-intercept: 2y=4+0 → y=2, so (0,2).
Example. Find the intercepts of −31x+2=y.
x-intercept: −31x+2=0 → −31x=−2 → x=−2⋅(−3)=6, so (6,0).
y-intercept: 0+2=y, so (0,2).