Chapter 3 Logical Connectors and Quantifiers
Exercises Practice Problems
1. Two Truth Tables.
-
Fill in this truth table.
\begin{equation*} \begin{array}{c|c|c|c} P & Q & P \wedge Q & \neg (P \wedge Q) \\ \hline T & T & & \\ T & F & & \\ F & T & & \\ F & F & & \\ \end{array} \end{equation*}\begin{equation*} \begin{array}{c|c|c|c} %mathbook tabular P & Q & P \wedge Q & \neg (P \wedge Q) \\ \hline T & T & T& F\\ T & F & F & T\\ F & T & F & T\\ F & F & F & T\\ \end{array} \end{equation*} -
Now fill in this truth table.
\begin{equation*} \begin{array}{c|c|c|c|c} P & Q & \neg P & \neg Q & \neg P \vee \neg Q \\ \hline T & T & & & \\ T & F & & & \\ F & T & & & \\ F & F & & & \\ \end{array} \end{equation*}\begin{equation*} \begin{array}{c|c|c|c|c} P & Q & \neg P & \neg Q & \neg P \vee \neg Q \\ \hline T & T & F& F& F \\ T & F & F & T & T\\ F & T & T & F & T\\ F & F & T & T & T \\ \end{array} \end{equation*} Look at the last column of each of the two tables above. What do you conclude? Write a mathematical statement (using symbols) that summarizes your observation. Solution.
These two statements are equivalent. In other words, \[ \neg (P \wedge Q) \Longleftrightarrow \neg P \vee \neg Q. \]
2. Truth Table for \(\neg (P \vee Q)\).
Fill in the following truth table. Using the previous problems as inspiration, find another compound statement that is equivalent to \(\neg (P \vee Q)\text{.}\) Add columns to your truth table to show that you are correct.
3. The Effect of Negation.
Look back at the last two problems. What is the effect of negation on the AND operator? The OR operator? Solution.
Under negation, AND becomes OR, while OR becomes AND.
4. 16 Compound Statements using \(P\) and \(Q\).
The table below shows that are 16 possible outcomes for a compound statement involving \(P\) and/or \(Q\text{.}\) Find a statement corresponding to each of these 16 possibilities! Most of your statements will depend on both \(P\) and \(Q\text{,}\) but some will only depend on one or the other.
You will need one final connector: the exclusive or \(P \oplus Q\) which is true when exactly one of \(P\) and \(Q\) is true.
I'll split this into two tables for readability. We have
and
Hopefully, you noticed that there is an "anti-symmetry" to this table. The first column is the negation of the last column. The second column is the negation of the second-to-last column, and so on! So you can negate the \(k\)th statement \(k\) to find the \((17-k)\)th statement.
5. Sets and Logic.
For \(x \in \mathbb Z\text{,}\) consider the statements
and let \(A\) and \(B\) be the sets
Fill in the blanks using the symbols \(A\text{,}\) \(B\text{,}\) \(\cup\) and \(\cap\text{.}\)
You have just turned an expression about mathematical statements into an expression about sets! Solution.
6. Order of Quantifiers.
In this problem, we will see that the order of our quantifiers matters
-
Consider the statement
\begin{equation*} \exists y \in \mathbb{R}, \forall x \in \mathbb{R}, x = y^3. \end{equation*}Restate the above in plain English (as well as you can). Is this statement true or false? Solution.
The statement is: "There exists a \(y \in \R\text{,}\) such that for all \(x \in \R\text{,}\) we have \(x=y^3\text{.}\)" This is false since this statement says that there is a single number \(y\) that works for every \(x\) simultaneously.
-
Now consider the statement
\begin{equation*} \forall y \in \mathbb{R}, \exists x \in \mathbb{R}, x = y^3. \end{equation*}Restate the above in plain English (as well as you can). Is this statement true or false? Solution.
The statement is: "For each \(y \in \R\text{,}\) there exists an \(x \in \R\text{,}\) such that \(x=y^3\text{.}\)" This statement is true. This time, the choice of \(x\) depends on the given \(y\text{.}\) In particular, we take \(x = \sqrt[3]{y}\text{.}\)
7. Bounded and Unbounded.
Here is a mathematical definition for a bounded set.
"A set \(S \subset \mathbb{R}\) is bounded if there is an \(M \in \mathbb{R}\) such that \(|x| \leq M\) for all \(x \in S\text{.}\) A set is unbounded if no such \(M\) exists."
Rewrite the definition of bounded only using mathematical symbols and quantifiers. Solution.
\[ \exists M \in \R, \forall x \in S, |x| \leq M. \]
The definition of unbounded is the negation of your statement in part (a). Write an equivalent statement that does not use a negation sign. Then rewrite that statement in plain English. Solution.
\[ \forall M \in \R, \exists x \in S, |x| > M. \] For every \(M \in \R\text{,}\) there exists an \(x \in S\) such that \(|x| > M\text{.}\)