12.2 - Graphing Linear Equations
12.2 - Graphing Linear Equations
-6+1
-5
Similarly, in Example 1 we can show that (3, 7) and (0, 1) are solutions.
In fact, there are more solutions than we can list: There is an infinite num-
ber of solutions.
We substitute:
21 4s-8
2 3 4-2)-8 We substituie -2 for s and 3 for i.
6 -8 8
-16
2. Determine whether (-2, 4) is a
Since the equation becomes false, (-2, 3) is not a solution. solution of 4q - 3p = 22.
Do EXERCISES 1 AND 2.
EXAMPLE 3 Graph: y = x.
Graph.
3. y= 3x We will use alphabetical order. Thus the first (horizontal) axis will be
the x*axis and the second (vertical) axis will be the y-axis. Next, we find
some ordered pairs that are solutions of the equation, keeping the results
in a table. We choose any number for x and then find y by substitution. In
this case, it is easy. Here are a few:
Let x = 0. Then y =x = 0. We get a solution: the ordered
pair (0, 0).
Let x = 1. Then y = x = 1. We get a solution: the ordered
-6-5-4-3-2-1_ 4 6 pair (1, 1).
Let x = 5. Then y * = 5. We get a solution: the ordered
pair (5, 5).
Let x = -2. Then y = x = -2. We get a solution: the ordered
pair(-2, -2).
Let x =
-4. Then y =
x =
y
(5, 5)
y (x, y)
(0, 0
4. y
1 (1,1) (1, 1)
0)
5 (5, 5) -5 4 -3 -2- 12 3 4 5 *
-2,-2)
2 2 (-2,-2)
-4 -4 -4, -4)
4,4
We find some ordered pairs that are solutions. Since the graph is a line,
we really need to find only two, but we will usually plot a third point as a
check. We keep the results in a table. We choose any number for x and
then determine y by substitution. Suppose we choose 3 for x. Then
y 2x = 2 3 = 6.
We get a solution: the ordered pair (3, 6). Suppose we choose 0 for x. Then
y = 2x = 2 0 0.
We get a solution: the ordered pair (0, 0). For a third point, we make a neg-
ative choice for x. We now have enough points to plot the line, but if we
ANSWERS ON PAGE A-9 wish we can compute more. If a number takes us off the graph paper, we
681
12.2 Graphing Linear Equations
generally do not use it. Continuing in this manner, we get a table like the Graph.
5. y = - x (or -1 x )
one shown below. Since y 2x, we get y by doubling x.
=
Now we plot these points. We draw the line, o r graph, with a ruler and
label it y = 2x.
3 6 (3, 6)
y = 2x -5-4-3-2-1123 4 5
2 (1,2)
1, 2)
0 (0, 0) ,0)
-6-5-4 -3 -2 -1 12 3 4 5 6 *
-4 (-2, -4)
-3,-6)
y
6. y =-2x
-3x x, y) -2, 6)
0 0 (0, 0)
1 -3 (1, -3) -1, 3)
3 -1, 3) (0, 0)
*
-6 (2, -6) -6-54 -3 -2 -191 23 456
6 (-2, -5-4-3-2- 12 3 4 5
-2 (1, -3)
2
Don't
forget
(2, -6) the
label
DO EXERCISES 5 AND 6.
y
Graph.
. y- y= -}xx
-3,5)5
0 0
, 0)
-54-3-2 -1 2 3 45
, - 3)
=-
-5-4-3-2-11 2 3 4 5
2
3,-5)
DO EXERCISES 7 AND 8.
4
8. y= EXAMPLE 7 Graph y = x and y = x +2 using the same set of axes.
Compare.
We first make a table containing values for both equations.
y=X y = X+ 2
0 0
-54-2-1 2 3 45
2 2 4
9. Graph y=x+ 3 and compare it We then plot these points. We draw a dashed line for y =x a n d a solid line
with the graph of y = x.
for y = x +2. We see that the graph ofy = x+ 2 can be obtained from the
graph of y = x by moving, or translating, the graph of y = x up 2 units.
yAy = +2
(3, 5)
42, 4)
(1, 3)
(0, 2)
-5-4-32-11 2 34 5 -1, 1)
-
-2,0)
-5- I2 45
2 units
up
ANSWERS ON PAGE A-9 DO EXERCISES 9 AND 10. (EXERCISE 10 IS ON THE FOLLOWING PAGE.)
12.2 Graphing Linear Equations 683
Graph y = 2x and y = 2x - 3 using the same set of axes. 10. Graph y = x - 1 and compare it
EXAMPLE 8
with the graph of y = x.
Compare.
We first make a table containing values for both equations.
y= 2x y= 2x-3
-3
2 -1 -5-4-3-2-1 2 34 5
2 4
-1-2
The graph of y = 2x - 3 looks just like the graph of y = 2x, but y = 2x
y = 2x 3
(2, 1)
-5-4 -3-2 -1, 23 45
(1,-1)
(0, -3)
-5-4-3-2-1 23 45
1-5)
DO EXERCISE 11.
EXAMPLE 9 Graph: y = ix + 4.
We make a table of values. Using multiples of 5 avoids fractions.
12. Graph: y=*+2
When x = 0, y = z 0 +4 = 0 +4 = 4.
When x 5, y =z :5 +4 2 + 4 = 6.
Since two points determine a line, that is all we really need to graph a line,
but we will usually plot a third point as a check.
-5-4-3-2-1 -1
2 3 4
4
-5 2
(5, 6)
(0, 4)
y- fx+4
-5, 2)
-5-4-3-2-1123 45
-6-5 -4-3 -2-10 1 23 4 5 67
EXAMPLE 10 Graph: y = - i x - 2.
4
- 1
y x2.
We plot this point for a check to see whether
i t is on the line.
-S-4-3-2-11 2 34 5 r
yA
y 2
4,1) 1
-5 4 23+5
15. y=- O,-2)
(4, -5)
-5-4-3-2-1 23 45
6.
bGraph. 10. y = -4x
7. y = 4x 8. y = 2x 9. y = -2x
A YA
- 4-3-2-1_ 12 3 4 5
54-3-2-1L 23 5 -5-4-3-2-112 345? 54-3-2-1 123 45
-5
****
-54-3-2-L 23 45
-5-4-3-2-1 2 3 45 -5-4-3-2-L 23 4 5
ANSWERS Use your own graph paper. Draw and label x and y-axes. Then graph the equation.
37. SYNTHESIS
37. Find all the whole-number solutions 38. Find three solutions of y = x|.
38. of x+y = 6.