Menu

Week 1: Introduction & Logic

MATHEMATICAL LOGIC

What is a Proposition?

In mathematics, we deal with statements that are either True or False. These are called propositions.

Definition

A proposition is a declarative statement that is either true or false, but not both.

Key Concept

Examples

Valid Propositions

  • The sun rises in the East. (True)
  • 2 + 2 = 5. (False)
  • New Delhi is the capital of India. (True)

Not Propositions

  • What is your name? (Question)
  • Close the door. (Command)
  • x + 2 = 5. (Depends on x)

Logical Connectives

We can combine propositions using logical connectives.

AND, OR, NOT

Truth Tables

Let pp and qq be two propositions.

ppqqpqp \land q (AND)pqp \lor q (OR)¬p\neg p (NOT)
TTTTF
TFFTF
FTFTT
FFFFT

Implication (p    qp \implies q)

This is one of the most important connectives. It is read as “if pp, then qq”.

IF P THEN Q

🔥 The Promise Analogy

Think of p    qp \implies q as a promise.

  • If I promise (pp) to give you candy, and I give you candy (qq), I kept my promise (True).
  • If I promise (pp), but don’t give you candy (not qq), I broke my promise (False).
  • If I didn’t promise (not pp), whether I give you candy or not, I didn’t break any promise (True).