Not sure which lesson to do first? Find your level and get a plan →

Math · Sets & Logic · Grade 9-12

Abstraction

Abstraction is identifying the essential features common to many specific cases while ignoring irrelevant details.


Quick Answer

Abstraction is identifying the essential features common to many specific cases while ignoring irrelevant details. Use it when several problems feel the same underneath and you want one idea or formula to handle them all. The number 3 is an abstraction: three apples, three goals and three days share 'threeness' once you drop what is being counted. Algebra does the same with patterns: 2+3=3+2 and 7+1=1+7 become a+b=b+a. The skill lies in choosing what to keep and what to drop.

Why This Matters

Abstraction is why one result can solve thousands of problems. Once handshakes among n people are seen as 'pairs chosen from n things', the same formula n(n−1)2 counts round-robin games, roads joining every pair of towns, and lines through points. Without it every new story looks like a new problem; with a careless abstraction you drop a detail that changes the answer.

Intuitive Explanation

Consider three problems. Six people each shake hands once with every other person. Six teams each play every other team once. Six towns are each joined to every other town by one road. On the surface they are about hands, games and roads. Underneath, each asks how many pairs can be chosen from 6 things. Drop the story, keep that structure, and one calculation answers all three: 6×52=15.

That move is abstraction: keep the features that decide the answer and drop the ones that don't. Whether the things are people or towns doesn't matter. What matters is that each pair is counted once and nothing pairs with itself. Abstraction is precise, not vague: you can say exactly what the cases share, and the result, n(n−1)2 pairs from n things, applies to every situation with that structure.

It is easy to drop too much. If teams play every other team twice, home and away, order matters and the count becomes 6×5=30 games. A good abstraction keeps every feature that changes the answer. Generalization is a related but different move: it takes one known result and stretches it to more cases, while abstraction extracts the common structure from many cases.

Think of it like this. Abstraction is what a subway map does to a city: it drops street names, distances and buildings and keeps only the stations and which lines connect them. That is all a rider needs to plan a route. Try to estimate walking distance from it, though, and it fails, because distance was one of the details it threw away.

Core idea. Abstraction strips away the specific details to keep only the structure that many cases share.


When to Use

Abstract when different-looking situations seem to ask the same question: 'each pair once', 'split into equal groups', 'doubles every step'. Strip the story, name the shared structure, then solve it once. Before trusting the result, check that nothing you dropped (order, repeats, limits) changes the answer. If you are extending one known result to new cases, you are generalizing; if you are choosing a format for an idea, you are choosing a representation.

Tip. Ask: Am I keeping only the features common to many cases and discarding the rest?

How to Recognize It

Before stripping a problem down, compare it with problems you have already solved and work out which of its details actually affect the answer.

  1. Do two problems with different stories lead to the same calculation, like handshakes among 10 people and games in a 10-team league where each pair plays once?

    If yes, abstract: both count pairs, (102)=45, so one method solves both. If no, and only the numbers differ within one story, you are re-solving the same problem, not abstracting.

  2. Would changing a detail you plan to drop change the answer?

    If yes, that detail is essential and must stay: order matters for gold, silver and bronze medals, but not for handshakes. If no, as with names or colours, drop it.

  3. Are you widening one proven result to a bigger family of cases, rather than finding what several cases share?

    If yes, you are generalizing, as when the Pythagorean theorem grows into the law of cosines for any triangle. If no, and you are distilling a shared core from several examples, it is abstraction.

  4. Is the idea already identified, so that you are only choosing how to show it, as a graph, table or equation?

    If yes, that is choosing a representation. If no, and you still need to find what the cases have in common, keep abstracting before you pick a format.

Abstraction compared with Generalization, Representation, and Modeling

Abstraction, generalization, representation and modeling all move between specific cases and general ideas. Ask what happens to the details: dropped to reveal a shared core (abstraction), kept while a known result widens (generalization), re-expressed in a new format (representation), or kept where relevant to fit a real situation (modeling).

Abstraction

Meaning
Use when many specific cases share an underlying structure and you want to keep only the features common to all of them, discarding the rest.
Key test
Am I keeping only the features common to many cases and discarding the rest?
Formula
ϕ:S→Si
Example
What is common to '2 + 3 = 3 + 2', '7 + 1 = 1 + 7', and '5 + 4 = 4 + 5'?

Generalization

Meaning
Use when you take one established case or result and extend it to a wider class of cases.
Key test
Am I broadening one case to a whole class rather than distilling shared structure?
Formula
P(n)⇒∀n P(n)
Example
From 'this 3-4-5 triangle is right' to 'every triangle with a2+b2=c2 is right'.

Representation

Meaning
Use when you encode an already-identified idea in a chosen format rather than stripping it to essentials.
Key test
Am I expressing the idea as a graph, table, or equation?
Formula
idea↦form
Example
Showing the same relationship as a graph and as a formula.

Modeling

Meaning
Use when you build a usable structure for a real situation, keeping the relevant specific details.
Key test
Am I capturing a real problem while keeping its relevant specifics?
Formula
y=f(x)
Example
A formula for ticket revenue from price and number sold.

Formula & Notation

Worked Examples

Example 1 — See the shared structure

Easy

What is common to '2 + 3 = 3 + 2', '7 + 1 = 1 + 7', and '5 + 4 = 4 + 5'?
Show the steps and the answer
  1. Line up the three equations: 2+3=3+2, 7+1=1+7, 5+4=4+5.

    Seeing them side by side shows what changes and what stays fixed.

  2. Mark what varies: the particular numbers (2 and 3, 7 and 1, 5 and 4).

    Anything that differs from case to case is a detail to drop.

  3. Mark what is shared: two numbers are added, and the right side adds them in the reverse order.

    That shared pattern is the structure worth keeping.

  4. Replace the numbers with letters, a+b=b+a, and test a new case: 10+6=16=6+10.

    Letters stand for any numbers, and a fresh case checks that the pattern holds beyond the three examples.

Answer: The abstraction: a+b=b+a (commutativity)

Takeaway: Abstraction keeps the pattern and replaces the varying details with letters: the order of addition never changes the sum.

Example 2 — Going wider, not deeper

Standard

From 'this 3-4-5 triangle is right' we say 'every triangle with sides a,b,c where a2+b2=c2 is right.' Is that abstraction?
Show the steps and the answer
  1. Look at the starting point: one triangle, 3-4-5, where 32+42=9+16=25=52.

    The argument begins from a single case, not from several cases compared side by side.

  2. Look at the conclusion: every triangle whose sides satisfy a2+b2=c2 is right-angled.

    Stretching one result to a whole class of cases is what generalization does.

  3. Contrast with abstraction: comparing 3-4-5, 5-12-13 and 8-15-17 and noticing that each satisfies a2+b2=c2.

    That move extracts a shared structure from many cases (25+144=169, 64+225=289); the given argument extends one.

  4. Note that the general claim needs its own proof, the converse of Pythagoras' theorem.

    One case can suggest a general rule but cannot establish it.

Answer: That is generalization, a related but distinct move

Takeaway: Abstraction distils what many cases share; generalization extends one result to more cases, and still needs a proof.

Example 3 — Find the mistake: dropping a detail that matters

Application

In a league of 8 teams, every team plays every other team twice, once at home and once away. Lin abstracts: "This is just choosing pairs from 8 things, so there are 8×72=28 games." Find the mistake and correct it.
Show the steps and the answer
  1. List what Lin kept: 8 teams, and every pair of teams meets.

    Those features are right.

  2. Find the detail she dropped: each pair meets twice, with a different home team each time.

    For teams A and B, 'A at home to B' and 'B at home to A' are two games, so order matters.

  3. Count ordered pairs: 8×7=56 games, which is also 28×2.

    Each of the 28 pairs produces 2 games.

  4. Check on a small case: 3 teams, home and away, give AB, BA, AC, CA, BC, CB, which is 6=3×2 games, not 3.

    Listing a tiny case shows whether an abstraction kept the right features.

Answer: 56 games: 8×7 ordered (home, away) pairs.

Takeaway: Before trusting an abstraction, check that every dropped detail really leaves the answer unchanged; here home and away doubled the count.

Where You'll See It

  • Route-finding apps

    A navigation app abstracts a city into a network: intersections become points and streets become links labelled with travel times. Building colours and shop names are dropped. Because the structure is the same everywhere, one shortest-path method plans routes in Tokyo and Toronto alike.

  • A baker's dough ratio

    A baker notices that her bread, pizza dough and rolls all use about 5 parts flour to 3 parts water by weight. Abstracting to the ratio 5:3 lets her scale any of them: 1,000 g of flour needs 1000×35=600 g of water, whatever she is baking.

Common Mistakes

  1. The slip: Discarding a detail that was actually essential

    Instead: keep features that change the answer; drop only the irrelevant ones.

  2. The slip: Confusing abstraction with vagueness

    Instead: abstraction is precise about what is shared, not just hand-waving.

  3. The slip: Abstracting too early before seeing enough cases

    Instead: gather examples first, then extract the shared structure.


Mini Practice

Try these on your own. Tap Reveal when you want to check.

  1. Find the rule shared by 3×(4+5)=3×4+3×5, 2×(7+1)=2×7+2×1, and 6×(2+3)=6×2+6×3.

    Hint: Replace the numbers with letters, keeping the same positions.

  2. Look at 1=12, 1+3=22, 1+3+5=32 and 1+3+5+7=42. State the general rule.

    Hint: Count how many odd numbers are added in each line and compare with the square.

  3. A taxi charges $3 plus $2 per km, a gym charges $20 plus $15 per month, and a plumber charges $50 plus $40 per hour. What single model fits all three?

    Hint: Each price has a part that stays fixed and a part that grows.

  4. A delivery route with 6 stops, a subway map and a friendship network are all drawn as dots joined by lines. What is kept and what is thrown away?

    Hint: What does a line between two dots tell you? What does it not tell you?

  5. Ana draws the rule y=3x as a table and as a graph. Is she doing abstraction or representation?

    Hint: Is she finding a new general rule, or showing a known rule in a new way?

  6. For "A 13 ft ladder leans on a wall with its foot 5 ft from the wall," Tom abstracts it as "a line segment of length 13" and drops the wall. Why can he no longer find the height?

    Hint: Which detail about the wall and the ground makes a special triangle?

Want the full set?

50 practice questions for this concept — free to try, every one with a complete worked solution showing the why, not just the answer.

Frequently Asked Questions

What is a famous example of abstraction in math?

Leonhard Euler's solution of the Königsberg bridge problem in 1736 is a favourite. The city had seven bridges, and people asked whether one walk could cross each exactly once. Euler threw away distances, shapes and the river itself, kept the land masses as dots and the bridges as lines, and showed the walk was impossible because more than two dots had an odd number of lines. That stripped-down picture started graph theory.

Why does algebra use letters if numbers are already abstract?

Each step up keeps less detail. The number 3 drops what is being counted; the letter aa drops which number it is. That lets one line, such as a(b+c)=ab+aca(b + c) = ab + ac, cover every possible case at once. A pattern checked with a few numbers is only evidence, but the same pattern written with letters can be proved for all numbers.

What should I do when a problem feels too abstract to start?

Step back to specific cases: try n=1,2,3n = 1, 2, 3, look at the results, and then abstract again. Mathematicians do this all the time. In his 1945 book How to Solve It, George Pólya advises solving a special case when you are stuck, because concrete numbers often reveal the common thread that the general version hides.

How does abstraction show up in computer science?

Almost every program relies on it. A programmer calls a function such as sort without caring how it works inside, and a navigation app treats roads as lines between points. A good abstraction hides the details you do not need and keeps the ones you do. When it hides an essential detail, bugs appear, the same failure as dropping a detail in math that changes the answer.

Learning Path

← Before

No prerequisites
Abstraction

You are here

No earlier concept is needed, only experience with several similar problems. Abstraction adds the habit of separating structure from surface details. Next, Generalization extends a pattern or result to a wider class of cases, and Representation chooses how to write the abstract idea down: as an equation, a graph, a table or a diagram.

See Also