1 Language, Logic, and Proof
1.1 Introduction to Logic
Objectives:
-
•
Identify basic components of propositional logic in mathematical phrases
-
•
Build truth tables to verify truth values of complex propositions
1.1.1 Defining Basic Logic Terms
In our previous section we no doubt ran into issues with proving these number theory statements. How do we begin, how do we end, and what are the important steps to include in between? Let’s begin unpacking these ideas in this section. Mathematicians wish to be as analytic as is reasonable when proving their statements to make their theorems as robust and sturdy as possible. When we are building large structures, we need to make sure that every piece is solid so that the tools we develop are useful. The basics of this analytic language is called propositional logic, which we discuss now.
Definition 1.1.1.
A proposition is a sentence that is either true or false but never both. The truth value of a proposition refers to its attribute of being true or false. (This is also referred to as a statement, like in our readings.)
Typically we refer to propositions by capital letters , etc. In the definitions to come, you can consider to be a statement like “It is raining outside” and to be a statement like “The ground is wet”.
Definition 1.1.2.
Let and be propositions.
-
(a)
The proposition “not ” is true if is false.
-
•
This is expressed symbolically as (LaTeX neg). The statement is called the negation of .
-
•
-
(b)
The proposition “ and ” is true if both and are true.
-
•
This is expressed symbolically as (LaTeX wedge). The statement is called the conjunction of and .
-
•
-
(c)
The proposition “ or ” if at least one of or is true. Even in the case that both and is true, the statement “ or ” has a truth value of “true”.
-
•
This is expressed symbolically as (LaTeX vee). The statement is called the disjunction of and .
-
•
-
(d)
The proposition “If , then ” is true if either both and are true, or is false.
-
•
This is expressed symbolically as (LaTeX Rightarrow). The statement is called a conditional proposition or an implication (typically the statement reads “ implies ”, but there are several more ways to say the same statement).
-
•
Given the statement above, is called the hypothesis (or antecedent) and is called the conclusion (or consequent).
-
•
-
(e)
The proposition “ if and only if ” is true if both and have the same truth value.
-
•
This is expressed symbolically as (LaTeX iff or Leftrightarrow). The statement is called a biconditional proposition.
-
•
If the proposition “” is true, we say that and are logically equivalent. If is true, is true, and vice versa. This is one of the strongest statements we can make in logic, and since it comes up so frequently we abbreviate it as “ iff ”.
-
•
Example 1.1.3.
Let be the statement “It is raining outside” and be the statement “The ground outside is wet”. Write each logical statement below in English. Mark which of these statements are true or false at the time you are reading this.
-
1.
Blank space for you to write your work.
-
2.
Blank space for you to write your work.
-
3.
Blank space for you to write your work.
-
4.
Blank space for you to write your work.
-
5.
Blank space for you to write your work.
-
6.
Blank space for you to write your work.
1.1.2 Truth Tables
Consider the following theorem known as the Intermediate Value Theorem from calculus:
If is a continuous function on a closed interval , and is any number between and , then there is at least one number in the interval such that .
One of our goals in having you take this class is enabling you to prove this theorem yourself. We won’t do this this semester, but we will begin working our way up to it. This very first concept already helps: if we make the statement “ is a continuous function on a closed interval ”, is the statement “ is any number between and ,” and is the statement “there is at least one number in the interval such that ”, then this statement reads
You may have thought we gave a lot of definitions in the last couple pages. However, notice that we are now able to break down even complicated theorems into simple logical statements. Even complicated propositions can be broken down into simple propositions, each individual statement can have its truth value analyzed, and then we can use these logical operations to rebuild the statement and determine whether the complicated statement is true or false.
But what are the truth values of , , and that make this statement true? To do this, we form a truth table, which begins by forming all possible combinations of truth values for , , and ,
Example 1.1.4.
Write out a truth table for the statements and .
Example 1.1.5.
A coach promises her players, “If we win tonight, then I will buy you pizza tomorrow.” Determine the cases in which the players can rightly claim to have been lied to.
Using this information, write the truth table for the statement .
Notice that the only this statement can be proven false is if we find a case where is true but is false. This motivates the following result:
Theorem 1.1.6.
The negation of the statement is the statement .
Given this, we can now formulate truth tables for more complicated statements like the one from the previous page:
Example 1.1.7.
Write a truth table for the statement .
Let’s keep investigating the conditional statement .
Example 1.1.8.
Consider the statement: “If a card has a vowel on one side, it has an even number on the other.”
Given that each card has a letter on one side and a number on the other side, which card(s) do you have to turn over to verify this statement?
T 8 3 A
This seems to motivate the following definition:
Definition 1.1.9.
Given a conditional statement , the contrapositive of this statement is .
Example 1.1.10.
Form the contrapositive of the statement “If we win tonight, then I will buy you pizza tomorrow.” If this original statement is true, is the contrapositive of the statement true? How does this connect with our previous example?
Now to prove the following theorem requires a truth table. However, now we are convinced that this theorem might be true:
Theorem 1.1.11.
The statement and its contrapositive are logically equivalent. That is, one statement is true if the other is true, and one statement is false if the other is false.
Example 1.1.12.
Prove the theorem above by building a truth table.
There are two other ways to rework the statement “”, but neither of them are logically equivalent to this original statement.
Definition 1.1.13.
Given the statement , the converse of this statement is . The inverse of this statement it .
Example 1.1.14.
Provide an example of a true conditional proposition whose converse is false. Then provide an example of a true conditional proposition whose inverse is false. Could you use the same example for both?