Solve 5x = 2x + 9

5x = 2x + 9 is the first genuinely different shape: the unknown appears on both sides, so before anything can be undone it has to be gathered in one place. Subtract 2x from both sides. The left goes from 5x to 3x and the right loses its 2x entirely, leaving 3x = 9. From there it is a single divisio...

Type the equation as it is written, brackets and all. Three answers are possible and all three are real: one value, no value, or every value. When the unknown cancels out that is not a failure — it is the answer, and which of the two it is depends on the constant left behind. Anything that is not linear is refused rather than fudged: x² and an unknown in a denominator both get a reason, not a number. Decimals are read as exact fractions, so 0.1 + 0.2 is 3/10 here rather than 0.30000000000000004.

THE EQUATION

Brackets, fractions, decimals and the unknown on both sides all work. Any single letter can be the unknown.

ONE SOLUTION

x = 3

Both sides come to 15 at this value, checked against the equation as you typed it.

As typed5x = 2x + 9
Tidied5x = 2x + 9
All on one side3x − 9 = 0

THE ANSWER PUT BACK INTO WHAT YOU TYPED

left side → 15

right side → 15

COEFFICIENT OF X

3

it survives, so there is one solution

CONSTANT LEFT OVER

−9

what is left after moving across

AS A DECIMAL

3

exact — the answer is a whole number

BOTH SIDES THERE

15

the two sides agree at the answer

WHAT IS HAPPENING

1Expand each side and collect like terms

5x = 2x + 9

Brackets multiplied out, numbers combined, and everything written as a multiple of the unknown plus a constant. Nothing has been moved across the equals sign yet — this is only tidying.

2Bring everything to one side

3x − 9 = 0

Subtracting the right-hand side from the left. What matters now is the coefficient of the unknown: if it survives there is one solution, and if it cancels the answer depends entirely on the constant left behind.

3Divide by the coefficient

x = 9 ÷ 3 = 3

The coefficient of the unknown is not zero, so there is exactly one value that works. Kept as a fraction, because most solutions are not whole numbers and a rounded one does not satisfy the equation.

4Put it back into the original

left 15 · right 15

Both sides are evaluated at the answer from the expressions as they were typed, not from the tidied version. If those two numbers differ, something went wrong earlier and this is where it shows.

WHAT MOVES WHEREthe right-hand side is subtracted from the left, and what survives decides the answertidied5x2x + 9=subtract the right-hand side from both3x − 9 = 0the x coefficient is 3, which is not zeroso dividing by it gives the one value that works

Why there are exactly three answers. Each side of a linear equation describes a straight line, and asking where they are equal is asking where the lines meet. Two straight lines can cross once, run parallel and never meet, or be the same line and meet everywhere. There is no fourth possibility, which is why an equation like this can never have exactly two solutions — and why the case that looks like a dead end, the one where the unknown vanishes, is really the graph telling you the lines were parallel or identical all along.

EACH SIDE AS A LINEthe two lines cross once, and the crossing is the solution−1.87.846.2−16.2x = 3left side: 5xright side: 2x + 9

Exact fractions throughout · the answer is substituted into the equation as you typed it

Created with❤️byeaglecalculator.com

HOW TO USE

  1. 1

    Subtract 2x from both sides. The left becomes 3x and the right becomes 9 — the unknown is now in one place only.

  2. 2

    Divide both sides by 3, giving x = 3. Nine divides by three exactly.

  3. 3

    Check in the original, both sides separately: 5(3) = 15 and 2(3) + 9 = 6 + 9 = 15. They agree.

  4. 4

    Try collecting on the right instead: subtracting 5x from both sides gives 0 = −3x + 9, which leads to the same x = 3 with an extra sign to manage.

WORKED EXAMPLE

5x = 2x + 9 The unknown is on both sides, so gather it first. Subtract 2x from each side: 5x − 2x = 2x + 9 − 2x 3x = 9 Only the coefficients combine: 5x − 2x is 3x. It is not 3, and it is not 7x. Now one division: x = 3 Check both sides of the original separately, which is the right way to check an equation with terms on both sides: left: 5(3) = 15 right: 2(3) + 9 = 6 + 9 = 15 ✓ You could collect on the right instead. Subtracting 5x from both sides gives 0 = 2x + 9 − 5x = −3x + 9 then subtracting 9 gives −9 = −3x, and dividing by −3 gives x = 3 again. Same answer, two extra negatives to keep track of. Choosing the side that leaves a positive coefficient is not a rule, but it removes a place where errors like to live.

REFERENCE RULES

RuleWhat it saysWhy
What counts as linearthe unknown to the first powerNo x², no x under a division, no x inside a root.
One solutionthe x terms do not cancelThe usual case. Divide by what is left of the coefficient.
No solution2x + 1 = 2x + 3The x terms cancel and the constants disagree. Parallel lines.
Every number works2(x+1) = 2x + 2Both sides are the same expression. An identity, not an equation.
Cancelling is not failureit is the answerWhich of the two answers depends on what is left behind.
Do the same to both sidesadd, subtract, multiply, divideAny of the four, as long as you never divide by zero.
Clearing fractionsmultiply by the common denominatorLegitimate because it is done to both sides equally.
Expanding bracketsmultiply every term insideThe commonest slip is missing the last term of a long bracket.
A negative outside a bracket−(x − 3) = −x + 3Both signs flip. The second one is the one people miss.
Most answers are fractions71.3% of small casesA whole-number answer is the exception, not the norm.
Decimals are not decimal0.1 + 0.2 ≠ 0.3 in binaryTyped decimals are read as exact fractions here.
Two letters is a systemx + y = 3One equation with two unknowns needs a second equation.
Check by substitutingput the answer back inInto the original, not the tidied version — that is the real check.
The graph readingeach side is a lineThe solution is where they cross; parallel means none, identical means all.

FREQUENTLY ASKED QUESTIONS

x = 3. Subtracting 2x from both sides gives 3x = 9, and dividing by 3 gives 3. Checking each side of the original separately: the left is 5(3) = 15 and the right is 2(3) + 9 = 15, so they agree.

  • ·x = 3
  • ·3x = 9 after subtracting 2x
  • ·Left: 5(3) = 15
  • ·Right: 2(3) + 9 = 15 ✓

RELATED CALCULATORS

MORE ALGEBRA CALCULATORS

Was this calculator helpful?

Last updated: August 30, 2026 · Exact fractions throughout, never floating point · When the unknown cancels, that is the answer rather than a failure.