Solving a two-step balance and checking substitution
To solve 3x plus 7 equals 31, subtract 7 first, then divide by 3. The answer is x equal to 8, and substituting it into the original equation confirms the work.
The balance picture
An equation is a balance. The left side, 3x plus 7, must weigh the same as the right side, 31. Anything done to one side has to be done to the other, or the balance tips. The unknown x sits inside two operations: it was multiplied by 3 and then 7 was added. To find x you undo those operations in the opposite order, removing the 7 first and then dividing by 3. The worked cases use the basic calculator for each arithmetic step, so every move is visible, and finish by rebuilding the original expression from the answer. A reader can follow the cases like a short proof.
Undoing the addition
The fixed term 7 is added after the multiplication, so it is removed first. Subtracting 7 from both sides turns 3x plus 7 equal to 31 into 3x equal to 24. On the calculator, 31 minus 7 is 24. The remaining total of 24 belongs entirely to the variable term, which makes the next step a plain division. Working in this order keeps the numbers small and the logic clear. Each line of the solution should be a true equation, and the line 3x equal to 24 is true for exactly the same x as the line before it, which is why the move is allowed.
Undoing the multiplication
Now 3x equals 24, so x is 24 divided by 3, which the calculator reports as 8. The division is allowed because the coefficient 3 is not zero. If the coefficient were zero, the equation would read 0x plus 7 equal to 31, which has no solution, and no division would help. The value 8 is a candidate, not yet a verified answer, since arithmetic slips can happen at any step. The next section tests the candidate against the original equation, which is the strongest check available because it does not reuse the rearranged lines.
Checking against the original expression
Substitute 8 for x in the original 3x plus 7. First rebuild the variable term, 3 times 8, which is 24. Then add the fixed 7 to get 31, matching the right side. The check uses the original equation and not the rearranged one, so an error made during rearranging cannot slip through on both sides. If the final number did not match 31, the candidate would be rejected and the steps repeated. A check takes seconds and replaces the need to trust any single step. For homework or a spreadsheet model, it is a habit worth keeping. In a spreadsheet, put the candidate in one cell, the original expression in the next and a comparison against 31 in a third, and the sheet flags a bad candidate at once. The same habit scales to larger equations, where an arithmetic slip is more likely and harder to spot by eye.
What goes wrong when you divide first
Dividing both sides by 3 before removing the 7 is legal, but it must be applied to every term. The equation becomes x plus 7 over 3 equal to 31 over 3, which is x plus 2.3333 equal to 10.3333, and subtracting gives x equal to 8 again. The common error divides only 3x and the right side, leaving the 7 untouched. That produces x plus 7 equal to 10.3333 (the quotient of 31 and 3) and then x equal to 3.3333, which fails the check, since 3 times 3.3333 plus 7 is 17. Removing the fixed term first avoids fractions in the intermediate lines and reduces the chance of that slip.
Other two-step equations
The same two moves solve many equations. For 5x minus 4 equal to 26, add 4 to get 30, then divide by 5 to get 6. For 2x plus 9 equal to 3, subtract 9 to get negative 6, then divide by 2 to get negative 3. Negative answers are fine as long as the check passes: 2 times negative 3 is negative 6, plus 9 is 3. When the constant is subtracted in the original, you add it to both sides, so the inverse operation always has the opposite sign. If the equation has a variable on both sides, collect the variable terms first and then use these two steps.
Reading the answer in context
In a word problem, x stands for a real quantity, and the number must fit the situation. Suppose a plumber charges a 7 call-out fee plus 3 per fitting and the bill is 31. Then x is the number of fittings, and 8 is a sensible answer. If the solution were 8.5, a count of fittings would be wrong, and you would recheck the problem statement. Units belong in the sentence at the end, for example 8 fittings. The pure arithmetic does not know whether the quantity should be a whole number, positive or within a range.
Fractions and decimals in the coefficient
The method does not change when numbers are less tidy. For 4x plus 5 equal to 12, subtract 5 to get 7 and divide by 4 to get 1.75. The answer is a decimal, and the check, 4 times 1.75 plus 5, returns 12. Keeping the fraction 7 over 4 avoids a rounding step when the value is reused. If the coefficient is a fraction, such as one half of x plus 7 equal to 31, subtracting 7 gives 24, and multiplying by 2 undoes the one half, so x is 48. Each case is still undo, in reverse order, then check.
Equations this worksheet does not cover
The cases cover one linear equation with a single unknown, a nonzero coefficient and integer answer. They do not address equations with the unknown on both sides, squares, absolute values or systems of equations, which need other techniques. The basic calculator carries out arithmetic only and does not solve for x itself. Its value here is to show each step cleanly, so the reasoning can be reviewed line by line. When you teach or learn the method, say each step aloud in words: the total is 31, 7 of it is fixed, the remaining 24 is split into three equal parts, so each part is 8. Describing the situation this way ties the symbols to quantities and makes errors in the order of operations easier to hear than to see.
Reproduce the checks
Remove the fixed term
Open the Basic calculator and enter:
- First number
31- Operation
subtract- Second number
7
Expected output:
Result
24The remaining total belongs to the variable term.
Recover the unknown
Open the Basic calculator and enter:
- First number
24- Operation
divide- Second number
3
Expected output:
Result
8Divide by the nonzero coefficient.
Rebuild the variable term
Open the Basic calculator and enter:
- First number
3- Operation
multiply- Second number
8
Expected output:
Result
24Substitute the candidate value.
Original balance check
Open the Basic calculator and enter:
- First number
24- Operation
add- Second number
7
Expected output:
Result
31The original expression matches its target.
References and implementation scope
The examples describe the behavior of the linked Computandum tools. A successful local check does not establish that another application accepts the same format or applies the same limits.