3.2: Truth Tables and Propositions Generated by a Set (2024)

  1. Last updated
  2. Save as PDF
  • Page ID
    54769
  • \( \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}}} \)

    Summary of Logic Notation

    Be sure to review this notation summary since these terms will be used throughout this unit.

    The notation for logic operations has been gradually introduced as our study proceeds. Here is a summary:

    ∊ element of, x ∊ Y, x is an element of Set Y

    ∉ not an element of, x ∉ Y, x is not an element of Set Y

    ∧ and, conjunction, p ∧ q, p and q

    ∨ or, disjunction, p ∨ q, p or q

    ᆨ not, ᆨp, not p; sometimes you will see the letter with a line over it, other times, you may see a preceding minus sign

    ⟶ conditional implication, p ⟶ q, if p then q

    ↔ biconditional implication, p ↔ q, p if and only if q

    Truth Tables and Propositions Generated by a Set

    What is in a set and what is not in a set leads to some interesting ways of analyzing truth or falsehood. In this section we use 0 for false (no) and 1 for true (yes). One can also speak in terms of "do-not" or "do", "do not perform this action" or "do this action". It is a matter of interpretation, an interpretation that must be established and remain consistent. We can write equations to express these ideas so that many factors can be considered and operated upon in a standard way. This section starts you down that path.

    3.2 Truth Tables and Propositions Generated by a Set

    3.2.1 Truth Tables

    Consider the compound proposition \(c= (p \wedge q) \vee(\negq \wedge r)\), wherep,q, andrare propositions. This is an example of a proposition generated byp,q, andr. We will define this terminology later in the section. Since each of the three simple propositions has two possible truth values, it follows that there are eight different combinations of truth values that determine a value forc. These values can be obtained from a truth table forc. To construct the truth table, we buildcfromp,q, andrand from the logical operators. The result is the truth table below. Strictly speaking, the first three columns and the last column make up the truth table forc. The other columns are work space needed to build up toc.

    3.2: Truth Tables and Propositions Generated by a Set (1)

    Note that the first three columns of the truth table are an enumeration of the eight three-digit binary integers. This standardizes the order in which the cases are listed. In general, ifcis generated bynsimple propositions, then the truth table forcwill have \(2^n\) rows with the firstncolumns being an enumeration of thendigit binary integers. In our example, we can see at a glance that for exactly four of the eight cases,cwill be true. For example, ifpandrare true andqis false (the sixth case), thencis true.

    LetSbe any set of propositions. We will give two definitions of a proposition generated by S. The first is a bit imprecise but should be clear. The second definition is called arecursive definition. If you find it confusing, use the first definition and return to the second later.

    3.2.2 Propositions Generated by a Set

    Definition 3.2.2: Proposition Generated by a Set.

    LetSbe any set of propositions. A proposition generated bySis any valid combination of propositions inSwith conjunction, disjunction, and negation. Or, to be more precise,

    1. If \(p \epsilon \text{ } S\), thenpis a proposition generated byS, and
    2. Ifxandyare propositions generated byS, then so are (x), \(\neg x\), \( x \vee y\), and \( x \wedge y\).

    Note: We have not included the conditional and biconditional in the definition because they can both be generated from conjunction, disjunction, andnegation, as we will see later.

    IfSis a finite set, then we may use slightly different terminology. For example, if \(S =\{p,q,r\}\), we might say that a proposition is generated byp,q,andrinstead of from \(\{p,q,r\}\).

    It is customary to use the following hierarchy for interpreting propositions,with parentheses overriding this order:

    • First: Negation
    • Second: Conjunction
    • Third: Disjunction
    • Fourth: The conditional operation
    • Fifth: The biconditional operation

    Within any level of the hierarchy, work from left to right. Using these rules, \(p \wedge q \vee r\) is taken to mean \((p \wedge q) \vee r\). These precedence rules are universal andare exactly those used by computer languages to interpret logical expressions.

    Example 3.2.3: Examples of the Hierarchy of Logical Operations

    Afew shortened expressions and their fully parenthesized versions:

    1. \(p \wedge q \wedge r\) is \((p \wedge q) \wedge r\).
    2. \(\neg p \vee \neg r\) is \((\neg p) \vee (\neg r)\).
    3. \(\neg \neg p\) is \(\neg(\neg p)\).
    4. \(p \leftrightarrow q \wedge r \to s\) is \(p \leftrightarrow ((q \wedge r) \to s)\)

    A proposition generated by a setSneed not include each element ofSin its expression. For example, \(\neg q \wedge r\) is a proposition generated byp, q, andr.

    3.2: Truth Tables and Propositions Generated by a Set (2024)

    FAQs

    How to set up a truth table with 3 variables? ›

    g., with three variables, 23 = 8). Start in the right-hand column and alternate T's and F's until you run out of lines. Then move left to the next column and alternate pairs of T's and F's until you run out of lines. Then continue to the next left-hand column and double the numbers of T's and F's until completed.

    What are truth tables of propositions? ›

    A truth table shows whether a propositional formula is true or false for each possible truth assignment. If we know how the five basic logical connectives work, it is easy (in principle) to construct a truth table. Notice that is only if is and is . If is , then the implication will be .

    What is the truth value of p → q? ›

    So, no matter if q is true or false, the truth value of p → q is true either way.

    What are examples of propositions? ›

    For example, "Grass is green", and "2 + 5 = 5" are propositions. The first proposition has the truth value of "true" and the second "false". But "Close the door", and "Is it hot outside ?"are not propositions.

    What is an example of a truth set? ›

    The truth set of a predicate can be the universal set. For example, if the universal set is the set of real numbers R, then the truth set of the predicate “x+0=x” is R. x+0=x is a predicate; For each real number x, x+0=x is a statement.

    How to generate truth tables? ›

    How do you complete a truth table? To construct the truth table, first break the argument into parts. This includes each proposition, its negation (if part of the argument), and each connective. The number of parts there are is how many columns are needed.

    How do I solve truth tables? ›

    Steps to solve Truth Table:
    1. Step 1: Learn how truth tables work. ...
    2. Step 2: Learn the signs. ...
    3. Step 3: Formatting the Table. ...
    4. Step 4: Assigning True and False. ...
    5. Step 5: Negation. ...
    6. Step 6: Variable “q” ...
    7. Step 7: Solving for False in the Last Column. ...
    8. Step 8: Find the correct answer in the last column.

    What is a truth table with example? ›

    A truth table is a kind of chart which is used to determine the true values of propositions and the exact validity of their resulting argument. For example, a very basic truth table would simply be the truth value of a proposition p and its negation, or opposite, not p (denoted by the symbol ∼ or ⇁ ).

    What is the truth of propositions? ›

    “It is commonly supposed that the truth of a proposition consists in some relation which it bears to reality; and falsehood in the absence of this relation.

    How do you calculate truth? ›

    The truth or falsity of a proposition is called its truth value . The truth value of a compound proposition can be calculated from the truth values of its components, using the following rules: For a conjunction to be true, both conjuncts must be true. For a disjunction to be true, at least one disjunct must be true.

    Is ~( P → Q equal to P ∧ Q? ›

    Since the truth values for ¬(p → q) and p∧¬q are exactly the same for all possible combinations of truth values of p and q, the two propositions are equivalent.

    How to know if it is a proposition or not? ›

    “A statement is not a proposition if we cannot decide whether it is true or false.” how to verify whether it is true or false.”

    How to create a table with three variables? ›

    You normally would set up the table by putting your independent variable as the column variable (this will put it on the top of each subtable), your dependent variable as the row variable (this will put it on the side of each subtable), and your control variable so that it specifies each subtable (there will be one ...

    What is the truth table for a 3 input or gate? ›

    The truth table for a 3-input OR gate has 8 rows representing all possible input combinations, with the output being 1 for any combination where at least one input is 1, and 0 only when all inputs are 0.

    How many rows in a truth table with 3 variables? ›

    Constructing Truth Tables

    If there are two variables (p, q), then you will need 22 or 4 rows. If there are three variables (p, q, and r), you will need 23 or 8 rows.

    References

    Top Articles
    Latest Posts
    Article information

    Author: Francesca Jacobs Ret

    Last Updated:

    Views: 5888

    Rating: 4.8 / 5 (68 voted)

    Reviews: 83% of readers found this page helpful

    Author information

    Name: Francesca Jacobs Ret

    Birthday: 1996-12-09

    Address: Apt. 141 1406 Mitch Summit, New Teganshire, UT 82655-0699

    Phone: +2296092334654

    Job: Technology Architect

    Hobby: Snowboarding, Scouting, Foreign language learning, Dowsing, Baton twirling, Sculpting, Cabaret

    Introduction: My name is Francesca Jacobs Ret, I am a innocent, super, beautiful, charming, lucky, gentle, clever person who loves writing and wants to share my knowledge and understanding with you.