{"id":3487,"date":"2023-05-24T20:15:49","date_gmt":"2023-05-24T20:15:49","guid":{"rendered":"https:\/\/content.one.lumenlearning.com\/quantitativereasoning\/?post_type=chapter&#038;p=3487"},"modified":"2025-08-29T21:02:33","modified_gmt":"2025-08-29T21:02:33","slug":"logic-basics-learn-it-5","status":"web-only","type":"chapter","link":"https:\/\/content.one.lumenlearning.com\/quantitativereasoning\/chapter\/logic-basics-learn-it-5\/","title":{"raw":"Logic Basics: Learn It 5","rendered":"Logic Basics: Learn It 5"},"content":{"raw":"<h2>Equivalence<\/h2>\r\n<p>Looking at truth tables, we can see that the original conditional and the contrapositive are <strong>logically equivalent<\/strong>, and that the converse and inverse are logically equivalent.<\/p>\r\n<center>\r\n[caption id=\"attachment_3490\" align=\"aligncenter\" width=\"741\"]<img class=\"wp-image-3490 size-full\" src=\"https:\/\/content-cdn.one.lumenlearning.com\/wp-content\/uploads\/sites\/18\/2023\/05\/24202157\/Screenshot-2023-05-24-162140.png\" alt=\"A truth table for p and q showing the conditional, converse, inverse and contrapositive interactions. The column for conditional is the same as the column for the contrapositive indicating they are equivalent. The column for converse is the same as the column for the inverse indicating they are equivalent.\" width=\"741\" height=\"298\" \/> \u00a0Figure 1. The table shows how these variations are presented symbolically.[\/caption]\r\n<\/center>\r\n<section class=\"textbox keyTakeaway\">\r\n<div>\r\n<h3>equivalence<\/h3>\r\n<p>Statements [latex]p[\/latex] and [latex]q[\/latex] are said to be <strong>logically equivalent<\/strong> if they have the same truth value in every model.<\/p>\r\n<ul>\r\n\t<li>A conditional statement and its contrapositive are logically equivalent.<\/li>\r\n\t<li>The converse and inverse of a statement are logically equivalent.<\/li>\r\n<\/ul>\r\n<\/div>\r\n<\/section>\r\n<p>In other words, the original statement and the contrapositive must agree with each other; they must both be true, or they must both be false. Similarly, the converse and the inverse must agree with each other; they must both be true, or they must both be false.<\/p>\r\n<h2>DeMorgan's Laws<\/h2>\r\n<p>There are two pairs of logically equivalent statements that come up\u00a0again and again in logic. They are prevalent\u00a0enough to be dignified by a special name: <b>DeMorgan\u2019s laws.<\/b><\/p>\r\n<p>Before we can dive into these laws, it is important to understand the term \"negation.\" Given a statement [latex]R[\/latex], the statement [latex]\\sim{R}[\/latex] is called the <b>negation<\/b> of [latex]R[\/latex]. If [latex]R[\/latex]\u00a0is a complex statement, then it is often the case that its negation [latex]\\sim{R}[\/latex]\u00a0can\u00a0be written in a simpler or more useful form. The process of finding this\u00a0form is called <b>negating<\/b> [latex]R[\/latex]. In proving theorems it is often necessary to\u00a0negate certain statements.<\/p>\r\n<section class=\"textbox keyTakeaway\">\r\n<div>\r\n<h3>DeMorgan\u2019s laws<\/h3>\r\n<ol>\r\n\t<li>The negation of a conjunction is equivalent to the disjunction of the negation of the statements making up the conjunction. To negate an \u201cand\u201d statement, negate each part and change the \u201cand\u201d to \u201cor\u201d.<center>[latex]\\sim\\left(P{\\wedge}Q\\right)=({\\sim}P)\\vee\\left(\\sim{Q}\\right)[\/latex]<\/center><\/li>\r\n\t<li>The negation of a disjunction is equivalent to the conjunction of the negation of the statements making up the disjunction. To negate an \u201cor\u201d statement, negate each part and change the \u201cor\u201d to \u201cand\u201d.<center>[latex]\\sim\\left(P\\vee{Q}\\right)=\\left(\\sim{P}\\right)\\wedge\\left(\\sim{Q}\\right)[\/latex]<\/center><\/li>\r\n<\/ol>\r\n<\/div>\r\n<\/section>\r\n<section class=\"textbox connectIt\">The laws are named after Augustus De Morgan (1806\u20131871), who introduced a formal version of the laws to classical propositional logic. De Morgan's formulation was influenced by algebraization of logic undertaken by George Boole, which later cemented De Morgan's claim to the find. Nevertheless, a similar observation was made by Aristotle, and was known to Greek and Medieval logicians.\u00a0For example, in the 14th century, William of Ockham wrote down the words that would result by reading the laws out. Jean Buridan, in his <i>Summulae de Dialectica<\/i>, also describes rules of conversion that follow the lines of De Morgan's laws.\u00a0<br \/>\r\n<br \/>\r\nStill, De Morgan is given credit for stating the laws in the terms of modern formal logic, and incorporating them into the language of logic. De Morgan's laws can be proved easily, and may even seem trivial.\u00a0Nonetheless, these laws are helpful in making valid inferences in proofs and deductive arguments.<\/section>\r\n<p>DeMorgan\u2019s laws are actually very natural and intuitive. Consider the\u00a0statement [latex]\\sim\\left(P\\wedge{Q}\\right)[\/latex], which we can interpret as meaning that it is not the\u00a0case that both [latex]P[\/latex] and [latex]Q[\/latex] are true. If it is not the case that both [latex]P[\/latex] and [latex]Q[\/latex]\u00a0are true, then at least one of [latex]P[\/latex] or [latex]Q[\/latex] is false, in which case [latex]\\left(\\sim{P}\\right)\\vee\\left(\\sim{Q}\\right)[\/latex]\u00a0is\u00a0true. Thus [latex]\\sim\\left(P\\wedge{Q}\\right)[\/latex]\u00a0means the same thing as [latex]\\left(\\sim{P}\\right)\\vee\\left(\\sim{Q}\\right)[\/latex]. This law can also be verified using a truth table.<\/p>\r\n<table>\r\n<thead>\r\n<tr>\r\n<th style=\"text-align: center; width: 141.035px;\"><b>[latex]P[\/latex]<\/b><\/th>\r\n<th style=\"text-align: center; width: 142.969px;\"><b>[latex]Q[\/latex]<\/b><\/th>\r\n<th style=\"text-align: center; width: 163.77px;\"><b>[latex]\\sim{P}[\/latex]<\/b><\/th>\r\n<th style=\"text-align: center; width: 165.703px;\"><b>[latex]\\sim{Q}[\/latex]<\/b><\/th>\r\n<th style=\"text-align: center; width: 201.035px;\">[latex]P\\wedge{Q}[\/latex]<\/th>\r\n<th style=\"text-align: center; width: 309.18px;\"><strong>[latex]\\sim\\left(P\\wedge{Q}\\right)[\/latex]<\/strong><\/th>\r\n<th style=\"text-align: center; width: 440.059px;\"><b>[latex]\\left(\\sim{P}\\right)\\vee\\left(\\sim{Q}\\right)[\/latex]<\/b><\/th>\r\n<\/tr>\r\n<\/thead>\r\n<tbody>\r\n<tr>\r\n<td style=\"text-align: center; width: 141.66px;\">T<\/td>\r\n<td style=\"text-align: center; width: 144.219px;\">T<\/td>\r\n<td style=\"text-align: center; width: 165.02px;\">F<\/td>\r\n<td style=\"text-align: center; width: 166.953px;\">F<\/td>\r\n<td style=\"text-align: center; width: 202.285px;\">T<\/td>\r\n<td style=\"text-align: center; width: 310.43px;\">F<\/td>\r\n<td style=\"text-align: center; width: 440.684px;\">F<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"text-align: center; width: 141.66px;\">T<\/td>\r\n<td style=\"text-align: center; width: 144.219px;\">F<\/td>\r\n<td style=\"text-align: center; width: 165.02px;\">F<\/td>\r\n<td style=\"text-align: center; width: 166.953px;\">T<\/td>\r\n<td style=\"text-align: center; width: 202.285px;\">F<\/td>\r\n<td style=\"text-align: center; width: 310.43px;\">T<\/td>\r\n<td style=\"text-align: center; width: 440.684px;\">T<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"text-align: center; width: 141.66px;\">F<\/td>\r\n<td style=\"text-align: center; width: 144.219px;\">T<\/td>\r\n<td style=\"text-align: center; width: 165.02px;\">T<\/td>\r\n<td style=\"text-align: center; width: 166.953px;\">F<\/td>\r\n<td style=\"text-align: center; width: 202.285px;\">F<\/td>\r\n<td style=\"text-align: center; width: 310.43px;\">T<\/td>\r\n<td style=\"text-align: center; width: 440.684px;\">T<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"text-align: center; width: 141.66px;\">F<\/td>\r\n<td style=\"text-align: center; width: 144.219px;\">F<\/td>\r\n<td style=\"text-align: center; width: 165.02px;\">T<\/td>\r\n<td style=\"text-align: center; width: 166.953px;\">T<\/td>\r\n<td style=\"text-align: center; width: 202.285px;\">F<\/td>\r\n<td style=\"text-align: center; width: 310.43px;\">T<\/td>\r\n<td style=\"text-align: center; width: 440.684px;\">T<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<p>&nbsp;<\/p>\r\n<p>DeMorgan\u2019s laws can be very useful. Suppose we happen to know that\u00a0some statement having form [latex]\\sim\\left(P\\vee{Q}\\right)[\/latex]\u00a0is true. The second of DeMorgan\u2019s\u00a0laws tells us that [latex]\\left(\\sim{Q}\\right)\\wedge\\left(\\sim{P}\\right)[\/latex]\u00a0is also true, hence [latex]\\sim{P}[\/latex] and [latex]\\sim{Q}[\/latex] are both true\u00a0as well. Being able to quickly obtain such additional pieces of information\u00a0can be extremely useful.<\/p>\r\n<p>Here is a summary of some significant logical equivalences. Those that\u00a0are not immediately obvious can be verified with a truth table.<\/p>\r\n<center>[latex]\\begin{array}{r@{\\hfill}l}<br \/>\r\n\\text{Contrapositive law} &amp; P\\rightarrow{Q}=(\\sim{Q})\\rightarrow(\\sim{P}) \\\\[6pt]<br \/>\r\n\\text{DeMorgan's laws} &amp; \\sim(P\\land{Q})=\\sim{P}\\lor\\sim{Q} \\\\<br \/>\r\n&amp; \\sim(P\\lor{Q})=\\sim{P}\\land\\sim{Q} \\\\[6pt]<br \/>\r\n\\text{Commutative laws} &amp; (P\\land{Q})={P}\\land{Q} \\\\<br \/>\r\n&amp; (P\\lor{Q})={P}\\lor{Q} \\\\[6pt]<br \/>\r\n\\text{Distributive laws} &amp; {P}\\land(Q\\lor{R})=({P}\\land{Q})\\lor(P\\land{R}) \\\\<br \/>\r\n&amp; P\\lor(Q\\land{R})=({P}\\lor{Q})\\land(P\\lor{R}) \\\\[6pt]<br \/>\r\n\\text{Associative laws} &amp; P\\land(Q\\land{R})=(P\\land{Q})\\land{R} \\\\<br \/>\r\n&amp; P\\lor(Q\\lor{R})=(P\\lor{Q})\\lor{R} \\\\<br \/>\r\n\\end{array}[\/latex]<\/center>\r\n<p>&nbsp;<\/p>\r\n<p>Notice how the distributive law [latex]P\\wedge\\left(Q\\vee{R}\\right)=\\left(P\\wedge{Q}\\right)\\vee\\left(P\\wedge{Q}\\right)\\vee\\left(P\\wedge{R}\\right)[\/latex]\u00a0has the\u00a0same structure as the distributive law [latex]p\\left(q+r\\right)=p\\cdot{q}+p\\cdot{r}[\/latex]\u00a0from algebra.\u00a0Concerning the associative laws, the fact that [latex]P\\wedge\\left(Q\\wedge{R}\\right)=\\left(P\\wedge{Q}\\right)\\wedge{R}[\/latex]\u00a0means\u00a0that the position of the parentheses is irrelevant, and we can write this as [latex]P\\wedge{Q}\\wedge{R}[\/latex]\u00a0without ambiguity. Similarly, we may drop the parentheses in\u00a0an expression such as [latex]P\\vee\\left(Q\\vee{R}\\right)[\/latex].<\/p>\r\n<p>But parentheses are essential when there is a mix of [latex]\\wedge[\/latex]\u00a0and [latex]\\vee[\/latex], as in [latex]P\\vee\\left(Q\\wedge{R}\\right)[\/latex]. Indeed, [latex]P\\vee\\left(Q\\wedge{R}\\right)[\/latex] and [latex]P\\vee\\left(Q\\wedge{R}\\right)[\/latex] and [latex]P\\vee\\left({Q}\\right)\\wedge{R}[\/latex] are <b>not<\/b> logically equivalent.<\/p>\r\n<section class=\"textbox tryIt\">[ohm2_question hide_question_numbers=1]7065[\/ohm2_question]<\/section>\r\n<p>Here are some examples that illustrate how\u00a0DeMorgan\u2019s laws are used to negate statements involving \u201cand\u201d or \u201cor.\u201d<\/p>\r\n<section class=\"textbox example\">Consider negating the following statement.\r\n\r\n<p>[latex]R[\/latex] : You can solve it by factoring or with the quadratic formula.<\/p>\r\n\r\n[reveal-answer q=\"102469\"]Show Solution[\/reveal-answer]<br \/>\r\n[hidden-answer a=\"102469\"]Now, [latex]R[\/latex] means (You can solve it by factoring) [latex]\\vee[\/latex]\u00a0(You can solve it with the quadratic formula),\u00a0which we will denote as [latex]P\\vee{Q}[\/latex]. The negation of this is [latex]\\sim\\left(P\\vee{Q}\\right)=\\left(\\sim{P}\\right)\\wedge\\left(\\sim{Q}\\right)[\/latex].\r\n\r\n<p>Therefore, in words, the negation of [latex]R[\/latex] is[latex]\\sim{R}[\/latex] : You can\u2019t solve it by factoring and you can\u2019t solve it with\u00a0the quadratic formula.<\/p>\r\n\r\nMaybe you can find [latex]\\sim{R}[\/latex]\u00a0without invoking DeMorgan\u2019s laws. That is good;\u00a0you have internalized DeMorgan\u2019s laws and are using them unconsciously.[\/hidden-answer]<\/section>\r\n<section class=\"textbox example\">Consider negating the following statement.\r\n\r\n<p>[latex]R[\/latex] : The numbers [latex]x[\/latex] and [latex]y[\/latex] are both odd.<\/p>\r\n\r\n[reveal-answer q=\"441993\"]Show Solution[\/reveal-answer]<br \/>\r\n[hidden-answer a=\"441993\"]This statement means [latex]\\left(x\\text{ is odd}\\right)\\wedge\\left(y\\text{ is odd}\\right)[\/latex], so its negation is:\r\n\r\n<p style=\"text-align: center;\">[latex]\\sim\\left[\\left(x\\text{ is odd}\\right)\\wedge\\left(y\\text{ is odd}\\right)\\right]=\\sim\\left(x\\text{ is odd}\\right)\\vee\\sim\\left(y\\text{ is odd}\\right)\\\\\\left(x\\text{ is odd}\\right)\\wedge\\left(y\\text{ is odd}\\right)=\\left(x\\text{ is even}\\right)\\vee\\left(y\\text{ is even}\\right)[\/latex]<\/p>\r\n<p>Therefore the negation of [latex]R[\/latex] can be expressed in the following ways:<\/p>\r\n<p>[latex]\\sim{R}[\/latex]: The number [latex]x[\/latex] is even or the number [latex]y[\/latex] is even.<br \/>\r\n[latex]\\sim{R}[\/latex]: At least one of [latex]x[\/latex] and [latex]y[\/latex] is even.<\/p>\r\n<p>[\/hidden-answer]<\/p>\r\n<\/section>\r\n<section class=\"textbox tryIt\">[ohm2_question hide_question_numbers=1]7066[\/ohm2_question]<\/section>","rendered":"<h2>Equivalence<\/h2>\n<p>Looking at truth tables, we can see that the original conditional and the contrapositive are <strong>logically equivalent<\/strong>, and that the converse and inverse are logically equivalent.<\/p>\n<div style=\"text-align: center;\">\n<figure id=\"attachment_3490\" aria-describedby=\"caption-attachment-3490\" style=\"width: 741px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-3490 size-full\" src=\"https:\/\/content-cdn.one.lumenlearning.com\/wp-content\/uploads\/sites\/18\/2023\/05\/24202157\/Screenshot-2023-05-24-162140.png\" alt=\"A truth table for p and q showing the conditional, converse, inverse and contrapositive interactions. The column for conditional is the same as the column for the contrapositive indicating they are equivalent. The column for converse is the same as the column for the inverse indicating they are equivalent.\" width=\"741\" height=\"298\" srcset=\"https:\/\/content-cdn.one.lumenlearning.com\/wp-content\/uploads\/sites\/18\/2023\/05\/24202157\/Screenshot-2023-05-24-162140.png 741w, https:\/\/content-cdn.one.lumenlearning.com\/wp-content\/uploads\/sites\/18\/2023\/05\/24202157\/Screenshot-2023-05-24-162140-300x121.png 300w, https:\/\/content-cdn.one.lumenlearning.com\/wp-content\/uploads\/sites\/18\/2023\/05\/24202157\/Screenshot-2023-05-24-162140-65x26.png 65w, https:\/\/content-cdn.one.lumenlearning.com\/wp-content\/uploads\/sites\/18\/2023\/05\/24202157\/Screenshot-2023-05-24-162140-225x90.png 225w, https:\/\/content-cdn.one.lumenlearning.com\/wp-content\/uploads\/sites\/18\/2023\/05\/24202157\/Screenshot-2023-05-24-162140-350x141.png 350w\" sizes=\"(max-width: 741px) 100vw, 741px\" \/><figcaption id=\"caption-attachment-3490\" class=\"wp-caption-text\">\u00a0Figure 1. The table shows how these variations are presented symbolically.<\/figcaption><\/figure>\n<\/div>\n<section class=\"textbox keyTakeaway\">\n<div>\n<h3>equivalence<\/h3>\n<p>Statements [latex]p[\/latex] and [latex]q[\/latex] are said to be <strong>logically equivalent<\/strong> if they have the same truth value in every model.<\/p>\n<ul>\n<li>A conditional statement and its contrapositive are logically equivalent.<\/li>\n<li>The converse and inverse of a statement are logically equivalent.<\/li>\n<\/ul>\n<\/div>\n<\/section>\n<p>In other words, the original statement and the contrapositive must agree with each other; they must both be true, or they must both be false. Similarly, the converse and the inverse must agree with each other; they must both be true, or they must both be false.<\/p>\n<h2>DeMorgan&#8217;s Laws<\/h2>\n<p>There are two pairs of logically equivalent statements that come up\u00a0again and again in logic. They are prevalent\u00a0enough to be dignified by a special name: <b>DeMorgan\u2019s laws.<\/b><\/p>\n<p>Before we can dive into these laws, it is important to understand the term &#8220;negation.&#8221; Given a statement [latex]R[\/latex], the statement [latex]\\sim{R}[\/latex] is called the <b>negation<\/b> of [latex]R[\/latex]. If [latex]R[\/latex]\u00a0is a complex statement, then it is often the case that its negation [latex]\\sim{R}[\/latex]\u00a0can\u00a0be written in a simpler or more useful form. The process of finding this\u00a0form is called <b>negating<\/b> [latex]R[\/latex]. In proving theorems it is often necessary to\u00a0negate certain statements.<\/p>\n<section class=\"textbox keyTakeaway\">\n<div>\n<h3>DeMorgan\u2019s laws<\/h3>\n<ol>\n<li>The negation of a conjunction is equivalent to the disjunction of the negation of the statements making up the conjunction. To negate an \u201cand\u201d statement, negate each part and change the \u201cand\u201d to \u201cor\u201d.\n<div style=\"text-align: center;\">[latex]\\sim\\left(P{\\wedge}Q\\right)=({\\sim}P)\\vee\\left(\\sim{Q}\\right)[\/latex]<\/div>\n<\/li>\n<li>The negation of a disjunction is equivalent to the conjunction of the negation of the statements making up the disjunction. To negate an \u201cor\u201d statement, negate each part and change the \u201cor\u201d to \u201cand\u201d.\n<div style=\"text-align: center;\">[latex]\\sim\\left(P\\vee{Q}\\right)=\\left(\\sim{P}\\right)\\wedge\\left(\\sim{Q}\\right)[\/latex]<\/div>\n<\/li>\n<\/ol>\n<\/div>\n<\/section>\n<section class=\"textbox connectIt\">The laws are named after Augustus De Morgan (1806\u20131871), who introduced a formal version of the laws to classical propositional logic. De Morgan&#8217;s formulation was influenced by algebraization of logic undertaken by George Boole, which later cemented De Morgan&#8217;s claim to the find. Nevertheless, a similar observation was made by Aristotle, and was known to Greek and Medieval logicians.\u00a0For example, in the 14th century, William of Ockham wrote down the words that would result by reading the laws out. Jean Buridan, in his <i>Summulae de Dialectica<\/i>, also describes rules of conversion that follow the lines of De Morgan&#8217;s laws.\u00a0<\/p>\n<p>Still, De Morgan is given credit for stating the laws in the terms of modern formal logic, and incorporating them into the language of logic. De Morgan&#8217;s laws can be proved easily, and may even seem trivial.\u00a0Nonetheless, these laws are helpful in making valid inferences in proofs and deductive arguments.<\/section>\n<p>DeMorgan\u2019s laws are actually very natural and intuitive. Consider the\u00a0statement [latex]\\sim\\left(P\\wedge{Q}\\right)[\/latex], which we can interpret as meaning that it is not the\u00a0case that both [latex]P[\/latex] and [latex]Q[\/latex] are true. If it is not the case that both [latex]P[\/latex] and [latex]Q[\/latex]\u00a0are true, then at least one of [latex]P[\/latex] or [latex]Q[\/latex] is false, in which case [latex]\\left(\\sim{P}\\right)\\vee\\left(\\sim{Q}\\right)[\/latex]\u00a0is\u00a0true. Thus [latex]\\sim\\left(P\\wedge{Q}\\right)[\/latex]\u00a0means the same thing as [latex]\\left(\\sim{P}\\right)\\vee\\left(\\sim{Q}\\right)[\/latex]. This law can also be verified using a truth table.<\/p>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: center; width: 141.035px;\"><b>[latex]P[\/latex]<\/b><\/th>\n<th style=\"text-align: center; width: 142.969px;\"><b>[latex]Q[\/latex]<\/b><\/th>\n<th style=\"text-align: center; width: 163.77px;\"><b>[latex]\\sim{P}[\/latex]<\/b><\/th>\n<th style=\"text-align: center; width: 165.703px;\"><b>[latex]\\sim{Q}[\/latex]<\/b><\/th>\n<th style=\"text-align: center; width: 201.035px;\">[latex]P\\wedge{Q}[\/latex]<\/th>\n<th style=\"text-align: center; width: 309.18px;\"><strong>[latex]\\sim\\left(P\\wedge{Q}\\right)[\/latex]<\/strong><\/th>\n<th style=\"text-align: center; width: 440.059px;\"><b>[latex]\\left(\\sim{P}\\right)\\vee\\left(\\sim{Q}\\right)[\/latex]<\/b><\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: center; width: 141.66px;\">T<\/td>\n<td style=\"text-align: center; width: 144.219px;\">T<\/td>\n<td style=\"text-align: center; width: 165.02px;\">F<\/td>\n<td style=\"text-align: center; width: 166.953px;\">F<\/td>\n<td style=\"text-align: center; width: 202.285px;\">T<\/td>\n<td style=\"text-align: center; width: 310.43px;\">F<\/td>\n<td style=\"text-align: center; width: 440.684px;\">F<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center; width: 141.66px;\">T<\/td>\n<td style=\"text-align: center; width: 144.219px;\">F<\/td>\n<td style=\"text-align: center; width: 165.02px;\">F<\/td>\n<td style=\"text-align: center; width: 166.953px;\">T<\/td>\n<td style=\"text-align: center; width: 202.285px;\">F<\/td>\n<td style=\"text-align: center; width: 310.43px;\">T<\/td>\n<td style=\"text-align: center; width: 440.684px;\">T<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center; width: 141.66px;\">F<\/td>\n<td style=\"text-align: center; width: 144.219px;\">T<\/td>\n<td style=\"text-align: center; width: 165.02px;\">T<\/td>\n<td style=\"text-align: center; width: 166.953px;\">F<\/td>\n<td style=\"text-align: center; width: 202.285px;\">F<\/td>\n<td style=\"text-align: center; width: 310.43px;\">T<\/td>\n<td style=\"text-align: center; width: 440.684px;\">T<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center; width: 141.66px;\">F<\/td>\n<td style=\"text-align: center; width: 144.219px;\">F<\/td>\n<td style=\"text-align: center; width: 165.02px;\">T<\/td>\n<td style=\"text-align: center; width: 166.953px;\">T<\/td>\n<td style=\"text-align: center; width: 202.285px;\">F<\/td>\n<td style=\"text-align: center; width: 310.43px;\">T<\/td>\n<td style=\"text-align: center; width: 440.684px;\">T<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p>DeMorgan\u2019s laws can be very useful. Suppose we happen to know that\u00a0some statement having form [latex]\\sim\\left(P\\vee{Q}\\right)[\/latex]\u00a0is true. The second of DeMorgan\u2019s\u00a0laws tells us that [latex]\\left(\\sim{Q}\\right)\\wedge\\left(\\sim{P}\\right)[\/latex]\u00a0is also true, hence [latex]\\sim{P}[\/latex] and [latex]\\sim{Q}[\/latex] are both true\u00a0as well. Being able to quickly obtain such additional pieces of information\u00a0can be extremely useful.<\/p>\n<p>Here is a summary of some significant logical equivalences. Those that\u00a0are not immediately obvious can be verified with a truth table.<\/p>\n<div style=\"text-align: center;\">[latex]\\begin{array}{r@{\\hfill}l}<br \/>  \\text{Contrapositive law} & P\\rightarrow{Q}=(\\sim{Q})\\rightarrow(\\sim{P}) \\\\[6pt]<br \/>  \\text{DeMorgan's laws} & \\sim(P\\land{Q})=\\sim{P}\\lor\\sim{Q} \\\\<br \/>  & \\sim(P\\lor{Q})=\\sim{P}\\land\\sim{Q} \\\\[6pt]<br \/>  \\text{Commutative laws} & (P\\land{Q})={P}\\land{Q} \\\\<br \/>  & (P\\lor{Q})={P}\\lor{Q} \\\\[6pt]<br \/>  \\text{Distributive laws} & {P}\\land(Q\\lor{R})=({P}\\land{Q})\\lor(P\\land{R}) \\\\<br \/>  & P\\lor(Q\\land{R})=({P}\\lor{Q})\\land(P\\lor{R}) \\\\[6pt]<br \/>  \\text{Associative laws} & P\\land(Q\\land{R})=(P\\land{Q})\\land{R} \\\\<br \/>  & P\\lor(Q\\lor{R})=(P\\lor{Q})\\lor{R} \\\\<br \/>  \\end{array}[\/latex]<\/div>\n<p>&nbsp;<\/p>\n<p>Notice how the distributive law [latex]P\\wedge\\left(Q\\vee{R}\\right)=\\left(P\\wedge{Q}\\right)\\vee\\left(P\\wedge{Q}\\right)\\vee\\left(P\\wedge{R}\\right)[\/latex]\u00a0has the\u00a0same structure as the distributive law [latex]p\\left(q+r\\right)=p\\cdot{q}+p\\cdot{r}[\/latex]\u00a0from algebra.\u00a0Concerning the associative laws, the fact that [latex]P\\wedge\\left(Q\\wedge{R}\\right)=\\left(P\\wedge{Q}\\right)\\wedge{R}[\/latex]\u00a0means\u00a0that the position of the parentheses is irrelevant, and we can write this as [latex]P\\wedge{Q}\\wedge{R}[\/latex]\u00a0without ambiguity. Similarly, we may drop the parentheses in\u00a0an expression such as [latex]P\\vee\\left(Q\\vee{R}\\right)[\/latex].<\/p>\n<p>But parentheses are essential when there is a mix of [latex]\\wedge[\/latex]\u00a0and [latex]\\vee[\/latex], as in [latex]P\\vee\\left(Q\\wedge{R}\\right)[\/latex]. Indeed, [latex]P\\vee\\left(Q\\wedge{R}\\right)[\/latex] and [latex]P\\vee\\left(Q\\wedge{R}\\right)[\/latex] and [latex]P\\vee\\left({Q}\\right)\\wedge{R}[\/latex] are <b>not<\/b> logically equivalent.<\/p>\n<section class=\"textbox tryIt\"><iframe loading=\"lazy\" id=\"ohm7065\" class=\"resizable\" src=\"https:\/\/ohm.one.lumenlearning.com\/multiembedq.php?id=7065&theme=lumen&iframe_resize_id=ohm7065&source=tnh\" width=\"100%\" height=\"150\"><\/iframe><\/section>\n<p>Here are some examples that illustrate how\u00a0DeMorgan\u2019s laws are used to negate statements involving \u201cand\u201d or \u201cor.\u201d<\/p>\n<section class=\"textbox example\">Consider negating the following statement.<\/p>\n<p>[latex]R[\/latex] : You can solve it by factoring or with the quadratic formula.<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q102469\">Show Solution<\/button><\/p>\n<div id=\"q102469\" class=\"hidden-answer\" style=\"display: none\">Now, [latex]R[\/latex] means (You can solve it by factoring) [latex]\\vee[\/latex]\u00a0(You can solve it with the quadratic formula),\u00a0which we will denote as [latex]P\\vee{Q}[\/latex]. The negation of this is [latex]\\sim\\left(P\\vee{Q}\\right)=\\left(\\sim{P}\\right)\\wedge\\left(\\sim{Q}\\right)[\/latex].<\/p>\n<p>Therefore, in words, the negation of [latex]R[\/latex] is[latex]\\sim{R}[\/latex] : You can\u2019t solve it by factoring and you can\u2019t solve it with\u00a0the quadratic formula.<\/p>\n<p>Maybe you can find [latex]\\sim{R}[\/latex]\u00a0without invoking DeMorgan\u2019s laws. That is good;\u00a0you have internalized DeMorgan\u2019s laws and are using them unconsciously.<\/p><\/div>\n<\/div>\n<\/section>\n<section class=\"textbox example\">Consider negating the following statement.<\/p>\n<p>[latex]R[\/latex] : The numbers [latex]x[\/latex] and [latex]y[\/latex] are both odd.<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q441993\">Show Solution<\/button><\/p>\n<div id=\"q441993\" class=\"hidden-answer\" style=\"display: none\">This statement means [latex]\\left(x\\text{ is odd}\\right)\\wedge\\left(y\\text{ is odd}\\right)[\/latex], so its negation is:<\/p>\n<p style=\"text-align: center;\">[latex]\\sim\\left[\\left(x\\text{ is odd}\\right)\\wedge\\left(y\\text{ is odd}\\right)\\right]=\\sim\\left(x\\text{ is odd}\\right)\\vee\\sim\\left(y\\text{ is odd}\\right)\\\\\\left(x\\text{ is odd}\\right)\\wedge\\left(y\\text{ is odd}\\right)=\\left(x\\text{ is even}\\right)\\vee\\left(y\\text{ is even}\\right)[\/latex]<\/p>\n<p>Therefore the negation of [latex]R[\/latex] can be expressed in the following ways:<\/p>\n<p>[latex]\\sim{R}[\/latex]: The number [latex]x[\/latex] is even or the number [latex]y[\/latex] is even.<br \/>\n[latex]\\sim{R}[\/latex]: At least one of [latex]x[\/latex] and [latex]y[\/latex] is even.<\/p>\n<\/div>\n<\/div>\n<\/section>\n<section class=\"textbox tryIt\"><iframe loading=\"lazy\" id=\"ohm7066\" class=\"resizable\" src=\"https:\/\/ohm.one.lumenlearning.com\/multiembedq.php?id=7066&theme=lumen&iframe_resize_id=ohm7066&source=tnh\" width=\"100%\" height=\"150\"><\/iframe><\/section>\n","protected":false},"author":15,"menu_order":15,"template":"","meta":{"_candela_citation":"[]","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"part":24,"module-header":"learn_it","content_attributions":[],"internal_book_links":[],"video_content":null,"cc_video_embed_content":{"cc_scripts":"","media_targets":[]},"try_it_collection":null,"_links":{"self":[{"href":"https:\/\/content.one.lumenlearning.com\/quantitativereasoning\/wp-json\/pressbooks\/v2\/chapters\/3487"}],"collection":[{"href":"https:\/\/content.one.lumenlearning.com\/quantitativereasoning\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/content.one.lumenlearning.com\/quantitativereasoning\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/quantitativereasoning\/wp-json\/wp\/v2\/users\/15"}],"version-history":[{"count":63,"href":"https:\/\/content.one.lumenlearning.com\/quantitativereasoning\/wp-json\/pressbooks\/v2\/chapters\/3487\/revisions"}],"predecessor-version":[{"id":15548,"href":"https:\/\/content.one.lumenlearning.com\/quantitativereasoning\/wp-json\/pressbooks\/v2\/chapters\/3487\/revisions\/15548"}],"part":[{"href":"https:\/\/content.one.lumenlearning.com\/quantitativereasoning\/wp-json\/pressbooks\/v2\/parts\/24"}],"metadata":[{"href":"https:\/\/content.one.lumenlearning.com\/quantitativereasoning\/wp-json\/pressbooks\/v2\/chapters\/3487\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/content.one.lumenlearning.com\/quantitativereasoning\/wp-json\/wp\/v2\/media?parent=3487"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/quantitativereasoning\/wp-json\/pressbooks\/v2\/chapter-type?post=3487"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/quantitativereasoning\/wp-json\/wp\/v2\/contributor?post=3487"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/quantitativereasoning\/wp-json\/wp\/v2\/license?post=3487"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}