Solving Two-Digit Number Reversal with Algebra

Number Theory 9th-10th Grade
PROBLEM
When you reverse the digits in a certain two-digit number you decrease its value by 36. What is the number if the sum of its digits is 12?

What This Problem Teaches

  • How to translate digit relationships into algebraic equations
  • Understanding place value through variables (tens digit vs units digit)
  • Setting up and solving systems of linear equations from word problems
  • Recognizing the mathematical pattern behind digit reversal (factor of 9)
  • Converting between different representations of the same number

Solution: Method 1 — System of Equations

This problem asks us to work backwards from constraints about a number to find the number itself. The key insight is to represent the unknown number in terms of its individual digits.

Step 1 — Define variables for the digits

Let t be the tens digit and u be the units digit of our mystery number. So our number can be written as 10t + u (this captures the place value: the tens digit contributes 10 times its face value).

Step 2 — Express the reversed number

When we reverse the digits, the tens and units positions swap. So the reversed number is 10u + t.

Step 3 — Write the first equation from the decrease condition

We're told that reversing decreases the value by 36. This means:

Original number - Reversed number = 36
(10t + u) - (10u + t) = 36

Step 4 — Simplify the first equation

Let's expand and collect like terms:

10t + u - 10u - t = 36
9t - 9u = 36
9(t - u) = 36
t - u = 4

Step 5 — Write the second equation from the digit sum

We're told the sum of the digits is 12:

t + u = 12

Step 6 — Solve the system of equations

Now we have two equations in two unknowns:
• t - u = 4
• t + u = 12

Adding these equations eliminates u:

(t - u) + (t + u) = 4 + 12
2t = 16
t = 8

Substituting back to find u:

8 + u = 12
u = 4

Step 7 — Form the original number

The original number is 10t + u = 10(8) + 4 = 84.

Solution: Method 2 — The Pattern Recognition Approach

If you've seen several digit reversal problems, you might recognize a powerful shortcut that makes this much faster.

Step 1 — Use the reversal pattern

For any two-digit number, the difference when reversing is always 9 × (difference between digits). Since reversing decreases our number by 36:

9(t - u) = 36
t - u = 4

Step 2 — Combine with the digit sum

We also know t + u = 12. Now we can solve these directly:

t - u = 4
t + u = 12
─────────
2t = 16, so t = 8
Therefore u = 12 - 8 = 4

Step 3 — The number is 84

This pattern-based approach reaches the same answer in fewer steps once you recognize that digit reversal differences are always multiples of 9.

The Answer: 84

Verification

Let's check our answer by testing both conditions:

Check the digit sum: 8 + 4 = 12 ✓

Check the reversal decrease:

Original number: 84
Reversed number: 48
Difference: 84 - 48 = 36 ✓

Both conditions are satisfied, confirming our answer is correct.

Common Pitfalls

✗ Mistake 1: Setting up the wrong difference equation

Writing (10u + t) - (10t + u) = 36 instead of (10t + u) - (10u + t) = 36. The problem states that reversing decreases the value, so the original must be larger than the reversed.

✗ Mistake 2: Forgetting place value in the number representation

Writing the number as t + u instead of 10t + u. The tens digit must be multiplied by 10 because of its position.

✗ Mistake 3: Confusing which digit is which

Getting the final answer as 48 instead of 84 by mixing up the tens and units positions. Always double-check by verifying which digit goes in which position.

The Pattern Behind This

There's a beautiful general pattern here that's worth understanding. For any two-digit number with tens digit a and units digit b:

Original number = 10a + b
Reversed number = 10b + a
Difference = (10a + b) - (10b + a) = 9a - 9b = 9(a - b)

This is why the difference when reversing is always a multiple of 9. In our problem, the difference is 36 = 9 × 4, which immediately tells us the tens digit exceeds the units digit by 4.

This pattern makes digit reversal problems much faster to solve once recognized. Look for the factor of 9 in the given difference, and you can skip straight to finding how the digits differ.

Where Students Go Wrong

The trickiest part of this problem type is correctly interpreting "decrease by 36." Students often write the equation backwards, getting (10u + t) - (10t + u) = 36, which leads to a digit difference of -4. This would mean the units digit is 4 larger than the tens digit, giving us 48 instead of 84.

The key is to always start by identifying which number is larger. If reversing "decreases" the value, then the original number must be larger than the reversed number.

What If?

1
Different Digit Sum
When you reverse the digits in a certain two-digit number you decrease its value by 36. What is the number if the sum of its digits is 10?
Step 1 — Set up the equations

Let t be tens digit, u be units digit. From reversal: t - u = 4 (same as before). From digit sum: t + u = 10.

Step 2 — Solve the system

Adding equations: 2t = 14, so t = 7. Then u = 10 - 7 = 3.

Step 3 — The answer

The number is 73.

Step 4 — Verify

Check: 73 - 37 = 36 ✓ and 7 + 3 = 10 ✓

2
Increase Instead
When you reverse the digits in a certain two-digit number you increase its value by 45. What is the number if the sum of its digits is 11?
Step 1 — Set up equations carefully

Since reversing increases the value: (10u + t) - (10t + u) = 45, which simplifies to u - t = 5. Also: t + u = 11.

Step 2 — Solve the system

From u - t = 5 and t + u = 11: Adding gives 2u = 16, so u = 8 and t = 3.

Step 3 — The answer

The number is 38.

Step 4 — Verify

Check: 83 - 38 = 45 ✓ and 3 + 8 = 11 ✓

3
Three Digits
The sum of the digits of a three-digit number is 15. When you reverse all the digits, the value decreases by 198. If the middle digit is 5, what is the number?
Step 1 — Set up with three digits

Let the number be 100h + 50 + u where h is hundreds digit, u is units digit. Reversed: 100u + 50 + h.

Step 2 — Write the equations

Digit sum: h + 5 + u = 15, so h + u = 10.
Decrease: (100h + 50 + u) - (100u + 50 + h) = 198, so 99h - 99u = 198, giving h - u = 2.

Step 3 — Solve

From h + u = 10 and h - u = 2: 2h = 12, so h = 6 and u = 4.

Step 4 — The answer

The number is 654.

Step 5 — Verify

Check: 654 - 456 = 198 ✓ and 6 + 5 + 4 = 15 ✓

4
Work Backwards
You know that a two-digit number has digits that differ by 3, and when reversed, the number increases by 27. The tens digit is larger than the units digit. What was the original number?
Step 1 — Use the pattern shortcut

Since reversing increases by 27, and 27 = 9 × 3, the units digit exceeds tens digit by 3. But we're told tens > units, so there's a contradiction to resolve.

Step 2 — Interpret correctly

Given tens > units and they differ by 3: t - u = 3. If reversing increases by 27: (10u + t) - (10t + u) = 27, giving u - t = 3. This contradicts t - u = 3.

Step 3 — Check the problem setup

The constraint that tens > units but reversing increases the value is impossible. Let's assume the problem meant reversing decreases by 27.

Step 4 — Solve with corrected interpretation

If t - u = 3 and we need another constraint, let's try small values. If t = 4, u = 1: number is 41, reversed is 14, difference is 27 ✓

Step 5 — The answer

The number is 41 (assuming the problem meant "decreases").

Frequently Asked Questions

How do you set up equations for a two-digit number reversal problem?+
Use variables for the tens digit (t) and units digit (u). The original number equals 10t + u, and the reversed number equals 10u + t. Then write equations based on the given constraints: one for the difference when reversed, another for the digit sum.
Why does reversing digits create a difference of 9 times the digit difference?+
When you reverse a two-digit number, the mathematical difference is (10t + u) - (10u + t) = 9t - 9u = 9(t - u). The factor of 9 comes from the place value system - moving a digit from tens to units (or vice versa) changes its value by a factor of 10.
What's the fastest way to solve digit reversal problems?+
Use the shortcut that the difference when reversing equals 9 times the difference between digits. If reversing decreases by 36, then the tens digit exceeds the units digit by 36÷9 = 4. Combined with the digit sum, you can solve quickly without full algebra.
NJ
Neven Jurkovic, PhD

Professor of Computer Science, Palo Alto College, Alamo Colleges District, San Antonio, TX

Developer of Algebrator

Contact

This solution was prepared with AI assistance and reviewed by Dr. Jurkovic for mathematical accuracy and pedagogical clarity.

2026-11-12