A linear equation in two variables can be represented graphically on a Cartesian coordinate plane. Each ordered pair that satisfies the equation corresponds to a point on the graph. Since the equation is linear, its graph forms a straight line. One common method is to create a table of values by selecting several x-values and calculating the corresponding y-values. Another method is to determine the x-intercept and y-intercept. The intercepts can then be plotted and joined using a straight line. Two distinct points are sufficient to determine a nonvertical straight line, although additional points can help verify accuracy. The resulting graph visually represents all ordered pairs that satisfy the equation.
Graphing Linear Equations
Graphing a linear equation involves plotting its ordered-pair solutions and connecting them to form a straight line.
y = mx + b; x-intercept: y = 0; y-intercept: x = 0
Explanation
Variables
| Symbol | Meaning | Unit |
|---|---|---|
x | Horizontal coordinate or independent variable | Coordinate units |
y | Vertical coordinate or dependent variable | Coordinate units |
m | Slope of the line | Vertical units per horizontal unit |
b | Y-coordinate of the y-intercept | Vertical coordinate units |
Example or application
Problem
Graph y = 2x + 1 using three points.
Solution
For x = 0, y = 1. For x = 1, y = 3. For x = 2, y = 5. Plot (0, 1), (1, 3), and (2, 5), then draw a straight line through them.
Result
The graph is a straight line passing through (0, 1), (1, 3), and (2, 5).
Text
To graph a linear equation, first write it in a convenient form or select values for one variable. Calculate the corresponding values of the other variable, producing ordered pairs. Plot those points on the coordinate plane and draw a straight line through them. For example, the equation y = 2x + 1 gives the points (0, 1), (1, 3), and (2, 5). These points lie on the same straight line. Every point on the completed line represents a solution of the equation.
Key Points
Every ordered-pair solution corresponds to a point on the graph.
The graph of a linear equation is a straight line.
A table of values can generate points for plotting.
Two distinct points determine a nonvertical straight line.
Intercepts provide another method for graphing.
Every point on the line satisfies the original equation.
Applications
Visualizing relationships between distance and time.
Representing income and expenditure relationships.
Comparing quantities in scientific experiments.
Modelling constant-rate changes.
Interpreting trends in numerical data.
Learning Outcomes
Create a table of values for a linear equation.
Calculate ordered-pair solutions.
Plot points on a Cartesian plane.
Draw a straight-line graph.
Identify x- and y-intercepts.
Interpret the graph as the complete solution set.
Practice Questions
Find three points on y = x + 2.
Graph y = 2x − 1 using a table of values.
How many distinct points are needed to determine a nonvertical straight line?
How can the y-intercept be identified?
What does every point on a linear graph represent?
Related Concepts
Cartesian coordinate plane
Ordered pairs
Slope
Intercepts
Linear equations
Common Mistakes
Reversing x- and y-coordinates.
Plotting points at incorrect locations.
Drawing a curved line through linear-equation points.
Calculating y-values incorrectly.
Failing to extend the line to represent the complete relationship.
Sources and verification
Sources are shown as provided in the project data. Not every source has yet been independently verified. Please report errors or missing citations.