Mathematical Logic: Propositions, Connectives, and Truth Tables

Foundations of Mathematical Logic and Propositional Calculus

  • Role of Mathematical Logic:

    • Serves as an indispensable foundation for fostering critical and structured thinking.
    • Provides a formal framework to represent reasoning from everyday language and academic contexts in an exact symbolic notation, streamlining logical evaluation, systematic analysis, and formal validation.
    • Facilitates the development of structured reasoning schemes to apply in real-world contexts.
  • Definition of a Proposition:

    • A proposition is defined as an expression of language that holds a truth value of either true or false, but cannot be both simultaneously.
    • It represents a declarative statement that unambiguously affirms or denies something (Copi et al., 2016).
  • Examples of Valid Propositions:

    • "La Tierra gira alrededor del Sol" (The Earth revolves around the Sun): Qualifies as a proposition because it makes a clear declarative assertion; its truth value is true.
    • "5 es un número par" (5 is an even number): Qualifies as a proposition because it asserts a mathematical statement; its truth value is false (number 55 is odd).
  • Non-Examples of Propositions:

    • "¿Qué hora es?" (What time is it?): Does not qualify as a proposition because it is an interrogative sentence that neither affirms nor denies any fact.
    • "Estudia más" (Study more): Does not qualify as a proposition because it constitutes an imperative command or order rather than an affirmative or negative declarative statement.
  • Propositional Variables and Symbolic Notation:

    • In symbolic logic, individual propositions are represented algebraically using lowercase propositional letters such as pp, qq, and subsequent letters.
    • Example assignment:
    • Let pp represent: Está lloviendo (It is raining).
    • Let qq represent: Hace frío (It is cold).
    • These propositional variables can be combined via logical connectives to construct complex arguments and structured logical expressions.

Core Logical Connectives

  • Negation:

    • Symbol: Represented symbolically as ¬\neg or ∼\sim.
    • Semantic Function: Inverts or denies the truth value of a given proposition, expressing its exact contradictory meaning.
    • Truth Property: For any proposition pp, if pp is true (VV), then ¬p\neg p is false (FF); conversely, if pp is false (FF), then ¬p\neg p is true (VV).
    • Linguistic Translation: Expressed in natural language as "no" (not).
    • Example: If proposition pp is defined as "Hoy es lunes" (Today is Monday), the negated proposition ¬p\neg p is "Hoy no es lunes" (Today is not Monday).
  • Conjunction:

    • Symbol: Represented symbolically as ∧\land.
    • Semantic Function: Connects two propositions by asserting that both constituent statements occur or hold true simultaneously.
    • Truth Rule: A conjunction is true if and only if both individual propositions are true. If either proposition (or both) is false, the entire conjunction evaluates to false.
    • Linguistic Translation: Read and written in mathematics and logic as "y" (and).
    • Example: Given pp: Estudio matemáticas (I study mathematics) and qq: Estudio física (I study physics), the conjunction p∧qp \land q corresponds to: "Estudio matemáticas y estudio física" (I study mathematics and I study physics).
  • Disjunction (Inclusive Disjunction):

    • Symbol: Represented symbolically as ∨\lor.
    • Semantic Function: Joins two propositions such that it is sufficient for at least one of them to be true for the entire compound statement to be true.
    • Truth Rule: The disjunction evaluates to false solely when both component propositions are false. If at least one component is true (inclusive nature), the expression is true.
    • Linguistic Translation: Expressed in natural language and mathematical logic as "o" (or).
    • Example: Given pp: Tengo tarea (I have homework) and qq: Tengo examen (I have an exam), the disjunction p∨qp \lor q corresponds to: "Tengo tarea o tengo examen" (I have homework or I have an exam).
  • Conditional (Material Implication):

    • Symbol: Represented symbolically as →\rightarrow.
    • Semantic Function: Establishes a relation of implication between an antecedent proposition and a consequent proposition (if the antecedent occurs, then the consequent follows).
    • Truth Rule: The conditional evaluates to false in exactly one scenario: when the antecedent (first proposition) is true and the consequent (second proposition) is false. In all other combinations, the conditional evaluates to true.
    • Linguistic Translation: Expressed in logic and language as "si… entonces" (if… then), where propositions replace the ellipses.
    • Example: Given pp: Estudio (I study) and qq: Apruebo el examen (I pass the exam), the conditional p→qp \rightarrow q translates to: "Si estudio, entonces apruebo el examen" (If I study, then I pass the exam).
  • Bicondicional (Material Equivalence):

    • Symbol: Represented symbolically as ↔\leftrightarrow.
    • Semantic Function: Asserts that two propositions share identical truth values.
    • Truth Rule: The biconditional evaluates to true when both constituent propositions are simultaneously true or simultaneously false; it evaluates to false when their truth values differ.
    • Linguistic Translation: Expressed in logic as "si y solo si" (if and only if).
    • Example: Given pp: Es cuadrado (It is a square) and qq: Tiene cuatro lados iguales y ángulos rectos (It has four equal sides and right angles), the biconditional p↔qp \leftrightarrow q states: "Es cuadrado si y solo si tiene cuatro lados iguales y ángulos rectos" (It is a square if and only if it has four equal sides and right angles).

Truth Tables for Basic Connectives

  • Truth Value Combinations for Two Propositions:
    • Any given proposition pp can take one of two truth values: true (VV) or false (FF).
    • A second independent proposition qq can likewise take two truth values: true (VV) or false (FF).
    • Combining two independent binary propositions results in exactly 22=42^2 = 4 unique truth configurations:
ppqq
VVVV
VVFF
FFVV
FFFF
  • Truth Table for Conjunction (p∧qp \land q):
    • Confirms that the conjunction is true exclusively when both inputs are true:
ppqqp∧qp \land q
VVVVVV
VVFFFF
FFVVFF
FFFFFF
  • Truth Table for Disjunction (p∨qp \lor q):
    • Confirms that the inclusive disjunction is true whenever at least one variable contains a truth value of VV, and yields FF exclusively when both propositions are FF:
ppqqp∨qp \lor q
VVVVVV
VVFFVV
FFVVVV
FFFFFF

Evaluation of Compound Propositions

  • Arbitrary Expansion of Logical Systems:

    • Truth table methodology extends to accommodate arbitrarily many propositions and logical connectives to model complex arguments and structural problem-solving scenarios.
  • Step-by-Step Evaluation Order for ¬p→q\neg p \rightarrow q:

    • Step 1 (Unary Negation): Determine the negation of the proposition pp, denoted as ¬p\neg p. The resulting column reflects the exact opposite truth value of pp.
    • Step 2 (Conditional Implication): Apply the conditional operator between the antecedent ¬p\neg p and the consequent qq, denoted as ¬p→q\neg p \rightarrow q.
    • Conditional Criterion: The expression evaluates to false solely when the antecedent (¬p\neg p) is true (VV) and the consequent (qq) is false (FF).
  • Complete Truth Table for ¬p→q\neg p \rightarrow q:

ppqq¬p\neg p¬p→q\neg p \rightarrow q
VVVVFFVV
VVFFFFVV
FFVVVVVV
FFFFVVFF
  • Row-by-Row Analysis:
    • For p=Vp = V and q=Vq = V: Negation yields ¬p=F\neg p = F. The implication F→VF \rightarrow V yields VV.
    • For p=Vp = V and q=Fq = F: Negation yields ¬p=F\neg p = F. The implication F→FF \rightarrow F yields VV.
    • For p=Fp = F and q=Vq = V: Negation yields ¬p=V\neg p = V. The implication V→VV \rightarrow V yields VV.
    • For p=Fp = F and q=Fq = F: Negation yields ¬p=V\neg p = V. The implication V→FV \rightarrow F yields FF.

Contextual and Real-World Applications of Truth Tables

  • Application Example 1: Conditional Implication in Academic Performance:
    • Defined Propositions:
    • pp: Juan estudia para el examen (Juan studies for the exam).
    • qq: Juan aprueba el examen (Juan passes the exam).
    • Compound Statement (p→qp \rightarrow q):
    • "Si, Juan estudia para el examen, entonces, Juan aprueba el examen" (If Juan studies for the exam, then Juan passes the exam).
    • Truth Table and Real-World Interpretations:
ppqqp→qp \rightarrow qReal-World Interpretation
VVVVVVJuan estudia para el examen y aprueba (Juan studies for the exam and passes)
VVFFFFJuan estudia para el examen y no aprueba (Juan studies for the exam and does not pass)
FFVVVVJuan no estudia para el examen y aprueba (Juan does not study for the exam and passes)
FFFFVVJuan no estudia para el examen y no aprueba (Juan does not study for the exam and does not pass)
  • Condition Analysis: Across all four logical cases of pp and qq, the only scenario that fails the conditional statement (evaluates to false or violates the conditional rule) occurs when Juan studies for the exam and does not pass (p=Vp = V, q=Fq = F).

    • Application Example 2: Inclusive Disjunction in Extracurricular Activities:
  • Defined Propositions:

    • pp: Luis va al cine (Luis goes to the movies).
    • qq: Luis va a entrenar (Luis goes to train).
  • Compound Statement (p∨qp \lor q):

    • "Luis va al cine o va a entrenar" (Luis goes to the movies or goes to train).
  • Truth Table and Real-World Interpretations:

ppqqp∨qp \lor qReal-World Interpretation
VVVVVVLuis va al cine o a entrenar (Luis goes to the movies or to train)
VVFFVVLuis va al cine (Luis goes to the movies)
FFVVVVLuis va a entrenar (Luis goes to train)
FFFFFFLuis no va al cine ni a entrenar (Luis does not go to the movies nor to train)
  • Condition Analysis: Across all possible case combinations for pp and qq, the single outcome that fails the statement (evaluates to false or fails to satisfy the condition) is when Luis does not go to the movies and does not go to train (p=Fp = F, q=Fq = F).

Truth table and interpretations for the inclusive disjunction example