How to Solve Linear Equations
Every linear equation can be solved with the same four-part routine: simplify, collect, isolate, check. Follow it in order and you will not need to guess which move comes next.
The four-part routine
- Simplify each side: expand brackets and combine like terms.
- Collect the unknown on one side and numbers on the other.
- Isolate by dividing by the coefficient of x.
- Check by substituting back into the original equation.
Undoing operations in reverse
If x has been multiplied by 4 and then had 9 subtracted, undo it backwards: add 9 first, then divide by 4. This reverse-order thinking is the heart of equation solving.
Special situations
Fractions: multiply both sides by the common denominator. Decimals: multiply by 10 or 100 to clear them, or work directly. Unknown on both sides: subtract the smaller x-term from both sides first. If the unknowns cancel entirely, you have no solution or infinitely many, as explained on the linear equation solver page. For stories that lead to equations, see how to solve word problems.
Worked examples
Example 1: Basic: 4x − 9 = 11
- Add 9 to both sides: 4x = 20.
- Divide by 4: x = 5.
- Check: 4(5) − 9 = 11 ✓
Final answer: x = 5
Example 2: Negative coefficient: 7 − 2x = 15
- Subtract 7 from both sides: −2x = 8.
- Divide by −2: x = −4.
- Check: 7 − 2(−4) = 15 ✓
Final answer: x = −4
Example 3: Unknown on both sides: 6x + 1 = 4x + 9
- Subtract 4x: 2x + 1 = 9.
- Subtract 1: 2x = 8.
- Divide by 2: x = 4.
Final answer: x = 4
Example 4: Fraction: (x + 1)/3 = 5
- Multiply both sides by 3: x + 1 = 15.
- Subtract 1.
Final answer: x = 14
Example 5: Decimal: 0.5x + 1.2 = 3.7
- Subtract 1.2: 0.5x = 2.5.
- Divide by 0.5.
Final answer: x = 5
Common mistakes to avoid
- Changing only one side of the equation.
- Losing a negative sign when moving a term.
- Dividing only part of one side.
- Stopping before x is isolated.
- Not checking the answer.
Frequently asked questions
What is the first step in solving a linear equation?
Simplify both sides by expanding brackets and combining like terms.
How do I know if my answer is right?
Substitute it into the original equation; both sides must be equal.
Can linear equations have two solutions?
No. They have one solution, none or infinitely many.
What if x is in the denominator?
That is not a linear equation; multiply through by the denominator and check which type you get.
Related math tools and guides
Explore all math tools
Math solvers
Learning tools
How-to guides
AI-generated solutions are for learning purposes. Always verify important answers.
