In this section we shall introduce two more symbols. Statements involving ‘‘for all’’ or ‘‘there exist(s)’’ are very common in mathematics; for example,
(that is, the square of any natural number is a natural number — which is true), or
(that is, the equation has a real solution — which is false).
The universal quantifier means ‘‘for all’’; the existential quantifier means ‘‘there exist(s)’’.
In this notation, the two statements above could be written
respectively.
The symbol (an upside-down letter ‘‘A’’) is suggested by the word ‘‘all’’, while the symbol (a back-to-front letter ‘‘E’’) refers to the word ‘‘exists’’.
may also be read ‘‘for every’’ or ‘‘for each’’, while may alternatively be read ‘‘there is/are’’, ‘‘for some’’ or ‘‘for at least one’’.
The statement ‘‘for every pair of integers, their product is positive’’ can be written
This statement is false because is not positive.
The statement ‘‘There exists a natural number whose square root is greater than five’’ can be written
and this statement is true because
The statement ‘‘for every non-zero rational number , there is a rational number such that ’’ can be written
and this statement is true.
The statement ‘‘there is a rational number which is greater than every natural number’’ can be written
and this statement is false (as we shall explain in Example 3.4.1 below).
In English, the phrase ‘‘there exist(s)’’ is almost always followed by ‘‘… such that’’, which does not appear in the symbolic version.
In English, a statement like ‘‘some politicians are honest’’ may carry the suggestion that others are not. In mathematics, however, there are no such subtle nuances about statements of this form. For instance, the statement
(where and ) carries no such overtones; all it asserts is the existence of (at least) one honest politician.
Sometimes mathematical statements that do not explicitly use the words ‘‘for all’’ or ‘‘there exist(s)’’ (or their equivalents) may be recast as statements involving quantifiers, as the following example shows.
We may express the statement ‘‘’’ as
The statement ‘‘ is a rational number’’ (or, in symbols, ‘‘’’) may be written
(We shall soon see that this is false).
We may express the statement ‘‘every integer greater than can be written as a product of primes’’ as
where we have introduced the symbol for the set of prime numbers. (You may know that this is true; we shall give a formal proof at the end of the course.)
In Examples 2.4.4(iii)–(iv) and 2.4.6(ii)–(iii), we used several quantifiers; statements involving two or more quantifiers are fairly common. If the quantifiers are all of the same type (that is, all ‘‘’’ or all ‘‘’’), then there is no difficulty, but if there is a mixture, then it is important to be careful about their order, as the following example shows.
The statement
asserts that, for every natural number , there is a natural number which is exactly greater than (which is clearly true), whereas
states that there is a natural number which is exactly greater than every natural number (which is clearly false).
We conclude this section by considering how negation interacts with quantifiers. Often we may wish to negate a quantified statement. The simplest way to do this is just to put a ‘‘’’ at the beginning, but it is usually more informative to convert this into a positive statement.
The negation of the statement ‘‘all cows eat grass’’ is
‘‘there is a cow which does not eat grass’’. |
The negation must be a statement about cows, eating and grass!
The negation of the statement ‘‘all students attended the workshop’’ is
‘‘somebody did not attend the workshop’’, |
or in other words
‘‘at least one student did not attend the workshop’’. |
In general, for a set and a statement involving a variable ,
The negation of the statement ‘‘there is a lecturer who writes legibly’’ is
‘‘all lecturers write illegibly’’. |
The negation of the statement ‘‘someone failed the exam’’ is
‘‘nobody failed the exam’’ |
or in other words
‘‘everybody passed the exam’’. |
In general, for a set and a statement involving a variable ,
To deal with statements involving multiple quantifiers, we work through each in turn.
The statement
is logically equivalent to
which in turn is logically equivalent to
Similarly, the statement
is logically equivalent to
which in turn is logically equivalent to
For a case involving a compound statement at the end, we may use the logical equivalences established in the previous section.