Contemporary Mathematics

# 2.2Compound Statements

Contemporary Mathematics2.2 Compound Statements

Figure 2.6 A person seeking their driver's license must pass two tests. A compound statement can be used to explain performance on both tests at once. (credit: modification of work “Drivers License -Teen driver” by State Farm/Flickr, CC BY 2.0)

### Learning Objectives

After completing this section, you should be able to:

1. Translate compound statements into symbolic form.
2. Translate compound statements in symbolic form with parentheses into words.
3. Apply the dominance of connectives.

Suppose your friend is trying to get a license to drive. In most places, they will need to pass some form of written test proving their knowledge of the laws and rules for driving safely. After passing the written test, your friend must also pass a road test to demonstrate that they can perform the physical task of driving safely within the rules of the law.

Consider the statement: "My friend passed the written test, but they did not pass the road test." This is an example of a compound statement, a statement formed by using a connective to join two independent clauses or logical statements. The statement, “My friend passed the written test,” is an independent clause because it is a complete thought or idea that can stand on its own. The second independent clause in this compound statement is, “My friend did not pass the road test.” The word "but" is the connective used to join these two statements together, forming a compound statement. So, did your friend acquire their driving license?.

This section introduces common logical connectives and their symbols, and allows you to practice translating compound statements between words and symbols. It also explores the order of operations, or dominance of connectives, when a single compound statement uses multiple connectives.

### Common Logical Connectives

Understanding the following logical connectives, along with their properties, symbols, and names, will be key to applying the topics presented in this chapter. The chapter will discuss each connective introduced here in more detail.

The joining of two logical statements with the word "and" or "but" forms a compound statement called a conjunction. In logic, for a conjunction to be true, all the independent logical statements that make it up must be true. The symbol for a conjunction is $∧∧$. Consider the compound statement, “Derek Jeter played professional baseball for the New York Yankees, and he was a shortstop.” If $pp$ represents the statement, “Derrick Jeter played professional baseball for the New York Yankees,” and if $qq$ represents the statement, “Derrick Jeter was a short stop,” then the conjunction will be written symbolically as $p∧q.p∧q.$

The joining of two logical statements with the word “or” forms a compound statement called a disjunction. Unless otherwise specified, a disjunction is an inclusive or statement, which means the compound statement formed by joining two independent clauses with the word or will be true if a least one of the clauses is true. Consider the compound statement, "The office manager ordered cake for for an employee’s birthday or they ordered ice cream.” This is a disjunction because it combines the independent clause, “The office manager ordered cake for an employee’s birthday,” with the independent clause, “The office manager ordered ice cream,” using the connective, or. This disjunction is true if the office manager ordered only cake, only ice cream, or they ordered both cake and ice cream. Inclusive or means you can have one, or the other, or both!

Joining two logical statements with the word implies, or using the phrase “if first statement, then second statement,” is called a conditional or implication. The clause associated with the "if" statement is also called the hypothesis or antecedent, while the clause following the "then" statement or the word implies is called the conclusion or consequent. The conditional statement is like a one-way contract or promise. The only time the conditional statement is false, is if the hypothesis is true and the conclusion is false. Consider the following conditional statement, “If Pedro does his homework, then he can play video games.” The hypothesis/antecedent is the statement following the word if, which is “Pedro does/did his homework.” The conclusion/consequent is the statement following the word then, which is “Pedro can play his video games.”

Joining two logical statements with the connective phrase “if and only if” is called a biconditional. The connective phrase "if and only if" is represented by the symbol, $↔.↔.$ In the biconditional statement, $p↔q,p↔q,$ $pp$ is called the hypothesis or antecedent and $qq$ is called the conclusion or consequent. For a biconditional statement to be true, the truth values of $pp$ and $qq$ must match. They must both be true, or both be false.

The table below lists the most common connectives used in logic, along with their symbolic forms, and the common names used to describe each connective.

Connective Symbol Name
and
but
$∧∧$ conjunction
or $∨∨$ disjunction, inclusive or
not ~ negation
if $……$, then implies $→→$ conditional, implication
if and only if $↔↔$ biconditional
Table 2.3

### Checkpoint

These connectives, along with their names, symbols, and properties, will be used throughout this chapter and should be memorized.

### Example 2.8

#### Associate Connectives with Symbols and Names

For each of the following connectives, write its name and associated symbol.

1. or
2. implies
3. but

For each connective write its name and associated symbol.
1.
not
2.
and
3.
if and only if

### Translating Compound Statements to Symbolic Form

To translate a compound statement into symbolic form, we take the following steps.

1. Identify and label all independent affirmative logical statements with a lower case letter, such as $pp$, $qq$, or $rr$.
2. Identify and label any negative logical statements with a lowercase letter preceded by the negation symbol, such as $~p~p$, $~q~q$, or $~r~r$.
3. Replace the connective words with the symbols that represent them, such as $∧,∨,→, or↔.∧,∨,→, or↔.$

Consider the previous example of your friend trying to get their driver’s license. Your friend passed the written test, but they did not pass the road test. Let $pp$ represent the statement, “My friend passed the written test.” And, let $~q~q$ represent the statement, “My friend did not pass the road test.” Because the connective but is logically equivalent to the word and, the symbol for but is the same as the symbol for and; replace but with the symbol $∧.∧.$ The compound statement is symbolically written as: $p∧~qp∧~q$. My friend passed the written test, but they did not pass the road test.

### Checkpoint

When translating English statements into symbolic form, do not assume that every connective “and” means you are dealing with a compound statement. The statement, “The stripes on the U.S. flag are red and white,” is a simple statement. The word “white” doesn’t express a complete thought, so it is not an independent clause and does not get its own symbol. This statement should be represented by a single letter, such as $ss$: The stripes on the U.S. flag are red and white.

### Example 2.9

#### Translating Compound Statements into Symbolic Form

Let $pp$ represent the statement, “It is a warm sunny day,” and let $qq$ represent the statement, “the family will go to the beach.” Write the symbolic form of each of the following compound statements.

1. If it is a warm sunny day, then the family will go to the beach.
2. The family will go to the beach, and it is a warm sunny day.
3. The family will not go to the beach if and only if it is not a warm sunny day.
4. The family not go to the beach, or it is a warm sunny day.

Let $p$ represent the statement, “Last night it snowed,” and let $q$ represent the statement, “Today we will go skiing.” Write the symbolic form of each of the following compound statements:
1.
Today we will go skiing, but last night it did not snow.
2.
Today we will go skiing if and only if it snowed last night.
3.
Last night is snowed or today we will not go skiing.
4.
If it snowed last night, then today we will go skiing.

### Translating Compound Statements in Symbolic Form with Parentheses into Words

When parentheses are written in a logical argument, they group a compound statement together just like when calculating numerical or algebraic expressions. Any statement in parentheses should be treated as a single component of the expression. If multiple parentheses are present, work with the inner most parentheses first.

Consider your friend’s struggles to get their license to drive. Let $pp$ represent the statement, “My friend passed the written test,” let $qq$ represent the statement, “My friend passed the road test,” and let $rr$ represent the statement, “My friend received a driver’s license.” The statement $(p∧q)→r(p∧q)→r$ can be translated into words as follows: the statement $p∧qp∧q$ is grouped together to form the hypothesis of the conditional statement and $rr$ is the conclusion. The conditional statement has the form “if $p∧q,p∧q,$ then $r.r.$” Therefore, the written form of this statement is: “If my friend passed the written test and they passed the road test, then my friend received a driver’s license.”

Sometimes a compound statement within parentheses may need to be negated as a group. To accomplish this, add the phrase, “it is not the case that” before the translation of the phrase in parentheses. For example, using $pp$, $qq$, and $rr$ of your friend obtaining a license, let’s translate the statement $~(p∧q)→~r~(p∧q)→~r$ into words.

In this case, the hypothesis of the conditional statement is $~(p∧q)~(p∧q)$ and the conclusion is $~r.~r.$ To negate the hypothesis, add the phrase “it is not the case” before translating what is in parentheses. The translation of the hypothesis is the sentence, “It is not the case that my friend passed the written test and they passed the road test,” and the translation of the conclusion is, “My friend did not receive a driver’s license.” So, a translation of the complete conditional statement, $~(p∧q)→~r~(p∧q)→~r$ is: “If it is not the case that my friend passed the written test and the road test, then my friend did not receive a driver’s license.”

### Checkpoint

It is acceptable to interchange proper names with pronouns and remove repeated phrases to make the written statement more readable, as long the meaning of the logical statement is not changed.

### Example 2.10

#### Translating Compound Statements in Symbolic Form with Parentheses into Words

Let $pp$ represent the statement, “My child finished their homework,” let $qq$ represent the statement, “My child cleaned her room,” let $rr$ represent the statement, “My child played video games,” and let $ss$ represent the statement, “My child streamed a movie.” Translate each of the following symbolic statements into words.

1. $~(p∧q)~(p∧q)$
2. $(p∧q)→(r∨s)(p∧q)→(r∨s)$
3. $~(r∨s)↔~(p∧q)~(r∨s)↔~(p∧q)$

Let $p$ represent the statement, “My roommates ordered pizza,” let $q$ represent the statement, “I ordered wings,” and let $r$ be the statement, “Our friends came over to watch the game.” Translate the following statements into words.
1.
$\text{~}r \to (p \vee q)$
2.
$(p \wedge q) \to r$
3.
$\text{~}(p \vee r)$

### The Dominance of Connectives

The order of operations for working with algebraic and arithmetic expressions provides a set of rules that allow consistent results. For example, if you were presented with the problem $1+3×21+3×2$, and you were not familiar with the order of operation, you might assume that you calculate the problem from left to right. If you did so, you would add 1 and 3 to get 4, and then multiply this answer by 2 to get 8, resulting in an incorrect answer. Try inputting this expression into a scientific calculator. If you do, the calculator should return a value of 7, not 8.

Scientific Calculator

The order of operations for algebraic and arithmetic operations states that all multiplication must be applied prior to any addition. Parentheses are used to indicate which operation—addition or multiplication—should be done first. Adding parentheses can change and/or clarify the order. The parentheses in the expression $1+(3×2)1+(3×2)$ indicate that 3 should be multiplied by 2 to get 6, and then 1 should be added to 6 to get 7: $1+(3×2)=7.1+(3×2)=7.$

As with algebraic expressions, there is a set of rules that must be applied to compound logical statements in order to evaluate them with consistent results. This set of rules is called the dominance of connectives. When evaluating compound logical statements, connectives are evaluated from least dominant to most dominant as follows:

1. Parentheses are the least dominant connective. So, any expression inside parentheses must be evaluated first. Add as many parentheses as needed to any statement to specify the order to evaluate each connective.
2. Next, we evaluate negations.
3. Then, we evaluate conjunctions and disjunctions from left to right, because they have equal dominance.
4. After evaluating all conjunctions and disjunctions, we evaluate conditionals.
5. Lastly, we evaluate the most dominant connective, the biconditional. If a statement includes multiple connectives of equal dominance, then we will evaluate them from left to right.

See Figure 2.7 for a visual breakdown of the dominance of connectives.

Figure 2.7

Let’s revisit your friend’s struggles to get their driver’s license. Let $pp$ represent the statement, “My friend passed the written test,” let $qq$ represent the statement, “My friend passed the road test,” and let $rr$ represent the statement, “My friend received a driver’s license.” Let's use the dominance of connectives to determine how the compound statement $p∧~q→rp∧~q→r$ should be evaluated.

Step 1: There are no parentheses, which is least dominant of all connectives, so we can skip over that.

Step 2: Because negation is the next least dominant, we should evaluate $~q~q$ first. We could add parentheses to the statement to make it clearer which connecting needs to be evaluated first: $p∧~q→rp∧~q→r$ is equivalent to $p∧(~q)→r.p∧(~q)→r.$

Step 3: Next, we evaluate the conjunction, $∧∧$. $p∧(~q)→rp∧(~q)→r$ is equivalent to $(p∧(~q))→r.(p∧(~q))→r.$

Step 4: Finally, we evaluate the conditional, $→,→,$ as this is the most dominant connective in this compound statement.

### Who Knew?

When using spreadsheet applications, like Microsoft Excel or Google Sheets, have you noticed that core functions, such as sum, average, or rate, have the same name and syntax for use? This is not a coincidence. Various standards organizations have developed requirements that software developers must implement to meet the conditions set by governments and large customers worldwide. The OpenDocument Format OASIS Standard enables transferring data between different office productivity applications and was approved by the International Standards Organization (ISO) and IEC on May 6, 2006.

Prior to adopting these standards, a government entity, business, or individual could lose access to their own data simply because it was saved in a format no longer supported by a proprietary software product—even data they were required by law to preserve, or data they simply wished to maintain access to.

Just as rules for applying the dominance of connectives help maintain understanding and consistency when writing and interpreting compound logical statements and arguments, the standards adopted for database software maintain global integrity and accessibility across platforms and user bases.

### Example 2.11

#### Applying the Dominance of Connectives

For each of the following compound logical statements, add parentheses to indicate the order to evaluate the statement. Recall that parentheses are evaluated innermost first.

1. $p∧~q∨rp∧~q∨r$
2. $q→~p∧rq→~p∧r$
3. $~(p∨q)↔~p∧~q~(p∨q)↔~p∧~q$

For each of the following compound logical statements, add parentheses to indicate the order in which to evaluate the statement. Recall that parentheses are evaluated innermost first.
1.
$p \vee q \wedge \text{~}r$
2.
$\text{~}p \to q \vee r$
3.
$\text{~}p \vee \text{~}q\, \leftrightarrow \,\text{~}(p \wedge q)$

### WORK IT OUT

#### Logic Terms and Properties – Matching Game

Materials: For every group of four students, include 30 cards (game, trading, or playing cards), 30 individual clear plastic gaming card sleeves, and 30 card-size pieces of paper. Prepare a list of 60 questions and answers ahead of time related to definitions and problems in Statements and Quantifiers and Compound Statements. Provide each group of four students with 20 questions and their associated answers. Instruct each group to select 15 of the 20 questions, and then, for each problem selected, create one card with the question and one card with the answer. Instruct the groups to then place each problem and answer in a separate card sleeve. Once they create 15 problem cards and 15 answer cards, have students shuffle the set of cards.

To play the game, groups should exchange their card decks to ensure no team begins playing with the deck that they created. Split each four-person group into teams of two students. After shuffling the cards, one team lays cards face down on their desk in a five-by-six grid. The other team will go first.

Each player will have a turn to try matching the question with the correct answer by flipping two cards to the face up position. If a team makes a match, they get to flip another two cards; if they do not get a match, they flip the cards face down and it is the other team’s turn to flip over two cards. The game continues in this manner until teams match all question cards with their corresponding answer cards. The team with the most set of matching cards wins.

In the first module of this chapter, we evaluated the truth value of negations. In the following modules, we will discuss how to evaluate conjunctions, disjunctions, conditionals, and biconditionals, and then evaluate compound logical statements using truth tables and our knowledge of the dominance of connectives.

9.
A __________ __________ is a logical statement formed by combining two or more statements with connecting words, such as and, or, but, not, and if …, then.
10.
A _____ is a word or symbol used to join two or more logical statements together to form a compound statement.
11.
The most dominant connective is the _____.
12.
_____ are used to specify which logical connective should be evaluated first when evaluating a compound statement.
13.
Both _____ and _____ have equal dominance and are evaluated from left to right when no parentheses are present in a compound logical statement.

### Section 2.2 Exercises

For the following exercises, translate each compound statement into symbolic form.
Given $p$: “Layla has two weeks for vacation,” $q$: “Marcus is Layla’s friend,” $r$: “Layla will travel to Paris, France,” and $s$: “Layla and Marcus will travel together to Niagara Falls, Ontario.”
1 .
If Layla has two weeks for vacation, then she will travel to Paris, France.
2 .
Layla and Marcus will travel together to Niagara Falls, Ontario or Layla will travel to Paris, France.
3 .
If Marcus is not Layla’s friend, then they will not travel to Niagara Falls, Ontario together.”
4 .
Layla and Marcus will travel to Niagara Falls, Ontario together if and only if Layla and Marcus are friends.
5 .
If Layla does not have two weeks for vacation and Marcus is Layla’s friend, then Marcus and Layla will travel together to Niagara Falls, Ontario.
6 .
If Layla has two weeks for vacation and Marcus is not her friend, then she will travel to Paris, France.
For the following exercises, translate each compound statement into symbolic form.
Given $p$: “Tom is a cat,” $q$: “Jerry is a mouse,” $r$: “Spike is a dog,” $s$: “Tom chases Jerry,” and $t$: “Spike catches Tom.”
7 .
Jerry is a mouse and Tom is a cat.
8 .
If Tom chases Jerry, then Spike will catch Tom.
9 .
If Spike does not catch Tom, then Tom did not chase Jerry.
10 .
Tom is a cat and Spike is a dog, or Jerry is not a Mouse.
11 .
It is not the case that Tom is not a cat and Jerry is not a mouse.
12 .
Spike is not a dog and Jerry is a mouse if and only if Tom chases Jerry, but Spike does not catch Tom.
For the following exercises, translate the symbolic form of each compound statement into words.
Given $p$: “Tracy Chapman plays guitar,” $q$: “Joan Jett plays guitar,” $r$: “All rock bands include guitarists,” and $s$: “Elton John plays the piano.”
13 .
$p \vee r$
14 .
$\text{~}s\, \to \,\text{~}q$
15 .
$(p \wedge q)\, \leftrightarrow \,r$
16 .
$\text{~}r \wedge (q \vee s)$
17 .
$\text{~}(p \wedge \text{~}q)$
18 .
$(q\, \to \,\text{~}r) \leftrightarrow (\text{~}p\, \vee \text{~}r)$
For the following exercises, translate the symbolic form of each compound statement into words.
Given $p$: “The median is the middle number,” $q$: “The mode is the most frequent number,” $r$: “The mean is the average number,” $s$: “The median, mean, and mode are equal,” and $t$: “The data set is symmetric.”
19 .
$t \to s$
20 .
$p \wedge (q \wedge r)$
21 .
$\text{~}t\, \to \,\text{~}s$
22 .
$(r \wedge p) \leftrightarrow q$
23 .
$(t \to \,\text{~}q) \vee (r \to s)$
24 .
$\text{~}(q \vee r) \to t$
For the following exercises, apply the proper dominance of connectives by adding parentheses to indicate the order in which the statement must be evaluated.
25 .
$p \to q \vee r$
26 .
$p \wedge q\, \leftrightarrow \,\text{~}r$
27 .
$p \vee r \vee \text{~}q$
28 .
$p \wedge \text{~}q \wedge r$
29 .
$p \wedge r \vee s \wedge t$
30 .
$q\, \to \,\text{~}r\, \leftrightarrow \,\text{~}p\, \vee \text{~}r$
31 .
$p \to r \vee s\, \leftrightarrow \,\text{~}t$
32 .
$\text{~}(t \wedge s) \vee (p \to q) \wedge \text{~}r$
Order a print copy

As an Amazon Associate we earn from qualifying purchases.