discrete_mathematics_with_a.../chapter_2/notes.md
2026-05-24 20:31:45 -07:00

4 KiB

Page 61

Definition

A statement (or proposition) is a sentence that is true or false but not both.


Page 63

Definition

If p is a statement variable, the negation of p is "not $p$" or "It is not the case that $p$" and is denoted \neg p. It has opposite truth value from p: if p is true, \neg p is false; if p is false, \neg p is true.


Page 64

Definition

If p and q are statement variables, the conjunction of p and q is "p and $q$", denoted p \wedge q. It is true when, and only when, both p and q are true. If either p or q is false, or if both are false, p \wedge q is false.


Page 64

Definition

If p and q are statement variables, the disjunction of p and q is "p or $q$", denoted p \vee q. It is true when either p is true, or q is true, or both p and q are true; it is false only when both p and q are false.


Page 65

Definition

A statement form (or propositional form) is an expression made up of statement variables (such as p, q, and r) and logical connectives (such as \neg, \wedge, and \vee) that becomes a statement when actual statements are substituted for the component statement variables. The truth table for a given statement form displays the truth values that correspond to all possible combinations of truth values for its component statement variables.


Page 67

Definition

Two statement forms are called logically equivalent if, and only if, they have identical truth values for each possible substitution of statements for their statement variables. The logical equivalence of statements forms P and Q is denoted by writing P \equiv Q.

Two statements are called logically equivalent if, and only if, they have logically equivalent forms when identical component statement variables are used to replace identical component statements.


Page 69

De Morgan's Laws

The negation of an and statement is logically equivalent to the or statement in which each component is negated.

The negation of an or statement is logically equivalent to the and statement in which each component is negated.


Page 71

Definition

A tautology is a statement form that is always true regardless of the truth values of the individual statements substituted for its statement variables. A statement whose form is a tautology is a tautological statement.

A contradiction is a statement form that is always false regardless of the truth values of the individual statements substituted for its statement variables. A statement whose form is a contradiction is a contradictory statement.


Page 72

Theorem 2.1.1 Logical Equivalences

Given any statement variables p, q, and r, a tautology \mathbf{t} and a contradiction \mathbf{c}, the following logical equivalences hold.

  1. Communitative laws:
 p \wedge q \equiv q \wedge p 
 p \vee q \equiv q \vee p 
  1. Associative laws:
 (p \wedge q) \wedge r \equiv p \wedge (q \wedge r) 
 (p \vee q) \vee r \equiv p \vee (q \vee r) 
  1. Distributive laws:
 p \wedge (q \vee r) \equiv (p \wedge q) \vee (p \wedge r) 
 p \vee (q \wedge r) \equiv (p \vee q) \wedge (p \vee r) 
  1. Identity laws:
 p \wedge \mathbf{t} \equiv p 
 p \vee \mathbf{c} \equiv p 
  1. Negation laws:
 p \vee \neg p \equiv \mathbf{t} 
 p \wedge \neg p \equiv \mathbf{c} 
  1. Double negative law:
 \neg(\neg p) \equiv p 
  1. Idempotent laws:
 p \wedge p \equiv p 
 p \vee p \equiv p 
  1. _Universal bound laws:_Double
 p \vee \mathbf{t} \equiv \mathbf{t} 
 p \wedge \mathbf{c} \equiv \mathbf{c} 
  1. De Morgan's laws:
 \neg (p \wedge q) \equiv \neg p \vee \neg q 
 \neg (p \vee q) \equiv \neg p \wedge \neg q 

10 Absorption laws:

 p \vee (p \wedge q) \equiv p 
 p \wedge (p \vee q) \equiv p 
  1. Negations of \mathbf{t} and \mathbf{c}:
 \neg \mathbf{t} \equiv \mathbf{c} 
 \neg \mathbf{c} \equiv \mathbf{t}