Solve Linear Equations Step by Step
Screenshot any linear equation — both-sides variables, parentheses, fractions — and get every isolating step in seconds.
Try for free- Works on any screenshot — textbook, PDF, or worksheet
- Full step-by-step solutions, not just the final answer
- Free to start — no account needed
- 1Add to both sides: .
- 2Divide both sides by : .
- 3Check: ✓.
What is a linear equation?
A linear equation is an equation where the variable appears only to the first power — no , no , no . Graphed, every linear equation draws a straight line, which is where the name comes from.
The general shape you will meet is : variable terms and constants can sit on both sides, sometimes wrapped in parentheses or fractions. Solving means legally rearranging — doing the same thing to both sides — until the variable stands alone.
Unlike one-step and two-step equations, a full linear equation usually needs simplifying first: distribute parentheses, combine like terms on each side, and only then start moving terms across the equals sign.
Where you'll actually use this
- Budgeting: "a $30 base fee plus $12 per month equals $126 — how many months?" is a linear equation.
- Unit conversion and pricing: comparing two phone plans or ride fares means solving where two linear expressions are equal.
- Physics: constant-speed motion problems () are linear in time.
- The slope-intercept form underpins trend lines and simple predictions in statistics.
The formulas you need
Keep these on hand — every method below builds on them.
Variables and constants on both sides — collect variables on one side, constants on the other.
Subtract b from both sides, then divide by a — every linear solve reduces to this.
The two-variable cousin: m is the slope, b is where the line crosses the y-axis.
If the variable cancels entirely, the leftover statement decides: true → infinitely many, false → no solution.
How to solve linear equations
Pick the method that fits the problem in front of you.
- 1Undo addition or subtraction first: move the constant to the other side.
- 2Undo multiplication or division: divide both sides by the coefficient.
- 3Check by substituting the answer back into the original equation.
Linear Equations, solved step by step
From easy to hard — pick a problem to see its full solution.
- 1Add to both sides: .
- 2Divide both sides by : .
- 3Check: ✓.
- 1Subtract from both sides: .
- 2Add to both sides: .
- 3Divide both sides by : .
- 1Distribute the left side: .
- 2Subtract from both sides: .
- 3Add to both sides: .
- 1Multiply every term by the least common denominator, : .
- 2Combine like terms: .
- 3Divide by : .
- 4Check: ✓.
- 1Subtract from both sides: .
- 2The variable vanished and left a false statement.
- 3A false statement means the equation has no solution — the two lines are parallel and never meet.
Try it on your own linear equations homework
Photo Math Solver reads a linear equation straight from a screenshot — a worksheet PDF, a textbook page, an online quiz — and returns the full solution: distributing, combining like terms, and isolating the variable, one labeled step at a time. No losing a sign while retyping, and no wondering which term to move first.

Now you try
Work each one on paper first, then check your answer.
Stuck on your linear equations homework? Screenshot it
When a linear equation has variables on both sides plus parentheses to distribute, it is easy to lose track of a sign while retyping it. Screenshot it with Photo Math Solver instead — it captures the equation exactly as written and walks through combining and isolating terms the same way.
Where points get lost
Each of these shows up on real graded work — and each has a simple fix.
| The mistake | Why it happens | The fix |
|---|---|---|
| Moving a term across the equals sign without flipping its sign. | "Move it over" is taught as a shortcut, and the sign flip that justifies it gets forgotten under time pressure. | Think "subtract from both sides," not "move." Writing the operation on both sides makes the sign change automatic. |
| Distributing into the first term only: becoming . | The eye latches onto the first term inside the parentheses and moves on. | Draw the two distribution arrows before writing anything: and , giving . |
| Losing a negative when distributing a minus: becoming . | Two sign rules stack ( times ), and one of them gets dropped. | Multiply signs explicitly: , so . |
| Dividing only one term by the coefficient at the last step. | After several steps the equation looks solved, and the division gets applied to just the nearest term. | The final division applies to the entire side. From , first combine (), then divide everything: . |
Photo Math Solver shows every intermediate step, so slips like these are easy to catch before they cost you marks.
Frequently asked questions
Related topics
Factoring, the quadratic formula, and completing the square — from x² − 5x + 6 = 0 to complex roots.
Systems of EquationsSubstitution, elimination and graphing for two unknowns, including no-solution and infinite cases.
DerivativesPower, product, quotient, and chain rule — from simple polynomials to nested compositions.
Two-Step EquationsTwo operations, undone in reverse order — including negative coefficients and fraction forms.