Knaph

All and Some8 of 243 min read

How Far a Quantifier Reaches

∀x(Fx → Gx) and ∀x Fx → Gx look almost the same. Only the brackets differ. Do they say the same? And is the second one even a claim? We must ask how far a quantifier reaches.

The reach of a quantifier

A quantifier reaches over what comes right after it. With brackets, it reaches over everything inside them. Without brackets, it reaches over only the short piece next to it, such as Fx or ¬Fx. The reach is called its scope.

Two formulas with a blue bar under the part each ∀x reaches. In the first, the bar covers all of ∀x(Fx → Gx). In the second, the bar covers only ∀x Fx, and a red bar marks the last Gx, which lies outside the reach.

In ∀x(Fx → Gx), the ∀x reaches over Fx → Gx, so both x are bound: the quantifier ties them. Read it: for every x, if x is friendly then x is glad.

In ∀x Fx → Gx, the ∀x reaches only Fx. The x in Gx is outside, so it is free. Its main connective is →, the step done last, as in Level 4.

Free means no claim

A formula with a free variable is not a claim. Compare "it is red": red what? We cannot say true or false until we say what "it" is. Likewise Gx has no truth value: x stands for nothing. So ∀x Fx → Gx is not a claim.

Put a name there instead and it is a claim: ∀x Fx → Ga means "if everyone is friendly, Ana is glad". The brackets matter.

Not everything, or nothing

Scope also separates two formulas with ¬. Take Domain: children in a class, and Fx: x is friendly.

¬∀x Fx is "not: for every x, x is friendly", so "not everything is friendly". ∀x ¬Fx is "for every x, x is not friendly", so "nothing is friendly".

The class of Ana, Ben and Cara. Ana and Ben carry the tag F for friendly, and Cara does not.

FormulaRead aloudTrue?
¬∀x Fxnot everything is friendlytrue (Cara)
∀x ¬Fxnothing is friendlyfalse (Ana)

They are different claims. Later we will see exactly how ¬ and the quantifiers swap.

Careful

Brackets after a quantifier change the meaning. ∀x(Fx → Gx) is a claim, but ∀x Fx → Gx is not: its last x is free.

Try it at home

  1. Put a bar under the reach of each quantifier in ∃x(Fx ∧ Gx) and in ∃x Fx ∧ Gx. Which x is free?
  2. Say in plain English: "not everyone came" and "nobody came". Write each with Cx: x came.
  3. Choose a formula with a free variable. Add a quantifier or a name to make it a claim.

Words to know

  • scope - the part of a formula that a quantifier reaches over
  • bound variable - a variable inside the reach of a quantifier that uses its letter
  • free variable - a variable outside any such reach; a formula with one is not a claim

Big idea

A quantifier reaches over its brackets, or over the next atomic claim. A variable it does not reach is free, and then the formula is not a claim.

Test your understanding

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