Where Logic Meets Wonder ✨
🧙♀️ Mathematical reasoning is like learning spells - but instead of magic wands, we use logic wands! Let's discover how to:
"If a unicorn is pink, then it loves candy. A unicorn loves candy. Does this mean it's pink?"
In our wizard's world, a mathematically acceptable statement is a spell that must be clearly true or false - no maybes!
✔️ True Spell: "A dragon has more than two legs." (All dragons in our world have 4 legs!)
✔️ False Spell: "All fairies are taller than wizards." (Our measurements show this isn't true!)
❌ Not a Spell: "How tall are you?" (Questions aren't statements!)
❌ Broken Spell: "This spell is false." (Creates a magic paradox!)
Combine simple spells into powerful incantations with these magical connectors:
Perfect Mirror Spell - Both parts must match!
"A potion is safe if and only if it sparkles blue."
(Safe ⇔ Blue Sparkles)
Causation Spell - First part guarantees second!
"If a wizard waves wand (P), then magic happens (Q)."
(P ⇒ Q)
Combination Spell - Both must be true!
"The spell needs frog legs and unicorn hair."
(Frog ∧ Unicorn)
Option Spell - At least one is true!
"Use silver or gold in the cauldron."
(Silver ∨ Gold)
Discovery Spell - Finds at least one case!
"There exists a dragon that breathes glitter."
(∃x: Dragon(x) ∧ BreathesGlitter(x))
Reverse Causation - Q can cause P!
"You're a wizard if you can cast spells."
(Wizard ⇐ CanCastSpells)
Every spell can be transformed in magical ways:
Flips the original spell
Original: "If P (cat), then Q (animal)"
Converse: "If Q, then P" ("If animal, then cat")
⚠️ Warning: Often loses power!
Flips and negates both parts
Original: "If P, then Q"
Contrapositive: "If ¬Q, then ¬P"
✨ Keeps original power!
Creates impossible situation
Assume P is true and Q is false
Show this breaks magic laws
💥 Proves original spell!
Given: "If a potion has frog legs (P), then it's green (Q)"
What are its converse, contrapositive, and inverse?
These logical spells work in the non-magical world too!
"If patient has fever and rash, then consider measles. There exists a vaccine to prevent this."
if (user.loggedIn && user.premium) { showPremiumContent(); }
"Free delivery if and only if cart value ≥ ₹500"
✨ Magic + Logic = Problem-Solving Superpowers! ✨