How to Solve Linear Equations
A step-by-step method for solving linear equations in one variable, including equations with parentheses, fractions, and variables on both sides, plus how to spot equations with no solution or infinitely many.
What you'll learn
- What makes an equation linear, and what it means to solve one
- How to use inverse operations to isolate the variable
- A reliable four-step method for multi-step linear equations
- How to clear fractions from an equation
- How to recognize equations with no solution or infinitely many solutions
Introduction
Solving a linear equation means finding the value of the variable that makes both sides equal. For example, the solution to is , because really is 22. This article shows a method that works for every linear equation in one variable, no matter how many steps it takes.
Why this matters
Linear equations model any situation with a constant rate: a phone plan with a monthly fee plus a per-gigabyte charge, a taxi fare, or the temperature conversion . Solving them is also the core skill behind nearly everything else in algebra. Systems of equations, inequalities, and rearranging formulas all build on it.
The concept
What a linear equation is
Definition — Linear equation in one variable
A linear equation in one variable is an equation that can be written in the form , where , , and are numbers and . The variable appears only to the first power. It is never squared, under a square root, or in a denominator.
and are linear. is not, because is squared.
Keeping the equation balanced
An equation is like a balanced scale. You can do anything you like to one side as long as you do exactly the same thing to the other side. The properties of equality make this precise: you can add, subtract, multiply, or divide both sides by the same number (except dividing by zero), and the equation stays true.
To get the variable alone, you use inverse operations, which are operations that undo each other. Subtraction undoes addition, and division undoes multiplication.
Example — Undoing operations in reverse order
Problem: Solve .
The expression was built by multiplying by 3 and then adding 7. To undo it, reverse the order: subtract 7 first, then divide by 3.
Check: . ✓
The four-step method
For longer equations, follow these steps in order:
- Simplify each side. Distribute to remove parentheses and combine like terms on each side separately.
- Collect the variable terms on one side. Add or subtract variable terms so they all end up on the same side.
- Collect the constant terms on the other side. Add or subtract numbers so they all end up on the other side.
- Divide by the coefficient of the variable. Then check your answer in the original equation.
Worked examples
Example — Worked example 1: parentheses and variables on both sides
Problem: Solve .
Step 1 (simplify): Distribute the 5 to both terms in the parentheses:
Step 2 (variables to one side): Subtract from both sides:
Step 3 (constants to the other side): Add 10 to both sides:
Step 4 (divide): .
Check: The left side is . The right side is . ✓
Answer:
Example — Worked example 2: negative coefficients
Problem: Solve .
Step 1: Each side is already simplified.
Step 2: Add to both sides so the variable terms are together on the right with a positive coefficient:
Step 3: Subtract 19 from both sides:
Step 4: Divide by 6: .
Check: The left side is . The right side is . ✓
Answer:
Example — Worked example 3: clearing fractions
Problem: Solve .
Fractions make every step messier, so start by getting rid of them. The least common denominator of 4, 3, and 6 is 12. Multiply every term on both sides by 12:
Now it's a two-step equation. Subtract 8 to get , then divide by 3:
Check: , and . ✓
Answer: . Answers don't have to be whole numbers.
When there isn't exactly one solution
Most linear equations have exactly one solution, but two special cases are worth recognizing. In both, the variable disappears completely while you're solving.
Example — No solution
Problem: Solve .
Distribute to get . Subtracting from both sides leaves , which is false.
No value of can make a false statement true, so the equation has no solution.
Example — Infinitely many solutions
Problem: Solve .
Distribute to get . Both sides are identical. Subtracting leaves , which is always true.
Every value of works, so the equation has infinitely many solutions. An equation like this is called an identity.
Common mistakes
Warning — Distributing to only the first term
is , not . The number outside the parentheses multiplies every term inside.
Warning — Clearing fractions from only some terms
When you multiply an equation by 12 to clear fractions, every term on both sides gets multiplied, including terms that weren't fractions. Turning into is wrong. The correct result is .
Warning — Sign errors when moving terms
"Moving a term to the other side" is shorthand for adding or subtracting it on both sides, and its sign flips in the process. In , you add 6 to both sides to get , not . If you're unsure, write out the operation on both sides instead of using the shortcut.
Practice questions
-
Solve .
Show answer
. Add 9 to both sides to get , then divide by 4. Check: .
-
Solve .
Show answer
. Distribute to get . Subtract to get . Subtract 2 to get , so . Check: and .
-
Solve .
Show answer
. Multiply both sides by 6 to get , which is . Subtract and add 6 to get . Check: and .
-
How many solutions does have?
Show answer
Infinitely many. The left side simplifies to , which is identical to the right side. Every value of makes it true.
Summary
- A linear equation has its variable only to the first power. Solving it means finding the value that makes both sides equal.
- Whatever you do to one side, do to the other. Use inverse operations to undo what was done to the variable, in reverse order.
- For multi-step equations: simplify each side, collect variable terms, collect constants, then divide.
- Clear fractions by multiplying every term by the least common denominator.
- If the variable cancels out, a false statement means no solution and a true statement means infinitely many.
For more practice, work through the multi-step equations lesson in the Algebra I curriculum.