Main menu
This is “Graph by Plotting Points”, section 3.2 from the book Beginning Algebra (v. 1.0). For details on it (including licensing), click here.
For more information on the source of this book, or why it is available for free, please see the project's home page. You can browse or download additional books there.
Has this book helped you? Consider passing it on:
Help Creative Commons
Creative Commons supports free culture from music to education. Their licenses helped make this book available to you.
Help a Public School
DonorsChoose.org helps people like you help teachers fund their classroom projects, from art supplies to books to calculators.
Previous Section
Table of Contents
Next Section
3.2 Graph by Plotting Points
Learning Objectives
1.Verify solutions to linear equations with two variables.
2.Graph lines by plotting points.
3.Identify and graph horizontal and vertical lines.
Solutions to Equations with Two Variables
A linear equation with two variablesAn equation with two variables that can be written in the standard form ax+by=c, where the real numbers a and b are not both zero. has standard form ax+by=c, where a, b, and c are real numbers and a and b are not both 0. Solutions to equations of this form are ordered pairs (x, y), where the coordinates, when substituted into the equation, produce a true statement.
Example 1: Determine whether (1, −2) and (−4, 1) are solutions to 6x−3y=12.
Solution: Substitute the x-
Answer: (1, −2) is a solution, and (−4, 1) is not.
It is often the case that a linear equation is given in a form where one of the variables, usually y, is isolated. If this is the case, then we can check that an ordered pair is a solution by substituting in a value for one of the coordinates and simplifying to see if we obtain the other.
Example 2: Are ( 12, −3) and (−5, 14) solutions to y=2x−4?
Solution: Substitute the x-
Answer: ( 12, −3) is a solution, and (−5, 14) is not.
Try this! Is (6, −1) a solution to y=−23x+3?
Answer: Yes
Video Solution
(click to see video)
When given linear equations with two variables, we can solve for one of the variables, usually y, and obtain an equivalent equation as follows:
Written in this form, we can see that y depends on x. Here x is the independent variableThe variable that determines the values of other variables. Usually we think of the x-
The linear equation y=2x−4 can be used to find ordered pair solutions. If we substitute any real number for x, then we can simplify to find the corresponding y-
Example 3: Find ordered pair solutions to the equation 5x−y=14 with the given x-
Solution: First, solve for y.
Next, substitute the x-
Answer: (−2, −24), (−1, −19), (0, −14), (4, 6), (6, 16)
In the previous example, certain x-
Example 4: Find five ordered pair solutions to 6x+2y=10.
Solution: First, solve for y.
Next, choose any set of x-
Answer: (−2, 11), (−1, 8), (0, 5), (1, 2), (2, −1). Since there are infinitely many ordered pair solutions, answers may vary depending on the choice of values for the independent variable.
Try this! Find five ordered pair solutions to 10x−2y=2.
Answer: (−2, −11), (−1, −6), (0, −1), (1, 4), (2, 9) (answers may vary)
Video Solution
(click to see video)
Graph by Plotting Points
Since the solutions to linear equations are ordered pairs, they can be graphed using the rectangular coordinate system. The set of all solutions to a linear equation can be represented on a rectangular coordinate plane using a straight line connecting at least two points; this line is called its graphA point on the number line associated with a coordinate.. To illustrate this, plot five ordered pair solutions, (−2, 11), (−1, 8), (0, 5), (1, 2), (2, −1), to the linear equation 6x+2y=10.
Notice that the points are collinear; this will be the case for any linear equation. Draw a line through the points with a straightedge, and add arrows on either end to indicate that the graph extends indefinitely.
The resulting line represents all solutions to 6x+2y=10, of which there are infinitely many. The steps for graphing lines by plotting points are outlined in the following example.
Example 5: Find five ordered pair solutions and graph: 10x−5y=10.
Solution:
Step 1: Solve for y.
Step2: Choose at least two x-
Five ordered pair solutions are (−2, −6), (−1, −4), (0, −2), (1, 0), (2, 2)
Step 3: Choose an appropriate scale, plot the points, and draw a line through them using a straightedge. In this case, choose a scale where each tick mark on the y-
Answer:
It will not always be the case that y can be solved in terms of x with integer coefficients. In fact, the coefficients often turn out to be fractions.
Example 6: Find five ordered pair solutions and graph: −5x+2y=10.
Solution:
Remember that you can choose any real number for the independent variable x, so choose wisely here. Since the denominator of the coefficient of the variable x is 2, you can avoid fractions by choosing multiples of 2 for the x-
Five solutions are (−6, −10), (−4, −5), (−2, 0), (0, 5), (2, 10). Here we choose to scale the x-
Answer:
Try this! Find five ordered pair solutions and graph: x+2y=6.
Answer: (−2, 4), (0, 3), (2, 2), (4, 1), (6, 0)
Video Solution
(click to see video)
Horizontal and Vertical Lines
We need to recognize by inspection linear equations that represent a vertical or horizontal line.
Example 7: Graph by plotting five points: y=−2.
Solution: Since the given equation does not have a variable x, we can rewrite it with a 0 coefficient for x.
Choose any five values for x and see that the corresponding y-
We now have five ordered pair solutions to plot (−2, −2), (−1, −2), (0, −2), (1, −2), (2, −2).
Answer:
When the coefficient for the variable x is 0, the graph is a horizontal line. In general, the equation for a horizontal lineAny line whose equation can be written in the form y = k, where k is a real number. can be written in the form y=k, where k represents any real number.
Example 8: Graph by plotting five points: x = 3.
Solution: Since the given equation does not have a variable y, rewrite it with a 0 coefficient for y.
Choose any five values for y and see that the corresponding x-
We now have five ordered pair solutions to plot: (3, −2), (3, −1), (3, 0), (3, 1), (3, 2).
Answer:
When the coefficient for the variable y is 0, the graph is a vertical line. In general, the equation for a vertical lineAny line whose equation can be written in the form x = k, where k is a real number. can be written as x=k, where k represents any real number.
To summarize, if k is a real number,
Try this! Graph y=5 and x=−2 on the same set of axes and determine where they intersect.
Answer: (−2, 5)
Video Solution
(click to see video)
Key Takeaways
•Solutions to linear equations with two variables ax+by=c are ordered pairs (x, y), where the coordinates, when substituted into the equation, result in a true statement.
•Linear equations with two variables have infinitely many ordered pair solutions. When the solutions are graphed, they are collinear.
•To find ordered pair solutions, choose values for the independent variable, usually x, and substitute them in the equation to find the corresponding y-
•To graph linear equations, determine at least two ordered pair solutions and draw a line through them with a straightedge.
•Horizontal lines are described by y = k, where k is any real number.
•Vertical lines are described by x = k, where k is any real number.
Topic Exercises
Part A: Solutions to Linear Systems
Determine whether the given point is a solution.
1. 5x−2y=4; (−1, 1)
2. 3x−4y=10; (2, −1)
3. −3x+y=−6; (4, 6)
4. −8x−y=24; (−2, −3)
5. −x+y=−7; (5, −2)
6. 9x−3y=6; (0, −2)
7. 12x+13y=−16; (1, −2)
8. 34x−12y=−1; (2, 1)
9. 4x−3y=1; (12, 13)
10. −10x+2y=−95; (15, 110)
11. y=13x+3; (6, 3)
12. y=−4x+1; (−2, 9)
13. y=23x−3; (0, −3)
14. y=−58x+1; (8, −5)
15. y=−12x+34; (−12, 1)
16. y=−13x−12; (12, −23)
17. y=2; (−3, 2)
18. y=4; (4, −4)
19. x=3; (3, −3)
20. x=0; (1, 0)
Find the ordered pair solutions given the set of x-
21. y=−2x+4; −2, 0, 2
22. y=12x−3; −4, 0, 4
23. y=−34x+12; −2, 0, 2
24. y=−3x+1; −1/2, 0, 1/2
25. y=−4; −3, 0, 3
26. y=12x+34; −1/4, 0, 1/4
27. 2x−3y=1; 0, 1, 2
28. 3x−5y=−15; −5, 0, 5
29. –x+y=3; −5, −1, 0
30. 12x−13y=−4; −4, −2, 0
31. 35x+110y=2; −15, −10, −5
32. x−y=0; 10, 20, 30
Find the ordered pair solutions, given the set of y-
33. y=12x−1; −5, 0, 5
34. y=−34x+2; 0, 2, 4
35. 3x−2y=6; −3, −1, 0
36. −x+3y=4; −4, −2, 0
37. 13x−12y=−4; −1, 0, 1
38. 35x+110y=2; −20, −10, −5
Part B: Graphing Lines
Given the set of x-
39. y=x+1
40. y=−x+1
41. y=2x−1
42. y=−3x+2
43. y=5x−10
44. 5x+y=15
45. 3x−y=9
46. 6x−3y=9
47. y=−5
48. y=3
Find at least five ordered pair solutions and graph.
49. y=2x−1
50. y=−5x+3
51. y=−4x+2
52. y=10x−20
53. y=−12x+2
54. y=13x−1
55. y=23x−6
56. y=−23x+2
57. y=x
58. y=−x
59. −2x+5y=−15
60. x+5y=5
61. 6x−y=2
62. 4x+y=12
63. −x+5y=0
64. x+2y=0
65. 110x−y=3
66. 32x+5y=30
Part C: Horizontal and Vertical Lines
Find at least five ordered pair solutions and graph them.
67. y=4
68. y=−10
69. x=4
70. x=−1
71. y=0
72. x=0
73. y=34
74. x=−54
75. Graph the lines y=−4 and x=2 on the same set of axes. Where do they intersect?
76. Graph the lines y=5 and x=−5 on the same set of axes. Where do they intersect?
77. What is the equation that describes the x-
78. What is the equation that describes the y-
Part D: Mixed Practice
Graph by plotting points.
79. y=−35x+6
80. y=35x−3
81. y=−3
82. x=−5
83. 3x−2y=6
84. −2x+3y=−12
Part E: Discussion Board Topics
85. Discuss the significance of the relationship between algebra and geometry in describing lines.
86. Give real-
Answers
1: No
3: Yes
5: Yes
7: Yes
9: Yes
11: No
13: Yes
15: Yes
17: Yes
19: Yes
21: (−2, 8), (0, 4), (2, 0)
23: (−2, 2), (0, 1/2), (2, −1)
25: (−3, −4), (0, −4), (3, −4)
27: (0, −1/3), (1, 1/3), (2, 1)
29: (−5, −2), (−1, 2), (0, 3)
31: (−15, 110), (−10, 80), (−5, 50)
33: (−8, −5), (2, 0), (12, 5)
35: (0, −3), (4/3, −1), (2, 0)
37: (−27/2, −1), (−12, 0), (−21/2, 1)
39:
41:
43:
45:
47:
49:
51:
53:
55:
57:
59:
61:
63:
65:
67:
69:
71:
73:
75:
77: y=0
79:
81:
83:
Previous Section
Table of Contents
Next Section