ResourcesMathematicsLinear Equations
MathematicsHigh School

Linear Equations

Linear equations are algebraic equations where each term has an exponent of 1, and the graph is always a straight line. They are fundamental building blocks for understanding how quantities relate to each other at a constant rate of change.

This guide covers key definitions, solving techniques, slope, the three forms of linear equations, graphing, writing equations from given information, memory aids, and a practice quiz.

1Introduction

A linear equation is an algebraic equation in which each term has an exponent of 1, and the graph of the equation is a straight line. They are called "linear" because they describe relationships that produce a straight line when plotted. Unlike more complex equations that produce curves, linear equations depict constant rates of change.

Linear equations are crucial because they allow us to model and solve problems where one quantity changes uniformly with respect to another. They form the basis for more advanced algebra, calculus, and statistics.

Picture This

Imagine a phone plan that charges $30/month plus $0.10 per text. If you send 200 texts, your bill is y = 0.10(200) + 30 = $50. The relationship between texts sent and total cost forms a straight line — that's a linear equation in action.

Real-World Uses

Budgets & Finance

Total cost = fixed fee + cost per item (e.g. phone plan: base charge + cost per minute).

Distance & Speed

Distance = speed × time. At constant speed, distance grows linearly with time.

Unit Conversions

Converting Celsius to Fahrenheit: F = (9/5)C + 32 — a classic linear equation.

Science Experiments

Hooke's Law (F = kx), Ohm's Law (V = IR) — linear relationships everywhere in physics.

2Key Definitions

Linear Equation

An equation whose graph is a straight line. The highest power of any variable is 1. Example: 2x + 3y = 7.

Variable

A symbol (like x or y) that represents an unknown or changing quantity.

Coefficient

The numerical factor multiplying a variable. In 5x, the coefficient is 5.

Constant

A numerical term without a variable. In 2x + 3 = 7, both 3 and 7 are constants.

Slope (m)

Steepness and direction of a line. The rate of change — "rise over run".

Y-intercept (b)

Where the line crosses the y-axis. At this point, x = 0. Written as (0, b).

X-intercept

Where the line crosses the x-axis. At this point, y = 0. Written as (x, 0).

Solution

The value(s) making the equation true. For one variable, a single number. For two, an ordered pair (x, y).

Slope-intercept form

y = mx + b, where m is slope and b is y-intercept.

Point-slope form

y − y₁ = m(x − x₁), useful when you know slope and a point.

Standard form

Ax + By = C, where A, B, C are typically integers and A, B are not both zero.

Rate of Change

How one quantity changes relative to another. In linear equations, this is constant and equals the slope.

3Solving Linear Equations

Solving a linear equation means finding the value(s) of the variable that make the equation true. The goal is to isolate the variable on one side using inverse operations.

One-Step Equations

x + 7 = 15

x + 7 - 7 = 15 - 7

x = 8

3x = 18

3x / 3 = 18 / 3

x = 6

Two-Step Equations

Solve: 2x - 5 = 11

2x - 5 + 5 = 11 + 5 (add 5)

2x = 16

2x / 2 = 16 / 2 (divide by 2)

x = 8

Multi-Step: Distributing & Combining Like Terms

Distributing

3(x + 4) = 21

3x + 12 = 21

3x = 9

x = 3

Combining Like Terms

5x + 7 - 2x + 3 = 25

3x + 10 = 25

3x = 15

x = 5

Variables on Both Sides

Solve: 4x - 6 = x + 9

4x - x - 6 = x - x + 9 (subtract x)

3x - 6 = 9

3x = 15 (add 6)

x = 5

Equations with Fractions

Solve: x/2 + 1/3 = 5/6 (LCD = 6)

6(x/2) + 6(1/3) = 6(5/6)

3x + 2 = 5

3x = 3

x = 1

Special Cases

No Solution

2x + 3 = 2x + 5

3 = 5 (False!)

The lines are parallel and never intersect.

Infinitely Many Solutions

2x + 3 = 2x + 3

3 = 3 (True!)

The lines are identical (coinciding).

4Slope & Rate of Change

The slope (m) tells us two things about a line: its steepness and its direction. It's calculated as the change in y divided by the change in x.

m = (y₂ − y₁) / (x₂ − x₁)

Rise over run — the vertical change divided by the horizontal change between any two points on the line.

Types of Slopes

PositiveNegativeZeroUndefined

Positive Slope (m > 0)

Line rises left to right. As x increases, y increases. Example: y = 2x + 1

Negative Slope (m < 0)

Line falls left to right. As x increases, y decreases. Example: y = -3x + 4

Zero Slope (m = 0)

Horizontal line. y stays constant regardless of x. Example: y = 5

Undefined Slope

Vertical line. x stays constant. Division by zero. Example: x = -2

Interactive: Slope Explorer

Adjust the slope and y-intercept to see how the line y = mx + b changes in real-time.

2
Steep downSteep up
1
LowHigh
Slope (m)2 (Positive)
Y-intercept (b)1
X-intercept(-0.5, 0)

y = 2x + 1

Slope as Rate of Change

In real-world contexts, slope represents the rate of change — how fast one quantity changes relative to another.

Speed

m = distance / time

(e.g. miles per hour)

Cost per Item

m = cost / item

(e.g. price per unit)

Growth Rate

m = population / year

(e.g. increase per year)

5Forms of Linear Equations

Linear equations can be expressed in several forms, each useful in different situations.

Slope-Intercept

y = mx + b

m = slope, b = y-intercept

Best for: quickly graphing a line

Point-Slope

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

m = slope, (x₁, y₁) = a point

Best for: writing equations from a point

Standard Form

Ax + By = C

A, B, C = integer constants

Best for: finding intercepts, systems

xy-4-3-2-11234-3-2-11234567y-intercept (0, 3)rise = 2run = 1(1, 5)y = 2x + 3slope (m)y-int (b)

Converting Between Forms

Slope-intercept → Standard

y = 2x + 3

-2x + y = 3

2x - y = -3

Standard → Slope-intercept

3x + 4y = 12

4y = -3x + 12

y = (-3/4)x + 3

Point-slope → Slope-intercept

y - 2 = 3(x + 1)

y - 2 = 3x + 3

y = 3x + 5

Slope-Intercepty = mx + bbm = slope, b = y-interceptBest for: graphingPoint-Slopey − y₁ = m(x − x₁)(x₁,y₁)m = slope, (x₁,y₁) = pointBest for: writing from a pointStandard FormAx + By = CA, B, C = integer constantsBest for: intercepts, systems

6Graphing Linear Equations

Plotting from Slope-Intercept Form

This is the most common and often easiest method to graph a linear equation.

  1. Plot the y-intercept (b): Mark the point (0, b) on the y-axis.
  2. Use the slope as "rise over run": From the y-intercept, move up/down (rise) and right (run) to find a second point.
  3. Draw the line: Connect the two points and extend with arrows in both directions.
Step 1: Plot y-intercept-4-2241234(0, 4)Mark (0, 4) on y-axisStep 2: Apply slope-4-2241234+2-1(2, 3)Down 1, right 2 (slope = -1/2)Step 3: Draw the line-4-2241234Connect and extend with arrows

Using Intercepts

This method works well for equations in standard form (Ax + By = C).

  1. Find the y-intercept: Set x = 0, solve for y. Plot (0, y).
  2. Find the x-intercept: Set y = 0, solve for x. Plot (x, 0).
  3. Draw the line: Connect the two intercepts.

Table of Values

A reliable method: choose several x-values, calculate corresponding y-values, plot the points, and draw the line through them.

Horizontal & Vertical Lines

Horizontal: y = c

Slope = 0. Every point has the same y-coordinate. Flat line through (0, c).

Vertical: x = c

Slope is undefined. Every point has the same x-coordinate. Straight up-and-down through (c, 0).

7Writing Equations from Given Information

Given Slope and a Point

Slope m = 2, point (3, 1)

y - 1 = 2(x - 3)

y - 1 = 2x - 6

y = 2x - 5

Given Two Points

Points (1, 5) and (3, 11)

m = (11 - 5) / (3 - 1) = 6 / 2 = 3

y - 5 = 3(x - 1)

y - 5 = 3x - 3

y = 3x + 2

Given a Graph

  1. Identify the y-intercept (b) where the line crosses the y-axis.
  2. Pick two clear points and calculate slope: m = rise / run.
  3. Write the equation using y = mx + b.

Given a Word Problem

  1. Identify variables: Assign x (independent) and y (dependent).
  2. Find slope (m): Look for "per hour," "per item," "each" — these indicate rate.
  3. Find y-intercept (b): Look for initial fee, base cost, or value when x = 0.
  4. Write: y = mx + b.
Taxi Fare: y = 2.5x + 3012345678Miles$0$5$10$15$20$25Cost ($)(0, $3.00)(2, $8.00)(4,
3.00)Base fare$3.00Rate per mile
.50y = 2.5x + 3

8Memory Aids

Mnemonic

"Y-sub-two minus Y-sub-one, over X-sub-two minus X-sub-one, that's how the slope is done!"

The slope formula as a rhyme — "Rise over Run, Y over X."

Mnemonic

"Y = My Xcellent Beginning!"

M for slope, B for "beginning" (y-intercept). Matches y = mx + b.

Concept Phrase

"Positive slopes rise uphill, negative slopes fall downhill."

Think of walking from left to right — uphill is positive, downhill is negative.

Acronym

"DCMAMM — Distribute, Combine, Move, Add/Subtract, Multiply/Divide"

The order of steps for solving multi-step linear equations.

Mnemonic

"HOY VUX"

Horizontal line, O (zero) slope, Y = constant. Vertical line, Undefined slope, X = constant.

9Common Mistakes

Sign errors when moving terms

Forgetting to change the sign when moving a term across the equals sign. Remember: 2 - (-3) = 5, not -1.

Incomplete distribution

Writing 2(x + 3) = 2x + 3 instead of 2x + 6. You must multiply every term inside the parentheses.

Operating on only one side

Whatever you do to one side, you must do to both sides. Adding 5 to the left but not the right breaks equality.

Swapping x and y in the slope formula

The slope formula is (y₂ − y₁) / (x₂ − x₁), not (x₂ − x₁) / (y₂ − y₁). "Y on top, X on the bottom."

Mixing up rise and run direction

Rise is the vertical change first, then run is the horizontal change. Always move vertically first, horizontally second.

Confusing x-intercept and y-intercept

Y-intercept: where x = 0. X-intercept: where y = 0. These are different points unless the line passes through the origin.

Assuming lines pass through the origin

Many lines do not pass through (0, 0). Always check the y-intercept b — the line only passes through the origin if b = 0.

Dividing by zero with vertical lines

Vertical lines have undefined slope (division by zero). You cannot write them in y = mx + b form. Use x = c instead.

Quick Revision Summary

  • Linear equations graph as straight lines and have a constant rate of change.
  • Slope (m) measures steepness and direction: m = (y₂ − y₁) / (x₂ − x₁).
  • Slope can be positive, negative, zero (horizontal), or undefined (vertical).
  • Three forms: y = mx + b (slope-intercept), y − y₁ = m(x − x₁) (point-slope), Ax + By = C (standard).
  • Solving: isolate the variable using inverse operations (distribute, combine, move, divide).
  • Equations can have one solution, no solution (parallel), or infinitely many (coinciding).
  • Graphing: plot y-intercept, use slope as rise/run, or use intercepts method.
  • Always check solutions by substituting back into the original equation.

Frequently Asked Questions

What is the difference between a linear equation and a linear function?
A linear equation is any equation whose graph forms a straight line (e.g. 2x + 3y = 7). A linear function is a specific type of linear equation where every input x produces exactly one output y, typically written as f(x) = mx + b. Vertical lines (x = c) are linear equations but not linear functions.
How do you know if an equation is linear?
An equation is linear if: (1) the highest power of every variable is 1 (no x², xy, or √x terms), (2) the variables are not multiplied together, and (3) its graph is a straight line. For example, y = 3x + 2 is linear, but y = x² + 1 is not.
Can a linear equation have no solution?
Yes. When solving a linear equation, if the variables cancel out and you end up with a false statement like 5 = 7, there is no solution. This happens when two lines are parallel — they have the same slope but different y-intercepts, so they never intersect.
What does the slope of a line tell you?
The slope measures steepness and direction: a positive slope means the line rises left to right, a negative slope means it falls, zero slope is horizontal, and undefined slope is vertical. In real-world contexts, slope represents the rate of change — like speed (distance per time) or cost per item.
When should I use point-slope form vs slope-intercept form?
Use slope-intercept form (y = mx + b) when you know the slope and y-intercept, or need to quickly graph a line. Use point-slope form (y − y₁ = m(x − x₁)) when you know the slope and any point on the line, or when writing an equation from two given points.

Practice Quiz

Test your understanding — select the correct answer for each question.

1.What is the slope of the line represented by the equation y = -3x + 5?

2.Which form of a linear equation is y - 4 = 2(x + 1)?

3.Solve for x: 4x - 7 = 13

4.What is the y-intercept of the line 2x + 5y = 10?

5.A line passes through the points (1, 2) and (3, 8). What is its slope?

6.Which equation represents a horizontal line?

7.When solving an equation, you end up with 6 = 6. What does this mean?

8.Convert y = -2x + 7 to standard form (Ax + By = C).

9.A taxi charges a

.50 flat fee plus
.50 per mile. If x is the number of miles and y is the total cost, which equation models this?

10.What is the slope of a line that falls from left to right?

Final Study Advice

  • 1.Always identify the form of the equation first — it tells you which approach to use.
  • 2.Draw a quick sketch of the line to check your answer makes sense (positive slope should go up, etc.).
  • 3.Practice converting between all three forms — exams often require it.
  • 4.In word problems, identify the slope (rate) and y-intercept (starting value) before writing the equation.
  • 5.Always check your answer by substituting it back into the original equation.

Related Topics