ScholarQuill logoScholarQuillUniversity Notes
My Semester
Explore Notes
Past Papers12 New
Video CoursesNew
Search
Settings
Study Tools
GPA/CGPA Calculator
Schedule & To-Do
Student Portal
Contact
Contact
ScholarQuill logo
My Semester
Explore Notes
Past Papers12 New
Video CoursesNew
Search
Settings
GPA/CGPA Calculator
Schedule & To-Do
Student Portal
Contact
ScholarQuill logoScholarQuillUniversity Notes
Study PortalMATH2113Propositional Logic Ap…
Ctrl + K
Login
Explore
Search
Semester
Papers
CGPA
    MATH2113

    Discrete Mathematics

    Progress0 / 25 done
    Topics25
    1Sets, Subsets, Algebra of Sets2Propositions and Compound Statements3Basic Logical Operations4Propositional Logic and its Applications with Statement Problems5Propositions and Truth Tables6Tautologies and Contradictions7Conditional and Bi-conditional Statements8Arguments in Propositional Logic9Propositional Functions10Quantifiers and Negation of Quantified Statements11Relations and Equivalence Relations12Partial Ordering Relations13Functions and Recursively Defined Functions
    14Basics of Counting Methods15Combinations and Permutations16Pigeonhole Principle17Graphs and its Types18Graph Isomorphism19Trees in Graph Theory20Connectivity in Graphs21Eulerian and Hamiltonian Paths22Spanning Trees and Shortest Path Problem
    23Power, Floor, Increasing, Decreasing24Big O, Little O and Omega Notations25Orders of the Polynomial Functions
    5 min read
    Topic 4 of 25
    Topic Study Note Illustration
    04

    Propositional Logic and its Applications with Statement Problems

    Propositional Logic and its Applications with Statement Problems


    Propositional Logic and its Applications with Statement Problems


    1. Propositional Logic

    Propositional logic is the branch of logic that deals with propositions and logical connectives. It focuses on forming compound statements and analyzing their truth values using formal logic.

    A propositional variable (like p,q,rp, q, rp,q,r) represents a statement that can be either true (T) or false (F). Logical operators (such as ¬,∧,∨,→,↔\neg, \land, \lor, \to, \leftrightarrow¬,∧,∨,→,↔) are used to build compound propositions.


    2. Applications of Propositional Logic

    a) Mathematical Proofs

    Used to verify the validity of mathematical arguments by translating them into logical forms.

    b) Digital Circuit Design

    Each logic gate in a circuit (AND, OR, NOT, etc.) corresponds to a logical operation.

    c) Programming Conditions

    Conditional statements in programming (like if, else) rely on evaluating logical expressions.

    d) Artificial Intelligence and Algorithms

    Decision-making systems and rule-based engines use propositional logic to reason about knowledge.

    e) Database Queries and Filtering

    Logical expressions are used to extract information from databases based on certain conditions.


    3. Translating English Statements into Propositional Logic

    Each part of a sentence is treated as a proposition and assigned a symbol. Logical connectives represent how these parts are related.

    Example 1:

    Statement: "If it is raining, then the ground is wet."

    Let
    ppp: "It is raining"
    qqq: "The ground is wet"

    Translation: p→qp \to qp→q


    Example 2:

    Statement: "You can have dessert if and only if you finish your dinner."

    Let
    ppp: "You can have dessert"
    qqq: "You finish your dinner"

    Translation: p↔qp \leftrightarrow qp↔q


    Example 3:

    Statement: "He studies and he passes the test."

    Let
    ppp: "He studies"
    qqq: "He passes the test"

    Translation: p∧qp \land qp∧q


    Example 4:

    Statement: "You will pass unless you skip the exam."

    Let
    ppp: "You pass"
    qqq: "You skip the exam"

    "Unless" means "if not", so it becomes: "If you do not skip the exam, then you will pass."
    Translation: ¬q→p\neg q \to p¬q→p


    4. Solving Statement Problems

    Problem 1:

    Statement: "If the alarm is set, then the house is protected."

    Let
    ppp: "The alarm is set"
    qqq: "The house is protected"

    Form: p→qp \to qp→q


    Problem 2:

    Statement: "The train is late or the traffic is heavy, but not both."

    Let
    ppp: "The train is late"
    qqq: "The traffic is heavy"

    This is an exclusive OR: p⊕qp \oplus qp⊕q


    Problem 3:

    Statement: "Either you wake up early or you miss the bus."

    Let
    ppp: "You wake up early"
    qqq: "You miss the bus"

    Translation: p∨qp \lor qp∨q

    If the meaning is "If you do not wake up early, then you miss the bus", then:
    Translation: ¬p→q\neg p \to q¬p→q


    Problem 4:

    Statement: "You will not graduate if you fail the final exam."

    Let
    ppp: "You fail the final exam"
    qqq: "You graduate"

    Translation: p→¬qp \to \neg qp→¬q


    5. Evaluating Compound Statements

    Using truth tables or logical equivalences, complex statements can be simplified or verified for validity.

    Example:

    Evaluate (p∨¬q)→r(p \lor \neg q) \to r(p∨¬q)→r

    Create a truth table by listing all possible truth values for p,q,rp, q, rp,q,r, and compute the final result based on the logic.


    6. Logical Equivalence in Applications

    Logical equivalences allow rewriting complex expressions into simpler or more useful forms.
    Common equivalences:

    • p→q≡¬p∨qp \to q \equiv \neg p \lor qp→q≡¬p∨q
    • ¬(p∧q)≡¬p∨¬q\neg(p \land q) \equiv \neg p \lor \neg q¬(p∧q)≡¬p∨¬q
    • ¬(p∨q)≡¬p∧¬q\neg(p \lor q) \equiv \neg p \land \neg q¬(p∨q)≡¬p∧¬q

    ← Previous topic 3
    Basic Logical Operations
    Next topic 5 →
    Propositions and Truth Tables

    Past Papers

    Open this section to view and download past papers

    Click on Show Past Papers to load available exam papers.

    Reading Progress
    0%
    5mremaining
    795words
    Beginnerlevel
    On This Page

    No headings found

    Study Toolkit

    Subject Portal

    Discrete Mathematics