Solve x + 5 = 2

x + 5 = 2 gives x = −3, and it is worth a page because a negative answer still reads as suspicious to a lot of people learning this. The step is a single subtraction: take 5 from both sides and the left becomes x while the right becomes 2 − 5 = −3. Nothing unusual has happened. The equation asks wh...

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 2 at this value, checked against the equation as you typed it.

As typedx + 5 = 2
Tidiedx + 5 = 2
All on one sidex + 3 = 0

THE ANSWER PUT BACK INTO WHAT YOU TYPED

left side → 2

right side → 2

COEFFICIENT OF X

1

it survives, so there is one solution

CONSTANT LEFT OVER

3

what is left after moving across

AS A DECIMAL

−3

exact — the answer is a whole number

BOTH SIDES THERE

2

the two sides agree at the answer

WHAT IS HAPPENING

1Expand each side and collect like terms

x + 5 = 2

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

x + 3 = 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 = −3 ÷ 1 = −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 2 · right 2

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 answertidiedx + 52=subtract the right-hand side from bothx + 3 = 0the x coefficient is 1, 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−7.81.88.2−4.2x = −3left side: x + 5right side: 2

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

Created with❤️byeaglecalculator.com

HOW TO USE

  1. 1

    Subtract 5 from both sides. The left becomes x on its own; the right becomes 2 − 5, which is −3.

  2. 2

    Read the answer as it is: x = −3. There is no second step, because the coefficient of x is 1.

  3. 3

    Check in the original: −3 + 5 = 2, matching the right-hand side exactly.

  4. 4

    Picture it on a number line: starting at −3 and moving five to the right lands on 2.

WORKED EXAMPLE

x + 5 = 2 One step. Subtract 5 from both sides: x + 5 − 5 = 2 − 5 x = −3 Check: −3 + 5 = 2 ✓ The subtraction on the right is the only place anything can go wrong. 2 − 5 crosses zero, so the answer is negative, and reading it as 5 − 2 = 3 gives a positive answer that fails the check immediately: 3 + 5 = 8, not 2. The number-line reading makes the sign obvious. Adding five means moving five places to the right. The journey ends at 2, so it began five places to the left of 2 — count back from 2 through 1, 0, −1, −2 to −3. Notice there is no dividing step at all here, because the coefficient of x is 1. That invisible 1 is worth naming: x means 1x, and when the coefficient is 1 the final division is by 1 and does nothing. It is the same two-step method with one step that happens to be free.

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 5 from both sides gives x = 2 − 5, and 2 − 5 is −3 because the subtraction crosses zero. The check confirms it: −3 + 5 = 2, which is the right-hand side. The common slip is computing 5 − 2 instead and answering 3, which substitutes back to 8.

  • ·x = −3
  • ·2 − 5 = −3, crossing zero
  • ·−3 + 5 = 2 ✓
  • ·The wrong order gives 3, which checks to 8

RELATED CALCULATORS

MORE ALGEBRA CALCULATORS

Was this calculator helpful?

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