MU puzzle facts for kids
The MU puzzle is a fun brain-teaser from the famous book Gödel, Escher, Bach by Douglas Hofstadter. It's about a simple set of rules for changing strings of letters. The puzzle challenges you to start with "MI" and turn it into "MU" using only these rules. It helps us understand how we think inside a system of rules versus thinking about the system itself.
Contents
The MU Puzzle: Can You Solve It?
Imagine you have three special letters:
, M
, and I
. You can combine these letters to make different strings, like U
or MI
.MIU
The MU puzzle asks you to start with the string
. Your goal is to change it into the string MI
. You can only do this by following four special rules. You must use one rule at a time, step by step.MU
Here are the rules you can use:
- Rule 1: If a string ends with
, you can add aI
to the end.U
* Example:
can become MI
.MIU
- Rule 2: If a string starts with
, you can double whatever comes after theM
.M
* Example:
can become MIU
.MIUIU
- Rule 3: If you see three
's together (I
), you can change them into a singleIII
.U
* Example:
can become MUIIIU
.MUUU
- Rule 4: If you see two
's together (U
), you can remove them completely.UU
* Example:
can become MUUU
.MU
Solving the MU Puzzle: Is It Possible?
It turns out that you cannot solve the MU puzzle. It's impossible to change
into MI
using only the rules given. This means MU
is not something you can create within the MIU system.MU
To understand why, we need to think outside the puzzle's rules. We look for something that stays the same, no matter which rule we use. This unchanging thing is called an invariant.
In this puzzle, let's look at the total number of
's in a string.I
- When you start with
, you have oneMI
.I
- Rule 1 (add
to end) doesn't change the number ofU
's.I
- Rule 2 (double the string after
) doubles the number ofM
's.I
- Rule 3 (change
toIII
) reduces the number ofU
's by three.I
- Rule 4 (remove
) doesn't change the number ofUU
's.I
Notice that only Rule 2 and Rule 3 change the count of
's.I
- Starting with 1
, which is not divisible by 3.I
- If you double a number that isn't divisible by 3, the new number still won't be divisible by 3. (For example, 1x2=2, 2x2=4, 4x2=8. None of these are divisible by 3).
- If you subtract 3 from a number that isn't divisible by 3, the new number still won't be divisible by 3. (For example, 4-3=1, 8-3=5).
So, the number of
's in any string you create will never be divisible by 3.I
The goal string,
, has zero MU
's. But zero is divisible by 3! Since you can only create strings where the number of I
's is not divisible by 3, you can never reach I
.MU
What Does This Puzzle Teach Us?
The MIU system is like a simple formal system. This is a way to represent math or logic using symbols and rules.
- The starting string
is like an axiom (a basic truth).MI
- The four rules are like rules of inference (ways to make new truths from old ones).
The fact that you can't make
shows that some statements might not be provable within a formal system.MU
This puzzle also helps us see the difference between working inside a system (just following the rules) and thinking about the system (understanding its deeper meaning).
- When you're just following the rules, you don't know if
is impossible. You might keep trying forever. This is like the "syntactic" level, where you only care about the symbols and rules.MU
- But when you step back and think about the puzzle, you realize the hidden rule about the number of
's and divisibility by 3. This is the "semantic" level, where you find meaning in the system.I
This idea is similar to Gödel's incompleteness theorems, which show that even complex math systems might have true statements that cannot be proven within that system.
How This Puzzle Is Used
The MU puzzle is often used in textbooks to teach about important ideas in computer science and math. For example, Susanna S. Epp uses it in her book Discrete Mathematics with Applications to explain recursive definitions.
See also
In Spanish: Rompecabezas MU para niños