2.2: Compound Statements
- Page ID
- 129509
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)
( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\id}{\mathrm{id}}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\kernel}{\mathrm{null}\,}\)
\( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\)
\( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\)
\( \newcommand{\norm}[1]{\| #1 \|}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)
\( \newcommand{\vectorA}[1]{\vec{#1}} % arrow\)
\( \newcommand{\vectorAt}[1]{\vec{\text{#1}}} % arrow\)
\( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vectorC}[1]{\textbf{#1}} \)
\( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)
\( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)
\( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)\(\PageIndex{1}\):
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 represents the statement, “Derrick Jeter played professional baseball for the New York Yankees,” and if represents the statement, “Derrick Jeter was a short stop,” then the conjunction will be written symbolically as
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, is called the hypothesis or antecedent and is called the conclusion or consequent. For a biconditional statement to be true, the truth values of and 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 |
These connectives, along with their names, symbols, and properties, will be used throughout this chapter and should be memorized.
Associate Connectives with Symbols and Names
For each of the following connectives, write its name and associated symbol.
- or
- implies
- but
- Answer
-
A compound statement formed with the connective word or is called a disjunction, and it is represented by the ∨ symbol.
A compound statement formed with the connective word implies or phrase “if …, then” is called a conditional statement or implication and is represented by the → symbol.
A compound statement formed with the connective words but or and is called a conjunction, and it is represented by the ∧ symbol.
- not
- and
- if and only if
Translating Compound Statements to Symbolic Form
To translate a compound statement into symbolic form, we take the following steps.
- Identify and label all independent affirmative logical statements with a lower case letter, such as , , or .
- Identify and label any negative logical statements with a lowercase letter preceded by the negation symbol, such as , , or .
- Replace the connective words with the symbols that represent them, such as
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 represent the statement, “My friend passed the written test.” And, let 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: . My friend passed the written test, but they did not pass the road test.
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 : The stripes on the U.S. flag are red and white.
Let represent the statement, “It is a warm sunny day,” and let represent the statement, “the family will go to the beach.” Write the symbolic form of each of the following compound statements.
- If it is a warm sunny day, then the family will go to the beach.
- The family will go to the beach, and it is a warm sunny day.
- The family will not go to the beach if and only if it is not a warm sunny day.
- The family not go to the beach, or it is a warm sunny day.
- Answer
-
- Replace "it is a warm sunny day" with \(p\). Replace "the family will go to the beach." with \(q\). Next. Next, because the connective is if ..., then place the conditional symbol, \(\rightarrow\), between \(p\) and \(q\). The compound statement is written symbolically as: \(p \rightarrow q\).
- Replace "The family will go to the beach" with \(q\). Replace "it is a warm sunny day." with \(p\). Next, because the connective is and, place the \(\wedge\) symbol between \(q\) and \(p\). The compound statement is written symbolically as: \(q \wedge p\).
- Replace "The family will not go to the beach. with \(\sim q\). Replace "it is not a warm sunny day" with \(\sim p\). Next, because the connective is or, if and only if, place the biconditional symbol, \(\leftrightarrow\) between \(\sim q\) and \(\sim p\). The compound statement is written symbolically as: \(\sim q \leftrightarrow \sim p\).
- Replace "The family will not go to the beach" with \(\sim q\). Replace "it is a warm sunny day" with \(p\). Next, because the connective is or, place the \(\vee\) symbol between \(\sim q\) and \(p\). The compound statement is written symbolically as: \(\sim q \vee p\).
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:
- Today we will go skiing, but last night it did not snow.
- Today we will go skiing if and only if it snowed last night.
- Last night is snowed or today we will not go skiing.
- 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 \(p\) represent the statement, "My friend passed the written test," let \(q\) represent the statement, "My friend passed the road test," and let \(r\) represent the statement, "My friend received a driver's license." The statement \((p \wedge q) \rightarrow r\) can be translated into words as follows: the statement \(p \wedge q\) is grouped together to form the hypothesis of the conditional statement and \(r\) is the conclusion. The conditional statement has the form "if \(p \wedge q\), then \(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 \(p\), \(q\), and \(r\) of your friend obtaining a license, let's translate the statement \(\sim(p \wedge q) \rightarrow \sim r\) into words.
In this case, the hypothesis of the conditional statement is \(\sim(p \wedge q)\) and the conclusion is \(\sim 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, \(\sim(p \wedge q) \rightarrow \sim 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."
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.
Let \(p\) represent the statement, "My child finished their homework," let \(q\) represent the statement, "My child cleaned her room," let \(r\) represent the statement, "My child played video games," and let \(s\) represent the statement, "My child streamed a movie." Translate each of the following symbolic statements into words.
- \(\sim(p \wedge q)\)
- \((p \wedge q) \rightarrow(r \vee s)\)
- \(\sim(r \vee s) \leftrightarrow \sim(p \wedge q)\)
- Answer
-
- Replace \(~\) with "It is not the case," and \(\wedge\) with "and." One possible translation is: "It is not the case that my child finished their homework and cleaned their room."
- The hypothesis of the conditional statement is, "My child finished their homework and cleaned their room." The conclusion of the conditional statement is, "My child played video games or streamed a movie." One possible translation of the entire statement is: "If my child finished their homework and cleaned their room, then they played video games or streamed a movie."
- The hypothesis of the biconditional statement is \(\sim(r \vee s)\) and is written in words as: "It is not the case that my child played video games or streamed a movie." The conclusion of the biconditional statement is \(\sim(p \wedge q)\), which translates to: "It is not the case that my child finished their homework and cleaned their room." Because the biconditional, \(\leftrightarrow\) translates to if and only if, one possible translation of the statement is: "It is not the case that my child played video games or streamed a movie if and only if it is not the case that my child finished their homework and cleaned their room."
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.
- \(\sim r \rightarrow(p \vee q)\)
- \((p \wedge q) \rightarrow r\)
- \(\sim(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 , 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.
Use the Scientific Calculator found under the Resources tab to the far left
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 indicate that 3 should be multiplied by 2 to get 6, and then 1 should be added to 6 to get 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:
- 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.
- Next, we evaluate negations.
- Then, we evaluate conjunctions and disjunctions from left to right, because they have equal dominance.
- After evaluating all conjunctions and disjunctions, we evaluate conditionals.
- 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 \(\PageIndex{2}\) for a visual breakdown of the dominance of connectives.