Solving linear equations means finding the variable value that makes a first-degree equation true.
ax+b=c
Quick Answer
Solving linear equations means finding the variable value that makes a first-degree equation true. Use it whenever the unknown appears only to the first power, as in 5x−7=2x+8, and you need its exact value. The method is to undo what was done to the variable, in reverse order, doing the same thing to both sides. Gather the variable terms on one side and the plain numbers on the other, then divide: here 3x=15, so x=5.
Why This Matters
Most formulas you meet, from distance = rate × time to a phone bill, eventually have to be run backwards: you know the total and need the input. Solving a linear equation is that backwards run. Without a reliable method, students guess numbers, and guessing stops working as soon as the answer is −43 or 2.6 instead of a whole number.
Intuitive Explanation
Solving is unwrapping. In 3x+5=20, the left side was built by taking x, multiplying by 3, then adding 5. To get back to x you peel the layers off in the opposite order, the way you take off shoes before socks: first subtract 5 (giving 3x=15), then divide by 3 (giving x=5). Order of operations tells you how the wrapping was done, so it also tells you how to unwrap.
When x appears on both sides, as in 5x−7=2x+8, gather the x terms first. Subtract 2x from both sides to get 3x−7=8, add 7 to get 3x=15, and divide to get x=5. Brackets are cleared first with the distributive property: 2(x+4)=22 becomes 2x+8=22, then 2x=14 and x=7.
Not every linear equation has exactly one answer. 2x+3=2x+7 simplifies to 3=7, which is never true, so there is no solution. 2(x+3)=2x+6 simplifies to 6=6, true for every x. When the x terms cancel, what is left tells you which case you have. And an equation like x2=9 is not linear at all: undoing a square gives two answers, 3 and −3.
Think of it like this.Solving works like retracing a walk. If the directions were "go 3 blocks north, then 5 blocks east," you get back by going 5 blocks west first, then 3 blocks south: opposite moves, in reverse order. An equation adds one rule the walk doesn't have: each reverse move must be made on both sides at once.
Core idea.Solving a linear equation is preserving equality while isolating the unknown.
When to Use
Use this method when an equation has one unknown that is never squared, never in a denominator and never in an exponent, and you need its exact value. Typical signals are "solve for", "what value of", or a total that must equal a given number. With two unknowns and two equations, use Systems of Equations; if the variable is squared, use quadratic methods; if the sign is < or ≥, solve it as an inequality and watch for sign flips.
Tip.Ask: Is there an equals sign and a variable value to find?
How to Recognize It
Before you start undoing operations, check what power the unknown is raised to, how many unknowns there are, and which sign sits between the two sides.
1.
Is the unknown only ever multiplied by numbers and added to numbers, never squared, under a root or in a denominator?
If yes, the equation is linear and undoing steps will isolate it. If x2 appears, switch to quadratic methods. If x sits in a denominator, multiply it out first and check the answer at the end.
2.
Is there only one unknown letter?
If yes, one equation can pin it down. If there are two unknowns, like a count of adults and a count of children, one equation is not enough; you need a second fact and a system of equations.
3.
Is the sign between the sides = rather than <, >, ≤ or ≥?
If yes, the answer is one number. With an inequality sign the same steps work, but dividing by a negative flips the sign and the answer becomes a range.
4.
Does the unknown appear on both sides, as in 7x+2=3x+18?
If yes, first gather the x terms on one side: subtracting 3x gives 4x+2=18, so x=4. If the x terms cancel completely, the equation has either no solution or every number as a solution.
Solving Linear Equations compared with Expression simplification and Systems of equations
Simplifying an expression, solving one linear equation and solving a system use the same moves: combining like terms and doing the same thing to both sides. Ask whether there is an equals sign at all and how many unknowns it involves.
Solving Linear Equations compared with Expression simplification and Systems of equations
Type
Meaning
Key test
Formula
Example
Solving Linear Equations
Use this when an equality contains an unknown value and only first powers of the variable.
Is there an equals sign and a variable value to find?
ax+b=c
Solve 3x+5=20.
Expression simplification
Rewrites an expression without finding a single value.
Use when there is no equals sign.
3x+2x=5x
Simplify
Systems of equations
Solves two or more equations at once.
Use when two unknowns are constrained together.
x+y=5
Two lines intersect
Solving Linear Equations
Meaning
Use this when an equality contains an unknown value and only first powers of the variable.
Key test
Is there an equals sign and a variable value to find?
Formula
ax+b=c
Example
Solve 3x+5=20.
Expression simplification
Meaning
Rewrites an expression without finding a single value.
Key test
Use when there is no equals sign.
Formula
3x+2x=5x
Example
Simplify
Systems of equations
Meaning
Solves two or more equations at once.
Key test
Use when two unknowns are constrained together.
Formula
x+y=5
Example
Two lines intersect
Formula & Notation
ax+b=c
∀a,b,c∈R,a=0:ax+b=c⟺x=ac−b (unique solution in R).
How to read it:Solving means finding the value of the variable that makes the equation true.
Worked Examples
Example 1 — Two-step equation
Easy
Solve 3x+5=20.
Show the steps and the answer
Read how x was built: multiplied by 3, then 5 added.
Order of operations puts multiplication before addition, so the +5 is the outer layer.
Subtract 5 from both sides: 3x=15.
The outer layer comes off first, from both sides, so the equation stays balanced.
Divide both sides by 3: x=5.
With the 5 gone, only the multiplication by 3 stands between you and x.
Put x=5 back in: 3(5)+5=15+5=20.
20 on the left matches 20 on the right, so 5 is the solution.
Answer:x=5
Takeaway:Undo the last operation first: subtract the added number, then divide by the coefficient.
Example 2 — Simplify only
Standard
Simplify 3x+5x+20.
Show the steps and the answer
Check for an equals sign: there isn't one.
Without = there is no claim to make true, so inverse operations have nothing to work on.
Combine the like terms: 3x+5x=8x.
Both terms have the variable part x, so their coefficients add: 3+5=8.
Leave 20 as it is: 8x+20.
20 has no x, so it can't join 8x; writing 28x would be the unlike-terms error.
Answer:8x+20
Takeaway:An expression only gets tidied. If it read 3x+5x+20=60, you would continue to 8x=40 and x=5.
Example 3 — Find the mistake: combining unlike terms
Application
Solve 4x+3=2x+11. Rae writes: "4x+3=7x, so 7x=2x+11, then 5x=11 and x=2.2." Where does Rae go wrong, and what is x?
Show the steps and the answer
Test Rae's answer: the left side is 4(2.2)+3=11.8 and the right side is 2(2.2)+11=15.4.
The two sides disagree, so one of the steps changed the equation.
Find the step: 4x+3 became 7x.
4x and 3 are unlike terms, one with x and one without, so they cannot be added; 4x+3 equals 7x only when x=1.
Gather the x terms correctly: subtract 2x from both sides to get 2x+3=11.
Bringing variable terms together is a both-sides move, not a merge within one side.
Finish: subtract 3 to get 2x=8, then divide by 2 to get x=4.
The equation now has the familiar two-step shape.
Check: 4(4)+3=19 and 2(4)+11=19.
Both sides equal 19, so x=4 works in the original equation.
Answer:x=4
Takeaway:Only like terms combine; to bring the x terms together, subtract one of them from both sides.
Where You'll See It
Taxi fare budget
A taxi charges $3.50 plus $2.25 per mile. With $30 to spend, 3.50+2.25m=30 gives 2.25m=26.50, so m≈11.8. You can afford about 11 full miles.
Comparing gym memberships
Gym A costs $40 to join plus $25 a month; Gym B costs $10 to join plus $30 a month. Solving 40+25m=10+30m gives 30=5m, so m=6. Both cost $190 after 6 months, and Gym A is cheaper from then on.
Working toward a concert trip
You earn $12 an hour, have saved $84, and need $300. Solving 84+12h=300 gives 12h=216, so h=18 more hours of work.
Common Mistakes
The slip:Doing an operation to only one side
Instead:preserve equality by doing the same operation to both sides.
The slip:Combining unlike terms
Instead:only combine terms with the same variable part.
The slip:Stopping before checking
Instead:substitute the solution back into the original equation.
Mini Practice
Try these on your own. Tap Reveal when you want to check.
1.
Solve the equation 2x+7=19 for x.
Hint:Undo the adding first, then the multiplying.
2.
Solve 3(x−4)=15 and check your answer.
Hint:You can divide both sides by 3 first.
3.
Solve 7x−3=4x+18, and check your answer.
Hint:Move the x terms to one side and the numbers to the other.
4.
A gym charges a $30 sign-up fee plus $12 per month. Mara has paid $114 in total. Write an equation and find how many months she has been a member.
Hint:The fee is paid once; the $12 is paid every month.
5.
Problem 1: "A number tripled, minus 4, is 23." Problem 2: "Two numbers add to 23 and differ by 4." Which can be solved as one linear equation in one unknown? Solve it.
Hint:Count the unknown numbers in each problem.
6.
Solving 4x+6=2x+14, a student writes "6x+6=14, so 6x=8". Find the error and solve correctly.
Hint:To move 2x off the right side, which operation must happen on both sides?
Want the full set?
50 practice questions for this concept — free to try, every one with a complete worked
solution showing the why, not just the answer.
No, but it is usually tidier. In 3x+4=19, the x was multiplied by 3 and then had 4 added, so undoing in reverse means subtracting 4 and then dividing by 3, giving x=5. Dividing first is also legal, as long as you divide every term: x+34=319. That reaches the same answer but brings in fractions along the way.
What should I do when the equation has fractions, like 3x+4x=7?
Multiply every term on both sides by a number that clears all the denominators, here 12. That gives 4x+3x=84, so 7x=84 and x=12. Check: 312+412=4+3=7. The step only works if you multiply every term: forget the 7 on the right and you get 7x=7, a wrong answer caused by one skipped term.
Can a linear equation have a decimal or negative answer?
Yes, often. 4x+9=3 gives 4x=−6, so x=−1.5, and checking gives 4(−1.5)+9=3. Nothing in the method assumes a whole-number answer. The story may object, though: if x counted people, an answer of −1.5 would tell you that the situation is impossible as described, or that the equation was set up wrongly.
Is it fine to move a term to the other side and change its sign?
Yes, as long as you know what the shortcut stands for: it is subtracting (or adding) on both sides in one move. In x+7=12, 'moving the 7 across as −7' really means subtracting 7 from both sides. The trouble starts with multiplication: in 3x=12, the 3 does not become −3; you divide both sides by 3 to get x=4.
You need Equations (the balance rule) and Order of Operations (which tells you the order to undo things) first. This concept adds a dependable sequence: clear brackets, gather the variable terms, gather the numbers, divide. Next, Linear Functions use the same steps to find an input from an output, and Systems of Equations solve two linear equations at once.