ScholarQuill logoScholarQuillUniversity Notes
  • Notes
  • Past Papers
  • Blogs
  • Todo
Login
ScholarQuill logoScholarQuillUniversity Notes
Login
NotesPast PapersBlogsTodo
More
SubjectsDiscussionCGPA CalculatorGPA CalculatorStudent PortalCourse Outline
About
About usPrivacy PolicyReportContact
Notes
Past Papers
Blogs
Todo
Analytics
    Current Subject
    🧩
    Discrete Mathematics
    MATH2113
    Progress0 / 25 topics
    Topics
    1. Mathematical Reasoning: Sets, Subsets, Algebra of Sets2. Propositions and Compound Statements3. Basic Logical Operations4. Propositional Logic and its Applications with Statement Problems5. Propositions and Truth Tables6. Tautologies and Contradictions7. Conditional and Bi-conditional Statements8. Arguments in Propositional Logic9. Propositional Functions10. Quantifiers and Negation of Quantified Statements11. Relations and Equivalence Relations12. Partial Ordering Relations13. Functions and Recursively Defined Functions14. Combinatorics: Basics of Counting Methods15. Combinations and Permutations16. Pigeonhole Principle17. Graphs and its Types18. Graph Isomorphism19. Trees in Graph Theory20. Connectivity in Graphs21. Eulerian and Hamiltonian Paths22. Spanning Trees and Shortest Path Problem23. Revisiting Special Functions: Power, Floor, Increasing, Decreasing24. Big O, Little O and Omega Notations25. Orders of the Polynomial Functions
    MATH2113›Propositions and Truth Tables
    Discrete MathematicsTopic 5 of 25

    Propositions and Truth Tables

    3 minread
    575words
    Beginnerlevel

    Propositions and Truth Tables


    1. Propositions

    A proposition is a declarative sentence that is either true (T) or false (F)—not both.

    Examples:

    • "7 is a prime number." → True
    • "5 + 3 = 9." → False

    Propositions are represented by symbols like p,q,rp, q, rp,q,r, and are the building blocks of propositional logic.


    2. Logical Connectives

    Logical connectives are used to form compound propositions from simple ones. The main ones are:

    Symbol Operation Meaning
    ¬p\neg p¬p Negation Not ppp
    p∧qp \land qp∧q Conjunction ppp and qqq
    p∨qp \lor qp∨q Disjunction ppp or qqq
    p→qp \to qp→q Implication If ppp, then qqq
    p↔qp \leftrightarrow qp↔q Biconditional ppp if and only if qqq
    p⊕qp \oplus qp⊕q Exclusive OR ppp or qqq, but not both

    3. Truth Tables

    A truth table shows all possible truth values of a compound proposition based on the truth values of its components.


    a) Negation (¬p)(\neg p)(¬p)

    p ¬p
    T F
    F T

    b) Conjunction (p∧q)(p \land q)(p∧q)

    p q p ∧ q
    T T T
    T F F
    F T F
    F F F

    c) Disjunction (p∨q)(p \lor q)(p∨q)

    p q p ∨ q
    T T T
    T F T
    F T T
    F F F

    d) Implication (p→q)(p \to q)(p→q)

    p q p → q
    T T T
    T F F
    F T T
    F F T

    e) Biconditional (p↔q)(p \leftrightarrow q)(p↔q)

    p q p ↔ q
    T T T
    T F F
    F T F
    F F T

    f) Exclusive OR (p⊕q)(p \oplus q)(p⊕q)

    p q p ⊕ q
    T T F
    T F T
    F T T
    F F F

    4. Truth Table for a Compound Proposition

    Example: Construct the truth table for (p∨q)∧¬p(p \lor q) \land \neg p(p∨q)∧¬p

    p q ¬p p ∨ q (p ∨ q) ∧ ¬p
    T T F T F
    T F F T F
    F T T T T
    F F T F F

    5. Number of Rows in a Truth Table

    For nnn propositional variables, the truth table has 2n2^n2n rows.

    • For 1 variable: 21=22^1 = 221=2 rows
    • For 2 variables: 22=42^2 = 422=4 rows
    • For 3 variables: 23=82^3 = 823=8 rows
    • And so on...

    6. Use of Truth Tables

    • Verify equivalences (e.g., p→q≡¬p∨qp \to q \equiv \neg p \lor qp→q≡¬p∨q)
    • Determine tautologies, contradictions, and contingencies
    • Analyze logical arguments

    Previous topic 4
    Propositional Logic and its Applications with Statement Problems
    Next topic 6
    Tautologies and Contradictions

    Past Papers

    Open this section to load past papers

    Click on Show Past Papers to see past papers.
    On This Page
      Reading Stats
      Est. reading time3 min
      Word count575
      Code examples0
      DifficultyBeginner