Advanced Mathematics

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 P⇒QP \Rightarrow Q is equivalent to its contrapositive ¬Q⇒¬P\neg Q \Rightarrow \neg P, 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 ε\varepsilon there exists δ\delta" 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 P⇒QP \Rightarrow Q 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 nn, if n2n^2 is even then nn is even.
Show the worked answer
Prove the contrapositive instead: if nn is odd, then n2n^2 is odd. Write n=2k+1n = 2k+1. Then n2=4k2+4k+1=2(2k2+2k)+1n^2 = 4k^2 + 4k + 1 = 2(2k^2+2k) + 1, which is odd. Since the contrapositive is equivalent to the original statement, the claim is proved. The trap is to start from n2=2mn^2 = 2m and take a square root: n=2mn = \sqrt{2m} tells you nothing about whether nn is even.

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.

On the way to

Recommended