ALGEBRA 1 • GRAPHING EQUATIONS & INEQUALITIES

Graphs of Equations in Two Variables

Every equation in two variables has a visual story — its graph is the complete picture of every solution, drawn on the coordinate plane.

Where Did Graphing Come From?

For thousands of years, algebra and geometry were treated as completely separate subjects. Ancient Greek mathematicians like Euclid studied shapes and distances with rulers and compasses, while scholars in the Islamic Golden Age and medieval Europe solved equations using words and symbols. Nobody thought to combine the two — until a French mathematician had a revolutionary idea while lying in bed.

The story of graphing equations is really the story of connecting numbers to pictures. Once mathematicians figured out that every equation could be drawn and every curve could be described by an equation, both algebra and geometry became far more powerful. Here's how that breakthrough unfolded.

~300 BCE
Euclid writes Elements, establishing geometry as a rigorous system based on axioms and proofs. However, his geometry uses no coordinates or equations — everything is described with constructions and logical arguments.
~800 CE
Al-Khwarizmi publishes The Compendious Book on Calculation by Completion and Balancing, which gives us the word "algebra." He solves equations, but writes them out in sentences rather than plotting them.
1637
René Descartes publishes La Géométrie, introducing the coordinate plane — now called the Cartesian plane in his honor. For the first time, geometric shapes are described using algebraic equations, and equations are visualized as curves.
1748
Leonhard Euler popularizes function notation and systematically studies the graphs of many types of equations, including parabolas, circles, and exponential curves. His work helps standardize the x-axis and y-axis system we use today.
Today
Graphing is everywhere — from scientific research and engineering to the apps on your phone. Weather maps, GPS navigation, and video games all rely on the idea that equations and pictures are two sides of the same coin.

Descartes' big insight was simple but transformative: if you set up two number lines at right angles (one horizontal, one vertical), every point in the flat plane can be named by a pair of numbers, and every equation in two variables can be drawn as a curve. That connection is what this entire lesson is about.

Core Principles & Definitions

Before we dive into graphing, let's nail down the key ideas. An equation in two variables is any equation that contains exactly two different variables — most often x and y. A solution to such an equation is any ordered pair (x, y) that makes the equation true when you substitute those values in. And the graph of the equation is the set of all those solutions, plotted as points on the coordinate plane. When you connect all those points, they usually form a recognizable curve or line.

1

Ordered Pair = Potential Solution

An ordered pair like (3, 5) names a specific point. To check if it's a solution, plug x = 3 and y = 5 into the equation and see if both sides are equal.
2

Infinitely Many Solutions

Most equations in two variables have infinitely many solutions. The line y = 2x + 1 is satisfied by (0, 1), (1, 3), (−2, −3), (0.5, 2), and endlessly more pairs.
3

Graph = All Solutions at Once

The graph is a visual representation of every solution. Each point on the curve corresponds to an ordered pair that satisfies the equation — and every point not on the curve does not.
4

Shapes Have Meaning

Different types of equations produce different shapes. Linear equations make straight lines. Quadratic equations make parabolas. The equation x² + y² = r² makes a circle. The shape tells you about the equation's behavior.
Key Takeaway
Think of an equation in two variables as a rule that tests pairs of numbers. Imagine you have a huge list of every possible (x, y) pair — the equation acts like a filter, letting through only the pairs that make it true. The graph is what you see when you plot all the "approved" pairs on the coordinate plane. It's like using a metal detector on a beach: the detector (equation) identifies the treasures (solutions), and marking every find on a map (graph) reveals a pattern — maybe a straight line where someone dropped their coins, or a curve where the tide carried them.

Seeing Solutions on the Coordinate Plane

Let's start with a concrete example. Consider the equation y = 2x − 1. To graph this, we pick several values of x, compute the corresponding y, and plot each resulting point. The diagram below shows exactly this process: six specific solutions are plotted, and the line that passes through all of them represents the complete set of solutions.

y = 2x − 1

In the diagram above, each pink dot represents a specific ordered pair that satisfies y = 2x − 1. For example, when x = 1, the equation gives y = 2(1) − 1 = 1, so the point (1, 1) sits on the line. The cyan line itself represents every solution — including all the points in between the dots, like (0.5, 0) and (1.7, 2.4). That line extends infinitely in both directions because there is no limit on what values x can take.

Here is the crucial idea: if a point lies on the curve, it is a solution to the equation. If it does not lie on the curve, it is not a solution. Consider the point (1, 4). Substituting into the equation: 4 = 2(1) − 1 = 1. Since 4 ≠ 1, the point (1, 4) is not a solution, and indeed, if you look at the graph, (1, 4) does not sit on the line.

The Mathematical Framework

Different types of equations in two variables produce different shapes when graphed. Understanding these categories helps you predict what a graph will look like before you even start plotting points. Let's look at the three most important forms you'll encounter in Algebra 1.

Linear Equation (Slope-Intercept Form)
y = mx + b
m = slope (steepness and direction) | b = y-intercept (where the line crosses the y-axis)

A linear equation is any equation whose graph is a straight line. The slope-intercept form y = mx + b is the most common way to write one. The slope m tells you how much y changes for each unit increase in x, and the y-intercept b tells you where the line crosses the vertical axis. Every ordered pair (x, y) on that line satisfies the equation.

Standard Form of a Linear Equation
Ax + By = C
A, B, and C are constants | A and B are not both zero

Standard form is another way to write the same kind of equation. The graph is still a straight line — you're just organizing the equation differently. You can always convert between standard form and slope-intercept form by solving for y. For example, 3x + 2y = 6 becomes y = −(3/2)x + 3 when you isolate y.

Quadratic Equation (Standard Form)
y = ax² + bx + c
a ≠ 0 | The graph is a parabola — a U-shaped (or inverted-U-shaped) curve

When the equation includes an term, the graph is no longer a straight line — it curves. The shape you get is called a parabola. If a is positive, the parabola opens upward like a bowl; if a is negative, it opens downward. Every point on that parabola is a solution to the equation, just as every point on a line is a solution to a linear equation.

Equation of a Circle
x² + y² = r²
r = radius of the circle | Center at the origin (0, 0)

Here's a beautiful example: the equation x² + y² = 25 describes a circle with radius 5 centered at the origin. Every point on that circle — like (3, 4), (0, 5), (−5, 0), or (4, −3) — satisfies the equation. You can verify: 3² + 4² = 9 + 16 = 25 ✓. The graph collects all such points, and together they form a perfect circle.

From Table to Graph: Building Curves Point by Point

The standard process for graphing an equation has three steps: create a table of values, plot those ordered pairs as points, and connect the dots to reveal the shape. Let's walk through this process with the equation y = x² − 4, which is a parabola.

xSubstitutionyOrdered Pair (x, y)On the Graph?
−3(−3)² − 4 = 9 − 45(−3, 5)✓ Yes
−2(−2)² − 4 = 4 − 40(−2, 0)✓ Yes
−1(−1)² − 4 = 1 − 4−3(−1, −3)✓ Yes
0(0)² − 4 = 0 − 4−4(0, −4)✓ Yes
1(1)² − 4 = 1 − 4−3(1, −3)✓ Yes
2(2)² − 4 = 4 − 40(2, 0)✓ Yes
3(3)² − 4 = 9 − 45(3, 5)✓ Yes

Notice the symmetry in the table: (−3, 5) and (3, 5) have the same y-value, and so do (−2, 0) and (2, 0). This makes sense because squaring a negative number gives the same result as squaring its positive counterpart. When we plot all seven points and draw a smooth curve through them, we get a parabola — a U-shaped curve with its lowest point (called the vertex) at (0, −4).

y = x² − 4

The parabola above demonstrates a key idea: the shape of the graph depends on the type of equation. A linear equation always gives a straight line, a quadratic equation always gives a parabola, and a circle equation always gives a circle. No matter which type you're working with, the fundamental principle is the same — the graph is the collection of every single ordered pair that satisfies the equation.

Worked Example

Let's work through a complete problem from start to finish. We'll graph the equation y = −x + 3, verify specific solutions, and identify a non-solution.

Graphing y = −x + 3
1
Step 1 — Identify the Equation TypeThe equation y = −x + 3 is in slope-intercept form y = mx + b with m = −1 and b = 3. Since the highest power of x is 1, this is a linear equation, so its graph will be a straight line.
2
Step 2 — Build a Table of ValuesChoose several values of x and compute y: When x = −1, y = 4 → (−1, 4). When x = 0, y = 3 → (0, 3). When x = 1, y = 2 → (1, 2). When x = 3, y = 0 → (3, 0). When x = 5, y = −2 → (5, −2).
3
Step 3 — Plot the Points and Draw the LinePlot each ordered pair on the coordinate plane and connect them with a straight line. Since the slope is −1, the line falls by 1 unit for every 1 unit you move to the right. The y-intercept is (0, 3), so the line crosses the y-axis at 3.
4
Step 4 — Verify a SolutionIs (2, 1) on the graph? Substitute: y = −(2) + 3 = 1. Since 1 = 1, yes, (2, 1) is a solution and lies on the line. ✓
5
Step 5 — Identify a Non-SolutionIs (2, 5) on the graph? Substitute: y = −(2) + 3 = 1. But the point claims y = 5, and 5 ≠ 1, so no, (2, 5) is not a solution and does not lie on the line. ✗
6
Step 6 — InterpretThe line we drew is the graph of y = −x + 3. It contains every ordered pair that satisfies the equation — infinitely many of them. The five points we plotted are just samples; the line itself is the complete answer.

Comparing Graph Types

Different equations produce different graphs, but the underlying principle never changes: the graph is always the set of all solutions. Here's a comparison of the most common equation types you'll encounter and the shapes they produce.

Equation TypeExampleGraph ShapeKey Feature
Lineary = 2x + 1Straight lineConstant rate of change (slope)
Quadraticy = x² − 4Parabola (U-shape)Has a vertex (highest or lowest point)
Circlex² + y² = 9CircleAll points equidistant from center
Absolute valuey = |x|V-shapeSharp corner at the vertex
Horizontal liney = 4Flat horizontal lineSlope is 0; y never changes
Vertical linex = −2Vertical lineUndefined slope; not a function

One important distinction: most graphs you'll encounter in Algebra 1 represent functions, meaning each x-value has exactly one y-value. Lines and parabolas are functions, but circles are not (for example, when x = 0 in x² + y² = 9, both y = 3 and y = −3 are solutions). You can test this with the vertical line test: if any vertical line crosses the graph at more than one point, the equation is not a function.

Key Takeaway
The graph of an equation is like a map of all possible destinations. If your equation is a linear one, the "map" shows a single straight highway — you can go anywhere along it, but you can't leave the road. If the equation is quadratic, your map shows a curving valley or hilltop. If it's a circle equation, your map draws a loop. The type of equation determines the shape, but the idea is always the same: the graph shows you where the solutions live.

Looking Ahead: Beyond Algebra 1

The ideas you've learned in this lesson lay the foundation for more advanced mathematics. In later courses, you'll encounter equations with more complexity — but the core principle remains unchanged. Here's a preview of where this concept leads.

What You Know NowWhat Comes NextCourse
Graphing lines (y = mx + b)Systems of equations — finding where two lines intersectAlgebra 1 / Algebra 2
Graphing parabolas (y = ax² + bx + c)Transformations — shifting, stretching, and reflecting any graphAlgebra 2
Checking if a point is a solutionGraphing inequalities — shading entire regions of the planeAlgebra 1 / Algebra 2
Plotting points to find a curveUsing formulas and properties to sketch curves without plotting many pointsPrecalculus
Graphs in 2D (x, y)Graphs in 3D (x, y, z) — surfaces instead of curvesCalculus / Multivariable

In Algebra 2 and Precalculus, you'll graph exponential functions, logarithmic functions, trigonometric functions, and more. Each produces a distinctive curve, but every graph still represents the set of all solutions. The ability to move fluently between an equation (algebra) and its graph (geometry) is one of the most powerful skills in all of mathematics. Descartes would be proud.

Practice Problems

PROBLEM 1CONCEPTUAL
In your own words, explain what it means to say "the graph of an equation is the set of all its solutions." Why does a linear equation in two variables have infinitely many solutions?
PROBLEM 2BASIC
Determine whether the point (4, 7) is a solution to the equation y = 3x − 5.
PROBLEM 3INTERMEDIATE
The equation 2x + y = 10 has a graph that is a straight line. Find three ordered pairs that are solutions to this equation, and identify the slope and y-intercept of the line.
PROBLEM 4APPLIED
A taxi ride costs a flat fee of $3.00 plus $2.50 per mile. The equation y = 2.5x + 3 models the total cost y (in dollars) for a ride of x miles. Create a table with at least four values and explain what the graph of this equation tells you about the cost of a taxi ride.
PROBLEM 5CRITICAL THINKING
Consider the equation x² + y² = 25. Explain why the graph of this equation is a circle. Then determine whether the point (3, 4) is on the graph, and find another point that is also on the graph but in a different quadrant. Finally, explain why this graph does not pass the vertical line test.

Lesson Summary

The central idea of this lesson is that the graph of an equation in two variables is the set of all its solutions plotted in the coordinate plane. An ordered pair (x, y) is a solution if substituting those values into the equation makes it true. When you plot every such solution, the resulting collection of points forms a recognizable shape: linear equations produce straight lines, quadratic equations produce parabolas, and circle equations produce circles. Each point on the curve is a solution; each point off the curve is not.

This idea — first formalized by René Descartes in 1637 — unifies algebra and geometry by showing that equations and curves are two representations of the same mathematical relationship. You can verify whether a specific point is a solution by substituting its coordinates into the equation. You can build a graph by creating a table of values, plotting the resulting points, and connecting them to reveal the shape. Understanding this connection is foundational — it will appear in every mathematics course you take from here forward.

Varsity Tutors • Algebra 1 (Common Core) • Graphs of Equations in Two Variables