Knaph

All and Some5 of 243 min read

For Every x

"Everyone in this class is friendly." The claim is not about Ana, or Ben, or Cara alone. It is about all of them at once. We have names for single things. How do we write a claim about every thing?

A placeholder called x

In Level 5 so far we wrote Fa for "Ana is friendly". Now take "everyone is friendly". It says: pick any child you like, and that child is friendly. The words "any child" work like the word "it": they stand for whichever thing we pick.

In logic the placeholder is a letter, usually x. It is called a variable. A variable is not a name. The name a picks out Ana, always. The variable x waits: it can stand for any thing in the domain.

The symbol ∀ is read "for every". So ∀x is read "for every x", and ∀x Fx is read "for every x, x is friendly". Here is the key we use.

Domain: children in a class
a: Ana, b: Ben, c: Cara
Fx: x is friendly, Gx: x is glad

The formula ∀x Fx in big letters, with the words for every x under the symbol ∀x and the words x is friendly under Fx.

When is it true?

∀x Fx is true when every thing in the domain is friendly. We check them one by one: Ana, Ben, Cara. If all three pass, the claim is true.

One thing that fails is enough to make it false. That thing is a counterexample, just as in Level 1: one black swan breaks "all swans are white".

A class of three children, Ana, Ben and Cara, as circles. All three carry the tag F for friendly, and Ana and Ben carry the tag G for glad, but Cara does not.

In the pictured class, Ana, Ben and Cara are all friendly, so ∀x Fx is true. Only Ana and Ben are glad, so ∀x Gx is false. Cara is the counterexample.

Saying two things about every thing

We can say more than one thing about each thing. ∀x(Fx ∧ Gx) is read "for every x, x is friendly and x is glad". Every thing must have both. The brackets hold the two parts together.

FormulaRead aloudTrue in the class?
∀x Fxfor every x, x is friendlytrue
∀x Gxfor every x, x is gladfalse (Cara)
∀x(Fx ∧ Gx)for every x, x is friendly and gladfalse (Cara)

Check the last row twice. Ana and Ben are both friendly and glad. But the claim covers every child, and Cara is not glad, so one counterexample is enough.

Careful

The letter x is not a name. ∀x Fx does not talk about a thing called x. It talks about every thing in the domain, one after another.

Try it at home

  1. Pick a group, such as your family. Write a Domain line and a predicate, such as Wx: x wears glasses. Check ∀x Wx one person at a time.
  2. Write one "everyone ..." claim that is true in your group and one that is false. For the false one, name the counterexample.
  3. Read ∀x(Fx ∧ Gx) aloud in your own words, then say what one failing thing would do to it.

Words to know

  • variable - a letter, such as x, that stands for any thing in the domain; it is not a name
  • ∀ (for every) - the symbol that says every thing in the domain has what follows
  • counterexample - one thing that fails, so the "for every" claim is false

Big idea

∀x Fx says every thing in the domain is F. It is true when nothing fails, and one counterexample makes it false.

Test your understanding

Sign in to test your understanding of this lesson and track your progress.