Skip to content
Unit 2 Syllabus Note· Discrete Mathematics

Discrete Mathematics

Comprehensive exam revision notes for BCA-411E Unit 2 (Propositional Logic, Predicate Calculus & Mathematical Proofs). Includes Section A (2M), Section B (5M), and Section C (15M) questions, answers, and diagrams.

Discrete Mathematics

Propositional Logic, Predicate Calculus & Mathematical Proofs

Core Definitions & Key Concepts

A Proposition in mathematical logic

A Proposition (or statement) is a declarative sentence that is either True (T) or False (F), but not both simultaneously. Example: 'Bareilly is in Uttar Pradesh' is a proposition (True). 'What time is it?' is not a proposition (interrogative sentence).

State the truth table for Conditional Statement (p \to q)

pqp \to q
TTT
TFF
FTT
FFT

(A conditional statement $p \to q$ is false IF AND ONLY IF the antecedent $p$ is true and consequent $q$ is false).

Converse, Inverse, and Contrapositive of p \to q

For an implication p \to q:

  1. Converse: q \to p
  2. Inverse: \neg p \to \neg q
  3. Contrapositive: \neg q \to \neg p

(A conditional statement is logically equivalent to its contrapositive: $p \to q \equiv \neg q \to \neg p$).

Tautology, Contradiction, and Contingency

A Tautology is a compound proposition that is True for all possible truth assignments (e.g., p \lor \neg p). A Contradiction (or Absurdity) is False for all possible truth assignments (e.g., p \land \neg p). A Contingency is neither a tautology nor a contradiction (it is true for some cases and false for others).

State Modus Ponens and Modus Tollens rules of inference

  1. Modus Ponens (Law of Detachment):

$\frac{p, \quad p \to q}{\therefore q}$

  1. Modus Tollens:

$\frac{\neg q, \quad p \to q}{\therefore \neg p}$

State De Morgan's Laws for Quantifiers

  1. \neg (\forall x P(x)) \equiv \exists x \neg P(x)
  2. \neg (\exists x P(x)) \equiv \forall x \neg P(x)

Conceptual & Architectural Analysis

Prove using Truth Tables that (p \to q) \equiv (\neg p \lor q) and deduce that (p \to q) \equiv (\neg q \to \neg p)

Truth Table Proof of Equivalence

Construction Table:

pq\neg p\neg qp \to q (Col 5)\neg p \lor q (Col 6)\neg q \to \neg p (Col 7)
TTFFTTT
TFFTFFF
FTTFTTT
FFTTTTT

Conclusion:

  • Columns 5 and 6 have identical truth values in every row, proving:

$(p \to q) \equiv (\neg p \lor q)$

  • Columns 5 and 7 also have identical truth values in every row, proving:

$(p \to q) \equiv (\neg q \to \neg p) \quad (Equivalence with Contrapositive)$

Determine whether the formula (p \to q) \land (q \to r) \to (p \to r) is a Tautology

Proof of Hypothetical Syllogism

We evaluate the truth table for [(p \to q) \land (q \to r)] \to (p \to r):

pqrp \to qq \to rPremise: (p \to q) \land (q \to r)Conclusion: p \to rFormula
TTTTTTTT
TTFTFFFT
TFTFTFTT
TFFFTFFT
FTTTTTTT
FTFTFFTT
FFTTTTTT
FFFTTTTT

Since the final column evaluates to True (T) across all 8 possible truth assignments, the formula is a TAUTOLOGY (known as the Law of Hypothetical Syllogism).

Rules of Inference in Propositional Logic: Hypothetical Syllogism, Disjunctive Syllogism, and Resolution

Rules of Inference Summary

Rule of InferenceTautological FormDescription
Modus Ponens[p \land (p \to q)] \to qAffirming the antecedent yields consequent.
Modus Tollens[\neg q \land (p \to q)] \to \neg pDenying consequent denies antecedent.
Hypothetical Syllogism[(p \to q) \land (q \to r)] \to (p \to r)Transitivity of implication.
Disjunctive Syllogism[(p \lor q) \land \neg p] \to qIf disjunction holds and one is false, the other must be true.
Resolution[(p \lor q) \land (\neg p \lor r)] \to (q \lor r)Core inference engine for automated theorem proving.

In-Depth Analysis & Implementation

Demonstrate the validity of an argument using Rules of Inference: Given premises: (1) p -> ~q, (2) ~r -> p, (3) q. Prove the conclusion r

Formal Proof of Validity using Rules of Inference

Given Premises:

  1. p \to \neg q
  2. \neg r \to p
  3. q

To Prove Conclusion: r

Step-by-Step Derivation Table:

StepStatementJustification
1.p \to \neg qPremise (1)
2.qPremise (3)
3.\neg (\neg q)Double Negation on Step 2
4.\neg pModus Tollens on Step 1 and Step 3 ([p \to \neg q] \land \neg(\neg q) \implies \neg p)
5.\neg r \to pPremise (2)
6.\neg (\neg r)Modus Tollens on Step 5 and Step 4 ([\neg r \to p] \land \neg p \implies \neg(\neg r))
7.$r$Double Negation on Step 6

$\mathbf{Q.E.D.}$ (The argument is proven mathematically valid).

Predicate Calculus, Universal (\forall) and Existential (\exists) Quantifiers, and Negation of Nested Quantifiers. Translate into English and find negations for: (1) \forall x \exists y (x + y = 0), (2) \exists x \forall y (x \le y)

Predicate Calculus, Quantifiers, and Negations

1. Fundamental Definitions

  • Predicate: A propositional function P(x) whose truth value depends on variable x chosen from a Domain of Discourse ($D$).
  • Universal Quantifier ($\forall$): \forall x P(x) is True iff P(x) is True for every x \in D.
  • Existential Quantifier ($\exists$): \exists x P(x) is True iff there is at least one x \in D where P(x) is True.

2. Solving Statement (1): \forall x \exists y (x + y = 0) over the Real Numbers \mathbb{R}

  • English Translation: "For every real number x, there exists a real number y such that their sum is 0." (This asserts the existence of additive inverses: $y = -x$. It is True).
  • Forming Negation:

$\neg [\forall x \exists y (x + y = 0)] \equiv \exists x \neg [\exists y (x + y = 0)] \equiv \mathbf{\exists x \forall y (x + y \ne 0)}$

  • Negation in English: "There exists a real number x such that for all real numbers y, x + y \ne 0."

3. Solving Statement (2): \exists x \forall y (x ≤ y) over Positive Integers \mathbb{Z}^+

  • English Translation: "There exists a positive integer x such that for all positive integers y, x ≤ y." (This asserts the existence of a minimum element in $\mathbb{Z}^+$, namely $x = 1$. It is True).
  • Forming Negation:

$\neg [\exists x \forall y (x ≤ y)] \equiv \forall x \neg [\forall y (x ≤ y)] \equiv \mathbf{\forall x \exists y (x > y)}$

  • Negation in English: "For every positive integer x, there exists a positive integer y such that x > y." (False).

Important Exam Points & Quick Revision

Examiner Insights & University Exam Strategy:

  1. Guaranteed 5/10-Mark Problem: Constructing a Truth Table to prove whether a given compound expression is a Tautology, Contradiction, or Contingency. Draw clear, step-by-step columns.
  2. Rules of Inference: Practice formal step-by-step proofs using Modus Ponens, Modus Tollens, and Hypothetical Syllogism.
  3. Quantifier Negations: Remember to swap \forall ≤ftrightarrow \exists and negate the inner predicate (P(x) ≤ftrightarrow \neg P(x)).
Your reading progress
0%

100% left on this page — finishing it closes the gap for Propositional Logic, Predicate Calculus & Mathematical Proofs.

Weak topic hint

Propositional Logic, Predicate Calculus & Mathematical Proofs still counts as a weak topic until you finish this note and answer its questions.

Practise this unit
What Should You Do Next?

Test Your Understanding

Now that you've read through these notes, practice unit MCQs to identify weak points and solidify your learning before exams.