3.2 Graphing by Plotting Points
Learning Objectives
After completing this section, you should be able to:
- Graph a linear equation by plotting points.
- Recognize and graph vertical and horizontal lines.
- Identify relationships between slope and direction of a line.
- Interpret slope and intercepts from equations in different forms.
Introduction
In the previous section, we learned how to locate and name points on the coordinate plane.
Now, we will use those points to draw graphs of linear equations—straight lines that represent all solutions to an equation in two variables.
A linear equation can be written in several forms, such as:
(slope-intercept form)
(standard form)
Each solution
is a point that lies on the line.
Graphing by Plotting Points
To graph a linear equation, we can find several points that satisfy it and then draw the straight line through those points.
Example 3.2.1 — Graph by Plotting Points
Graph: 
Solution
Step 1: Choose several x-values.
Step 2: Substitute into the equation to find y.
Step 3: Plot each point and draw a straight line through them.
| x | y | Ordered Pair |
|---|---|---|

Try It
Example 3.2.2 — Graph from Standard Form
Graph: 
Solution
Solve for
:
| x | y | Ordered Pair |
|---|---|---|

Try It
Graphing Horizontal and Vertical Lines
Some linear equations create lines that are perfectly flat (horizontal) or perfectly straight up-and-down (vertical).
Horizontal Lines
A horizontal line has the form
, where
is a constant.
- All points have the same y-value.
- The slope is
.
Example 3.2.3 — Graph a Horizontal Line
Graph: 
Solution
Every point on this line has
, such as:
Shortcut: You do not need to plot points—
is a horizontal line that crosses the y-axis at 5.

Vertical Lines
A vertical line has the form
, where
is a constant.
- All points have the same x-value.
- The slope is undefined.
Example 3.2.4 — Graph a Vertical Line
Graph: 
Solution
Every point on this line has
, such as:
Shortcut:
is a vertical line that crosses the x-axis at
.

Tip
Horizontal lines have the form
.
Vertical lines have the form
.
Try It
Mixed Practice: Recognizing Line Types
Before graphing, identify the type of line you expect.
| Equation Type | Example | What to Expect |
|---|---|---|
| Slope-intercept | Diagonal line; slope 3 | |
| Standard form | Diagonal line; often easiest after solving for |
|
| Vertical line | Vertical line; undefined slope | |
| Horizontal line | Horizontal line; slope 0 |
Strategy: Before graphing any equation, first decide what type of line it represents. This helps you choose the fastest graphing method.
Example 3.2.5 — Classify and Graph
Graph each equation and briefly describe the line.
A. 
Solution
Diagonal line passing through the origin. Example points:
and
.

B. 
Solution
Horizontal line at
.

C. 
Solution
Vertical line at
.

D. 
Solution
Diagonal line with intercepts
and
.

Key Takeaways
- A linear equation graphs as a straight line.
- Plot at least two points (preferably three) and connect them.
- Lines of the form
are horizontal.
- Lines of the form
are vertical.
- Lines that pass through
have no constant term.