George Boole 1815-1864. Set Theory More Set Theory – Union (“OR”) X is the set of men, Y is...

15
George Boole 1815- 1864

description

More Set Theory – Union (“OR”) X is the set of men, Y is the set of women X + Y = ? Y + X = ?

Transcript of George Boole 1815-1864. Set Theory More Set Theory – Union (“OR”) X is the set of men, Y is...

Page 1: George Boole 1815-1864. Set Theory More Set Theory – Union (“OR”) X is the set of men, Y is the set of women X + Y = ? Y + X = ?

George Boole 1815-1864

Page 2: George Boole 1815-1864. Set Theory More Set Theory – Union (“OR”) X is the set of men, Y is the set of women X + Y = ? Y + X = ?

Set Theory

Page 3: George Boole 1815-1864. Set Theory More Set Theory – Union (“OR”) X is the set of men, Y is the set of women X + Y = ? Y + X = ?

More Set Theory – Union (“OR”)X is the set of men, Y is the set of women

X + Y = ?

Y + X = ?

Page 4: George Boole 1815-1864. Set Theory More Set Theory – Union (“OR”) X is the set of men, Y is the set of women X + Y = ? Y + X = ?

More Set Theory – Intersection (“AND”)

X is the set of living things, Y is the set of cats

X.Y = ?

Y.X = ?

Page 5: George Boole 1815-1864. Set Theory More Set Theory – Union (“OR”) X is the set of men, Y is the set of women X + Y = ? Y + X = ?

Even More Set Theory – Fundamental Equation

X is the set of cats

X.X = ?

X.X = X

What numbers work?

Page 6: George Boole 1815-1864. Set Theory More Set Theory – Union (“OR”) X is the set of men, Y is the set of women X + Y = ? Y + X = ?

Set Theory – Summary

X + Y = Y + X

X . X = X

X . Y = Y . X

X + Y = Y + X

X . X = X

X . Y = Y . X

Sets Numbers

Page 7: George Boole 1815-1864. Set Theory More Set Theory – Union (“OR”) X is the set of men, Y is the set of women X + Y = ? Y + X = ?

Involution

Identity

IdempotentComplement

CommutativityAssociativityDistributivityDistributivity AbsorptionDeMorgan

Page 8: George Boole 1815-1864. Set Theory More Set Theory – Union (“OR”) X is the set of men, Y is the set of women X + Y = ? Y + X = ?

Proof using Truth Tables

𝑋+𝑋=1

X 01

𝑋+𝑌=𝑋 .𝑌X Y 0 00 11 01 1

X Y 0 00 11 01 1

Page 9: George Boole 1815-1864. Set Theory More Set Theory – Union (“OR”) X is the set of men, Y is the set of women X + Y = ? Y + X = ?

X

𝑋 .𝑋=0X 01

Page 10: George Boole 1815-1864. Set Theory More Set Theory – Union (“OR”) X is the set of men, Y is the set of women X + Y = ? Y + X = ?

   

X Y

𝑋+𝑋 .𝑌=𝑋X Y 0 00 11 01 1

Page 11: George Boole 1815-1864. Set Theory More Set Theory – Union (“OR”) X is the set of men, Y is the set of women X + Y = ? Y + X = ?

   

X Y

(𝑋 .𝑌 )=𝑋+𝑌

   

X Y

Page 12: George Boole 1815-1864. Set Theory More Set Theory – Union (“OR”) X is the set of men, Y is the set of women X + Y = ? Y + X = ?

Finger Exercise 1

𝐵 . ( 𝐴+𝐵 )=𝐵 . 𝐴

Page 13: George Boole 1815-1864. Set Theory More Set Theory – Union (“OR”) X is the set of men, Y is the set of women X + Y = ? Y + X = ?

Finger Exercise 2

( 𝐴+𝐵 ) . ( 𝐴+𝐵 )=𝐴

Page 14: George Boole 1815-1864. Set Theory More Set Theory – Union (“OR”) X is the set of men, Y is the set of women X + Y = ? Y + X = ?

A B0 00 11 01 1

House Alarm ProblemA house alarm has a sensor on the door (A) and a pressure pad inside the house (B).

The logical values of the sensors are:

A = 1 the door is closedA = 0 the door is openB = 1 someone is on the pressure padB = 0 no-one is on the pressure pad The alarm sounds when the door is open, or if someone is on the pressure pad, or both

Page 15: George Boole 1815-1864. Set Theory More Set Theory – Union (“OR”) X is the set of men, Y is the set of women X + Y = ? Y + X = ?

A B0 0 10 1 11 0 01 1 1

distributivecomplementredundancydistributivecomplement

House Alarm Problem (ctd)