🏠 Home β€Ί 🧠 Logic

🧠 Logic

🧱 Foundations · A Complete Lesson (Honors Edition)

The flip of "x > 5" is NOT "x < 5" β€” it's x ≀ 5. One single number (5 itself) is the whole difference.
"xΒ² = 25, so x = 5" sounds airtight β€” until x = βˆ’5 walks into the room.
Solve x/(x βˆ’ 2) = 2/(x βˆ’ 2) and algebra cheerfully hands you x = 2 β€” an answer that makes the original equation EXPLODE.
A knight always tells the truth. A knave always lies. One if-then sentence can expose them both.

Those four lines are logic in action β€” the study of what MUST be true. The first is a trap that fools most high schoolers. The second is the real reason your algebra teacher keeps saying "check your solutions!" β€” by the end of this lesson you'll know exactly which algebra moves are safe two-way doors and which are one-way traps. The third shows what happens when you multiply by something that could be zero: a one-way move that manufactures a fake solution out of thin air. The fourth is the key to a family of puzzles that feel like magic until you know the method.

Why do people care? Because logic is the operating system underneath ALL of math. Every proof ever written is built from AND, OR, NOT, and IF–THEN. So is every line of code ever written. And here's the part that matters now that you work with variables: solving an equation IS logic. An equation like 2x + 3 = 15 is really a question β€” "for which x is this true?" β€” and every step you take to solve it is a promise about what must be true. Get the logic right, and algebra stops being a bag of tricks and becomes a machine you understand.

A fair warning: this lesson goes further than most logic courses. You'll meet ideas many students don't see until a college proofs class β€” the symbols βˆ€ and βˆƒ, contrapositives (not just as a trick but as a PROOF TOOL), De Morgan's laws, two-way promises, and the true reason squaring both sides β€” or canceling x β€” can manufacture fake solutions. Take your time. Hard just means "takes more than one step" β€” and we will take every single step together, with the reason for each.

In this lesson, you will:

How to use this lesson: Read the sections in order. Each section starts with the key idea you'll learn in it. Try every "Your Turn" box with a pencil and paper β€” in logic, the answer often feels obvious until you check it carefully. Ready? Let's go!

πŸ“Έ Pictures

A marble bust of a bearded man from ancient Greece
πŸ“· Picture 1
A marble bust of Aristotle (384–322 BC), the ancient Greek thinker who wrote down some of the very first rules of logic. See source ↓
A hand-coloured engraving of a man in a dark jacket and bow tie
πŸ“· Picture 2
George Boole (1815–1864) turned logic into algebra with just TRUE and FALSE. Every computer today runs on his "Boolean logic"! See source ↓

πŸ—ΊοΈ Your lesson map

πŸš€Lesson 1
Statements and Open Sentences β€” The Raw Material of Logic
🧩Lesson 2
NOT β€” The Art of Flipping Anything
🎯Lesson 3
AND, OR β€” Compound Inequalities, Absolute Value, De Morgan, and Systems
πŸ”Lesson 4
IF–THEN β€” The Promise Machine (with Counterexample Hunting)
⚑Lesson 5
The Family of Four β€” Converse, Inverse, Contrapositive, and the Two-Way Promise
🌟Lesson 6
ALL, SOME, NONE β€” Circle Logic, and Proving "For ALL x" with Letters
πŸ› οΈLesson 7
Arguments β€” Two Moves That Work, Two Fakes, and the Danger of One-Way Steps
🎨Lesson 8
Knights and Knaves β€” When the Statements Use AND, OR, and IF–THEN
⚠️Lesson 9
Watch Out! Common Mistakes
🧠Lesson 10
Review β€” The Big Picture
πŸ‹οΈPractice Problems
100 problems to try
πŸ†Quiz
Test yourself: new questions every time!

πŸ“š Picture Sources

  1. Picture 1 Β· Aristotle Altemps Inv8575. By After Lysippos. Public domain. From Wikimedia Commons: https://commons.wikimedia.org/wiki/File:Aristotle_Altemps_Inv8575.jpg
  2. Picture 2 Β· George Boole color. By Unknown artist. Public domain. From Wikimedia Commons: https://commons.wikimedia.org/wiki/File:George_Boole_color.jpg
V.3.1