Number System
Number System
Number System
Boolean Algebra
Introduction
BOOLEAN ALGEBRA
+ 0 1 * 0 1
0 0 1 0 0 0
1 1 1 1 0 1
• Consider the distributive theorem: a + (b * c) = (a + b)*(a + c).
Is it trueBY
PROOF forTRUTH
a two bitTABLE
Boolean Algebra?
• Can prove using a truth table. How many possible combinations
of a, b, and c are there?
• Three variables, each with two values: 2*2*2 = 23 = 8
DeMorgan’s Laws are particularly important in circuit design. It says that you can get rid
of a complemented output by complementing all the inputs and changing ANDs to ORs.
(More about circuits coming up…)
PROOF USING THEOREMS
• Use the properties of Boolean Algebra to reduce (x + y)(x + x) to x. Warning, make sure
you use the laws precisely.
(x + y)(x + x) Given
(x + y)x Idempotent
x(x + y) Commutative
x Absorption
Unlike truth tables, proofs using Theorems are valid for any boolean algebra,
but just bits.