Chapter 7 Logic

7.3 Constructing Truth Tables

Learning Objectives

By the end of this section, you will be able to:

  • Interpret and apply negations, conjunctions, and disjunctions
  • Construct a truth table using negations, conjunctions, and disjunctions
  • Construct a truth table for a compound statement and interpret its validity

Are you familiar with the Choose Your Own Adventure book series written by Edward Packard? These gamebooks allow the reader to become one of the characters and make decisions that affect what happens next, resulting in different sequences of events in the story and endings based on the choices made. Writing a computer program is a little like what it must be like to write one of these books. The programmer must consider all the possible inputs that a user can put into the program and decide what will happen in each case, then write their program to account for each of these possible outcomes.

truth table is a graphical tool used to analyze all the possible truth values of the component logical statements to determine the validity of a statement or argument along with all its possible outcomes. The rows of the table correspond to each possible outcome for the given logical statement identified at the top of each column. A single logical statement [latex]p[/latex] has two possible truth values, true or false. In truth tables, a capital T will represent true values, and a capital F will represent false values.

In this section, you will use the knowledge built in Section 7.1 and Section 7.2 to analyze arguments and determine their truth value and validity. A logical argument is valid if its conclusion follows from its premises, regardless of whether those premises are true or false. You will then explore the truth tables for negation, conjunction, and disjunction and use these truth tables to analyze compound logical statements containing these connectives.

Interpret and Apply Negations, Conjunctions, and Disjunctions

The negation of a statement will have the opposite truth value of the original statement. When [latex]p[/latex] is true, [latex]\sim{p}[/latex] is false, and when [latex]p[/latex] is false, [latex]\sim{p}[/latex] is true.

Example 1

For each logical statement, determine the truth value of its negation.

a) [latex]p: 3+5=8[/latex]

[latex]p[/latex] is true because [latex]3+5[/latex] does equal 8; therefore, the negation of [latex]p[/latex], [latex]\sim{p}:3+5 \neq 8[/latex], is false.

 

b) [latex]q[/latex]: All horses are mustangs.

[latex]q[/latex] is false because there are other types of horses besides mustangs, such as Clydesdales or Arabians; therefore, the negation of [latex]q[/latex], [latex]\sim{q}[/latex] is true.

 

c) [latex]\sim{r}[/latex]: Baton Rouge is the capital of Louisiana.

[latex]\sim{r}[/latex] is false because Baton Rouge is the capital of Louisiana; therefore, the negation of [latex]\sim{r}[/latex], [latex]r[/latex], is true.

Exercise 1

For each logical statement, determine the truth value of its negation.

a) [latex]\sim{p}: 3 \times 5 = 14[/latex]

b) [latex]\sim{q}[/latex]: Some houses are built with bricks.

c) [latex]r[/latex]: New Orleans is not the capital of Louisiana.

Solution

a) [latex]p: 3 \times 5 \neq 14[/latex]; true

b) [latex]q[/latex]: No houses are built with bricks; false

c) [latex]\sim{r}[/latex]: New Orleans is the capital of Louisiana; false

A conjunction is a logical and statement. For a conjunction to be true, both statements that make up the conjunction must be true. If at least one of the statements is false, the and statement is false.

Example 2

Given [latex]p: 4+7=11[/latex], [latex]q: 11-3=7[/latex], and [latex]r: 7 \times 11=77[/latex], determine the truth value of each conjunction.

a) [latex]p \land q[/latex]

[latex]p[/latex] is true, and [latex]q[/latex] is false. Because one statement is true and the other statement is false, this makes the complete conjunction false.

 

b) [latex]\sim{q} \land r[/latex]

[latex]q[/latex] is false, so [latex]\sim{q}[/latex] is true, and [latex]r[/latex] is true. Therefore, both statements are true, making the complete conjunction true.

 

c) [latex]\sim{p} \land q[/latex]

[latex]\sim{p}[/latex] is false, and [latex]q[/latex] is false. Because both statements are false, the complete conjunction is false.

Exercise 2

Given [latex]p[/latex]: Yellow is a primary color, [latex]q[/latex]: Blue is a primary color, and [latex]r[/latex]: Green is a primary color, determine the truth value of each conjunction.

a) [latex]p \land q[/latex]

b) [latex]q \land r[/latex]

c) [latex]\sim{r} \land p[/latex]

Solution

a) True

b) False

c) True

A disjunction is a logical inclusive or statement, which means that a disjunction is true if one or both statements that form it are true. The only way a logical inclusive or statement is false is if both statements that form the disjunction are false.

Example 3

Given [latex]p: 4+7=11[/latex], [latex]q: 11-3=7[/latex], and [latex]r: 7 \times 11=77[/latex], determine the truth value of each disjunction.

a) [latex]p \lor q[/latex]

[latex]p[/latex] is true, and [latex]q[/latex] is false. One statement is true, and one statement is false, which makes the complete disjunction true.

 

b) [latex]\sim{q} \lor r[/latex]

[latex]q[/latex] is false, so [latex]\sim{q}[/latex] is true, and [latex]r[/latex] is true. Therefore, one statement is true, and the other statement is true, which makes the complete disjunction true.

 

c) [latex]\sim{p} \lor q[/latex]

[latex]\sim{p}[/latex] is false, and [latex]q[/latex] is false. When all of the component statements are false, the disjunction is false.

Exercise 3

Given [latex]p[/latex]: Yellow is a primary color, [latex]q[/latex]: Blue is a primary color, and [latex]r[/latex]: Green is a primary color, determine the truth value of each disjunction.

(a) [latex]p \lor q[/latex]

(b) [latex]\sim{p} \lor r[/latex]

(c) [latex]q \lor r[/latex]

Solution

(a) True

(b) False

(c) True

In the next example, you will apply the dominance of connectives to find the truth values of compound statements containing negations, conjunctions, and disjunctions and use a table to record the results. When constructing a truth table to analyze an argument where you can determine the truth value of each component statement, the strategy is to create a table with two rows. The first row contains the symbols representing the components that make up the compound statement. The second row contains the truth values of each component below its symbol. Include as many columns as necessary to represent the value of each compound statement. The last column includes the complete compound statement with its truth value below it.

Videos for Extra Help

Example 4

Given [latex]p: 4+7=11[/latex], [latex]q: 11-3=7[/latex], and [latex]r: 7 \times 11=77[/latex], construct a truth table to determine the truth value of each compound statement.

a) [latex]\sim{p} \land q \lor r[/latex]

Step 1: The statement “[latex]\sim{p} \land q \lor r[/latex]” contains three basic logical statements, [latex]p[/latex], [latex]q[/latex], and [latex]r[/latex], and three connectives. When we place parentheses in the statement to indicate the dominance of connectives, the statement becomes [latex](((\sim{p}) \land q) \lor r)[/latex].

Step 2: After we have applied the dominance of connectives, we create a two-row table that includes a column for each basic statement that makes up the compound statement and an additional column for the contents of each set of parentheses. Because we have three sets of parentheses, we include a column for [latex]\sim{p}[/latex], the innermost parentheses; a column for [latex](\sim{p}) \land q[/latex], the next set of parentheses; and [latex]((\sim{p}) \land q) \lor r[/latex] in the last column for the third set of parentheses.

Step 3: Once the table is created, we determine the truth value of each statement starting from left to right. The truth values of [latex]p[/latex], [latex]q[/latex], and [latex]r[/latex] are true, false, and true, respectively, so we place T, F, and T in the second row of the table. Because [latex]p[/latex] is true, [latex]\sim{p}[/latex] is false.

Step 4: Next, evaluate [latex]\sim{p} \land q[/latex] from the table: [latex]\sim{p}[/latex] is false, and [latex]q[/latex] is also false, so [latex]\sim{p} \land q[/latex] is false, because a conjunction is only true if both of the statements that make it are true. Place an F in the table below its heading.

Step 5: Finally, using the table, we understand that [latex](\sim{p} \land q)[/latex] is false and [latex]r[/latex] is true, so the complete statement [latex](\sim{p} \land q) \lor r[/latex] is false or true, which is true (because a disjunction is true whenever at least one of the statements that make it is true). Place a T in the last column of the table. The complete statement [latex]\sim{p} \land q \lor r[/latex] is true.

[latex]\begin{array} {|c|c|c|c|c|c|} \hline p & q & r & \sim{p} & (\sim{p}) \land q & ((\sim{p}) \land q) \lor r \\ \hline \text{T} & \text{F} & \text{T} & \text{F} & \text{F}& \textbf{T} \\ \hline \end{array}[/latex]

 

b) [latex]\sim{p} \lor q \land r[/latex]

Step 1: Applying the dominance of connectives to the original compound statement [latex]\sim{p} \lor q \land r[/latex], we get [latex](((\sim{p}) \lor q) \land r)[/latex].

Step 2: The table needs columns for [latex]p[/latex], [latex]q[/latex], [latex]r[/latex], [latex]\sim{p}[/latex], [latex](\sim{p}) \lor q[/latex], and [latex]((\sim{p}) \lor q) \land r[/latex].

Step 3: The truth values of [latex]p[/latex], [latex]q[/latex], [latex]r[/latex], and [latex]\sim{p}[/latex] are the same as in Question (a).

Step 4: Next, [latex]\sim{p} \lor q[/latex] is false or false, which is false, so we place an F below this statement in the table. This is the only time that a disjunction is false.

Step 5: Finally, [latex]\sim{p} \lor q[/latex] and [latex]r[/latex] are the conjunction of the statements [latex]\sim{p} \lor q[/latex] and [latex]r[/latex], and so the expressions evaluate to false and true, which is false. Recall that the only time an “and” statement is true is when both statements that form it are also true. The complete statement [latex]\sim{p} \lor q \land r[/latex] is false.

[latex]\begin{array} {|c|c|c|c|c|c|} \hline p & q & r & \sim{p} & (\sim{p}) \lor q & ((\sim{p}) \lor q) \land r \\ \hline \text{T} & \text{F} & \text{T} & \text{F} & \text{F}& \textbf{F} \\ \hline \end{array}[/latex]

 

c) [latex]\sim{(p \land r)} \lor q[/latex]

Step 1: Applying the dominance of connectives to the original statement, we have [latex]((\sim{(p \land r)}) \lor q)[/latex].

Step 2: So the table needs the following columns: [latex]p[/latex], [latex]q[/latex], [latex]r[/latex], [latex]\sim{(p \land r)}[/latex], and [latex]\sim{(p \land r)} \lor q[/latex].

Step 3: The truth values of [latex]p[/latex], [latex]q[/latex], and [latex]r[/latex] are the same as in Questions 1 and 2.

Step 4: From the table it can be seen that [latex]p \land r[/latex] is true and true, which is true. So the negation of [latex]p[/latex] and [latex]r[/latex] is false, because the negation of a statement always has the opposite truth value of the original statement.

Step 5: Finally, [latex]\sim{(p \land r)} \lor q[/latex] is the disjunction of [latex]\sim{(p \land r)}[/latex] with [latex]q[/latex], and so we have false or false, which makes the complete statement false.

[latex]\begin{array} {|c|c|c|c|c|c|} \hline p & q & r & p \land r & \sim{(p \land r)} & \sim{(p \land r)} \lor q \\ \hline \text{T} & \text{F} & \text{T} & \text{T} & \text{F}& \textbf{F} \\ \hline \end{array}[/latex]

Exercise 4

Given [latex]p[/latex]: Yellow is a primary color, [latex]q[/latex]: Blue is a primary color, and [latex]r[/latex]: Green is a primary color, determine the truth value of each compound statement by constructing a truth table.

a) [latex]\sim{q} \land p \lor r[/latex]

b) [latex]p \lor q \land \sim{r}[/latex]

c) [latex]\sim{(p \land r)} \land q[/latex]

Solution

a) [latex]\begin{array} {|c|c|c|c|c|c|} \hline p & q & r & \sim{q} & \sim{q} \land p & (\sim{q} \land p) \lor r \\ \hline \text{T} & \text{T} & \text{F} & \text{F} & \text{F}& \textbf{F} \\ \hline \end{array}[/latex]

b) [latex]\begin{array} {|c|c|c|c|c|c|} \hline p & q & r & \sim{r} & p \lor q & (p \lor q) \land (\sim{r}) \\ \hline \text{T} & \text{T} & \text{F} & \text{T} & \text{T}& \textbf{T} \\ \hline \end{array}[/latex]

c) [latex]\begin{array} {|c|c|c|c|c|c|} \hline p & q & r & (p \land r) & \sim{p \land r} & \sim{(p \land r)} \land q \\ \hline \text{T} & \text{T} & \text{F} & \text{F} & \text{T}& \textbf{T} \\ \hline \end{array}[/latex]

Construct Truth Tables to Analyze All Possible Outcomes

Recall that the negation of a statement will always have the opposite truth value of the original statement; if a statement [latex]p[/latex] is false, then its negation [latex]\sim{p}[/latex] is true, and if a statement [latex]p[/latex] is true, then its negation [latex]\sim{p}[/latex] is false. To create a truth table for the negation of statement [latex]p[/latex], add a column with a heading of [latex]\sim{p}[/latex], and for each row, input the truth value with the opposite value of the value listed in the column for [latex]p[/latex], as depicted in the table below.

[latex]\begin{array} {|c|c|} \hline p & \sim{p} \\ \hline \text{T} & \text{F} \\ \hline \text{F} & \text{T} \\ \hline \end{array}[/latex]

Conjunctions and disjunctions are compound statements formed when two logical statements combine with the connectives “and” and “or,” respectively. How does that change the number of possible outcomes and thus determine the number of rows in our truth table? The multiplication principle, also known as the fundamental counting principle, states that the number of ways you can select an item from a group of [latex]n[/latex] items and another item from a group with [latex]m[/latex] items is equal to the product of [latex]m[/latex] and [latex]n[/latex]. Because each proposition [latex]p[/latex] and [latex]q[/latex] has two possible outcomes, true or false, the multiplication principle states that there will be [latex]2 \times 2 = 4[/latex] possible outcomes: {TT, TF, FT, FF}.

The tree diagram and table below demonstrate the four possible outcomes for two propositions [latex]p[/latex] and [latex]q[/latex].

A horizontal flowchart and a table with five rows and three columns.
Figure 1. Tree diagram

A conjunction is a logical and statement. For a conjunction to be true, both the statements that make up the conjunction must be true. If at least one of the statements is false, the and statement is false.

A disjunction is a logical inclusive or statement, which means that a disjunction is true if one or both statements that make it are true. The only way a logical inclusive or statement is false is if both statements that make up the disjunction are false.

Conjunction (AND) Disjunction (OR)
[latex]p[/latex] [latex]q[/latex] [latex]p \land q[/latex] [latex]p[/latex] [latex]q[/latex] [latex]p \lor q[/latex]
T T T T T T
T F F T F T
F T F F T T
F F F F F F

Videos for Extra Help

Example 5

Construct a truth table to analyze all possible outcomes for each of the following arguments.

a) [latex]p \lor \sim{q}[/latex]

Step 1: Because there are two basic statements, [latex]p[/latex] and [latex]q[/latex], and each of these has two possible outcomes, we will have [latex]2(2)=4[/latex] rows in our table to represent all possible outcomes: TT, TF, FT, and FF. The columns will include [latex]p[/latex], [latex]q[/latex], [latex]\sim{q}[/latex], and [latex]p \lor q[/latex].

Step 2: Every value in column [latex]\sim{q}[/latex] will have the opposite truth value of the corresponding value in column [latex]q[/latex]: F, T, F, and T.

Step 3: To complete the last column, evaluate each element in column [latex]p[/latex] with the corresponding element in column [latex]\sim{q}[/latex] using the connective or.

[latex]\begin{array} {|c|c|c|c|} \hline p & q & \sim{q} & p \lor \sim{q} \\ \hline \text{T} & \text{T} & \text{F} & \textbf{T} \\ \hline \text{T} & \text{F} & \text{T} & \textbf{T} \\ \hline \text{F} & \text{T} & \text{F} & \textbf{F} \\ \hline \text{F} & \text{F} & \text{T} & \textbf{T} \\ \hline \end{array}[/latex]

 

b) [latex]\sim{(p \land q)}[/latex]

Step 1: The columns will include [latex]p[/latex], [latex]q[/latex], [latex]p \land q[/latex], and [latex]\sim{(p \land q)}[/latex]. Because there are two basic statements, [latex]p[/latex] and [latex]q[/latex], the table will have four rows to account for all possible outcomes.

Step 2: The [latex]p \land q[/latex] column will be completed by evaluating the corresponding elements in columns [latex]p[/latex] and [latex]q[/latex], respectively, with the and connective.

Step 3: The final column, [latex]\sim{(p \land q)}[/latex], will be the negation of the [latex]p \land q[/latex] column.

[latex]\begin{array} {|c|c|c|c|} \hline p & q & p \land q & \sim{p \land q} \\ \hline \text{T} & \text{T} & \text{T} & \textbf{F} \\ \hline \text{T} & \text{F} & \text{F} & \textbf{T} \\ \hline \text{F} & \text{T} & \text{F} & \textbf{T} \\ \hline \text{F} & \text{F} & \text{F} & \textbf{T} \\ \hline \end{array}[/latex]

 

c) [latex](p \lor q) \land r[/latex]

Step 1: This statement has three basic statements, [latex]p[/latex], [latex]q[/latex], and [latex]r[/latex]. Because each basic statement has two possible truth values, true or false, the multiplication principle indicates there are [latex]2(2)(2)=8[/latex] possible outcomes. So eight rows of outcomes are needed in the truth table to account for each possibility. Half of the eight possibilities must be true for the first statement, and half must be false.

Step 2: So the first column for statement [latex]p[/latex] will have four Ts followed by four Fs. In the second column for statement [latex]q[/latex], when [latex]p[/latex] is true, half the outcomes for [latex]q[/latex] must be true, and the other half must be false, and the same pattern will repeat for when [latex]p[/latex] is false. So column [latex]q[/latex] will have TT, FF, TT, FF.

Step 3: The column for the third statement, [latex]r[/latex], must alternate between T and F. Once the three basic propositions are listed, you will need a column for [latex]\sim{q}[/latex], [latex]p \lor \sim{q}[/latex], and [latex](p \lor \sim{q}) \land r[/latex].

Step 4: The column for the negation of [latex]q[/latex], [latex]\sim{q}[/latex], will have the opposite truth value of each value in column [latex]q[/latex].

Step 5: Next, fill in the truth values for the column containing the statement [latex]p \lor \sim{q} .[/latex] The or statement is true if at least one of [latex]p[/latex] or [latex]\sim{q}[/latex] is true; otherwise, it is false.

Step 6: Finally, fill in the column containing the conjunction [latex](p \lor \sim{q}) \land r[/latex]. To evaluate this statement, combine column [latex]p \lor \sim{q}[/latex] and column [latex]r[/latex] with the and connective. Recall that the only time “and” is true is when both values are true; otherwise, the statement is false. The complete truth table is

[latex]\begin{array} {|c|c|c|c|c|c|} \hline p & q & r & \sim{q} & p \lor \sim{q} & (p \lor \sim{q}) \land r \\ \hline \text{T} & \text{T} & \text{T} & \text{F} & \text{T} & \textbf{T} \\ \hline \text{T} & \text{T} & \text{F} & \text{F} & \text{T} & \textbf{F} \\ \hline \text{T} & \text{F} & \text{T} & \text{T} & \text{T} & \textbf{T} \\ \hline \text{T} & \text{F} & \text{F} & \text{T} & \text{T} & \textbf{F} \\ \hline \text{F} & \text{T} & \text{T} & \text{F} & \text{F} & \textbf{F} \\ \hline \text{F} & \text{T} & \text{F} & \text{F} & \text{F} & \textbf{F} \\ \hline \text{F} & \text{F} & \text{T} & \text{T} & \text{T} & \textbf{T} \\ \hline \text{F} & \text{F} & \text{F} & \text{T} & \text{T} & \textbf{F} \\ \hline \end{array}[/latex]

Exercise 5

Construct a truth table to analyze all possible outcomes for each of the following arguments.

a) [latex]p \land \sim{q}[/latex]

b) [latex]\sim{(p \lor q)}[/latex]

c) [latex](p \land \sim{q}) \lor r[/latex]

Solution

a) [latex]\begin{array} {|c|c|c|c|} \hline p & q & \sim{q} & p \land \sim{q} \\ \hline \text{T} & \text{T} & \text{F} & \textbf{F} \\ \hline \text{T} & \text{F} & \text{T} & \textbf{T} \\ \hline \text{F} & \text{T} & \text{F} & \textbf{F} \\ \hline \text{F} & \text{F} & \text{T} & \textbf{F} \\ \hline \end{array}[/latex]

b)

[latex]\begin{array} {|c|c|c|c|} \hline p & q & p \lor q & \sim{p \lor q} \\ \hline \text{T} & \text{T} & \text{T} & \textbf{F} \\ \hline \text{T} & \text{F} & \text{T} & \textbf{F} \\ \hline \text{F} & \text{T} & \text{T} & \textbf{F} \\ \hline \text{F} & \text{F} & \text{F} & \textbf{T} \\ \hline \end{array}[/latex]

c)

[latex]\begin{array} {|c|c|c|c|c|c|} \hline p & q & r & \sim{q} & p \land \sim{q} & (p \land \sim{q}) \lor r \\ \hline \text{T} & \text{T} & \text{T} & \text{F} & \text{F} & \textbf{T} \\ \hline \text{T} & \text{T} & \text{F} & \text{F} & \text{F} & \textbf{F} \\ \hline \text{T} & \text{F} & \text{T} & \text{T} & \text{T} & \textbf{T} \\ \hline \text{T} & \text{F} & \text{F} & \text{T} & \text{T} & \textbf{T} \\ \hline \text{F} & \text{T} & \text{T} & \text{F} & \text{F} & \textbf{T} \\ \hline \text{F} & \text{T} & \text{F} & \text{F} & \text{F} & \textbf{F} \\ \hline \text{F} & \text{F} & \text{T} & \text{T} & \text{F} & \textbf{T} \\ \hline \text{F} & \text{F} & \text{F} & \text{T} & \text{F} & \textbf{F} \\ \hline \end{array}[/latex]

Video for Extra Help

Determine the Validity of a Truth Table for a Compound Statement

A logical statement is valid if it is always true regardless of the truth values of its component parts. To test the validity of a compound statement, construct a truth table to analyze all possible outcomes. If the last column, representing the complete statement, contains only true values, the statement is valid.

Example 6

Construct a truth table to determine the validity of each of the following statements.

a) [latex]\sim{p} \land q[/latex]

Step 1: Because there are two statements, [latex]p[/latex] and [latex]q[/latex], and each of these has two possible outcomes, there will be [latex]2(2)=4[/latex] rows in our table to represent all possible outcomes: TT, TF, FT, and FF.

Step 2: The columns will include [latex]p[/latex], [latex]q[/latex], [latex]\sim{p}[/latex], and [latex]\sim{p} \land q[/latex]. Every value in column [latex]\sim{p}[/latex] will have the opposite truth value of the corresponding value in column [latex]p[/latex].

Step 3: To complete the last column, evaluate each element in column [latex]\sim{p}[/latex] with the corresponding element in column [latex]q[/latex] using the connective and . The last column contains at least one false; therefore, the statement [latex]\sim{p} \land q[/latex] is not valid.

[latex]\begin{array} {|c|c|c|c|} \hline p & q & \sim{p} & \sim{p} \land q \\ \hline \text{T} & \text{T} & \text{F} & \textbf{F} \\ \hline \text{T} & \text{F} & \text{F} & \textbf{F} \\ \hline \text{F} & \text{T} & \text{T} & \textbf{T} \\ \hline \text{F} & \text{F} & \text{T} & \textbf{F} \\ \hline \end{array}[/latex]

 

b) [latex]\sim{(p \land \sim{p})}[/latex]

Step 1: Because the statement [latex]\sim{(p \land \sim{p})}[/latex] only contains one basic proposition, the truth table will only contain two rows. Statement [latex]p[/latex] may be either true or false.

Step 2: The columns will include [latex]p[/latex], [latex]\sim{p}[/latex], [latex]p \land \sim{p}[/latex], and [latex]\sim{(p \land \sim{p})}[/latex]. Evaluate column [latex]p \land \sim{p}[/latex] with the and connective, because the symbol [latex]\land[/latex] represents a conjunction or logical and statement. True and false is false, and false and true is also false.

Step 3: The final column is the negation of each entry in the third column, both of which are false, so the negation of false is true. Because all the truth values in the final column are true, the statement [latex]\sim{(p \land \sim{p})}[/latex] is valid.

[latex]\begin{array} {|c|c|c|c|} \hline p & \sim{p} & p \land \sim{p} & \sim{(p \land \sim{p})} \\ \hline \text{T} & \text{F} & \text{F} & \textbf{T} \\ \hline \text{F} & \text{T} & \text{F} & \textbf{T} \\ \hline \end{array}[/latex]

Exercise 6

Construct a truth table to determine the validity of each of the following statements.

a) [latex]p \lor \sim{p}[/latex]

b) [latex]\sim{p} \lor \sim{q}[/latex]

Solution

a) Valid

[latex]\begin{array} {|c|c|c|c|} \hline p & \sim{p} & p \lor \sim{p} \\ \hline \text{T} & \text{F} & \textbf{T} \\ \hline \text{F} & \text{T} & \textbf{T} \\ \hline \end{array}[/latex]

b) Not Valid

[latex]\begin{array} {|c|c|c|c|c|} \hline p & q & \sim{p} & \sim{q} & \sim{p} \lor q \\ \hline \text{T} & \text{T} & \text{F} & \text{F} & \textbf{F} \\ \hline \text{T} & \text{F} & \text{F} & \text{T} & \textbf{T} \\ \hline \text{F} & \text{T} & \text{T} & \text{F} & \textbf{T} \\ \hline \text{F} & \text{F} & \text{T} & \text{T} & \textbf{T} \\ \hline \end{array}[/latex]

Media Attributions

definition

License

Icon for the Creative Commons Attribution-ShareAlike 4.0 International License

Finite Mathematics Copyright © 2024 by LOUIS: The Louisiana Library Network is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License, except where otherwise noted.

Share This Book