Prealgebra 2e · free preview
11.2 Graphing Linear Equations
Learning objectives: Recognize the relation between the solutions of an equation and its graph; Graph a linear equation by plotting points; Graph vertical and horizontal lines
1. Learning objectives
Learning objectives
Learning objectives
- Recognize the relation between the solutions of an equation and its graph
- Graph a linear equation by plotting points
- Graph vertical and horizontal lines
2. Recognize the Relation Between the Solutions of an Equation and its Graph
Recognize the Relation Between the Solutions of an Equation and its Graph
In Use the Rectangular Coordinate System, we found a few solutions to the equation . They are listed in the table below. So, the ordered pairs , , , , are some solutions to the equation. We can plot these solutions in the rectangular coordinate system as shown on the graph at right.
Notice how the points line up perfectly? We connect the points with a straight line to get the graph of the equation . Notice the arrows on the ends of each side of the line. These arrows indicate the line continues.
Every point on the line is a solution of the equation. Also, every solution of this equation is a point on this line. Points not on the line are not solutions!
Notice that the point whose coordinates are is on the line shown in Figure 11.8. If you substitute and into the equation, you find that it is a solution to the equation.
So is not a solution to the equation . Therefore the point is not on the line.
This is an example of the saying,” A picture is worth a thousand words.” The line shows you all the solutions to the equation. Every point on the line is a solution of the equation. And, every solution of this equation is on this line. This line is called the graph of the equation .
Definition · Graph of a Linear Equation
- Every point on the line is a solution of the equation.
- Every solution of this equation is a point on this line.
3. Example 11.15
Example 11.15
The graph of is shown below.
For each ordered pair decide
- ⓐ Is the ordered pair a solution to the equation?
- ⓑ Is the point on the line?
- (a)
- (b)
- (c)
- (d)
Solution
- Frame the two tests. An ordered pair is a solution exactly when substituting its coordinates into gives the stated -value, and such a point must lie on the graphed line.
- Test point A. For , , so the pair is a solution and point A lies on the line.
- Test point B. For , , so the pair is a solution and point B lies on the line.
- Test point C. For , , which is not , so the pair is not a solution and point C is not on the line.
- Test point D. For , , so the pair is a solution and point D lies on the line.
- Compare the results. The three successful substitutions match the three points shown on the line, while the failed substitution identifies the point off the line.
Takeaway: Substitution answers both questions at once: , and satisfy and lie on its line, while does neither.
4. Graph a Linear Equation by Plotting Points
Graph a Linear Equation by Plotting Points
There are several methods that can be used to graph a linear equation. The method we used at the start of this section to graph is called plotting points, or the Point-Plotting Method.
Let’s graph the equation by plotting points.
We start by finding three points that are solutions to the equation. We can choose any value for or and then solve for the other variable.
Since is isolated on the left side of the equation, it is easier to choose values for We will use and for for this example. We substitute each value of into the equation and solve for
We can organize the solutions in a table. See Table 11.2.
Table
11.2
Now we plot the points on a rectangular coordinate system. Check that the points line up. If they did not line up, it would mean we made a mistake and should double-check all our work. See Figure 11.9.
Draw the line through the three points. Extend the line to fill the grid and put arrows on both ends of the line. The line is the graph of
Graph a linear equation by plotting points.
- Step 1. Find three points whose coordinates are solutions to the equation. Organize them in a table.
- Step 2. Plot the points on a rectangular coordinate system. Check that the points line up. If they do not, carefully check your work.
- Step 3. Draw the line through the points. Extend the line to fill the grid and put arrows on both ends of the line.
It is true that it only takes two points to determine a line, but it is a good habit to use three points. If you plot only two points and one of them is incorrect, you can still draw a line but it will not represent the solutions to the equation. It will be the wrong line. If you use three points, and one is incorrect, the points will not line up. This tells you something is wrong and you need to check your work. See Figure 11.11.
5. Example 11.16
Example 11.16
Graph the equation
Solution
- Choose convenient -values. Use , , and so the products in are easy to calculate without fractions.
- Evaluate the first pair. Substituting gives , so one solution is .
- Evaluate the other pairs. Substituting gives , while substituting gives , producing and .
- Plot and connect the points. Plot , , and ; because they form a straight line, draw the line through all three points.
Takeaway: Choosing in gives , and ; three points that line up determine the graph.
When an equation includes a fraction as the coefficient of we can substitute any numbers for But the math is easier if we make ‘good’ choices for the values of This way we will avoid fraction answers, which are hard to graph precisely.
6. Example 11.17
Example 11.17
Graph the equation
Solution
- Choose multiples of the denominator. Use , , and so multiplying by produces whole-number -values.
- Evaluate the first pair. Substituting gives , so one point is .
- Evaluate the other pairs. Substituting gives , and substituting gives , producing and .
- Plot and connect the points. Plot , , and ; they form a straight line, so draw the graph through all three points.
Takeaway: When the coefficient of is a fraction such as , choose multiples of the denominator: give , and with no fractions.
So far, all the equations we graphed had given in terms of Now we’ll graph an equation with and on the same side.
7. Example 11.18
Example 11.18
Graph the equation
Solution
- Choose convenient -values. Use , , and , which make the corresponding values of easy to find from .
- Evaluate the first pair. Substituting gives , so one solution is .
- Evaluate the other pairs. Substituting gives , and substituting gives , producing and .
- Plot and connect the points. Plot , , and ; since they lie on a straight line, draw the line through all three points.
Takeaway: Any convenient works in , so give , and , and the three points fix the line.
In the previous example, the three points we found were easy to graph. But this is not always the case. Let’s see what happens in the equation If is what is the value of
The solution is the point This point has a fraction for the -coordinate. While we could graph this point, it is hard to be precise graphing fractions. Remember in the example we carefully chose values for so as not to graph fractions at all. If we solve the equation for it will be easier to find three solutions to the equation.
Now we can choose values for that will give coordinates that are integers. The solutions for and are shown.
8. Example 11.19
Example 11.19
Graph the equation
Solution
- Rewrite the equation for . Subtracting from gives , which makes the output easier to calculate for chosen -values.
- Evaluate the first pair. Substituting gives , so one point is .
- Evaluate the other pairs. Substituting gives , and substituting gives , producing and .
- Plot the three points. Mark , , and on the coordinate plane.
- Check and draw. The points form a straight line, and its intercepts agree with the displayed graph, so draw the line through all three points.
Takeaway: Solving for first turns the work into three substitutions: give , and .
9. Graph Vertical and Horizontal Lines
Graph Vertical and Horizontal Lines
Can we graph an equation with only one variable? Just and no or just without an How will we make a table of values to get the points to plot?
Let’s consider the equation The equation says that is always equal to so its value does not depend on No matter what is, the value of is always
To make a table of solutions, we write for all the values. Then choose any values for Since does not depend on you can choose any numbers you like. But to fit the size of our coordinate graph, we’ll use and for the -coordinates as shown in the table.
Then plot the points and connect them with a straight line. Notice in Figure 11.12 that the graph is a vertical line.
Definition · Vertical Line
A vertical line is the graph of an equation that can be written in the form The line passes through the -axis at .
10. Example 11.20
Example 11.20
Graph the equation What type of line does it form?
Solution
- Recognize the constant -coordinate. In , every solution has , while the value of may be any number.
- Build a solution table. Choose , , and , giving the ordered pairs , , and .
- Plot the points. Mark the three points directly above on the coordinate plane.
- Identify the line. The points have equal -coordinates and lie in a vertical column, so the graph is a vertical line through .
Takeaway: An equation in alone, such as , allows every but only one , so its graph is the vertical line through .
What if the equation has but no ? Let’s graph the equation This time the -value is a constant, so in this equation does not depend on
To make a table of solutions, write for all the values and then choose any values for
We’ll use and for the -values.
Plot the points and connect them, as shown in Figure 11.13. This graph is a horizontal line passing through the at
Definition · Horizontal Line
A horizontal line is the graph of an equation that can be written in the form The line passes through the at
11. Example 11.21
Example 11.21
Graph the equation
Solution
- Recognize the constant -coordinate. In , every solution has , while the value of may be any number.
- Build a solution table. Choose , , and , giving the ordered pairs , , and .
- Plot the points. Mark the three points on the horizontal line unit below the -axis.
- Identify the line. All three points have the same -coordinate, so the graph is a horizontal line crossing the -axis at .
Takeaway: An equation in alone, such as , forces every solution to share the same -value, so its graph is the horizontal line through .
The equations for vertical and horizontal lines look very similar to equations like What is the difference between the equations and
The equation has both and The value of depends on the value of The changes according to the value of
The equation has only one variable. The value of is constant. The is always It does not depend on the value of
The graph shows both equations.
Notice that the equation gives a slanted line whereas gives a horizontal line.
12. Example 11.22
Example 11.22
Graph and in the same rectangular coordinate system.
Solution
- Choose points for . Setting gives , so the line passes through , , and .
- Choose points for . The -coordinate remains for every , so points include , , and ; the -intercept is and there is no -intercept.
- Compare the lines. The first line rises over run by from to , while the second has rise over run , so it is horizontal at .
- Draw both graphs. Plot all six points and draw a descending line through , , and , plus a horizontal line through the three points with .
Takeaway: Choose method from the equation's form, and remember that a constant -value produces a horizontal line with no -intercept.
13. Section 11.2 Exercises
Section 11.2 Exercises
Section 11.2 Exercises
Recognize the Relation Between the Solutions of an Equation and its Graph
In each of the following exercises, an equation and its graph is shown. For each ordered pair, decide
- ⓐ is the ordered pair a solution to the equation?
- ⓑ is the point on the line?
Graph a Linear Equation by Plotting Points
In the following exercises, graph by plotting points.
Graph Vertical and Horizontal lines
In the following exercises, graph the vertical and horizontal lines.
In the following exercises, graph each pair of equations in the same rectangular coordinate system.
Mixed Practice
In the following exercises, graph each equation.
Everyday Math
Writing Exercises
14. Self Check
Self Check
ⓐ After completing the exercises, use this checklist to evaluate your mastery of the objectives of this section.
ⓑ After reviewing this checklist, what will you do to become confident for all objectives?
15. Practice 5
16. Practice 4
17. Practice 6
18. Practice 7
19. Practice 9
20. Practice 1
- The graph of is shown.
For each ordered pair, decide
- ⓐ is the ordered pair a solution to the equation?
- ⓑ is the point on the line?
21. Practice 2
22. Practice 3
23. Practice 8
24. Practice 10
- Motor home cost The Robinsons rented a motor home for one week to go on vacation. It cost them plus per mile to rent the motor home, so the linear equation gives the cost, for driving miles. Calculate the rental cost for driving miles, and then graph the line.
25. Practice 11
- Explain how you would choose three to make a table to graph the line
Practice this interactively
Free account · instant grading · spaced review that schedules itself.
Start this course for free