Mathwords logoMathwords

Graphing Equations — Definition, Formula & Examples

Graphing equations is the process of plotting points that satisfy an equation on a coordinate plane and connecting them to reveal the shape of the relationship. Each point on the graph represents an (x,y)(x, y) pair that makes the equation true.

To graph an equation in two variables xx and yy is to represent the solution set {(x,y)the equation holds}\{(x, y) \mid \text{the equation holds}\} as a curve or line in the Cartesian plane R2\mathbb{R}^2.

How It Works

Pick several values for xx, substitute each into the equation, and solve for yy to build a table of ordered pairs. Plot each pair as a point on the coordinate plane. Connect the points smoothly — with a straight edge for linear equations, or a curve for quadratics and other nonlinear equations. For linear equations of the form y=mx+by = mx + b, you only need two points, though a third serves as a check. Reading the graph tells you key features like slope, intercepts, and where two equations share a solution (their intersection).

Worked Example

Problem: Graph the equation y = 2x − 3.
Step 1: Choose three x-values and compute y for each.
x=0:  y=2(0)3=3(0,3)x = 0:\; y = 2(0) - 3 = -3 \quad\Rightarrow\quad (0,\,-3)
Step 2: Find a second point.
x=2:  y=2(2)3=1(2,1)x = 2:\; y = 2(2) - 3 = 1 \quad\Rightarrow\quad (2,\,1)
Step 3: Find a third point to verify the line.
x=1:  y=2(1)3=5(1,5)x = -1:\; y = 2(-1) - 3 = -5 \quad\Rightarrow\quad (-1,\,-5)
Step 4: Plot the three points on the coordinate plane and draw a straight line through them. The line crosses the y-axis at −3 and rises with a slope of 2.
Answer: The graph is a straight line passing through (0, −3), (2, 1), and (−1, −5) with slope 2 and y-intercept −3.

Why It Matters

Graphing equations is central to Algebra 1, Algebra 2, and pre-calculus because it turns abstract equations into visual information. Scientists and engineers use graphs to spot trends, identify intercepts, and find where two models intersect — skills that carry directly into calculus when you study functions and their behavior.

Common Mistakes

Mistake: Plotting only two points for a curved equation and connecting them with a straight line.
Correction: Two points are sufficient only for linear equations. For quadratics and other nonlinear equations, plot at least five points so the curve's shape is clear.