Central University beginner

Discrete Maths — Introduction to Propositional Logic + 6 more topics

Comprehensive AI-generated study curriculum with 5 detailed note modules.

2 views 5 notes

Course Syllabus

  1. Introduction to Propositional Logic
  2. Basic Logical Operators: Negation and Conjunction
  3. Disjunction and Exclusive Or
  4. Conditional Statements (Implications)
  5. Biconditional Statements
  6. Constructing and Analyzing Compound Propositions
  7. Review and Practice

Study Notes

Introduction to Propositional Logic

Propositional logic focuses on propositions, which are declarative sentences that are unambiguously either true (T) or false (F), but not both. Questions, commands, or subjective opinions aren't propositions.

For example:
* "The sky is blue." (True)
* "2 + 2 = 5." (False)
* "Go clean your room!" (Not a proposition)

We use lowercase letters (p, q, r, s, etc.) to represent propositions.
* Let p be "It is raining."
* Let q be "The sun is shining."

Read full note →

Basic Logical Operators: Negation and Conjunction

Free model

In discrete math, we often work with propositions, which are declarative sentences that are either true or false, but not both. For example, "The sky is blue" is a proposition. "Is the sky blue?" is not.

We use logical operators to combine or modify these propositions, creating more complex statements. Let's dive into two basic ones: negation and conjunction.

Negation is the simplest operator. It takes a single proposition and reverses its truth value. If a statement P is true, its negation not P is false. If P is false, not P is true.

Read full note →

Conditional Statements (Implications)

Free model
p q p → q
True True True
True False False
False True True
False False True

Notice the only time p → q is false is when p is true and q is false. This is the "broken promise" scenario.

  1. Converse: q → p (If q, then p) - Swaps hypothesis and conclusion.
  2. Inverse: ¬p → ¬q (If not p, then not q) - Negates both hypothesis and conclusion.
  3. Contrapositive: ¬q → ¬p (If not q, then not p) - Swaps and negates both.
Read full note →

Disjunction and Exclusive Or

Free model

In discrete mathematics, we often combine statements using logical operators. Disjunction and Exclusive Or are two key operators, and while they sound similar, they have distinct meanings and applications.

Disjunction, denoted by the symbol $\lor$ (read as "or"), is a logical operation that returns true if at least one of the statements it connects is true. This means if statement A is true, or statement B is true, or both A and B are true, the disjunction A $\lor$ B is true. The only time A $\lor$ B is false is when both A and B are false.

Read full note →

Biconditional Statements

Free model

A biconditional statement connects two propositions, let's call them P and Q, using the phrase "if and only if" (often shortened to "iff"). We write it symbolically as P ↔ Q.

What P ↔ Q really means is two things:
1. P implies Q (P → Q)
2. Q implies P (Q → P)

Both of these implications must be true for the biconditional (P ↔ Q) to be true.

Read full note →