Algebra 1 • One-Variable Equations & Inequalities

Solving Linear Equations & Inequalities in One Variable

Master the art of isolating variables, handling literal equations, and graphing solutions on a number line.

Where Did Equations Come From?

Long before anyone used the letter x, people were already solving equations. Ancient civilizations needed to figure out unknown quantities—how much grain to store, how to split land fairly, or how high to build a wall. The idea of "finding the missing number" is one of the oldest problems in mathematics, and the tools we use today were shaped by thousands of years of clever thinking.

~1800 BCE
Babylonian scribes inscribed clay tablets with word problems that boiled down to linear and quadratic equations. They described step-by-step recipes—what we'd call algorithms—for solving them, even though they had no symbolic notation at all.
~300 CE
The Greek mathematician Diophantus of Alexandria introduced abbreviations for unknowns and operations in his work Arithmetica. He is sometimes called "the father of algebra," and his shorthand was a crucial step toward the symbolic equations we write today.
~820 CE
The Persian scholar al-Khwārizmī published Al-Kitāb al-Mukhtaṣar fī Ḥisāb al-Jabr wal-Muqābala. The word al-jabr (meaning "restoring" or "completion") gave us the term algebra. His systematic methods for balancing equations laid the foundation for everything you'll learn in this lesson.
1637
French philosopher René Descartes popularized using letters near the end of the alphabet (x, y, z) for unknowns and letters near the beginning (a, b, c) for known constants. This convention is still the standard in your algebra class today.

The central question that drove all of this history remains the same question you face in every algebra problem: What value of the unknown makes this statement true? That question applies whether the equation contains plain numbers or letter coefficients like a, b, and c.

Core Principles & Definitions

Before we start manipulating equations, let's lock down the key ideas you'll rely on throughout this lesson. Each principle below is a building block; once you understand them, the procedures will feel logical rather than memorized.

1

Linear Equation

An equation where the variable appears only to the first power (no exponents, square roots, or the variable in a denominator). The general form is ax + b = c, where a, b, and c are numbers (or letters standing for numbers).
2

Inverse Operations

Addition and subtraction undo each other; multiplication and division undo each other. To isolate a variable, you apply the inverse of whatever operation is "attached" to it. This is the engine that drives every step of solving.
3

Properties of Equality

If two sides of an equation are equal, they stay equal as long as you do the same thing to both sides. You can add, subtract, multiply, or divide both sides by the same nonzero value without breaking the balance.
4

Literal Equations

Equations where the coefficients and constants are letters instead of (or in addition to) numbers. For example, solving ax + b = c for x means treating a, b, and c as known values and isolating x the same way you always do.
5

Linear Inequality

Like a linear equation, but the equals sign is replaced by <, >, , or . The solution is usually a range of values rather than a single number. One critical rule: flip the inequality sign when you multiply or divide both sides by a negative number.
✦ Key Takeaway
Think of an equation like a balanced seesaw. Whatever weight you add or remove from one side, you must add or remove exactly the same weight from the other side to keep it level. Solving an equation is just carefully removing weight until the variable sits alone on one side, perfectly balanced against a number (or an expression) on the other.

The Balance Model — A Visual Guide

The diagram below shows the balance-model approach for solving the equation 2x + 3 = 11. In each frame, notice how the same operation is applied to both sides of the balance to keep it level.

Each step uses one of those inverse operations we defined earlier. First we undo the addition of 3 by subtracting 3 from both sides; then we undo the multiplication by 2 by dividing both sides by 2. The variable ends up isolated, and we can verify our answer by plugging it back into the original equation.

Mathematical Framework

Let's formalize the procedures you'll use most often. Each equation block below represents a pattern you'll encounter repeatedly—learn these patterns, and you'll be able to handle any linear equation or literal equation that comes your way.

General One-Variable Linear Equation
ax + b = c
a, b, c are constants (numbers or letters); x is the unknown; a ≠ 0

To solve for x, apply inverse operations in reverse order of operations:

Step-by-Step Solution
ax + b = c ax + b − b = c − b ax = c − b ax ÷ a = (c − b) ÷ a x = (c − b) / a
Subtract b first (undo addition), then divide by a (undo multiplication)

Notice that the result x = (c − b) / a is itself a literal equation: it expresses the unknown in terms of other letters. This is exactly what you do when a formula question says "solve for x" and the equation contains letter coefficients.

Equations With Variables on Both Sides
ax + b = cx + d ax − cx + b = d (a − c)x + b = d (a − c)x = d − b x = (d − b) / (a − c)
Move all x-terms to one side, all constants to the other, then divide

The strategy is always the same: collect like terms, isolate the variable term, and divide by the coefficient. Whether the coefficients are numbers like 5 and −3 or letters like a and c, the logic doesn't change.

Literal Equation Example — Solve for l
P = 2l + 2w → solve for l P − 2w = 2l (P − 2w) / 2 = l l = (P − 2w) / 2
The perimeter formula, rearranged to isolate l

Linear Inequalities & the Number Line

Inequalities follow almost all the same rules as equations, with one critical exception: when you multiply or divide both sides by a negative number, you must flip the inequality sign. This single rule trips up more students than anything else in this topic, so let's look at why it's true and how to graph the result.

Consider the true statement 4 < 6. If you multiply both sides by −1, you get −4 and −6. On the number line, −4 is to the right of −6, meaning −4 is greater than −6. So the correct statement is −4 > −6. Multiplying by a negative reverses the order—and that's exactly why the sign flips.

When you graph an inequality on a number line, use an open circle for strict inequalities (< or >) and a filled circle for "or equal to" inequalities (≤ or ≥). The shaded ray or segment shows all values of x that make the inequality true.

Worked Example

Let's solve a multi-step problem that combines a literal equation with an inequality, so you can see every technique in action.

Temperature Conversion — Literal Equation & Compound Inequality
1
ProblemThe formula for converting Celsius to Fahrenheit is F = (9/5)C + 32. A weather report says temperatures will be between 50°F and 77°F, inclusive. Solve for C, then find the range of Celsius temperatures.
2
Step 1 — Solve the literal equation for CStart with the formula and isolate C using inverse operations. F = (9/5)C + 32 → F − 32 = (9/5)C → (5/9)(F − 32) = C. Multiply both sides by the reciprocal 5/9 to undo the coefficient 9/5.
C = (5/9)(F − 32)
3
Step 2 — Write the compound inequalityThe temperature is between 50°F and 77°F inclusive: 50 ≤ F ≤ 77
4
Step 3 — Substitute and solve for CReplace F with the expression from Step 2, but since we already solved for C, we can plug each boundary into our formula. Lower bound: C = (5/9)(50 − 32) = (5/9)(18) = 10. Upper bound: C = (5/9)(77 − 32) = (5/9)(45) = 25.
Lower bound: C = 10; Upper bound: C = 25
5
Step 4 — State the solutionThe Celsius temperatures range from 10°C to 25°C, inclusive: 10 ≤ C ≤ 25
6
Step 5 — CheckPlug C = 10 back into the original formula: F = (9/5)(10) + 32 = 18 + 32 = 50 ✓. Plug C = 25 back in: F = (9/5)(25) + 32 = 45 + 32 = 77 ✓

Equations vs. Inequalities — Key Differences

Equations and inequalities are close relatives, but they have important differences in how they behave and what their solutions look like. The table below summarizes the main distinctions.

FeatureLinear EquationLinear Inequality
Symbol=<, >, ≤, ≥
Solution typeOne specific value (usually)A range (interval) of values
Graph on number lineA single pointA ray or segment
Adding/subtracting both sidesNo sign changeNo sign change
Multiplying/dividing by a positive numberNo sign changeNo sign change
Multiplying/dividing by a negative numberNo sign changeFLIP the inequality sign
Checking your answerSubstitute the value into the original equationPick a value from the solution set and check it
✦ Key Takeaway
Solving an inequality is like following the same GPS directions as solving an equation—except at one specific turn (multiplying or dividing by a negative), you have to reverse direction. Miss that turn, and you'll end up with the exact opposite of the correct answer. Always double-check whether you multiplied or divided by a negative, and if you did, flip the sign.

Connections to What's Ahead

The skills you've practiced here are the foundation for nearly everything that comes next in algebra and beyond. Solving literal equations, for example, is exactly what scientists and engineers do every day when they rearrange formulas for different scenarios. Here's how this lesson connects to more advanced topics:

This LessonWhere It Leads
Solving ax + b = cSystems of two equations (Algebra 1), then matrices and linear algebra (college)
Variables on both sidesSolving absolute-value equations and more complex rational equations
Literal equationsRearranging physics formulas (F = ma, V = IR), working with geometric formulas, and parametric equations
Linear inequalitiesSystems of inequalities, linear programming (optimization), and interval notation in higher math
Flipping the inequality signUnderstanding absolute-value inequalities and the behavior of functions with negative leading coefficients

Think of this lesson as the toolkit you'll carry with you through every future math and science class. The better you master isolating a variable now, the more naturally those advanced topics will unfold.

Practice Problems

Try each problem on your own before clicking "Show Answer." Work through the steps on paper—the act of writing builds deeper understanding than just reading.

PROBLEM 1CONCEPTUAL
Explain in your own words why you must flip the inequality sign when you divide both sides of an inequality by a negative number. Use a specific numerical example to support your reasoning.
PROBLEM 2BASIC CALCULATION
Solve for x: 5x − 8 = 27
PROBLEM 3INTERMEDIATE
Solve for x: 3(x − 4) + 2 = 5x − 16
PROBLEM 4APPLIED
The formula for the area of a trapezoid is A = ½(b₁ + b₂)h. A trapezoid has an area of 60 cm², a height of 8 cm, and one base of 5 cm. Solve the formula for b₂, then find its length.
PROBLEM 5CHALLENGE
Solve the inequality and graph the solution on a number line: −3(2x + 1) ≥ 4x − 23. Then determine whether x = 2 is in the solution set.

Lesson Summary

In this lesson, you learned that a linear equation in one variable has the general form ax + b = c and is solved by applying inverse operations to both sides — first undoing addition or subtraction, then undoing multiplication or division. The same procedure works for literal equations (where coefficients are letters rather than numbers): treat the letters you're not solving for as if they were ordinary numbers, and isolate the target variable step by step. When a variable appears on both sides, collect the variable terms on one side and the constants on the other before dividing.

For linear inequalities, the rules are identical to those for equations with one essential exception: multiplying or dividing both sides by a negative number reverses the inequality sign. The solution to an inequality is a range of values, shown on a number line with an open circle for strict inequalities (< or >) and a filled circle for inclusive ones (≤ or ≥). Whether you're rearranging the perimeter formula, converting temperatures, or solving a compound inequality, the underlying logic is always the same: keep the equation (or inequality) balanced, and work methodically toward isolation of the variable.

Varsity Tutors • Algebra 1 (Common Core) • Solving Linear Equations & Inequalities in One Variable