How Abstraction Works, From Three Apples to the Number Three
Follow the climb from objects to numbers, letters and structures, and learn what each step keeps, discards and makes possible.
Key takeaways
- Abstraction selects what several situations share and deliberately ignores how they differ.
- A number such as three can be understood through pairing: collections that match one to one have the same size.
- Higher levels of abstraction let one proof apply to many systems that look unrelated.
- An abstraction is useful only where the ignored details really do not affect the answer.
Abstraction means keeping the features of a situation that matter for a question and setting aside the rest. Three apples, three drumbeats and three days have no color, sound or length in common. What they share can be isolated and studied on its own, and we call it the number three.
The same move, repeated, produces most of mathematics. Numbers abstract from collections, letters abstract from numbers, and structures abstract from whole systems of rules. Each step gives up detail and gains reach.
Matching before counting
You can tell that two collections are the same size without knowing any number words. Give each guest one cup. If no guest is left without a cup and no cup is left over, the guests and cups match one to one.
This pairing is the heart of the idea. A collection of apples and a collection of drumbeats "have three" when each can be matched exactly with the other, and with the words "one, two, three". Children learning to count face a real discovery here: the last word said while counting tells how many there are in the whole group, and the order in which you touch the objects does not change it.
The idea of matching reaches far beyond small numbers. It is how mathematicians compare infinite collections, as explained in proving that two infinite sets have the same size.
What gets thrown away
To get "three" from three apples you discard ripeness, weight, position and the fact that they are fruit. You also discard which apple is which. What remains survives any rearrangement.
That loss is the source of power. Once you know 3 + 4 = 7, you know it for apples, coins, days and anything else made of separate items that stay separate when brought together.
The last condition matters. Pour 3 drops of water onto 4 drops and you may get one puddle. Nothing is wrong with 3 + 4 = 7. Drops that merge simply do not fit the model, because "separate items that stay separate" was part of the bargain.
Different ways to pin down a number
What is the number three, once the apples are gone? Mathematicians and philosophers have offered several answers.
One approach, developed in different forms by Gottlob Frege and Bertrand Russell, identifies a number with what all collections of that size have in common. Another builds stand-ins out of sets alone. In a construction due to John von Neumann, 0 is the empty set and each number is the set of all earlier numbers, so 3 is the set {0, 1, 2}, which has three members. Building numbers from sets carries this out.
A third approach, associated with the Peano axioms, does not say what numbers are made of. It lists how they behave: there is a first number, every number has a successor, and so on. Three is then whatever sits in the right place in any system obeying those rules. Which account is best is a live question in the philosophy of mathematics, and arithmetic works the same under each.
Numbers that leave the apples behind
Once numbers stand on their own, they can be extended in ways that collections cannot follow. There is no pile of −3 apples. Yet if you demand that every subtraction have an answer, you need a number x with x + 3 = 0.
Negative numbers find their meaning in other situations: a temperature below zero, a debt, a position to the left of a starting point. Zero, too, was a hard-won idea, both as a placeholder in written numbers and as a number that can be added and multiplied.
The same demand drives further steps. Asking that every division by a nonzero number have an answer leads to fractions. Asking for a number whose square is −1 leads to complex numbers, which describe rotations in the plane very naturally. At each stage some familiar picture is given up, and the rules of calculation are what hold the system together.
x + 3 = 0 needs negative numbers x = −3
3x = 2 needs fractions x = 2/3
x² = 2 needs irrational numbers x = ±√2
x² = −1 needs complex numbers x = ±i The ladder of abstraction
Abstraction does not stop at numbers.
Each higher rung ignores something that the rung below still tracks.
With a variable, you stop caring which number you have. The statement n + (n + 1) = 2n + 1 says at once that the sum of any two consecutive whole numbers is odd.
With a function, you stop caring about particular inputs and study the rule itself. You can ask whether it can be reversed, or combine it with another rule. See what a function is.
When different things turn out to be the same
At the top of the ladder, you stop caring what the objects are and keep only how they combine. Compare these two systems.
A: remainders 0, 1, 2 under addition, discarding multiples of 3
B: turns of an equilateral triangle by 0°, 120°, 240°, done one after another
match: 0 ↔ 0° 1 ↔ 120° 2 ↔ 240°
in A: 2 + 2 = 4, which leaves remainder 1
in B: 240° followed by 240° is 480°, the same as 120° Every sum in A matches the corresponding combined turn in B. As far as combining goes, the two are one system with two sets of labels. This relationship is called an isomorphism.
Both are examples of a group: a set with one way of combining elements that is associative (grouping does not matter), has an identity element that changes nothing, and gives every element an inverse that undoes it. Any theorem proved from those three rules holds for both systems, and for countless others involving matrices, permutations and symmetries.
Treating different things as one
A related technique is to declare that certain different objects count as equal for present purposes. The fractions 1/2, 2/4 and 50/100 are written differently, yet they name one rational number. A 12-hour clock treats 3 o'clock and 15:00 as the same position.
To do this safely, the notion of "counts as the same" must be reflexive, symmetric and transitive, and your operations must give the same result whichever representative you choose. Equivalence relations make those requirements precise.
Abstraction in solving problems
In the city of Königsberg, seven bridges joined four pieces of land, and people asked whether a walk could cross each bridge exactly once. Euler's analysis in the 1730s showed that the shapes and distances were irrelevant. Only which land areas each bridge joined mattered.
Today we draw this as a graph: a dot for each land area and a line for each bridge. Every dot there has an odd number of lines. A walk using each line once can have at most two such dots, its start and finish, so no walk exists. The bridge argument also settles any other network with the same description.
You abstract in the same way whenever you replace a story with symbols. Suppose a taxi charges a fixed fee plus a rate per kilometer, and a plumber charges a call-out fee plus an hourly rate. Both are y = a + bx. Whatever you learn about one equation applies to both.
What abstraction costs
Detail that you discard cannot come back from inside the model. The average of a list forgets how spread out the list is. A network diagram of a subway forgets distances, which is fine for choosing a transfer and poor for estimating a walk.
So every use of an abstraction carries a question: did I throw away something the answer depends on? When a prediction fails, the logic is often sound and the choice of what to ignore is at fault.
There is a human cost too. Symbols introduced before a learner has seen examples can feel empty. This is the reason behind approaches that move from objects to pictures to symbols, described in the concrete-pictorial-abstract sequence. Teachers differ over how much time to spend at each stage. Those favoring concrete work stress that meaning has to come from somewhere. Those favoring earlier symbols warn that learners can cling to particular objects and miss the general idea.
Choosing what to keep
There is no single correct abstraction of a situation. It depends on the question. Take a hypothetical delivery route through a town.
| Question | Keep | Discard |
|---|---|---|
| Can every street be walked once? | which corners each street joins | lengths, names, bends |
| What is the shortest round trip? | the joins and the lengths | names, scenery |
| How much paint for the curbs? | lengths | which corners connect |
Each row produces a different mathematical object from the same streets. Skill in applying mathematics is largely skill in making this choice and then revisiting it when the answers disagree with what you observe.
How to get comfortable with abstract ideas
Try moving up and down the ladder deliberately.
- When you meet a general definition, write down three examples and one thing that fails to qualify.
- When you meet several similar examples, list what they share and try to state it without naming any of them.
- Prove a claim for one case, then mark every step that used something special about that case.
- After an abstract argument, run it once on actual numbers.
Competent mathematicians keep concrete pictures close at hand even when working at great generality. Why mathematicians generalize shows what they gain by climbing.