“HOW WOULD YOU EXPLAIN DISCRETE MATHEMATICS TO YOUNG STUDENTS?”
PART ONE: THE TWO KINDS OF NUMBER — COUNTING AND MEASURING
1.1 THE MARBLES IN YOUR POCKET
Take a handful of marbles. Count them. One. Two. Three. Four. Five. You have exactly five marbles. Not four and a half. Not five and a third. FIVE.
Now take those same marbles and put them in a row on the table. You can count how many there are. You can say which one is first, which one is second, which one is third. There is no marble between the first marble and the second marble. They are separate. They are DISTINCT.
This is the world of DISCRETE mathematics. "Discrete" comes from the same Latin word as "discreet" — meaning separate, distinct, individually identifiable. In discrete mathematics, you count things. You do not measure them.
1.2 THE WATER IN A GLASS
Now take a glass of water. How much water is in it? You cannot count the water. There is no "first water" and "second water."
The water is CONTINUOUS — it flows smoothly from one amount to another without gaps. You can have half a glass, a third of a glass, 0.618 of a glass. Between any two amounts of water, there are infinitely many other amounts.
This is the world of CONTINUOUS mathematics — the mathematics you have mostly learned so far. Fractions, decimals, graphs of smooth curves, algebra with x and y that can take any value.
1.3 THE BIG IDEA
Discrete mathematics is the mathematics of things you can COUNT. Continuous mathematics is the mathematics of things you MEASURE.
Counting gives you whole numbers: 1, 2, 3, 4, 5...
Measuring gives you any number: 1.5, 2.71828..., π, √2.
Both are real mathematics. Both are important. But they are different. And the world runs on discrete mathematics — because the world is made of distinct things, not continuous substances.
PART TWO: WHAT DISCRETE MATHEMATICS STUDIES
2.1 GRAPHS — NOT THE KIND WITH X AND Y AXES
In school, a "graph" means a picture with an x-axis and a y-axis, and a line or curve showing how one thing changes with another.
In discrete mathematics, a "graph" means something completely different. It means a collection of DOTS (called vertices) connected by LINES (called edges).
Think of a social network. Each person is a dot. If two people are friends, you draw a line between their dots. The whole thing is a GRAPH.
Think of a map of cities. Each city is a dot. Each road between cities is a line. That is also a GRAPH.
Think of the internet. Each computer is a dot. Each connection is a line.
That is the biggest graph in the world.
Graph theory asks questions like:
• What is the shortest path from one dot to another? (GPS navigation)
• Can you visit every dot exactly once and return to the start? (The Traveling Salesperson Problem)
• What is the best way to color the dots so that no two connected dots have the same color? (The Four Color Theorem — you only need four colors to color any map!)
2.2 COMBINATORICS — THE ART OF COUNTING WITHOUT COUNTING
Suppose you have three shirts (red, blue, green) and two pairs of pants (jeans, khakis). How many different outfits can you make?
You COULD list them all: red shirt with jeans, red shirt with khakis, blue shirt with jeans, blue shirt with khakis, green shirt with jeans, green shirt with khakis. That is six outfits.
But there is a faster way: 3 shirts × 2 pants = 6 outfits.
This is combinatorics — the mathematics of counting things by multiplying possibilities instead of listing everything. Combinatorics answers questions like:
• How many ways can you arrange the letters in the word "MATH"?
• How many different five-card poker hands are there?
• How many ways can a group of 20 students be divided into teams of 5?
2.3 NUMBER THEORY — THE SECRETS OF WHOLE NUMBERS
Number theory is the study of the whole numbers — 1, 2, 3, 4, 5... and especially the PRIME numbers.
A prime number is a whole number greater than 1 that can only be divided evenly by 1 and itself. The first few primes are 2, 3, 5, 7, 11, 13, 17, 19, 23, 29...
Primes are the ATOMS of arithmetic. Every whole number can be broken down into a unique product of primes. 12 = 2 × 2 × 3. 100 = 2 × 2 × 5 × 5.
There is no other way to do it. This is called the Fundamental Theorem of Arithmetic.
Number theory asks:
• Are there infinitely many primes?
• Is there a pattern to the primes? (NO — and that is what makes them so fascinating.)
• Can every even number greater than 2 be written as the sum of two primes? (Goldbach's Conjecture — believed true but unproven.)
Number theory is the reason your passwords are secure online. When you buy something on the internet, your credit card number is encrypted using very large prime numbers. Multiplying two huge primes is easy. Figuring out which two primes were multiplied, given only the product, is extremely hard. That is the foundation of modern cryptography.
2.4 LOGIC — THE RULES OF TRUE AND FALSE
Logic is the mathematics of reasoning. It studies statements that are either TRUE or FALSE, and the rules for combining them.
If statement P is "It is raining" and statement Q is "I will take an umbrella," then "If P then Q" means "If it is raining, then I will take an umbrella."
Logic gives us:
• AND: Both must be true. "It is raining AND I am outside."
• OR: At least one is true. "I will take an umbrella OR a raincoat."
• NOT: The opposite. "It is NOT raining."
• IF...THEN: Implication. "IF it is raining, THEN the ground is wet."
These simple rules are the foundation of all computer programming. Every program you have ever used — every game, every app, every website — is built from millions of tiny logic decisions.
2.5 SETS — THE MATHEMATICS OF COLLECTIONS
A set is simply a collection of things. The things can be anything: numbers, people, planets, ideas.
A = {2, 4, 6, 8, 10} (the even numbers from 2 to 10)
B = {1, 3, 5, 7, 9} (the odd numbers from 1 to 9)
You can combine sets:
A ∪ B = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10} (the UNION — everything in either set)
A ∩ B = {} (the INTERSECTION — what they share; there is nothing, so this is the EMPTY SET)
Sets are the foundation of all mathematics. A number is a set. A functionis a set of ordered pairs. A geometric shape is a set of points. Everything in mathematics can be built from sets.
PART THREE: WHY DISCRETE MATHEMATICS MATTERS — THE REAL WORLD
3.1 COMPUTERS SPEAK DISCRETE MATHEMATICS
Computers do not understand continuous things. They understand 0 and 1.
Off and on. False and true. Every image you see on a screen, every song you hear, every video you watch, every game you play — all of it is stored and processed as enormous sequences of 0s and 1s.
Discrete mathematics is the native language of computers. When you learn discrete math, you are learning how computers THINK.
• Binary numbers: Every number can be written using only 0s and 1s.
• Boolean logic: Every decision a computer makes is a logic operation.
• Algorithms: Step-by-step procedures for solving problems. An algorithm is like a recipe — do this, then this, then this.
3.2 THE INTERNET IS A GRAPH
The internet is the largest graph ever built. Billions of dots (computers, phones, servers) connected by trillions of lines (cables, WiFi, satellites).
When you send a message to a friend, it travels through this graph, hopping from dot to dot, finding the shortest path. The algorithms that find these paths are DISCRETE MATHEMATICS.
When you search for something on Google, the search engine ranks pages using a graph where dots are web pages and lines are links. The most important pages are the ones with the most links pointing to them. This is called the PageRank algorithm — and it is discrete mathematics.
3.3 SECRETS ARE PROTECTED BY PRIME NUMBERS
When you enter your password on a website, it is encrypted. Encryption turns your password into a secret code that only the website can decode.
The most powerful encryption methods use prime numbers. They rely on the fact that multiplying two large primes is easy (a computer can do it in a fraction of a second), but figuring out which two primes were multiplied, given only the product, would take a computer billions of years.
Every time you buy something online, every time you log into a secure website, you are trusting your money and your privacy to the mathematics of prime numbers.
3.4 GAMES ARE DISCRETE MATHEMATICS
Chess. Checkers. Go. Tic-tac-toe. Every board game is a problem in discrete mathematics.
The board is a set of positions. The pieces can be in certain states. Each move is a transition from one state to another. The game is a search through a vast tree of possibilities.
Computers that play chess (and now beat the best human players) use discrete mathematics to search this tree, evaluate positions, and choose the best move.
PART FOUR: THE BEAUTY OF DISCRETE MATHEMATICS — WHY IT IS MESMERIZING
4.1 PATTERNS EVERYWHERE
Discrete mathematics reveals patterns that are hidden in plain sight.
Look at Pascal's Triangle:
1
1 1
1 2 1
1 3 3 1
1 4 6 4 1
1 5 10 10 5 1
Each number is the sum of the two numbers above it. The rows give the coefficients for expanding (x + y)^n. The diagonals give the triangular numbers, the Fibonacci numbers, and the powers of 2.
All of this from a simple rule: add the two numbers above.
4.2 THE INFINITE IN THE FINITE
There are infinitely many prime numbers. Euclid proved this by a beautiful argument: suppose there were only finitely many primes. Multiply them all together and add 1. The result is not divisible by any of the primes on your list. So either it is a new prime, or it has a prime factor not on your list. Contradiction. Therefore, there are infinitely many primes.
This is the magic of discrete mathematics: from a finite set of rules, you can prove something about the INFINITE.
4.3 THE SURPRISE OF EMERGENCE
Simple rules can produce astonishing complexity.
Consider the Collatz sequence. Start with any whole number. If it is even, divide by 2. If it is odd, multiply by 3 and add 1. Repeat.
Start with 6: 6 → 3 → 10 → 5 → 16 → 8 → 4 → 2 → 1.
Start with 7: 7 → 22 → 11 → 34 → 17 → 52 → 26 → 13 → 40 → 20 → 10 → 5 → 16 → 8 → 4 → 2 → 1.
No one has ever found a number that does not eventually reach 1. But no one has proved that ALL numbers eventually reach 1. This is the Collatz Conjecture — a problem so simple a middle school student can understand it, yet so deep that the greatest mathematicians have not fully solved it.
This is the beauty of discrete mathematics: the deepest mysteries can be stated with the simplest rules.
PART FIVE: THE ANSWER — WHAT DISCRETE MATHEMATICS IS
DISCRETE MATHEMATICS IS THE MATHEMATICS OF COUNTING, NOT MEASURING.
It studies things that are separate and distinct — marbles, not water. Whole numbers, not decimals. Steps, not smooth curves. Dots and lines, not smooth surfaces.
It includes:
• GRAPH THEORY: The mathematics of connections. Social networks, maps, the internet.
• COMBINATORICS: The art of counting without listing. How many possibilities? How many arrangements?
• NUMBER THEORY: The secrets of whole numbers and primes. The foundation of cryptography.
• LOGIC: The rules of true and false. The language of computers.
• SETS: The mathematics of collections. The foundation of all mathematics.
Discrete mathematics is the language of computers, the science of secrets, the structure of games, and the source of some of the most beautiful and surprising patterns in all of mathematics.
It is the mathematics of 1, 2, 3, 4, 5... and everything that can be counted.