Where Did Graphing Come From?
Have you ever used a map or a chart? People have been drawing pictures to show information for thousands of years. But the idea of using a coordinate plane (a grid with an x-axis and a y-axis) to plot equations is only about 400 years old. A French mathematician named René Descartes had the brilliant idea of connecting algebra and geometry on one grid.
Today, graphing is everywhere — from weather charts to video game design. The big question this lesson answers is: how do you take a linear equation and turn it into a straight line on a graph? Let's find out!
Core Definitions You Need to Know
Before we start graphing, let's lock in four important vocabulary words. These are the building blocks for everything that follows.
Linear Function
Slope (Rate of Change)
Y-Intercept
X-Intercept
See It on the Coordinate Plane
Let's look at the line y = 2x − 3 on a coordinate plane. This diagram shows the line, its y-intercept, its x-intercept, and a slope triangle that shows rise and run.
Notice how the line slants upward from left to right. That tells you the slope is positive. If the line slanted downward, the slope would be negative. A flat, horizontal line has a slope of zero.
The Math Behind the Line
Every linear function can be written in a special form called slope-intercept form. Once you can spot the slope and y-intercept in an equation, graphing becomes super easy.
Types of Slope — Positive, Negative, Zero, and Undefined
Not all lines look the same. The slope tells you the direction and steepness. Here are the four types of slope you will see.
| Slope Type | Direction | Example Equation |
|---|---|---|
| Positive (m > 0) | Line goes up from left to right | y = 3x + 1 |
| Negative (m < 0) | Line goes down from left to right | y = −2x + 5 |
| Zero (m = 0) | Line is perfectly horizontal | y = 4 |
| Undefined | Line is perfectly vertical (not a function) | x = 2 |
Worked Example — Graphing y = −x + 4
Let's graph the equation y = −x + 4 step by step. We will find the slope, both intercepts, and draw the line.
Two Ways to Graph — Which Is Best?
There are two main strategies for graphing a linear equation. Each one has strengths and weaknesses depending on the situation.
| Feature | Slope-Intercept Method | Table-of-Values Method |
|---|---|---|
| How it works | Plot b, then use m to find more points | Choose several x-values, compute y for each, plot all points |
| Speed | Fast — only 2 points needed | Slower — need 3–5 points |
| Accuracy | Good if slope is a simple fraction | Very accurate with many points |
| Best for | Equations already in y = mx + b form | Any equation, including tricky ones |
| Weakness | Harder with fractional slopes like ²⁄₃ | Takes more time |
From Linear Functions to Bigger Ideas
Linear functions are the first type of function you study, but they are not the last! Here's a preview of how the ideas you learned today connect to future math topics.
| What You Know Now | What Comes Next |
|---|---|
| Slope (constant rate of change) | In Algebra 1, you'll study systems of equations where two lines cross at one point. |
| y = mx + b (slope-intercept form) | You'll learn other forms like standard form (Ax + By = C) and point-slope form. |
| Graphing straight lines | You'll graph curves like parabolas (y = x²) and exponentials (y = 2ˣ). |
| Finding intercepts | In advanced math, intercepts help you solve real-world problems like finding break-even points in business. |
The great news is that the skills you're building now — reading slope, plotting intercepts, and drawing lines — are the same skills you'll use in every math class from here on. Master them now, and future topics will feel a lot easier!
Practice Problems
Putting It All Together
A linear function creates a straight line on the coordinate plane. Every linear equation can be written in slope-intercept form y = mx + b, where m is the slope (rate of change — how steep the line is) and b is the y-intercept (where the line crosses the y-axis). The x-intercept is found by setting y = 0 and solving.
To graph a line, start at the y-intercept, then use the slope (rise over run) to find a second point. Connect the points with a straight line. A positive slope goes up to the right, a negative slope goes down to the right, and a zero slope is a flat horizontal line. These skills are the foundation for all the algebra and graphing you will do in high school and beyond!