maths.free › Discrete Math & Logic › Logic › Equivalent Statements
Equivalent Statements
Determine whether two statements are logically equivalent using a truth table.
Learning Objectives
After completing this section, you should be able to:
- Determine whether two statements are logically equivalent using a truth table.
- Compose the converse, inverse, and contrapositive of a conditional statement
Determine Logical Equivalence
Two statements, \(p\) and \(q\), are logically equivalent when \(p↔q\) is a valid argument, or when the last column of the truth table consists of only true values. When a logical statement is always true, it is known as a tautology. To determine whether two statements \(p\) and \(q\) are logically equivalent, construct a truth table for \(p↔q\) and determine whether it valid. If the last column is all true, the argument is a tautology, it is valid, and \(p\) is logically equivalent to \(q\); otherwise, \(p\) is not logically equivalent to \(q\).
Determining Logical Equivalence with a Truth Table
Try it.
Create a truth table to determine whether the following compound statements are logically equivalent.
- \(p\to q;\) \(\sim p\to \ \sim q\)
- \(p\to q;\) \(\sim p∨q\)
Solution
- Construct a truth table for the biconditional formed by using the first statement as the hypothesis and the second statement as the conclusion, \((p\to q)↔(\sim p\to \ \sim q).\)
\(p\) \(q\) \(p\to q\) \(\sim p\) \(\sim q\) \(\sim p\to \ \sim q\) \((p\to q)↔(\sim p\to \ \sim q)\) T T T F F T T T F F F T T F F T T T F F F F F T T T T T Because the last column it not all true, the biconditional is not valid and the statement \(p\to q\) is not logically equivalent to the statement \(\sim p\to \ \sim q\).
- Construct a truth table for the biconditional formed by using the first statement as the hypothesis and the second statement as the conclusion, \((p\to q)↔(\sim p∨q).\)
\(p\) \(q\) \(p\to q\) \(\sim p\) \(\sim p∨q\) \((p\to q)↔(\sim p∨q)\) T T T F T T T F F F F T F T T T T T F F T T T T Because the last column is true for every entry, the biconditional is valid and the statement \(p\to q\) is logically equivalent to the statement \(\sim p∨q\). Symbolically, \(p\to q\ ≡\ \sim p∨q.\)
Compose the Converse, Inverse, and Contrapositive of a Conditional Statement
The converse, inverse, and contrapositive are variations of the conditional statement, \(p\to q.\)
- The converse is if \(q\) then \(p\), and it is formed by interchanging the hypothesis and the conclusion. The converse is logically equivalent to the inverse.
- The inverse is if \(\sim p\) then \(\sim q\), and it is formed by negating both the hypothesis and the conclusion. The inverse is logically equivalent to the converse.
- The contrapositive is if \(\sim q\) then \(\sim p\), and it is formed by interchanging and negating both the hypothesis and the conclusion. The contrapositive is logically equivalent to the conditional.
The table below shows how these variations are presented symbolically.
| Conditional | Contrapositive | Converse | Inverse | ||||
| \(p\) | \(q\) | \(\sim p\) | \(\sim q\) | \(p\to q\) | \(\sim q\to \ \sim p\) | \(q\to p\) | \(\sim p\to \ \sim q\) |
| T | T | F | F | T | T | T | T |
| T | F | F | T | F | F | T | T |
| F | T | T | F | T | T | F | F |
| F | F | T | T | T | T | T | T |
Writing the Converse, Inverse, and Contrapositive of a Conditional Statement
Try it.
Use the statements, \(p\): Harry is a wizard and \(q\): Hermione is a witch, to write the following statements:
- Write the conditional statement, \(p\to q\), in words.
- Write the converse statement, \(q\to p\), in words.
- Write the inverse statement, \(\sim p\to \ \sim q\), in words.
- Write the contrapositive statement, \(\sim q\to \ \sim p\), in words.
Solution
- The conditional statement takes the form, “if \(p\), then \(q\),” so the conditional statement is: “If Harry is a wizard, then Hermione is a witch.” Remember the if … then … words are the connectives that form the conditional statement.
- The converse swaps or interchanges the hypothesis, \(p\), with the conclusion, \(q\). It has the form, “if \(q\), then \(p\).” So, the converse is: "If Hermione is a witch, then Harry is a wizard."
- To construct the inverse of a statement, negate both the hypothesis and the conclusion. The inverse has the form, “if \(\sim p\), then \(\sim q\),” so the inverse is: "If Harry is not a wizard, then Hermione is not a witch."
- The contrapositive is formed by negating and interchanging both the hypothesis and conclusion. It has the form, “if \(\sim q\), then \(\sim p\)," so the contrapositive statement is: "If Hermione is not a witch, then Harry is not a wizard."
Condensed: the full section is in OpenStax Contemporary Mathematics.
Key Concepts
- Two statements \(p\) and \(q\) are logically equivalent if the biconditional statement, \(p↔q\) is a valid argument. That is, the last column of the truth table consists of only true values. In other words, \(p↔q\) is a tautology. Symbolically, \(p\) is logically equivalent to \(q\) is written as: \(p≡q.\)
- A logical statement is a tautology if it is always true.
- To be valid a local argument must be a tautology. It must always be true.
- Know the variations of the conditional statement, be able to determine their truth values and compose statements with them.
- The converse of a conditional statement, if \(p\) then \(q\), is the statement formed by interchanging the hypothesis and conclusion. It is the statement if \(q\) then \(p\).
- The inverse of a conditional statement if formed by negating the hypothesis and the conclusion of the conditional statement.
- The contrapositive negates and interchanges the hypothesis and the conclusion.
Conditional Contrapositive Converse Inverse \(p\) \(q\) \(\sim p\) \(\sim q\) \(p\to q\) \(\sim q\to \sim p\) \(q\to p\) \(\sim p\to \sim q\) T T F F T T T T T F F T F F T T F T T F T T F F F F T T T T T T - The conditional statement is logically equivalent to the contrapositive.
- The converse is logically equivalent to the inverse.
- Know how to construct and use truth tables to determine whether statements are logically equivalent.
现在轮到你 没有计算器能解决这一个问题, 但其中的碎片是可以计算的。 请在下面尝试一个, 或者输入您自己的 。
实践 (4)
先在纸上试一个。 将答案显示为检查; 校验的答案可以在求解器中打开, 每一步都可用 。
-
Create a truth table to determine whether the following compound statements are logically equivalent.
- \(p\to q;\) \(\sim p\to \ \sim q\)
- \(p\to q;\) \(\sim p∨q\)
发送答案
- Construct a truth table for the biconditional formed by using the first statement as the hypothesis and the second statement as the conclusion, \((p\to q)↔(\sim p\to \ \sim q).\)
\(p\) \(q\) \(p\to q\) \(\sim p\) \(\sim q\) \(\sim p\to \ \sim q\) \((p\to q)↔(\sim p\to \ \sim q)\) T T T F F T T T F F F T T F F T T T F F F F F T T T T T Because the last column it not all true, the biconditional is not valid and the statement \(p\to q\) is not logically equivalent to the statement \(\sim p\to \ \sim q\).
- Construct a truth table for the biconditional formed by using the first statement as the hypothesis and the second statement as the conclusion, \((p\to q)↔(\sim p∨q).\)
\(p\) \(q\) \(p\to q\) \(\sim p\) \(\sim p∨q\) \((p\to q)↔(\sim p∨q)\) T T T F T T T F F F F T F T T T T T F F T T T T Because the last column is true for every entry, the biconditional is valid and the statement \(p\to q\) is logically equivalent to the statement \(\sim p∨q\). Symbolically, \(p\to q\ ≡\ \sim p∨q.\)
-
Use the statements, \(p\): Harry is a wizard and \(q\): Hermione is a witch, to write the following statements:
- Write the conditional statement, \(p\to q\), in words.
- Write the converse statement, \(q\to p\), in words.
- Write the inverse statement, \(\sim p\to \ \sim q\), in words.
- Write the contrapositive statement, \(\sim q\to \ \sim p\), in words.
发送答案
- The conditional statement takes the form, “if \(p\), then \(q\),” so the conditional statement is: “If Harry is a wizard, then Hermione is a witch.” Remember the if … then … words are the connectives that form the conditional statement.
- The converse swaps or interchanges the hypothesis, \(p\), with the conclusion, \(q\). It has the form, “if \(q\), then \(p\).” So, the converse is: "If Hermione is a witch, then Harry is a wizard."
- To construct the inverse of a statement, negate both the hypothesis and the conclusion. The inverse has the form, “if \(\sim p\), then \(\sim q\),” so the inverse is: "If Harry is not a wizard, then Hermione is not a witch."
- The contrapositive is formed by negating and interchanging both the hypothesis and conclusion. It has the form, “if \(\sim q\), then \(\sim p\)," so the contrapositive statement is: "If Hermione is not a witch, then Harry is not a wizard."
-
Use the conditional statement, “If all dogs bark, then Lassie likes to bark,” to identify the following.
- Write the hypothesis of the conditional statement and label it with a \(p\).
- Write the conclusion of the conditional statement and label it with a \(q\).
- Identify the following statement as the converse, inverse, or contrapositive: “If Lassie likes to bark, then all dogs bark.”
- Identify the following statement as the converse, inverse, or contrapositive: “If Lassie does not like to bark, then some dogs do not bark.”
- Which statement is logically equivalent to the conditional statement?
发送答案
- The hypothesis is the phrase following the if. The answer is \(p\): All dogs bark. Notice, the word if is not included as part of the hypothesis.
- The conclusion of a conditional statement is the phrase following the then. The word then is not included when stating the conclusion. The answer is: \(q\): Lassie likes to bark.
- “Lassie likes to bark” is \(q\) and “All dogs bark” is \(p\). So, “If Lassie likes to bark, then all dogs bark,” has the form “if \(q\), then \(p\),” which is the form of the converse.
- “Lassie does not like to bark” is \(\sim q\) and “Some dogs do not bark” is \(\sim p\). The statement, “If Lassie does not like to bark, then some dogs do not bark,” has the form “if \(\sim q\), then \(\sim p\),” which is the form of the contrapositive.
- The contrapositive \(\sim q\to \ \sim p\) is logically equivalent to the conditional statement \(p\to q.\)
-
Assume the conditional statement, \(p\to q:\) “If Chadwick Boseman was an actor, then Chadwick Boseman did not star in the movie Black Panther” is false, and use it to answer the following questions.
- Write the converse of the statement in words and determine its truth value.
- Write the inverse of the statement in words and determine its truth value.
- Write the contrapositive of the statement in words and determine its truth value.
发送答案
- The only way the conditional statement can be false is if the hypothesis, \(p\): Chadwick Boseman was an actor, is true and the conclusion, \(q\): Chadwick Boseman did not star in the movie Black Panther, is false. The converse is \(q\to p,\) and it is written in words as: “If Chadwick Boseman did not star in the movie Black Panther, then Chadwick Boseman was an actor.” This statement is true, because false \(\to\) true is true.
- The inverse has the form “\(\sim p\to \ \sim q.\)” The written form is: “If Chadwick Boseman was not an actor, then Chadwick Boseman starred in the movie Black Panther.” Because \(p\) is true, and \(q\) is false, \(\sim p\) is false, and \(\sim q\) is true. This means the inverse is false \(\to\) true, which is true. Alternatively, from Question 1, the converse is true, and because the inverse is logically equivalent to the converse it must also be true.
- The contrapositive is logically equivalent to the conditional. Because the conditional is false, the contrapositive is also false. This can be confirmed by looking at the truth values of the contrapositive statement. The contrapositive has the form “\(\sim q\to \ \sim p\).” Because \(q\) is false and \(p\) is true, \(\sim q\) is true and \(\sim p\) is false. Therefore, \(\sim q\to \ \sim p\) is true \(\to\) false, which is false. The written form of the contrapositive is “If Chadwick Boseman starred in the movie Black Panther, then Chadwick Boseman was not an actor.”
此处所用符号
输入完整定义、图片和其中每个字母的含义的符号。
如何: Equivalent Statements
- Determine whether two statements are logically equivalent using a truth table.
- Compose the converse, inverse, and contrapositive of a conditional statement
- Construct a truth table for the biconditional formed by using the first statement as the hypothesis and the second statement as the conclusion,
- Construct a truth table for the biconditional formed by using the first statement as the hypothesis and the second statement as the conclusion,
- The converse is if
- The inverse is if
- The contrapositive is if
- Write the conditional statement,
人们对人们提出的问题
What makes mathematics "discrete"?
It deals with separate, countable objects (integers, graphs, statements) rather than continuous quantities. No limits, no infinitesimals; instead induction, counting and logic.
How does a proof by induction work?
Show the statement for the first case, then show that whenever it holds for n it holds for n + 1. Like dominoes: the first falls, and each knocks over the next.
What order should I take these lessons in?
Logic and proof first, because every later lesson proves things. Then induction, sets, relations and functions, counting, recurrences, graphs, Boolean algebra and automata, and finally algorithms and complexity, which use nearly everything before them.
Is discrete mathematics the same as the maths of computer science?
Largely. Data structures are graphs and trees, correctness arguments are induction, running times are recurrences and sums, circuits are Boolean algebra, and what a computer can do efficiently is the subject of the last lessons. It is also ordinary mathematics in its own right.
Do I need calculus for this course?
No. School algebra is enough. A little familiarity with limits helps when comparing growth rates, and the lesson on asymptotic analysis explains the one limit fact it uses.
本页部分内容从 OpenStax Contemporary Mathematics (CC BY-NC-SA 4.0). 在这里进行浓缩和重新解释;错误属于我们。 由于其来源是非商业性用途许可证,这一课程是免费的,不出售任何物品,根据同一许可证分享。
更多 Discrete Math & Logic
Truth tablesSums and inductionProof by inductionAlgorithms and growth of functionsPredicate logic and quantifiersDirect proof, contrapositive and contradictionStrong induction and the well-ordering principleRelations: equivalence relations and partial ordersFunctions and cardinalityCounting: rules, choices and bijectionsThe pigeonhole principleSolving linear recurrence relationsGraphs: degrees, paths and connectivityTrees and spanning trees