Top Banner
BOOLEAN ALGEBRA
23

Boolean algebra

Jan 20, 2017

Download

Education

Rania H
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Boolean algebra

BOOLEAN

ALGEBRA

Page 2: Boolean algebra

2

Boolean Algebra

I will take an umbrella with me if it is raining or the weather forecast is bad

Page 3: Boolean algebra

3

Boolean Algebra

I will take an umbrella with me if it is raining or the weather forecast is bad

Page 4: Boolean algebra

4

Boolean Algebra

I will take an umbrella with me if it is raining or the weather forecast is bad

A Simple Proposition

Page 5: Boolean algebra

5

Boolean Algebra

I will take an umbrella with me if it is raining or the weather forecast is bad

Propositions may be TRUE or FALSE, are functions of other propositions, and connected by logical connections (AND, OR,

NOT)

Page 6: Boolean algebra

6

Boolean Algebra

I will take an umbrella with me if it is raining or the weather forecast is bad

Truth Table

Page 7: Boolean algebra

7

Boolean Algebra

George Boole, the mathematician, developed boolean algebra to simplify the handling of complex connectives.

Boolean Algebra uses ordinary algebraic notation, and 1 for True and 0 for False.

Page 8: Boolean algebra

8

Boolean Algebra

I will take an umbrella with me if it is raining or the weather forecast is bad

U = R + F

Boolean equation

Raining Bad Forecast Umbrella0 0 0

0 1 1

1 0 1

1 1 1

Page 9: Boolean algebra

9

Boolean Algebra

If I do not take the car then I will take an umbrella if it is raining or the weather forecast

is bad

Page 10: Boolean algebra

10

Boolean Algebra

If I do not take the car then I will take an umbrella if it is raining or the weather forecast

is bad

Page 11: Boolean algebra

11

Boolean Algebra

If I do not take the car then I will take an umbrella if it is raining or the weather forecast

is bad

Page 12: Boolean algebra

12

Boolean Algebra

If I do not take the car then I will take an umbrella if it is raining or the weather forecast

is bad

U = C’. (W + R)

Page 13: Boolean algebra

13

Boolean Algebra

U = C’. (W + R)

If I do not take the car then I will take an umbrella if it is raining or the weather forecast

is bad

Page 14: Boolean algebra

14

Boolean Identities Basic boolean identities.

X + 0 = X X * 1 = X X + 1 = 1

X * 0 = 0 X + X = X X * X = X

X + X = 1 X = XX * X = 0

Page 15: Boolean algebra

15

Basic Laws of Boolean Algebra The basic laws of boolean algebra are:

Commutative Law:X + Y = Y + X XY = YX

Associative Law:X+(Y+Z) = (X+Y)+Z X(YZ)=(XY)Z

Distributive Law:X(Y+Z) = XY + XZ X+YZ = (X+Y)(X+Z)

Page 16: Boolean algebra

16

Boolean Laws and Identities Reduce the boolean function F = X Y Z + X Y + X Y Z

Page 17: Boolean algebra

17

Boolean Laws and Identities Reduce the boolean function F = X Y Z + X Y + X Y Z

F = X Y (Z + Z) + X Y (Distributive and Commutative Laws)

Page 18: Boolean algebra

18

Boolean Laws and Identities Reduce the boolean function F = X Y Z + X Y + X Y Z

F = X Y (Z + Z) + X Y (Distributive and Commutative Laws)

F = X Y (Z + Z) + X Y (Identity) = 1

Page 19: Boolean algebra

19

Boolean Laws and Identities Reduce the boolean function F = X Y Z + X Y + X Y Z

F = X Y (Z + Z) + X Y (Distributive and Commutative Laws)

F = X Y (Z + Z) + X Y (Identity) = 1F = X Y + X Y

Page 20: Boolean algebra

20

Boolean Laws and Identities Reduce the boolean function F = X Y Z + X Y + X Y Z

F = X Y (Z + Z) + X Y (Distributive and Commutative Laws)

F = X Y (Z + Z) + X Y (Identity) = 1F = X Y + X Y

F = (X + X) Y (Distributive Law)

Page 21: Boolean algebra

21

Boolean Laws and Identities Reduce the boolean function F = X Y Z + X Y + X Y Z

F = X Y (Z + Z) + X Y (Distributive and Commutative Laws)

F = X Y (Z + Z) + X Y (Identity) = 1F = X Y + X Y

F = (X + X) Y (Distributive Law)

F = (X + X) Y (Identity) = 1

Page 22: Boolean algebra

22

Boolean Laws and Identities Reduce the boolean function F = X Y Z + X Y + X Y Z

F = X Y (Z + Z) + X Y (Distributive and Commutative Laws)

F = X Y (Z + Z) + X Y (Identity) = 1F = X Y + X Y

F = (X + X) Y (Distributive Law)

F = (X + X) Y (Identity) = 1F = Y

Page 23: Boolean algebra

23

Advanced Boolean Laws Here are some advanced laws of boolean algebra that

can be directly applied to the reduction of boolean functions.

X + X Y = XX Y + X Y = XX + X Y = X + YX (X + Y) = X(X + Y)(X + Y) = XX (X + Y) = X