Negation Bernd Schr oder logo1 Bernd Schr oder Louisiana Tech - - PowerPoint PPT Presentation

negation
SMART_READER_LITE
LIVE PREVIEW

Negation Bernd Schr oder logo1 Bernd Schr oder Louisiana Tech - - PowerPoint PPT Presentation

Overview Boolean Algebra Implications and Negations Negation Bernd Schr oder logo1 Bernd Schr oder Louisiana Tech University, College of Engineering and Science Negation Overview Boolean Algebra Implications and Negations Uses of


slide-1
SLIDE 1

logo1 Overview Boolean Algebra Implications and Negations

Negation

Bernd Schr¨

  • der

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-2
SLIDE 2

logo1 Overview Boolean Algebra Implications and Negations

Uses of Negation

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-3
SLIDE 3

logo1 Overview Boolean Algebra Implications and Negations

Uses of Negation

  • 1. A proof of p ⇒ q by contradiction starts with the negation

¬q of the conclusion q and leads this statement to a contradiction.

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-4
SLIDE 4

logo1 Overview Boolean Algebra Implications and Negations

Uses of Negation

  • 1. A proof of p ⇒ q by contradiction starts with the negation

¬q of the conclusion q and leads this statement to a contradiction.

  • 2. Similarly, a proof by contraposition requires correct

negations.

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-5
SLIDE 5

logo1 Overview Boolean Algebra Implications and Negations

Uses of Negation

  • 1. A proof of p ⇒ q by contradiction starts with the negation

¬q of the conclusion q and leads this statement to a contradiction.

  • 2. Similarly, a proof by contraposition requires correct

negations.

  • 3. So we must carefully study negations of logical

connectives.

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-6
SLIDE 6

logo1 Overview Boolean Algebra Implications and Negations

Boolean Algebra, Part II

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-7
SLIDE 7

logo1 Overview Boolean Algebra Implications and Negations

Boolean Algebra, Part II

  • Theorem. DeMorgan’s Laws. Let p,q be primitive

propositions.

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-8
SLIDE 8

logo1 Overview Boolean Algebra Implications and Negations

Boolean Algebra, Part II

  • Theorem. DeMorgan’s Laws. Let p,q be primitive

propositions.

  • 1. The negation of the statement p∧q is

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-9
SLIDE 9

logo1 Overview Boolean Algebra Implications and Negations

Boolean Algebra, Part II

  • Theorem. DeMorgan’s Laws. Let p,q be primitive

propositions.

  • 1. The negation of the statement p∧q is

¬(p∧q)

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-10
SLIDE 10

logo1 Overview Boolean Algebra Implications and Negations

Boolean Algebra, Part II

  • Theorem. DeMorgan’s Laws. Let p,q be primitive

propositions.

  • 1. The negation of the statement p∧q is

¬(p∧q) = (¬p)∨(¬q).

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-11
SLIDE 11

logo1 Overview Boolean Algebra Implications and Negations

Boolean Algebra, Part II

  • Theorem. DeMorgan’s Laws. Let p,q be primitive

propositions.

  • 1. The negation of the statement p∧q is

¬(p∧q) = (¬p)∨(¬q).

  • 2. The negation of the statement p∨q is

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-12
SLIDE 12

logo1 Overview Boolean Algebra Implications and Negations

Boolean Algebra, Part II

  • Theorem. DeMorgan’s Laws. Let p,q be primitive

propositions.

  • 1. The negation of the statement p∧q is

¬(p∧q) = (¬p)∨(¬q).

  • 2. The negation of the statement p∨q is

¬(p∨q)

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-13
SLIDE 13

logo1 Overview Boolean Algebra Implications and Negations

Boolean Algebra, Part II

  • Theorem. DeMorgan’s Laws. Let p,q be primitive

propositions.

  • 1. The negation of the statement p∧q is

¬(p∧q) = (¬p)∨(¬q).

  • 2. The negation of the statement p∨q is

¬(p∨q) = (¬p)∧(¬q).

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-14
SLIDE 14

logo1 Overview Boolean Algebra Implications and Negations

Verbal Proof of ¬(p∧q) = (¬p)∨(¬q)

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-15
SLIDE 15

logo1 Overview Boolean Algebra Implications and Negations

Verbal Proof of ¬(p∧q) = (¬p)∨(¬q)

¬(p∧q) is false iff both p and q are true.

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-16
SLIDE 16

logo1 Overview Boolean Algebra Implications and Negations

Verbal Proof of ¬(p∧q) = (¬p)∨(¬q)

¬(p∧q) is false iff both p and q are true. (¬p)∨(¬q) is false iff both p and q are true.

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-17
SLIDE 17

logo1 Overview Boolean Algebra Implications and Negations

Verbal Proof of ¬(p∧q) = (¬p)∨(¬q)

¬(p∧q) is false iff both p and q are true. (¬p)∨(¬q) is false iff both p and q are true. Hence ¬(p∧q) is false iff (¬p)∨(¬q) is false.

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-18
SLIDE 18

logo1 Overview Boolean Algebra Implications and Negations

Verbal Proof of ¬(p∧q) = (¬p)∨(¬q)

¬(p∧q) is false iff both p and q are true. (¬p)∨(¬q) is false iff both p and q are true. Hence ¬(p∧q) is false iff (¬p)∨(¬q) is

  • false. Consequently, ¬(p∧q) is true iff (¬p)∨(¬q) is true.

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-19
SLIDE 19

logo1 Overview Boolean Algebra Implications and Negations

Verbal Proof of ¬(p∧q) = (¬p)∨(¬q)

¬(p∧q) is false iff both p and q are true. (¬p)∨(¬q) is false iff both p and q are true. Hence ¬(p∧q) is false iff (¬p)∨(¬q) is

  • false. Consequently, ¬(p∧q) is true iff (¬p)∨(¬q) is true. So

the two are equal.

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-20
SLIDE 20

logo1 Overview Boolean Algebra Implications and Negations

Verbal Proof of ¬(p∧q) = (¬p)∨(¬q)

¬(p∧q) is false iff both p and q are true. (¬p)∨(¬q) is false iff both p and q are true. Hence ¬(p∧q) is false iff (¬p)∨(¬q) is

  • false. Consequently, ¬(p∧q) is true iff (¬p)∨(¬q) is true. So

the two are equal.

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-21
SLIDE 21

logo1 Overview Boolean Algebra Implications and Negations

Verbal Proof of ¬(p∧q) = (¬p)∨(¬q)

¬(p∧q) is false iff both p and q are true. (¬p)∨(¬q) is false iff both p and q are true. Hence ¬(p∧q) is false iff (¬p)∨(¬q) is

  • false. Consequently, ¬(p∧q) is true iff (¬p)∨(¬q) is true. So

the two are equal. Almost feels like a truth table, but it highlights an important feature of proofs:

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-22
SLIDE 22

logo1 Overview Boolean Algebra Implications and Negations

Verbal Proof of ¬(p∧q) = (¬p)∨(¬q)

¬(p∧q) is false iff both p and q are true. (¬p)∨(¬q) is false iff both p and q are true. Hence ¬(p∧q) is false iff (¬p)∨(¬q) is

  • false. Consequently, ¬(p∧q) is true iff (¬p)∨(¬q) is true. So

the two are equal. Almost feels like a truth table, but it highlights an important feature of proofs: Once you find a “weak spot”, you can drive the argument to its conclusion.

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-23
SLIDE 23

logo1 Overview Boolean Algebra Implications and Negations

Algebraic Proof of ¬(p∧q) = (¬p)∨(¬q)

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-24
SLIDE 24

logo1 Overview Boolean Algebra Implications and Negations

Algebraic Proof of ¬(p∧q) = (¬p)∨(¬q)

¬(p∧q)

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-25
SLIDE 25

logo1 Overview Boolean Algebra Implications and Negations

Algebraic Proof of ¬(p∧q) = (¬p)∨(¬q)

¬(p∧q) = (¬p∧¬q)

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-26
SLIDE 26

logo1 Overview Boolean Algebra Implications and Negations

Algebraic Proof of ¬(p∧q) = (¬p)∨(¬q)

¬(p∧q) = (¬p∧¬q)∨(¬p∧q)

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-27
SLIDE 27

logo1 Overview Boolean Algebra Implications and Negations

Algebraic Proof of ¬(p∧q) = (¬p)∨(¬q)

¬(p∧q) = (¬p∧¬q)∨(¬p∧q)∨(p∧¬q)

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-28
SLIDE 28

logo1 Overview Boolean Algebra Implications and Negations

Algebraic Proof of ¬(p∧q) = (¬p)∨(¬q)

¬(p∧q) = (¬p∧¬q)∨(¬p∧q)∨(p∧¬q) =

  • (¬p∧¬q)∨(¬p∧q)
  • ∨(p∧¬q)

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-29
SLIDE 29

logo1 Overview Boolean Algebra Implications and Negations

Algebraic Proof of ¬(p∧q) = (¬p)∨(¬q)

¬(p∧q) = (¬p∧¬q)∨(¬p∧q)∨(p∧¬q) =

  • (¬p∧¬q)∨(¬p∧q)
  • ∨(p∧¬q)

=

  • ¬p∧(¬q∨q)
  • ∨(p∧¬q)

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-30
SLIDE 30

logo1 Overview Boolean Algebra Implications and Negations

Algebraic Proof of ¬(p∧q) = (¬p)∨(¬q)

¬(p∧q) = (¬p∧¬q)∨(¬p∧q)∨(p∧¬q) =

  • (¬p∧¬q)∨(¬p∧q)
  • ∨(p∧¬q)

=

  • ¬p∧(¬q∨q)

=TRUE

  • ∨(p∧¬q)

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-31
SLIDE 31

logo1 Overview Boolean Algebra Implications and Negations

Algebraic Proof of ¬(p∧q) = (¬p)∨(¬q)

¬(p∧q) = (¬p∧¬q)∨(¬p∧q)∨(p∧¬q) =

  • (¬p∧¬q)∨(¬p∧q)
  • ∨(p∧¬q)

=

  • ¬p∧(¬q∨q)

=TRUE

  • ∨(p∧¬q)

= ¬p∨(p∧¬q)

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-32
SLIDE 32

logo1 Overview Boolean Algebra Implications and Negations

Algebraic Proof of ¬(p∧q) = (¬p)∨(¬q)

¬(p∧q) = (¬p∧¬q)∨(¬p∧q)∨(p∧¬q) =

  • (¬p∧¬q)∨(¬p∧q)
  • ∨(p∧¬q)

=

  • ¬p∧(¬q∨q)

=TRUE

  • ∨(p∧¬q)

= ¬p∨(p∧¬q) = (¬p∨p)∧(¬p∨¬q)

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-33
SLIDE 33

logo1 Overview Boolean Algebra Implications and Negations

Algebraic Proof of ¬(p∧q) = (¬p)∨(¬q)

¬(p∧q) = (¬p∧¬q)∨(¬p∧q)∨(p∧¬q) =

  • (¬p∧¬q)∨(¬p∧q)
  • ∨(p∧¬q)

=

  • ¬p∧(¬q∨q)

=TRUE

  • ∨(p∧¬q)

= ¬p∨(p∧¬q) = (¬p∨p)

=TRUE

∧(¬p∨¬q)

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-34
SLIDE 34

logo1 Overview Boolean Algebra Implications and Negations

Algebraic Proof of ¬(p∧q) = (¬p)∨(¬q)

¬(p∧q) = (¬p∧¬q)∨(¬p∧q)∨(p∧¬q) =

  • (¬p∧¬q)∨(¬p∧q)
  • ∨(p∧¬q)

=

  • ¬p∧(¬q∨q)

=TRUE

  • ∨(p∧¬q)

= ¬p∨(p∧¬q) = (¬p∨p)

=TRUE

∧(¬p∨¬q) = ¬p∨¬q

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-35
SLIDE 35

logo1 Overview Boolean Algebra Implications and Negations

Algebraic Proof of ¬(p∧q) = (¬p)∨(¬q)

¬(p∧q) = (¬p∧¬q)∨(¬p∧q)∨(p∧¬q) =

  • (¬p∧¬q)∨(¬p∧q)
  • ∨(p∧¬q)

=

  • ¬p∧(¬q∨q)

=TRUE

  • ∨(p∧¬q)

= ¬p∨(p∧¬q) = (¬p∨p)

=TRUE

∧(¬p∨¬q) = ¬p∨¬q

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-36
SLIDE 36

logo1 Overview Boolean Algebra Implications and Negations

Proof of ¬(p∧q) = (¬p)∨(¬q) With a Truth Table

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-37
SLIDE 37

logo1 Overview Boolean Algebra Implications and Negations

Proof of ¬(p∧q) = (¬p)∨(¬q) With a Truth Table

p q

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-38
SLIDE 38

logo1 Overview Boolean Algebra Implications and Negations

Proof of ¬(p∧q) = (¬p)∨(¬q) With a Truth Table

p q p∧q

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-39
SLIDE 39

logo1 Overview Boolean Algebra Implications and Negations

Proof of ¬(p∧q) = (¬p)∨(¬q) With a Truth Table

p q p∧q ¬(p∧q)

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-40
SLIDE 40

logo1 Overview Boolean Algebra Implications and Negations

Proof of ¬(p∧q) = (¬p)∨(¬q) With a Truth Table

p q p∧q ¬(p∧q) ¬p

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-41
SLIDE 41

logo1 Overview Boolean Algebra Implications and Negations

Proof of ¬(p∧q) = (¬p)∨(¬q) With a Truth Table

p q p∧q ¬(p∧q) ¬p ¬q

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-42
SLIDE 42

logo1 Overview Boolean Algebra Implications and Negations

Proof of ¬(p∧q) = (¬p)∨(¬q) With a Truth Table

p q p∧q ¬(p∧q) ¬p ¬q ¬p∨¬q

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-43
SLIDE 43

logo1 Overview Boolean Algebra Implications and Negations

Proof of ¬(p∧q) = (¬p)∨(¬q) With a Truth Table

p q p∧q ¬(p∧q) ¬p ¬q ¬p∨¬q FALSE FALSE

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-44
SLIDE 44

logo1 Overview Boolean Algebra Implications and Negations

Proof of ¬(p∧q) = (¬p)∨(¬q) With a Truth Table

p q p∧q ¬(p∧q) ¬p ¬q ¬p∨¬q FALSE FALSE FALSE TRUE

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-45
SLIDE 45

logo1 Overview Boolean Algebra Implications and Negations

Proof of ¬(p∧q) = (¬p)∨(¬q) With a Truth Table

p q p∧q ¬(p∧q) ¬p ¬q ¬p∨¬q FALSE FALSE FALSE TRUE TRUE FALSE

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-46
SLIDE 46

logo1 Overview Boolean Algebra Implications and Negations

Proof of ¬(p∧q) = (¬p)∨(¬q) With a Truth Table

p q p∧q ¬(p∧q) ¬p ¬q ¬p∨¬q FALSE FALSE FALSE TRUE TRUE FALSE TRUE TRUE

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-47
SLIDE 47

logo1 Overview Boolean Algebra Implications and Negations

Proof of ¬(p∧q) = (¬p)∨(¬q) With a Truth Table

p q p∧q ¬(p∧q) ¬p ¬q ¬p∨¬q FALSE FALSE FALSE FALSE TRUE TRUE FALSE TRUE TRUE

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-48
SLIDE 48

logo1 Overview Boolean Algebra Implications and Negations

Proof of ¬(p∧q) = (¬p)∨(¬q) With a Truth Table

p q p∧q ¬(p∧q) ¬p ¬q ¬p∨¬q FALSE FALSE FALSE FALSE TRUE FALSE TRUE FALSE TRUE TRUE

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-49
SLIDE 49

logo1 Overview Boolean Algebra Implications and Negations

Proof of ¬(p∧q) = (¬p)∨(¬q) With a Truth Table

p q p∧q ¬(p∧q) ¬p ¬q ¬p∨¬q FALSE FALSE FALSE FALSE TRUE FALSE TRUE FALSE FALSE TRUE TRUE

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-50
SLIDE 50

logo1 Overview Boolean Algebra Implications and Negations

Proof of ¬(p∧q) = (¬p)∨(¬q) With a Truth Table

p q p∧q ¬(p∧q) ¬p ¬q ¬p∨¬q FALSE FALSE FALSE FALSE TRUE FALSE TRUE FALSE FALSE TRUE TRUE TRUE

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-51
SLIDE 51

logo1 Overview Boolean Algebra Implications and Negations

Proof of ¬(p∧q) = (¬p)∨(¬q) With a Truth Table

p q p∧q ¬(p∧q) ¬p ¬q ¬p∨¬q FALSE FALSE FALSE TRUE FALSE TRUE FALSE TRUE FALSE FALSE TRUE TRUE TRUE

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-52
SLIDE 52

logo1 Overview Boolean Algebra Implications and Negations

Proof of ¬(p∧q) = (¬p)∨(¬q) With a Truth Table

p q p∧q ¬(p∧q) ¬p ¬q ¬p∨¬q FALSE FALSE FALSE TRUE FALSE TRUE FALSE TRUE TRUE FALSE FALSE TRUE TRUE TRUE

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-53
SLIDE 53

logo1 Overview Boolean Algebra Implications and Negations

Proof of ¬(p∧q) = (¬p)∨(¬q) With a Truth Table

p q p∧q ¬(p∧q) ¬p ¬q ¬p∨¬q FALSE FALSE FALSE TRUE FALSE TRUE FALSE TRUE TRUE FALSE FALSE TRUE TRUE TRUE TRUE

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-54
SLIDE 54

logo1 Overview Boolean Algebra Implications and Negations

Proof of ¬(p∧q) = (¬p)∨(¬q) With a Truth Table

p q p∧q ¬(p∧q) ¬p ¬q ¬p∨¬q FALSE FALSE FALSE TRUE FALSE TRUE FALSE TRUE TRUE FALSE FALSE TRUE TRUE TRUE TRUE FALSE

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-55
SLIDE 55

logo1 Overview Boolean Algebra Implications and Negations

Proof of ¬(p∧q) = (¬p)∨(¬q) With a Truth Table

p q p∧q ¬(p∧q) ¬p ¬q ¬p∨¬q FALSE FALSE FALSE TRUE TRUE FALSE TRUE FALSE TRUE TRUE FALSE FALSE TRUE TRUE TRUE TRUE FALSE

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-56
SLIDE 56

logo1 Overview Boolean Algebra Implications and Negations

Proof of ¬(p∧q) = (¬p)∨(¬q) With a Truth Table

p q p∧q ¬(p∧q) ¬p ¬q ¬p∨¬q FALSE FALSE FALSE TRUE TRUE FALSE TRUE FALSE TRUE TRUE TRUE FALSE FALSE TRUE TRUE TRUE TRUE FALSE

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-57
SLIDE 57

logo1 Overview Boolean Algebra Implications and Negations

Proof of ¬(p∧q) = (¬p)∨(¬q) With a Truth Table

p q p∧q ¬(p∧q) ¬p ¬q ¬p∨¬q FALSE FALSE FALSE TRUE TRUE FALSE TRUE FALSE TRUE TRUE TRUE FALSE FALSE TRUE FALSE TRUE TRUE TRUE FALSE

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-58
SLIDE 58

logo1 Overview Boolean Algebra Implications and Negations

Proof of ¬(p∧q) = (¬p)∨(¬q) With a Truth Table

p q p∧q ¬(p∧q) ¬p ¬q ¬p∨¬q FALSE FALSE FALSE TRUE TRUE FALSE TRUE FALSE TRUE TRUE TRUE FALSE FALSE TRUE FALSE TRUE TRUE TRUE FALSE FALSE

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-59
SLIDE 59

logo1 Overview Boolean Algebra Implications and Negations

Proof of ¬(p∧q) = (¬p)∨(¬q) With a Truth Table

p q p∧q ¬(p∧q) ¬p ¬q ¬p∨¬q FALSE FALSE FALSE TRUE TRUE TRUE FALSE TRUE FALSE TRUE TRUE TRUE FALSE FALSE TRUE FALSE TRUE TRUE TRUE FALSE FALSE

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-60
SLIDE 60

logo1 Overview Boolean Algebra Implications and Negations

Proof of ¬(p∧q) = (¬p)∨(¬q) With a Truth Table

p q p∧q ¬(p∧q) ¬p ¬q ¬p∨¬q FALSE FALSE FALSE TRUE TRUE TRUE FALSE TRUE FALSE TRUE TRUE FALSE TRUE FALSE FALSE TRUE FALSE TRUE TRUE TRUE FALSE FALSE

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-61
SLIDE 61

logo1 Overview Boolean Algebra Implications and Negations

Proof of ¬(p∧q) = (¬p)∨(¬q) With a Truth Table

p q p∧q ¬(p∧q) ¬p ¬q ¬p∨¬q FALSE FALSE FALSE TRUE TRUE TRUE FALSE TRUE FALSE TRUE TRUE FALSE TRUE FALSE FALSE TRUE FALSE TRUE TRUE TRUE TRUE FALSE FALSE

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-62
SLIDE 62

logo1 Overview Boolean Algebra Implications and Negations

Proof of ¬(p∧q) = (¬p)∨(¬q) With a Truth Table

p q p∧q ¬(p∧q) ¬p ¬q ¬p∨¬q FALSE FALSE FALSE TRUE TRUE TRUE FALSE TRUE FALSE TRUE TRUE FALSE TRUE FALSE FALSE TRUE FALSE TRUE TRUE TRUE TRUE FALSE FALSE FALSE

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-63
SLIDE 63

logo1 Overview Boolean Algebra Implications and Negations

Proof of ¬(p∧q) = (¬p)∨(¬q) With a Truth Table

p q p∧q ¬(p∧q) ¬p ¬q ¬p∨¬q FALSE FALSE FALSE TRUE TRUE TRUE TRUE FALSE TRUE FALSE TRUE TRUE FALSE TRUE FALSE FALSE TRUE FALSE TRUE TRUE TRUE TRUE FALSE FALSE FALSE

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-64
SLIDE 64

logo1 Overview Boolean Algebra Implications and Negations

Proof of ¬(p∧q) = (¬p)∨(¬q) With a Truth Table

p q p∧q ¬(p∧q) ¬p ¬q ¬p∨¬q FALSE FALSE FALSE TRUE TRUE TRUE TRUE FALSE TRUE FALSE TRUE TRUE FALSE TRUE TRUE FALSE FALSE TRUE FALSE TRUE TRUE TRUE TRUE FALSE FALSE FALSE

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-65
SLIDE 65

logo1 Overview Boolean Algebra Implications and Negations

Proof of ¬(p∧q) = (¬p)∨(¬q) With a Truth Table

p q p∧q ¬(p∧q) ¬p ¬q ¬p∨¬q FALSE FALSE FALSE TRUE TRUE TRUE TRUE FALSE TRUE FALSE TRUE TRUE FALSE TRUE TRUE FALSE FALSE TRUE FALSE TRUE TRUE TRUE TRUE TRUE FALSE FALSE FALSE

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-66
SLIDE 66

logo1 Overview Boolean Algebra Implications and Negations

Proof of ¬(p∧q) = (¬p)∨(¬q) With a Truth Table

p q p∧q ¬(p∧q) ¬p ¬q ¬p∨¬q FALSE FALSE FALSE TRUE TRUE TRUE TRUE FALSE TRUE FALSE TRUE TRUE FALSE TRUE TRUE FALSE FALSE TRUE FALSE TRUE TRUE TRUE TRUE TRUE FALSE FALSE FALSE FALSE

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-67
SLIDE 67

logo1 Overview Boolean Algebra Implications and Negations

Proof of ¬(p∧q) = (¬p)∨(¬q) With a Truth Table

p q p∧q ¬(p∧q) ¬p ¬q ¬p∨¬q FALSE FALSE FALSE TRUE TRUE TRUE TRUE FALSE TRUE FALSE TRUE TRUE FALSE TRUE TRUE FALSE FALSE TRUE FALSE TRUE TRUE TRUE TRUE TRUE FALSE FALSE FALSE FALSE

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-68
SLIDE 68

logo1 Overview Boolean Algebra Implications and Negations

Double Negation

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-69
SLIDE 69

logo1 Overview Boolean Algebra Implications and Negations

Double Negation

  • Proposition. Law of double negation. Let p be a primitive
  • proposition. The negation of the statement ¬p is ¬(¬p) = p.

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-70
SLIDE 70

logo1 Overview Boolean Algebra Implications and Negations

Double Negation

  • Proposition. Law of double negation. Let p be a primitive
  • proposition. The negation of the statement ¬p is ¬(¬p) = p.

Easily verified with truth tables.

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-71
SLIDE 71

logo1 Overview Boolean Algebra Implications and Negations

Double Negation

  • Proposition. Law of double negation. Let p be a primitive
  • proposition. The negation of the statement ¬p is ¬(¬p) = p.

Easily verified with truth tables. “I don’t got nothing to say” would mean that I have something to say.

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-72
SLIDE 72

logo1 Overview Boolean Algebra Implications and Negations

Double Negation

  • Proposition. Law of double negation. Let p be a primitive
  • proposition. The negation of the statement ¬p is ¬(¬p) = p.

Easily verified with truth tables. “I don’t got nothing to say” would mean that I have something to say. “I don’t got no nothing to say” would mean that I have nothing to say.

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-73
SLIDE 73

logo1 Overview Boolean Algebra Implications and Negations

The Contrapositive

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-74
SLIDE 74

logo1 Overview Boolean Algebra Implications and Negations

The Contrapositive

  • Definition. Let p and q be primitive propositions. Then the

contrapositive of p ⇒ q is ¬q ⇒ ¬p.

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-75
SLIDE 75

logo1 Overview Boolean Algebra Implications and Negations

The Contrapositive

  • Definition. Let p and q be primitive propositions. Then the

contrapositive of p ⇒ q is ¬q ⇒ ¬p. The contrapositive is equivalent to the original statement.

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-76
SLIDE 76

logo1 Overview Boolean Algebra Implications and Negations

The Contrapositive

  • Definition. Let p and q be primitive propositions. Then the

contrapositive of p ⇒ q is ¬q ⇒ ¬p. The contrapositive is equivalent to the original statement.

  • Example. Let a,b ∈ N.

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-77
SLIDE 77

logo1 Overview Boolean Algebra Implications and Negations

The Contrapositive

  • Definition. Let p and q be primitive propositions. Then the

contrapositive of p ⇒ q is ¬q ⇒ ¬p. The contrapositive is equivalent to the original statement.

  • Example. Let a,b ∈ N.

If c3 = a3 +b3, then c ∈ N.

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-78
SLIDE 78

logo1 Overview Boolean Algebra Implications and Negations

The Contrapositive

  • Definition. Let p and q be primitive propositions. Then the

contrapositive of p ⇒ q is ¬q ⇒ ¬p. The contrapositive is equivalent to the original statement.

  • Example. Let a,b ∈ N.

If c3 = a3 +b3, then c ∈ N. Contrapositive:

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-79
SLIDE 79

logo1 Overview Boolean Algebra Implications and Negations

The Contrapositive

  • Definition. Let p and q be primitive propositions. Then the

contrapositive of p ⇒ q is ¬q ⇒ ¬p. The contrapositive is equivalent to the original statement.

  • Example. Let a,b ∈ N.

If c3 = a3 +b3, then c ∈ N. Contrapositive: If c ∈ N, then c3 = a3 +b3.

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-80
SLIDE 80

logo1 Overview Boolean Algebra Implications and Negations

Negating Implications

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-81
SLIDE 81

logo1 Overview Boolean Algebra Implications and Negations

Negating Implications

  • Proposition. Let p and q be primitive propositions. The

negation of the statement p ⇒ q is ¬(p ⇒ q) = p∧¬q.

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-82
SLIDE 82

logo1 Overview Boolean Algebra Implications and Negations

Negating Implications

  • Proposition. Let p and q be primitive propositions. The

negation of the statement p ⇒ q is ¬(p ⇒ q) = p∧¬q. This result will be used any time we disprove an implication with a counterexample.

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-83
SLIDE 83

logo1 Overview Boolean Algebra Implications and Negations

Negating Implications

  • Proposition. Let p and q be primitive propositions. The

negation of the statement p ⇒ q is ¬(p ⇒ q) = p∧¬q. This result will be used any time we disprove an implication with a counterexample.

  • Example. Let a,b ∈ N.

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-84
SLIDE 84

logo1 Overview Boolean Algebra Implications and Negations

Negating Implications

  • Proposition. Let p and q be primitive propositions. The

negation of the statement p ⇒ q is ¬(p ⇒ q) = p∧¬q. This result will be used any time we disprove an implication with a counterexample.

  • Example. Let a,b ∈ N.

If c2 = a2 +b2, then c ∈ N.

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-85
SLIDE 85

logo1 Overview Boolean Algebra Implications and Negations

Negating Implications

  • Proposition. Let p and q be primitive propositions. The

negation of the statement p ⇒ q is ¬(p ⇒ q) = p∧¬q. This result will be used any time we disprove an implication with a counterexample.

  • Example. Let a,b ∈ N.

If c2 = a2 +b2, then c ∈ N. Negation.

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation

slide-86
SLIDE 86

logo1 Overview Boolean Algebra Implications and Negations

Negating Implications

  • Proposition. Let p and q be primitive propositions. The

negation of the statement p ⇒ q is ¬(p ⇒ q) = p∧¬q. This result will be used any time we disprove an implication with a counterexample.

  • Example. Let a,b ∈ N.

If c2 = a2 +b2, then c ∈ N. Negation. c2 = a2 +b2 and c ∈ N.

Bernd Schr¨

  • der

Louisiana Tech University, College of Engineering and Science Negation