Numbers in generalized form

Every number you have ever written down is secretly hiding a sum in disguise. The digit "3" in 36 is not just a symbol next to a "6" — it stands for three tens, thirty, while the 6 stands for six ones. Once you write that idea as an algebraic formula, 10a+b10a+b, a whole class of number puzzles that look like magic tricks turn into ordinary equation-solving. This is the opening idea of the ICSE Class 8 chapter Playing with Numbers, and it is the tool that later derives the divisibility tests for 2, 3, 5, 9 and 10. Here we build the generalized form of 2-digit and 3-digit numbers, use it to explain what happens when digits are reversed, and solve digit puzzles by turning words into algebra.

The core insight

Writing a number by place value as an algebraic sum of digit times power of ten — for example 10a+b10a+b for a 2-digit number — turns digit puzzles and divisibility facts into solvable algebra instead of guesswork.

The core idea

Place value as algebra. A 2-digit number is built from a tens digit and a units digit. If the tens digit is aa and the units digit is bb, the number is not the two symbols side by side — it is ten times the tens digit plus the units digit:

ab‾=10a+b\overline{ab} = 10a + b

where: ab‾\overline{ab} denotes the 2-digit number with tens digit aa and units digit bb (the bar is notation for "the number formed by these digits," not multiplication); a∈{1,…,9}a \in \{1,\dots,9\} since a leading digit cannot be zero; b∈{0,…,9}b \in \{0,\dots,9\}.

Extending to 3 digits. The same reasoning stacks one more place value on top. A 3-digit number with hundreds digit aa, tens digit bb, and units digit cc is

abc‾=100a+10b+c,a∈{1,…,9}, b,c∈{0,…,9}\overline{abc} = 100a + 10b + c, \qquad a \in \{1,\dots,9\},\ b,c \in \{0,\dots,9\}

where: 100a100a is the hundreds contribution, 10b10b the tens contribution, cc the units contribution. The same pattern extends to 4 digits as 1000a+100b+10c+d1000a+100b+10c+d, though the syllabus mainly works with 2- and 3-digit numbers, since those already carry every technique you need.

Reversing digits. Swapping the digits of ab‾=10a+b\overline{ab}=10a+b gives ba‾=10b+a\overline{ba}=10b+a. Because both are algebraic expressions in the same two letters, you can add or subtract them like any other algebra:

ab‾+ba‾=11(a+b),ab‾−ba‾=9(a−b)\overline{ab}+\overline{ba} = 11(a+b), \qquad \overline{ab}-\overline{ba} = 9(a-b)

where: aa and bb are the original digits, so the sum of a 2-digit number and its digit-reversal is always a multiple of 11, and (for a>ba>b) their difference is always a multiple of 9 — regardless of which digits you actually pick.

Why the digit ranges matter. The restriction a∈{1,…,9}a\in\{1,\dots,9\} for the leading digit is not a technicality to memorise — it is what keeps ab‾\overline{ab} genuinely 2-digit. If you allowed a=0a=0, the expression 10a+b10a+b would collapse to just bb, a 1-digit number wearing a fake tens place. The same logic fixes a∈{1,…,9}a\in\{1,\dots,9\} in the 3-digit form while bb and cc, sitting in the tens and units places, are free to be any digit from 0 to 9, including 0, without breaking the number's digit count. The figure below shows how the same digit pair, reversed, always lands its sum on a multiple of 11 on a number line — a fact you can now prove instead of just notice.

Figure
Number line showing 25 plus 52 equals 77 and 48 plus 84 equals 132 both landing on multiples of 11
Digit-reversal sums always land on a multiple of 11 25 52 77 = 11 x 7 25 + 52 = 77, a multiple of 11 48 84 132 = 11 x 12 48 + 84 = 132, also a multiple of 11
Derivation AWhy digit-reversal sums and differences always hide a common factor

The goal is to prove, using nothing but the generalized-form expressions and ordinary algebra, that for any 2-digit number the sum with its digit-reversal is always a multiple of 11 and the difference (larger minus smaller) is always a multiple of 9 — a fact you could otherwise only guess at by trying many examples one at a time.

Step 1. Write both numbers in generalized form. Let the original number be ab‾=10a+b\overline{ab}=10a+b with tens digit aa and units digit bb. Reversing the digits gives ba‾=10b+a\overline{ba}=10b+a, where the digit that was in the tens place now sits in the units place and vice versa.

Step 2. Add the two expressions. ab‾+ba‾=(10a+b)+(10b+a)\overline{ab}+\overline{ba} = (10a+b)+(10b+a). Collecting the aa terms and the bb terms separately gives 11a+11b11a+11b, which factors as 11(a+b)11(a+b).

Step 3. Read off the conclusion for the sum. Since a+ba+b is always a whole number (it is just the digit sum, at most 9+9=189+9=18), the expression 11(a+b)11(a+b) is always 1111 times a whole number — so the sum of any 2-digit number and its reverse is guaranteed to be a multiple of 11, for every possible choice of digits, not just the ones you happen to test.

Step 4. Subtract the two expressions the same way. ab‾−ba‾=(10a+b)−(10b+a)=9a−9b=9(a−b)\overline{ab}-\overline{ba} = (10a+b)-(10b+a) = 9a-9b = 9(a-b). The tens and units contributions cancel down to a clean multiple of 9, exactly mirroring the multiple-of-11 pattern found for the sum.

Step 5. State the guaranteed result. Whenever a>ba>b, the difference ab‾−ba‾\overline{ab}-\overline{ba} is always 9(a−b)9(a-b), a positive multiple of 9; whenever b>ab>a the same algebra gives a negative multiple of 9, meaning the reversed number is the larger one by that same multiple of 9. Both identities hold for every digit pair, which is exactly the power of generalized form: one short algebraic argument replaces checking all 90 possible 2-digit numbers by hand.

Worked example

Problem. A 2-digit number is written as ab‾\overline{ab}. When its digits are reversed, the new number is 27 more than the original number, and the sum of its digits is 9. Find the original number.

Step 1. Set up the generalized-form expressions. Let the tens digit be aa and the units digit be bb, so the number is 10a+b10a+b and the reversed number is 10b+a10b+a.

Step 2. Translate the digit-sum condition into an equation. The digits add to 9, so a+b=9a+b=9.

Step 3. Translate the second condition into an equation. The reversed number is 27 more than the original: 10b+a=(10a+b)+2710b+a = (10a+b)+27. Rearranging, 10b+a−10a−b=2710b+a-10a-b=27, which simplifies to 9b−9a=279b-9a=27, or b−a=3b-a=3.

Step 4. Solve the pair of equations a+b=9a+b=9 and b−a=3b-a=3 together. Adding them eliminates aa: 2b=122b=12, so b=6b=6. Substituting back gives a=9−6=3a=9-6=3.

Step 5. Assemble and check the answer. The original number is 10(3)+6=3610(3)+6=36. Reversed, it is 63, and indeed 63=36+2763=36+27; the digit sum is 3+6=93+6=9. Both conditions hold, so the original number is 36.

Competitive stretch

The same generalized-form method extends to three digits. For a number abc‾=100a+10b+c\overline{abc}=100a+10b+c with a=2ba=2b, c=b+1c=b+1, and digit sum 1313, substituting the first two conditions into a+b+c=13a+b+c=13 gives 2b+b+(b+1)=132b+b+(b+1)=13, so 4b=124b=12 and b=3b=3. Then a=2(3)=6a=2(3)=6 and c=3+1=4c=3+1=4, giving abc‾=100(6)+10(3)+4=634\overline{abc}=100(6)+10(3)+4=\mathbf{634}. Checking: a=6=2×3a=6=2\times3, c=4=3+1c=4=3+1, digit sum 6+3+4=136+3+4=13 — all conditions confirmed. Notice the pattern: every extra digit condition just becomes one more linear equation, so a 3-digit puzzle is solved exactly the way a 2-digit one is, only with one extra letter to track.

Common traps

  • Writing ab‾\overline{ab} as the product a×ba\times b instead of 10a+b10a+b. The bar notation means "the number with these digits," not multiplication — always expand it by place value first.
  • Forgetting the restriction a≠0a\neq0 for the leading digit; in 10a+b10a+b or 100a+10b+c100a+10b+c, the first digit cannot be zero, or the number would really have fewer digits.
  • Mixing up digit values with the number itself — thinking 47 equals 4+74+7 instead of 10(4)+710(4)+7.
  • Sign errors when subtracting a reversed number: ab‾−ba‾=9(a−b)\overline{ab}-\overline{ba}=9(a-b) is only positive when a>ba>b; if b>ab>a, the difference is negative unless you swap which number you subtract from which.

Ask the tutor: Want to practice turning a tricky "reverse the digits" or "digit sum" word problem into equations step by step? Ask the AI tutor for a few more examples.

Why is ab written as 10a + b instead of just a followed by b

Writing digits side by side, like "36", is fine for reading a number, but it hides what each digit is actually worth. The 3 in 36 is not "three" — it is three groups of ten, or 30. Generalized form makes that hidden value explicit as 10a+b10a+b, so you can treat the number as an algebraic expression and manipulate it with equations, which plain digit-writing does not let you do.

Do I always subtract the smaller reversed number from the bigger one

Yes, for the identity ab‾−ba‾=9(a−b)\overline{ab}-\overline{ba}=9(a-b) to come out positive, you need a>ba>b, meaning the original number's tens digit is bigger than its units digit. If instead b>ab>a, the reversed number is actually larger, and the same algebra gives a negative multiple of 9 — which simply tells you to subtract in the other order to get a positive answer.

Does generalized form work for numbers with more than 3 digits

Yes. The pattern keeps extending one place value at a time: a 4-digit number is 1000a+100b+10c+d1000a+100b+10c+d, a 5-digit number adds a 1000010000 place, and so on. The ICSE Class 8 syllabus mostly sticks to 2- and 3-digit examples because they are enough to build every reasoning technique — writing the number algebraically, reversing digits, and solving the resulting equations — that longer numbers would only repeat.

Before this

Where this leads