What a Linear Equation Is
A linear equation is an equation where the variable appears only to the first power — no squares, no cubes, no square roots of the variable. Solving linear equations is one of the most practical skills in school mathematics, and the method is the same every time. The word "linear" comes from "line," because when the solutions are graphed, they form a straight line. Examples include x + 8 = 23, 4x − 9 = 27, and 3x + 8 = x + 20. Equations like x² = 49 or 1/x = 3 are not linear, and they need different methods.
Solving a linear equation means finding the number that makes both sides equal. The answer is a single value of x (except in a few special cases covered later). The method is the same every time: rearrange the equation step by step until x stands alone, keeping both sides equal at every step, then check the answer by substituting it back into the original equation.

This guide works through the method from the simplest cases to the hardest common ones, with every answer checked. The worked examples are the core of the guide — read them slowly, cover the answer, and try each one before looking.
The Golden Rule: Balance
Think of an equation as a balanced scale. The equals sign is the pivot. The left side and the right side weigh exactly the same. Solving means changing the shape of the scale without ever tipping it: whatever is done to one side must be done to the other side, in exactly the same way.
That single rule explains the whole method. To remove "+ 8" from the left side, subtract 8 from both sides. To remove "times 4," divide both sides by 4. Each step keeps the equation true, and after enough steps the variable is alone on one side and the answer is visible on the other.
The operations used to undo others are called inverse operations. Addition and subtraction are inverses of each other; multiplication and division are inverses of each other. Solving an equation is mostly a matter of choosing the right inverse operation, in the right order, and applying it to both sides.
Step 1: One-Step Equations
A one-step equation needs exactly one inverse operation. There are four kinds, one for each operation attached to the variable.
Addition: x + 8 = 23. The variable has 8 added to it, so subtract 8 from both sides. x = 23 − 8, which is 15. Check: 15 + 8 = 23. Correct.
Subtraction: x − 6 = 14. Add 6 to both sides. x = 20. Check: 20 − 6 = 14. Correct.
Multiplication: 7x = 56. The variable is multiplied by 7, so divide both sides by 7. x = 8. Check: 7 times 8 = 56. Correct.
Division: x ÷ 5 = 9. Multiply both sides by 5. x = 45. Check: 45 ÷ 5 = 9. Correct.
One-step equations are quick, but they teach the habit that matters most in this whole subject: always check the answer. Substitution takes a few seconds and catches almost every careless mistake. A linear equation calculator can confirm the working for any of these, but the habit of checking by hand is what makes the method stick.
Step 2: Two-Step Equations
A two-step equation has two operations wrapped around the variable, such as 4x − 9 = 27. The variable is multiplied by 4 and then 9 is subtracted. Undo the operations in reverse order: first undo the addition or subtraction, then undo the multiplication or division.
Solve 4x − 9 = 27:
- Add 9 to both sides: 4x = 36.
- Divide both sides by 4: x = 9.
Check: 4 times 9 is 36, minus 9 is 27. The answer is correct.
Solve −3x + 10 = 4:
- Subtract 10 from both sides: −3x = −6.
- Divide both sides by −3: x = 2. (A negative divided by a negative is positive.)
Check: −3 times 2 is −6, plus 10 is 4. Correct.
Solve x ÷ 3 − 2 = 5:
- Add 2 to both sides: x ÷ 3 = 7.
- Multiply both sides by 3: x = 21.
Check: 21 ÷ 3 is 7, minus 2 is 5. Correct.
The pattern never changes: strip away the addition or subtraction first, then the multiplication or division. Doing it the other way around also works sometimes, but it creates fractions and extra steps, so the standard order is the reliable one.
Step 3: Equations with Parentheses
Parentheses group terms together, and the group usually has to be opened before the variable can be isolated. The tool for this is the distributive property: multiply the number outside the parentheses by every term inside.
Solve 5(x − 2) = 35:
- Distribute the 5: 5x − 10 = 35.
- Add 10 to both sides: 5x = 45.
- Divide both sides by 5: x = 9.
Check: x − 2 is 7, and 5 times 7 is 35. Correct.
Solve −2(x − 5) = 18:
- Distribute the −2: −2x + 10 = 18.
- Subtract 10 from both sides: −2x = 8.
- Divide both sides by −2: x = −4.
Check: x − 5 is −9, and −2 times −9 is 18. Correct. Watch the signs here: distributing a negative number flips the sign of every term inside the parentheses.
There is often a shortcut. In 5(x − 2) = 35, dividing both sides by 5 first gives x − 2 = 7, so x = 9 in two steps instead of three. The shortcut works whenever the number outside the parentheses divides neatly into the other side. Both routes give the same answer, and using both on the same problem is an excellent way to double-check.
Step 4: Variables on Both Sides
Some equations have the variable on both sides, like 3x + 8 = x + 20. The new step is to collect all the variable terms on one side and all the constants on the other side, using the same balance rule.
Solve 3x + 8 = x + 20:
- Subtract x from both sides to remove the variable from the right: 2x + 8 = 20.
- Subtract 8 from both sides: 2x = 12.
- Divide both sides by 2: x = 6.
Check by substituting 6 into the original equation: the left side is 3 times 6 plus 8, which is 26; the right side is 6 plus 20, which is also 26. Both sides match, so x = 6 is correct.
It does not matter which side the variables are collected on. Subtracting 3x from both sides instead would give 8 = −2x + 20, and the same answer, x = 6, comes out after a few more steps. Collecting on the side that keeps the coefficient positive usually means fewer sign errors.
A slightly harder version: 7x − 4 = 3x + 16.
- Subtract 3x from both sides: 4x − 4 = 16.
- Add 4 to both sides: 4x = 20.
- Divide by 4: x = 5.
Check: the left side is 35 − 4, which is 31; the right side is 15 + 16, which is also 31. Correct.
Step 5: Equations with Fractions
Fractions slow many people down, but one trick removes them entirely: multiply both sides by a number that clears the denominators. For a single fraction, multiply by its denominator.
Solve (3/4)x + 5 = 17:
- Subtract 5 from both sides: (3/4)x = 12.
- Multiply both sides by 4/3, the reciprocal of 3/4: x = 12 times 4/3, which is 16.
Check: three-quarters of 16 is 12, plus 5 is 17. Correct.
Solve x/6 + 4 = 9:
- Subtract 4: x/6 = 5.
- Multiply both sides by 6: x = 30.
Check: 30 ÷ 6 is 5, plus 4 is 9. Correct.
When an equation has several different denominators, multiply everything by the least common multiple of all of them. For x/2 + x/3 = 10, multiply both sides by 6: 3x + 2x = 60, so 5x = 60 and x = 12. Check: 12 ÷ 2 is 6, 12 ÷ 3 is 4, and 6 + 4 is 10. Correct. Clearing denominators first turns a fraction problem into an ordinary one.
Step 6: Equations with Decimals
Decimals behave exactly like fractions, and the same clearing trick applies: multiply both sides by 10, 100, or 1,000 to move the decimal point out of the way.
Solve 0.6x = 18:
Divide both sides by 0.6: x = 30. Check: 0.6 times 30 is 18. Correct. Dividing by a decimal is awkward, so an easier route is to multiply both sides by 10 first: 6x = 180, so x = 30.
Solve 0.5x + 1.2 = 4.7:
- Multiply both sides by 10 to clear the decimals: 5x + 12 = 47.
- Subtract 12: 5x = 35.
- Divide by 5: x = 7.
Check in the original equation: 0.5 times 7 is 3.5, plus 1.2 is 4.7. Correct.
Money problems are the most common place decimals appear, and the same trick works there too: multiply everything by 100 to work in cents instead of dollars.
The Complete Method in One List
Putting all the steps together, here is the full procedure for any linear equation:
- Clear fractions and decimals by multiplying both sides by a suitable number.
- Remove parentheses by distributing.
- Combine like terms on each side separately.
- Move variable terms to one side and constants to the other, using inverse operations on both sides.
- Isolate the variable by dividing (or multiplying) both sides by the coefficient.
- Check the answer by substituting it into the original equation.
No step is ever skipped, and the order matters: clearing fractions first and combining like terms early keeps the numbers small and the signs manageable.
Word Problems: Translating English into Equations
Most real linear equations start life as sentences. The skill is translation: turning words into symbols before solving anything.
Money: A gym charges a $25 joining fee plus $12 per month. After how many months does the total reach $145? Let m be the months: 25 + 12m = 145. Subtract 25: 12m = 120. Divide by 12: m = 10. Check: 25 plus 120 is 145. Ten months.
Phone plans: Plan A costs $30 per month plus $0.05 per minute. Plan B costs $45 flat. At how many minutes do the plans cost the same? Set them equal: 30 + 0.05m = 45. Subtract 30: 0.05m = 15. Divide by 0.05: m = 300. Check: 30 plus 0.05 times 300 is 30 plus 15, which is 45. The plans tie at 300 minutes; below that, Plan A is cheaper, and above it, Plan B wins.
Age: Ana is twice as old as Ben, and their ages add to 36. Let Ben's age be b. Then Ana is 2b, and b + 2b = 36, so 3b = 36 and b = 12. Ben is 12 and Ana is 24. Check: 24 is twice 12, and 24 plus 12 is 36.
Distance: A car travels 240 miles at a steady 60 miles per hour. How long does the trip take? Distance equals speed times time: 240 = 60t. Divide by 60: t = 4 hours. Check: 60 times 4 is 240.
Geometry: A rectangle's length is three times its width, and its perimeter is 48 inches. Let the width be w, so the length is 3w. The perimeter is 2 times the length plus 2 times the width: 2(3w) + 2w = 48, which simplifies to 8w = 48, so w = 6 and the length is 18. Check: 2 times 18 plus 2 times 6 is 36 plus 12, which is 48. Correct.
The translation step deserves as much care as the solving step. Phrases like "five less than twice a number" mean 2x − 5, not 5 − 2x — the order of the words and the order of the operations are not always the same, so read the sentence twice before writing the equation.
Special Cases: No Solution and Infinite Solutions
Not every linear equation has exactly one answer. Two special cases exist, and recognizing them saves a lot of confusion.
No solution. Solve 2x + 3 = 2x + 7. Subtract 2x from both sides: 3 = 7. That is false, and no value of x can make it true. The equation has no solution. The variable cancelled out completely and left a false statement — that is the signal.
Infinite solutions. Solve 3(x + 2) = 3x + 6. Distribute the left side: 3x + 6 = 3x + 6. Subtract 3x from both sides: 6 = 6. That is always true, no matter what x is. Every number is a solution, because both sides are the same expression in disguise.
Both cases are easy to spot once the pattern is known: if the variable disappears and a false statement remains, there is no solution; if it disappears and a true statement remains, every number works. In ordinary problems with one clear answer, neither case appears.
Graphing the Solution
A linear equation in one variable can also be read off a graph. The equation 2x + 3 = 11 asks where the line y = 2x + 3 reaches a height of 11. Solving gives x = 4, and the point (4, 11) sits on the line: 2 times 4 plus 3 is 11. The graph and the algebra agree, as they always must.
For equations with two variables, such as x + y = 10, the graph is a line of possible pairs: (0, 10), (1, 9), (2, 8), and so on. Adding a second equation, x − y = 4, gives a second line, and the two lines cross at exactly one point: (7, 3). Check both equations: 7 + 3 is 10, and 7 − 3 is 4. That crossing point is the solution of the system — two equations solved together. Systems appear whenever two conditions must hold at once, like two budgets or two schedules, and they are solved by the same balance rules, applied to both equations.
The Five Most Common Mistakes
Doing something to only one side. Every operation must touch both sides. Adding 5 to the left and forgetting the right is the single most frequent error in all of algebra.
Sign errors with negatives. Subtracting a negative adds: 8 − (−3) = 11. Multiplying two negatives gives a positive: (−4) times (−3) = 12. Dividing −6 by −3 gives 2, not −2. Slow down wherever a minus sign appears.
Distributing to only one term. In 3(x + 4), the 3 multiplies both x and 4, giving 3x + 12. Forgetting the second term is a classic slip.
Dividing only part of an expression. In (6x + 9) ÷ 3, both terms divide: 2x + 3. The 9 is not exempt.
Skipping the check. The check is not optional decoration. It takes seconds, catches nearly every careless error, and confirms the answer in the original equation — not in a simplified version where a mistake may have been baked in. When the check fails, the error is in the working, and re-doing the steps slowly almost always finds it.
Practice Plan
Skill in solving linear equations comes from short, regular practice, not from marathon sessions. A good routine is ten problems a day for a week, mixing the types: two one-step, two two-step, two with parentheses, two with variables on both sides, one with fractions, and one word problem. Check every answer by substitution, and for any that fail, find the exact step where the balance broke rather than just copying the right answer.
While practicing, a scientific calculator is useful for the arithmetic — dividing by decimals, working with fractions — so that attention stays on the algebra: which operation to undo, and in what order. The goal is to separate the two skills. Algebra decides what to compute; arithmetic computes it.
Speed comes last. First comes accuracy: every answer checked, every check passing. Once the method is reliable, speed follows on its own, because the same six steps repeat in every problem.
The Bottom Line
Solving a linear equation is a repeatable procedure, not a talent. Clear fractions and decimals, remove parentheses, combine like terms, gather the variables on one side and the constants on the other, isolate the variable, and check the answer by substitution. Every example in this guide followed those steps, and every answer was verified against the original equation.
The check is the part that separates a confident answer from a guess. When both sides of the original equation come out equal after substitution, the work is done — and it is right.