A Truth Table On The Island of Truthtellers and Liars

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

Christopher Baltus

A Truth Table on the


Island of Truthtellers and Liars
y experience teaching truth tables left me looking statements that they make. The actual population

M for problems that exercise students’ critical reason-


ing. This article grew from efforts to find such
problems.
After my students are familiar with the mechan-
is unknown, since no census has proved reliable.

Ellen decided that her best course was to reach


the capital. Walking from the beach, she came to a
ics of building truth tables and their application in road that split in two and saw two men working
identifying tautologies and in other standard exer- nearby. After Ellen described her arrival on the
cises, I present the following story and exercises, island, the first man told her, “The capital is in the
which involve statements made by truthtellers and mountains, or the road to the right goes to the capi-
by liars. In addition to reinforcing basic skills, the tal.” The second quickly said, “The capital is in the
problems call for logical thinking and ask students mountains, and the road to the right goes to the
to look at the implications of the truth tables that capital.” The first looked up and said, “That man is
they construct. These problems demonstrate the a liar.” The second shrugged his shoulders and
organizing power that a truth table can bring to a added, “If the capital is in the mountains, then the
confusing situation—evidence for the power of road on the right goes to the capital.”
mathematical thinking—and they furnish an Ellen took out a pencil, made a calculation on the
opportunity for students to explain their reasoning. back of her guidebook, thanked the two men, and
That any conclusion at all can be drawn from the then walked down the road to the left. Intrigued by
truth table may be the biggest surprise. the astuteness of the visitor, the men asked to see
High school or college teachers of discrete mathe- what she had written.
matics should find that the problems challenge She showed them the truth table in figure 1.
their classes or at least offer enrichment to individ- After the first two columns, which list all possible
ual students. Readers who enjoy these puzzles truth assignments to the “atomic” propositions c
should add to them or create new scenarios and and r, a column is devoted to each of the statements
Students problems. made. The speaker is identified, and the statements
look at the
A VISIT TO THE ISLAND OF
implications TRUTHTELLERS AND LIARS Let n1 denote the first native, and n2, the second.
of the truth Faced with engine problems, Ellen Wright put her Let c be “The capital is in the mountains.”
tables that small plane down on the beach of the Island of Let r be “The road on the right goes to the capital.”
Truthtellers and Liars. Her guidebook offered only The symbol ∨ denotes or, and the symbol ∧ denotes
they the briefest description: and.
construct
Island of Truthtellers and Liars c r n1: c ∨ r n2: c ∧ r n2: c → r
T T T T T
The island is fifty-six miles long and up to thirty-
T F T F F
three miles wide. A range of inland mountains
F T T F T
runs the length of the island. The climate is
F F F F T
pleasant through the year. The island has only
one city, the capital, Quandary. The most singu- Fig. 1
lar feature is the character of the inhabitants. The first truth table used by Ellen
The population is made up entirely of members
of two groups, the truthtellers and the liars. The
truthtellers utter only true sentences; and the
Christopher Baltus, baltus@oswego.edu, teaches at State
liars, only false sentences. Any inhabitant can University of New York—College at Oswego, Oswego, NY
recognize whether another person is a truthteller 13126. His interests include the history of mathematics
or a liar, but an outsider must judge them by the and preparing secondary school teachers.

730 MATHEMATICS TEACHER


Copyright © 2001 The National Council of Teachers of Mathematics, Inc. www.nctm.org. All rights reserved.
This material may not be copied or distributed electronically or in any other format without written permission from NCTM.
are listed in symbolic form: c ∨ r for “c or r,” c ∧ r for She asked a young woman whether the computers
“c and r,” and c → r for “c implies r.” The standard had Internet connections. The woman told her,
rules are followed in assigning a truth value to each “Computer 1 is not connected to the Internet. Ask
“compound” sentence. These truth values are based that man; he is a truthteller.” When Ellen
on the truth value of the atomic propositions. An approached the man, he told her, “Computer 2 has
atomic proposition is one that asserts that a certain an Internet connection, but computer 3 does not.” A
thing has a certain quality, for example, “this ink is second man, who overheard the conversation, said,
black.” “If computer 2 has an Internet connection, then so
Since the second man, n2, could not give both does computer 1. Computer 3 is not connected to
true and false statements, only the first two lines of the Internet.” With a little more work on the back
No speaker
the table could possibly fit the situation. Both indi- of her guidebook, Ellen moved to a computer and can make
cate that the first man, n1, is a truthteller. There- ordered parts for her plane. both true
fore, n2 is a liar, and the second line of the truth
table is based on truth. The capital is in the moun- Exercise 3 and false
tains, but the road on the right does not go there. Which computer had an Internet connection? statements
After an hour walking up the road to the left,
Ellen encountered a group of people gathered at SOLUTIONS
what she hoped was a bus stop. She approached Exercise 1
three women and asked them whether the road
went to the capital and whether this location was a Figure 2 shows the truth table for this exercise.
bus stop. She received three different answers: Since the three women all gave the same state-
“The road goes to the capital, and the bus stop is ment, “Two of us are truthtellers, and one is a liar,”
not here”; “The road does not go to the capital, and they must all be truthtellers or all must be liars.
the bus stop is here”; and “The road does not go to The statement must then be false, so all are liars.
the capital, and the bus stop is not here.” Puzzled Alternatively, we observe that on no line of the
for a moment, Ellen asked the women whether they table do exactly two of the women make true state-
were truthtellers or liars. This time, the three ments, so the statement “Two of us are truthtellers,
answers were all the same: “Two of us are and one is a liar” is false. Only in the first line of
truthtellers, and one is a liar.” the truth table do all three women give false state-
ments. Therefore, g and b are both true statements:
Exercise 1 The road does go to the capital, and a bus stop is at
the location.
How many of the three women were truthtellers?
Does the road go to the capital? Is a bus stop at the
location where Ellen spoke to the women?
Let w1, w2, and w3 denote the three women.
Let g be “The road goes to the capital.”
Ellen then noticed signs for buses B1, B2, and B3 Let b be “The bus stop is here.”
and approached another trio. The following conver- The symbol ¬ represents negation.
sation took place:
Ellen. Where do the buses go? g b w1: g ∧ ¬ b w2: ¬ g ∧ b w3: ¬ g ∧ ¬ b
The first. At least one of B1 and B2 goes to the T T F F F
capital. T F T F F
The second. B1 goes to the capital. F T F T F
F F F F T
The third. B2 and B3 go to the capital.
The first. B3 goes to the beach. Fig. 2
The second. B2 and B3 go to the beach. Truth table for exercise 1

The third. B1 goes to the beach.


After some jotting on her guidebook, Ellen stepped
onto the right bus and was soon in the capital. Exercise 2
Figure 3 shows the truth table for this exercise.
Exercise 2 Since we already know that the capital is in the
Which bus did Ellen take? mountains, a bus that goes to the beach does not go
to the capital.
Since no speaker can make both true and false
On reaching the bus station in Quandary, the statements, only the fourth line can describe the
capital, Ellen noticed three computer terminals. actual situation. So Ellen takes bus B1.

Vol. 94, No. 9 • December 2001 731


Fan B. You do not like the Mets. You like the
Let p1, p2, and p3 denote the three people at the bus stop. Dodgers.
Let b1 be “Bus B1 goes to the capital.” Fan A. We both like the Dodgers.
Let b2 be “Bus B2 goes to the capital.”
Let b3 be “Bus B3 goes to the capital.” Additional exercise A
Does fan A like the Mets? Who likes the Dodgers?
Line b1 b2 b3 p1: b1 ∨ b2. ¬ b3 p1: b1. ¬ b2 ∧ ¬ b3 p3: b2 ∧ b3. ¬ b1
1 T T T T F T F T F Solution: Only in line 6 of the truth table shown
2 T T F T T T F F F in figure 5 do both fA and fB each make only true or
3 T F T T F T F F F only false statements. Therefore, fan A does not
4 T F F T T T T F F like the Mets, fan A does like the Dodgers, and fan
5 F T T T F F F T T B does not like the Dodgers.
6 F T F T T F F F T
7 F F T F F F F F T
8 F F F F T F T F T

Fig. 3 Let fA and fB denote fan A and fan B.


Truth table for exercise 2 Let m be “Fan A likes the Mets,” let x be “Fan A
likes the Dodgers,” and let y be “Fan B likes the
Dodgers.”

Line m x y fA: m. x ∧ y fB: ¬ m. x


Exercise 3 1 T T T T T F T
In the truth table shown in figure 4, we can elimi- 2 T T F T F F T
nate lines 1, 3, 6, and 7, since m2 cannot make both 3 T F T T F F F
true and false statements. Since w said that m1 is a 4 T F F T F F F
truthteller, if w’s statement, ¬ c1, is true, then the 5 F T T F T T T
statement of m1 must be true; and if w’s statement 6 F T F F F T T
is false, then the statement of m1 must be false. We 7 F F T F F T F
can then also eliminate lines 2, 5, and 8. So only 8 F F F F F T F
line 4 of the truth table is possible. Ellen must use
computer 1. Fig. 5
Truth table for additional exercise A

Let w, m1, and m2 denote the woman and two men at the bus terminal. While she was in the capital, Ellen saw notices
Let c1 be “Computer 1 is connected to the Internet.” from the national census bureau, seeking a list of
Let c2 be “Computer 2 is connected to the Internet.” questions to send to each household in the country.
Let c3 be “Computer 3 is connected to the Internet.” The census bureau wanted to learn the name of one
adult in each household and the number of people
Line c1 c2 c3 w1: ¬ c1 m1: c2 ∧ ¬ c3 m2: c2 → c1. ¬ c3 in the household. Ellen submitted her suggestion.
1 T T T F F T F
2 T T F F T T T Additional exercise B
3 T f T F F T F Can you help the census bureau develop a list of
4 T F F F F T T questions? Remember that the census bureau needs
5 F T T T F F F to determine the correct information regardless of
6 F T F T T F T whether the person answering the questions is a
7 F F T T F T F truthteller or a liar.
8 F F F T F T T
Solution: The first question to ask might be, Are
Fig. 4 you a truthteller and a liar? That question would
Truth table for exercise 3
separate the truthtellers from the liars, and further
questions could proceed from that knowledge.

The parts for the plane arrived, Ellen repaired it,


ADDITIONAL EXERCISES
and she returned home a few days later. Because
In the bus terminal, Ellen overheard this conversation. she always appreciates a puzzle, she granted the
Fan A. I like the Mets. author permission to report her story. ¿

732 MATHEMATICS TEACHER

You might also like