Logic and Proof
The rules for "and", "or", "not", "if … then", "for all" and "there exists", and the standard ways to prove a statement true.
Ready to learn
A statement in mathematics is either true or false, and logic says how statements combine. An implication is equivalent to its contrapositive , but not to its converse. With that, and with proof by contradiction and by counterexample, you can read and write the arguments that every later concept on this map rests on.
Where it shows up: Negating "for every there exists " is exactly what Limits Made Rigorous asks of you, and the same moves appear in every proof after it.
How to hold it: In your head
Be able to negate a statement with "for every" and "there exists" at a glance, and to see that means the same as its contrapositive but not its converse.
What knowing it looks like
- Write the converse and the contrapositive of an implication and say which one means the same thing.
- Negate a statement with "for every" and "there exists" correctly, for example "every student passed some test".
- Disprove a general claim with one counterexample, and say why examples alone cannot prove it.
Test yourself
Prove that for every integer , if is even then is even.
Show the worked answer
Learn it with an AI
Copy this prompt into any AI assistant. It will take you through step by step at your level and finish with the test above.
Be my maths tutor. I'm learning "Logic and Proof" (Bridge tier): The rules for "and", "or", "not", "if … then", "for all" and "there exists", and the standard ways to prove a statement true. Teach it Socratically: first ask what I already know; then explain the core idea with one concrete example and why it's true; then give me three problems, one at a time, easy to hard. Wait for my answer, check every step, and point out mistakes without giving the answer away. Finish by testing me with this: Prove that for every integer $n$, if $n^2$ is even then $n$ is even. Use LaTeX for formulas. When you say where it's used later (machine learning, quantum mechanics), be specific.
Needs first
Nothing needed first: start any time.
Picks up from the children's map: Explaining and Proving Why
Leads to
- Sets, Functions and NotationSets, the symbols for combining them, and functions as rules sending each element of one set to exactly one element of another.Bridge · Proof & Discrete Maths
- Proof by InductionProving a statement for every whole number: show it for the first, then show each case implies the next.Core · Proof & Discrete Maths
- Modular Arithmetic and PrimesArithmetic with remainders ("clock arithmetic"), and the primes: unique factorisation, greatest common divisors and Fermat's little theorem.Core · Proof & Discrete Maths
- Limits Made RigorousWhat " gets as close as you like to " means exactly: every tolerance has a that guarantees it.Undergraduate I · Proof & Discrete Maths
On the way to
Recommended
- Book of ProofRichard Hammack · BookA free textbook that teaches how to read and write proofs, from logic and sets through induction and contradiction, with many exercises and solutions.
- MIT 6.1200J Mathematics for Computer ScienceMIT OpenCourseWare · CourseMIT's 2024 course on proofs, number theory, graphs, counting and discrete probability, with lecture videos, notes and problem sets.
- Linear Algebra Done RightSheldon Axler · BookThe standard proof-based second course in linear algebra, built on linear maps rather than determinants; the 4th edition is free to read, also in Chinese.