GED Math • Algebraic Problem Solving

Connect Equations to Graphs and Slope

Learn how a linear equation becomes a line on a graph and what slope reveals about real-world change.

A multi-subject study notebook with math and science symbols for GED preparation
Inside this lesson 10 sections 5 questions 8 figures

SECTION 1

Why Do We Graph Equations?

Long before calculators or computers existed, people needed ways to visualize relationships between numbers. A merchant tracking profit over time, an engineer designing a ramp, or a navigator charting a course — all of them benefited from turning numerical patterns into pictures. The idea of connecting an equation to a picture on a graph is one of the most powerful tools in all of mathematics, and it has surprisingly deep roots.

~300 BCE • Euclid's Geometry

The Greek mathematician Euclid formalized geometry — the study of shapes, lines, and angles — but equations and graphs had not yet been linked together.

1637 • Descartes Invents Coordinate Graphing

French philosopher René Descartes created the coordinate plane (the x-y grid), connecting algebra to geometry for the first time. Every equation could now be drawn as a shape.

1800s • Slope Becomes Standard

Mathematicians and engineers formalized the concept of slope — a single number that measures how steep a line is — and began using the letter 'm' to represent it.

Today • Graphs Are Everywhere

From stock charts to GPS maps to medical data, linear graphs and slope calculations power countless everyday tools. The GED tests your ability to read, create, and interpret them.

The central question this lesson answers is: How does a written equation translate into a visual line on a graph, and what does the steepness of that line tell us? By the end of this lesson, you will be able to move confidently between an equation, a table of values, and a graph — a skill that appears repeatedly on the GED Math test.

SECTION 2

Core Principles & Definitions

Before we start graphing, let's lock down the key vocabulary. These four ideas form the foundation of everything else in this lesson.

1

Coordinate Plane

A flat grid defined by a horizontal x-axis and a vertical y-axis. Every point is identified by an ordered pair (x, y).
2

Linear Equation

An equation whose graph is a straight line. The most common form is y = mx + b, called slope-intercept form.
3

Slope (m)

A number that measures how steep a line is. Calculated as the rise (vertical change) divided by the run (horizontal change) between any two points.
4

Y-Intercept (b)

The point where the line crosses the y-axis. At this point, x = 0. In the equation y = mx + b, the value of b is the y-intercept.
✦

KEY TAKEAWAY

Think of a linear equation like a recipe. The slope (m) is the rate at which your ingredients change — like adding 2 cups of flour for every batch. The y-intercept (b) is what you start with before you begin adding — like the flour already in the bowl. Together, they tell the whole story of the line.

SECTION 3

Seeing Slope on the Coordinate Plane

The diagram below shows the coordinate plane with a line plotted for the equation y = 2x + 1. Notice how the line crosses the y-axis at the point (0, 1) — that is the y-intercept. From that point, every time you move 1 unit to the right, the line rises 2 units. That pattern is the slope in action.

Graph of y = 2x + 1xy−2−112321−1−2(0, 1) ← y-interceptRun = 1Rise = 2Slope = Rise ÷ Runm = 2 ÷ 1 = 2
The cyan line shows y = 2x + 1. The yellow dot marks the y-intercept at (0, 1). The green dashed line shows the run (1 unit right), and the pink dashed line shows the rise (2 units up). Slope = 2 ÷ 1 = 2.

Here is the important connection: the number in front of x in the equation (the coefficient 2) is exactly the slope you see on the graph. The constant at the end (+1) is exactly where the line crosses the y-axis. The equation and the graph are two representations of the same relationship. On the GED, you will be asked to move back and forth between them.

SECTION 4

The Mathematical Framework

Two formulas appear on the GED formula sheet that relate directly to this topic. You do not need to memorize them, but you absolutely need to understand how to use them.

SLOPE-INTERCEPT FORM

y=mx+by = mx + b

m = slope (rise over run) • b = y-intercept (where the line crosses the y-axis) • x and y are coordinates of any point on the line

SLOPE FORMULA

m=(y2−y1)÷(x2−x1)m = (y₂ − y₁) ÷ (x₂ − x₁)

(x₁, y₁) and (x₂, y₂) are any two points on the line. The numerator is the rise (vertical change) and the denominator is the run (horizontal change).

The slope formula works with any two points on the line. It does not matter which point you label as (x₁, y₁) and which as (x₂, y₂) — as long as you are consistent (subtract in the same order on top and bottom). A positive slope means the line goes uphill from left to right. A negative slope means the line goes downhill from left to right. A slope of zero means the line is perfectly horizontal, and an undefined slope means the line is perfectly vertical.

POINT-SLOPE FORM (BONUS)

y−y1=m(x−x1)y − y₁ = m(x − x₁)

This form is useful when you know the slope and one point but not the y-intercept. You can always rearrange it into y = mx + b.

💡

GED TIP

On Part 1 (no-calculator section), you may be asked to identify slope or y-intercept just by looking at an equation. No computation needed — just recognize the pattern: the number in front of x is m, and the constant is b. For example, in y = −3x + 7, the slope is −3 and the y-intercept is 7.

SECTION 5

Types of Slope — A Visual Comparison

Slope is not always a positive whole number. The GED will test your understanding of positive, negative, zero, and undefined slopes. The diagram below shows all four types side by side, so you can see how each one looks on a graph.

Four Types of SlopePositive Slopem > 0Negative Slopem < 0Zero Slopem = 0Undefined Slopem = undef.Line rises fromleft to right.y = 2x + 1Line falls fromleft to right.y = −x + 3Horizontal line.No rise at all.y = 4Vertical line.Run is zero → undefined.x = 3Quick memory trick: Positive slopes look like going UP a hill; Negative slopes look like going DOWN a hill.Zero = flat ground · Undefined = a cliff face (straight up/down)
Four types of slope compared: positive (uphill), negative (downhill), zero (horizontal), and undefined (vertical).
Slope TypeValue of mLine DirectionReal-World Example
Positivem > 0 (e.g., 2)Rises left to rightSavings growing over time
Negativem < 0 (e.g., −3)Falls left to rightGas tank emptying as you drive
Zerom = 0Perfectly horizontalFlat monthly rent (no change)
Undefinedm = undefinedPerfectly verticalA wall or elevator shaft

Summary of slope types with real-world analogies

SECTION 6

Worked Example: From Two Points to an Equation

A common GED question gives you two points on a line and asks you to find the equation. Let's walk through this step by step. Suppose a line passes through the points (1, 3) and (4, 9).

Find the equation of the line through (1, 3) and (4, 9).

  1. 1

    Step 1 — Identify the two points

    Let (x₁, y₁) = (1, 3) and (x₂, y₂) = (4, 9). Label them clearly to avoid sign errors.
  2. 2

    Step 2 — Calculate the slope using the formula

    Substitute into the slope formula: m = (y₂ − y₁) ÷ (x₂ − x₁) = (9 − 3) ÷ (4 − 1) = 6 ÷ 3.
    m = 2
  3. 3

    Step 3 — Find the y-intercept (b)

    Plug the slope and one of the points into y = mx + b. Using (1, 3): 3 = 2(1) + b → 3 = 2 + b → b = 3 − 2.
    b = 1
  4. 4

    Step 4 — Write the equation

    Substitute m = 2 and b = 1 into slope-intercept form.
    y = 2x + 1
  5. 5

    Step 5 — Verify with the second point

    Check with (4, 9): y = 2(4) + 1 = 8 + 1 = 9. ✓ It matches, so our equation is correct. Always verify when time allows on the GED.
⚠

COMMON MISTAKE

When computing slope, be careful with negative signs. If you subtract y-values as (3 − 9) = −6, you must also subtract x-values in the same order: (1 − 4) = −3. You get −6 ÷ (−3) = 2, the same answer. Mixing the order is the #1 error students make.

SECTION 7

Comparing Equation Forms

Linear equations can be written in several different forms. Each form has strengths. On the GED, you may see any of them and need to recognize they all describe straight lines.

Form NameEquation TemplateBest Used When...
Slope-Intercepty = mx + bYou need to graph quickly or identify slope and y-intercept at a glance.
Point-Slopey − y₁ = m(x − x₁)You know the slope and one point but not the y-intercept.
StandardAx + By = CYou need to find x- and y-intercepts quickly, or the problem gives you this form.

Three common forms for writing linear equations

✦

KEY TAKEAWAY

Think of these three forms like three different languages describing the same road. Slope-intercept (y = mx + b) is the one you will use most often on the GED. If a problem gives you a different form, your first move should usually be to rearrange it into y = mx + b so you can immediately read off the slope and y-intercept.

For example, if a problem gives you 2x + 3y = 12, you can solve for y: subtract 2x from both sides to get 3y = −2x + 12, then divide everything by 3 to get y = (−2/3)x + 4. Now you can see the slope is −2/3 and the y-intercept is 4.

SECTION 8

Connection to Advanced Topics

Mastering linear equations and slope puts you on solid ground for understanding more complex ideas — some of which even appear on the GED in simpler forms.

This LessonWhere It Leads
Slope (rate of change of a line)Rate of change for curves (the basis of calculus)
Graphing one equationGraphing two equations to find where they cross (systems of equations, tested on the GED)
y = mx + b (first-degree equation)y = ax² + bx + c (quadratic — parabola, tested on the GED)
Reading slope from a graphInterpreting slope in word problems (cost per unit, speed, hourly wage)

How linear concepts extend to other GED topics

The most immediate next step is solving systems of linear equations — where two lines are graphed on the same plane and you find their intersection point. That intersection represents the solution that satisfies both equations at once. Everything you learned here about slope and graphing is the foundation for that skill.

SECTION 9

Practice Problems

Question 1: CONCEPTUAL

A hiker tracks her elevation during a mountain descent. She plots her elevation (in feet) on the y-axis and time (in hours) on the x-axis. The graph shows a straight line that goes downhill from left to right. Which of the following must be true about the slope of this line?
  • A. The slope is positive.
  • B. The slope is negative.
  • C. The slope is zero.
  • D. The slope is undefined.
Show answer (B)
The correct answer is B. A line that goes downhill from left to right has a negative slope. In this scenario, the hiker's elevation is decreasing over time, which means the rate of change (slope) is negative. Choice A (positive) would describe a line going uphill from left to right — that would mean the hiker's elevation is increasing. Choice C (zero) would describe a perfectly horizontal line, meaning the hiker's elevation stays the same — no change at all. Choice D (undefined) describes a vertical line, which is not possible for elevation over time since time always moves forward.

Question 2: BASIC CALCULATION

A fitness trainer records a client's total calories burned during a workout session. After 2 minutes, the client has burned 5 calories. After 6 minutes, the client has burned 13 calories. What is the slope of the line that passes through the points (2, 5) and (6, 13)?
  • A. 1/2
  • B. 2
  • C. 4
  • D. 8
Show answer (B)
The correct answer is B. Using the slope formula: m = (y₂ − y₁) ÷ (x₂ − x₁) = (13 − 5) ÷ (6 − 2) = 8 ÷ 4 = 2. The slope is 2, meaning for every 1 unit increase in x, y increases by 2. Choice A (1/2) is the result of flipping the fraction — calculating run over rise instead of rise over run. Choice C (4) comes from only calculating the run (6 − 2 = 4) without completing the division. Choice D (8) comes from only calculating the rise (13 − 5 = 8) without dividing by the run.

Question 3: INTERMEDIATE

A small business models its weekly profit using the equation 4x − 2y = 10, where x represents the number of units sold and y represents the profit in hundreds of dollars. What are the slope and y-intercept of this line when converted to slope-intercept form?
  • A. Slope = 2, y-intercept = −5
  • B. Slope = 4, y-intercept = 10
  • C. Slope = −2, y-intercept = 5
  • D. Slope = 2, y-intercept = 5
Show answer (A)
The correct answer is A. Rearrange 4x − 2y = 10 into slope-intercept form (y = mx + b). Subtract 4x from both sides: −2y = −4x + 10. Divide every term by −2: y = 2x − 5. So the slope m = 2 and the y-intercept b = −5. Choice B (slope = 4, y-intercept = 10) reads coefficients directly from the standard form equation without rearranging. Choice C (slope = −2, y-intercept = 5) makes a sign error during division — failing to apply the negative properly when dividing −4x by −2 and 10 by −2. Choice D (slope = 2, y-intercept = 5) gets the slope right but makes a sign error on the y-intercept, forgetting that 10 ÷ (−2) = −5, not +5.

Question 4: APPLIED

A plumber charges a $75 service fee plus $50 per hour of labor. The equation C = 50h + 75 models the total cost C for h hours of work. A customer receives a bill for $275. How many hours of labor were performed, and what does the slope of the equation represent in this context?
  • A. 4 hours; the slope represents the total bill
  • B. 5.5 hours; the slope represents the service fee
  • C. 4 hours; the slope represents the hourly rate
  • D. 3 hours; the slope represents the hourly rate
Show answer (C)
The correct answer is C. To find the hours of labor, set C = 275 in the equation C = 50h + 75. Subtract 75 from both sides: 275 − 75 = 50h → 200 = 50h. Divide both sides by 50: h = 200 ÷ 50 = 4 hours. The slope of the equation is 50, which represents the hourly rate — it is the rate of change showing how much the total cost increases for each additional hour of labor. Choice A (4 hours; the slope represents the total bill) correctly calculates the hours but incorrectly identifies what the slope represents. The total bill is C (the output of the equation), not the slope. The slope is the rate of change per hour. Choice B (5.5 hours; the slope represents the service fee) incorrectly divides 275 ÷ 50 = 5.5 without first subtracting the $75 service fee, and incorrectly identifies the slope as the service fee (the service fee is the y-intercept, 75, not the slope). Choice D (3 hours; the slope represents the hourly rate) correctly identifies what the slope represents but miscalculates the hours — likely from a subtraction or division error.

Question 5: CRITICAL THINKING

3 pts
A delivery company tracks the number of packages remaining on a truck during a daily route. The following data was recorded: | Time | Hours after 9:00 AM (x) | Packages remaining (y) | |-------------|--------------------------|------------------------| | 9:00 AM | 0 | 120 | | 11:00 AM | 2 | 80 | | 2:00 PM | 5 | 20 | Part A: Determine the slope (rate of change) in packages per hour. Part B: Write a linear equation in slope-intercept form (y = mx + b) where y represents the number of packages and x represents hours after 9:00 AM. Part C: Predict the time when the truck will be empty (y = 0).
Show answer
Point 1 (Part A — 1 point): Using the two points (0, 120) and (2, 80): m = (80 − 120) ÷ (2 − 0) = −40 ÷ 2 = −20. The slope is −20 packages per hour. Verification with the third point: using (0, 120) and (5, 20) gives m = (20 − 120) ÷ (5 − 0) = −100 ÷ 5 = −20. ✓ Consistent. Award 1 point for correctly computing the slope as −20 packages per hour. Point 2 (Part B — 1 point): The y-intercept is 120 (the number of packages at time x = 0, which is 9:00 AM). Using slope-intercept form y = mx + b, the equation is y = −20x + 120. Award 1 point for writing the correct equation. Point 3 (Part C — 1 point): Set y = 0 to find when the truck is empty: 0 = −20x + 120. Add 20x to both sides: 20x = 120. Divide by 20: x = 6. Six hours after 9:00 AM is 3:00 PM. The truck will be empty at 3:00 PM. Award 1 point for correctly solving for x = 6 and converting to 3:00 PM.

SUMMARY

Lesson Summary

Summary

Every linear equation can be written in slope-intercept form (y = mx + b), where m is the slope (rise over run — how steep the line is) and b is the y-intercept (where the line crosses the y-axis). The slope formula m = (y₂ − y₁) ÷ (x₂ − x₁) lets you calculate slope from any two points on the line. A positive slope means the line rises left to right, a negative slope means it falls, a zero slope means it is horizontal, and an undefined slope means it is vertical.

To move from an equation to a graph, plot the y-intercept first, then use the slope to find additional points (rise over run). To move from a graph to an equation, read two points off the line, compute the slope, then solve for b. In real-world GED problems, slope represents a rate of change — dollars per hour, miles per gallon, or packages per hour — and the y-intercept represents the starting value. Master these connections, and a large portion of the GED's algebraic problem solving section becomes manageable.

Varsity Tutors • GED Mathematical Reasoning • Connect Equations to Graphs and Slope