When dealing with mathematical statements and arguments, we must pay close attention to logical structure. This section introduces both logical connectors and quantifiers, and carefully describes how to determine the truth values of propositions built from these operations.
A proposition is a sentence that is either true or false. We build compound propositions from component propositions using logical operators (or logical connectors); the truth value of the compound proposition is defined as a function of the truth values of the component propositions.
Given a proposition \(\mathcal{P}\text{,}\) the negation of \(\mathcal{P}\) is the proposition βNot \(\mathcal{P}\)β, denoted \(\neg\mathcal{P}\) in logical notation, the truth value of which is defined as follows: \(\neg\mathcal{P}\) is true exactly when \(\mathcal{P}\) is false.
Given propositions \(\mathcal{P}\) and \(\mathcal{Q}\text{,}\) their conjuction is the proposition β\(\mathcal{P}\) and \(\mathcal{Q}\)β, denoted \(\mathcal{P}\land \mathcal{Q}\) in logical notation, the truth value of which is defined as follows: \(\mathcal{P}\land\mathcal{Q}\) is true when both \(\mathcal{P}\) and \(\mathcal{Q}\) are true, and false otherwise.
Given propositions \(\mathcal{P}\) and \(\mathcal{Q}\text{,}\) their disjunction is the proposition β\(\mathcal{P}\) or \(\mathcal{Q}\)β, denoted \(\mathcal{P}\lor \mathcal{Q}\) in logical notation, the truth value of which is defined as follows: \(\mathcal{P}\lor \mathcal{Q}\) is true when at least one of \(\mathcal{P}\) and \(\mathcal{Q}\) is true, and false otherwise.
Given propositions \(\mathcal{P}\) and \(\mathcal{Q}\text{,}\) the proposition βIf \(\mathcal{P}\text{,}\) then \(\mathcal{Q}\)β, denoted \(\mathcal{P}\implies\mathcal{Q}\) in logical notation, is called an implication, and its truth value is defined as follows: \(\mathcal{P}\implies\mathcal{Q}\) is false when \(\mathcal{P}\) is true and \(\mathcal{Q}\) is false, and true otherwise.
Given propositions \(\mathcal{P}\) and \(\mathcal{Q}\text{,}\) the proposition β\(\mathcal{P}\) if and only if \(\mathcal{Q}\)β, denoted \(\mathcal{P}\iff\mathcal{Q}\) in logical notation, is called an equivalence, and its truth value is defined as follows: \(\mathcal{P}\iff \mathcal{Q}\) is true when \(\mathcal{P}\) and \(\mathcal{Q}\) have the same truth value, and false otherwise. We say \(\mathcal{P}\) and \(\mathcal{Q}\) are logically equivalent when \(\mathcal{P}\iff \mathcal{Q}\) is true.
A truth table of a compound proposition \(\mathcal{P}\) is a concise way of displaying how the truth value of \(\mathcal{P}\) depends on the truth values of its component propositions. It contains one row for each possible truth assignment of the component propositions. As illustration, we give the truth tables for the logical operators defined above:
We construct a truth table with columns for \(\mathcal{P}\text{,}\)\(\mathcal{Q}\text{,}\)\(\neg\mathcal{P}\text{,}\)\(\mathcal{Q\implies P}\text{,}\) and \(\neg\mathcal{P}\implies (\mathcal{Q}\implies P)\text{:}\)
We conclude that \(\neg\mathcal{P}\implies (\mathcal{Q}\implies P)\) is false exactly when \(\mathcal{P}\) is false and \(\mathcal{Q}\) is true. (It follows that \(\neg\mathcal{P}\implies (\mathcal{Q}\implies P)\) is equivalent to \(Q\implies P\text{.}\) )
Our definitions of the logical operators above are chosen to agree with their usage in a very particular type of discourse: namely, mathematical discourse. They do not always agree with their use in natural language: hence the modifier βlogicalβ in their titles.
For example, disjunctions in natural language of the form β\(\mathcal{P}\) or \(\mathcal{Q}\)β are often understood to be true when \(\mathcal{P}\) is true or \(\mathcal{Q}\) is true, but not both. This notion of disjunction is called the exclusive or in logic, in contrast to the standard logical or.
Similarly, according to our definition, the implication βIf the President of the US is a dog, then the Vice President of the US is a catβ is true, since the proposition βThe President of the US is a dogβ is false. (In logic we say the implication is vacuously true in this case.) However, working outside of our logical definitions of truth value, we may have been inclined to treat this implication as false, since both βThe President of the US is a dogβ and βThe Vice President of the US is a catβ are false.
Propositions like βAll humans are mortalβ and βEvery positive real number has a square-rootβ are modeled in logic in the form βFor all \(x\text{,}\)\(P(x)\)β and βFor all \(r\text{,}\) there exists an \(s\) such that \(Q(r,s)\)β, where \(P(x)\) stands for the phrase β\(x\) is mortalβ and \(Q(r,s)\) stands for the phrase β\(s\) is a square-root of \(r\)β. Observe that \(P(x)\) and \(Q(r,s)\) on their own are not propositions; there is no truth value to β\(x\) is mortalβ or β\(s\) is a square-root of \(r\)β. Instead, we think of \(P(x)\) and \(Q(r,s)\) as functions which return propositions when evaluated at a specific choice for \(x\text{,}\) or for \(r\) and \(s\text{.}\) For example, evaluating \(P(x)\) at \(x=\text{Aaron Greicius}\) yields the proposition βAaron Greicius is mortalβ, which happens to be true at the time of writing. Similarly evaluating \(Q(r,s)\) at \(r=2, s=11\) yields the proposition β\(11\) is a square-root of 2β, which happens to be false. In logic \(P(x)\) and \(Q(r,s)\) are called propositional functions (also called predicates): functions whose outputs are propositions.
The propositions βFor all \(x\text{,}\)\(P(x)\)β and βFor all \(r\text{,}\) there exists an \(s\) such that \(Q(r,s)\)β are obtained from \(P(x)\) and \(Q(r,s)\) by bounding them with a series of quantifiers (e.g., βfor all \(x\)β, βthere exists an \(s\)β). The definition below allows us to assign truth values to such propositions.
Let \(D\) be a set, and let \(P\) be a propositional function that assigns to all elements \(d\in D\) the proposition \(P(d)\text{.}\) The set \(D\) is called the domain of discourse of \(P\text{.}\)
The proposition βFor all \(x\) in \(D\text{,}\)\(P(x)\)β, denoted \(\forall x P(x)\) in logical notation, is called a universal quantification, and its truth value is defined as follows: \(\forall x P(x)\) is true if for all elements \(d\) of \(D\text{,}\) the proposition \(P(d)\) is true; it is false if there is some \(d\in D\) such that \(P(d)\) is false.
The proposition βThere exists an \(x\) in \(D\) such that \(P(x)\)β, denoted \(\exists x P(x)\) in logical notation, is called an existential quantification, and its truth value is defined as follows: \(\exists x P(x)\) is true if there is some element \(d\) of \(D\) for which the proposition \(P(d)\) is true; it is false if \(P(d)\) is false for all \(d\in D\text{.}\)
Just as a function is not properly defined before its domain is specified, we do not have a well-defined propositional function, nor well-defined truth values of propositions built from this propositional function, until its domain of discourse is given.
For example, let \(P(x)\) be βx>0β. If we declare \(D=(0,\infty)\text{,}\) then the proposition \(\forall x P(x)\) is true, since by definition every \(d\in (0,\infty)\) is positive. On the other hand, if we declare \(D=\R\text{,}\) the proposition \(\forall x P(x)\) is false since not all elements of \(\R\) are positive: indeed, \(-1\) is negative, making \(P(-1)\) false.
Because of the important role played by the domain of discourse \(D\text{,}\) we sometimes include it in our quantifier expressions: e.g., \(\forall x\in D P(x)\text{,}\)\(\exists x\in D P(x)\text{.}\) Using this convention allows us to see more immediately that \(\forall\, x\in (0,\infty)\, P(x)\) is true and \(\forall\, x\in\mathbb{R}\, P(x)\) is false.
Example0.4.7.Modeling βEvery positive number has a square-rootβ.
Model the sentence βEvery positive real number has a square-rootβ in the form \(\forall x P(x)\text{,}\) where \(P\) is a propositional function with domain of discourse \(D=\R\text{.}\) Determine the truth value of \(\forall x\, P(x)\) using DefinitionΒ 0.4.5.
Fix our domain of discourse to be \(D=\R\text{.}\) For any \(r,s\in \R\text{,}\) let \(Q(r,s)\) be the proposition that \(s\) is a square-root of \(r\text{.}\) Define \(P(x)\) to be the propositional function
Thus for any \(r\in\R\text{,}\)\(P(r)\) is the proposition that if \(r\) is positive, then \(r\) has a square-root. It follows that \(\forall x\in\R\, P(x)\) is the proposition that for all real numbers \(x\text{,}\) if \(x\) is positive, then \(x\) has a square-root. This is clearly equivalent to the proposition that every positive real number has a square-root, as desired.
Lastly, we use DefinitionΒ 0.4.5 to show \(\forall x\in \R\, P(x)\) is true. Take any \(r\in \R\text{.}\) The real number \(r\) is either positive or not positive. If \(r\) is not positive, then \(r>0\) is false and hence \(P(r)\text{,}\) which is the implication \(r>0\implies \exists y\, Q(r,y)\text{,}\) is true vacuously. If \(r\) is positive, then \(r>0\) is true, and \(\exists y\, Q(r,y)\) is true, since \(r\) has a square-root in this case: namely, \(\sqrt{r}\text{.}\) But if \(r>0\) is true and \(\exists y\, Q(r,y)\) is true, then the implication \(r>0\implies \exists y\, Q(r,y)\) is true. We have proved \(P(r)\) is true for all \(r\in \R\text{.}\) Thus \(\forall x\in\R\, P(x)\) is true.
As ExampleΒ 0.4.7 illustrates, we can take a propositional function \(Q(x,y)\) in two variables and quantify one of the two variables to obtain a propositional function in one variable: e.g., \(P(x)=\exists y\, Q(x,y)\) or \(R(y)=\forall x\, Q(x,y)\text{.}\) Proceeding in this manner we engender propositions involving sequences of quantifiers. Mark well that the order of the quantifiers in such sequences is important!
For example, letting \(Q(x,y)\) be β\(y\) is a square-root of \(y\)β with domain of discourse \(D=(0,\infty)\text{.}\) The proposition \(\forall x\in\R\, \exists y\in\R\, Q(x,y)\) says that every positive real number has a positive square-root (true); the proposition \(\exists y\in\R\, \forall x\in\R\, Q(x,y)\) says that there is a positive real number that is the square-root of all real numbers (false).
Let \(P(x)\) be a propositional function with domain of discourse \(D\text{.}\) According to DefinitionΒ 0.4.5 a universal quantification \(\forall x\, P(x)\) is false if it is not the case that \(P(d)\) is true for all for all \(d\in D\text{;}\) that is, if there is some \(d\in D\) such that \(P(d)\) is false. Letting \(\neg P(x)\) be the propositional function defined as \(\neg P(d)\) for all \(d\in D\text{,}\) we see that \(\forall x\, P(x) \) is false if and only if \(\exists x\, \neg P(x)\) is true. This proves the equivalence
These equivalences can be understood as rules of negating quantifier statements. They can be summarized as follow: βswap quantifiers and negate the predicate.β
Let \(f(x)\) be a function with domain \(\R\text{,}\) and let \(c\in \R\) be a point of this domain. By definition, the proposition that \(\lim\limits_{x\to c}f(x)\) exists is equivalent to the following proposition:
(We made a number of shortcuts in our logical notation above (e.g. \(\forall \epsilon\gt 0\text{,}\)\(\exists\delta\gt 0\)) in order to simplify the expression somewhat; the intended meaning should still be clear. )
Use the negation rules described in Negating quantifiers to derive a similar proposition equivalent to the statement that \(\lim\limits_{x\to c}f(x)\) do not exist.
Let \(\mathcal{P}\) be the proposition in (0.2). Using the negation rules in series, we derive the chain of equivalences below (see Chains of implications/equivalences). Weβve added parentheses to emphasize what is being negated at each step. Note how a quantifiers are βswappedβ each time we pass the negation to the right.
(The last link in our chain uses the fact that \(\neg(\mathcal{Q}\implies\mathcal{R})\) is equivalent to \(\mathcal{Q}\land\neg\mathcal{R}\text{,}\) as a truth table easily shows.) Translating back into English, we conclude that the limit not existing (\(\neg\mathcal{P}\)) is equivalent to the following: for every \(L\in \mathbb{R}\) there is an \(\epsilon\gt 0\) such that for all \(\delta\gt 0\) there exists an \(x\in\mathbb{R}\) satisfying \(\val{x-c}\lt \delta\) and \(\val{f(x)-L}\not\gt\epsilon\text{.}\) Quite a mouthful!
Let \(C(x)\) be the statement "\(x\) has a cat", let \(D(x)\) be the statement "\(x\) has a dog" and let \(F(x)\) be the statement "\(x\)has a ferret". Express each of the following statements in terms of \(C(x)\text{,}\)\(D(x)\text{,}\) and \(F(x)\text{,}\) quantifiers, and logical connectives. Let the universe of discourse consist of all students in your class. Put the appropriate letter next to the corresponding symbolic form.
Let P(x) be the statement "x is a duck", let Q(x) be the statement "x is one of my poultry", let R(x) be the statement "x is an officer", and let S(x) be the statement "x is willing to waltz". Express each of the following statements in terms of P(x), Q(x), R(x) and S(x), quantifiers, and logical connectives. Let the universe of discourse consist of all living creatures. Put the appropriate letter next to the corresponding symbolic form.