This document discusses Boolean expressions, truth tables, and how to represent logic functions in Sum of Products (SOP) and Product of Sums (POS) form. It begins by defining Boolean expressions and truth tables. It then shows examples of constructing truth tables from logic diagrams and Boolean expressions. Next, it covers maxterms and minterms and represents a logic function as a SOP using these concepts. Finally, it demonstrates how to reduce a SOP to minimal SOP form using Boolean algebra properties and also defines the POS form.
2. What is Boolean Expression?
A Boolean expression is a logical statement that is either TRUE or FALSE.
What is Truth Table?
Logic
A diagram in rows and columns showing how the truth or falsity of a proposition varies with
that of its components.
Electronics
A diagram of the outputs from all possible combinations of input.
Truth table can be constructed using Boolean expressions and vice versa.
Truth Tables and Boolean Expression
Thursday,
August 23, 2018
2
3. Truth table and Boolean Expression using Logic Diagram:
Logic Diagram:
Truth Table:
Truth Tables and Boolean Expression
3
Thursday,
August 23, 2018
Inputs Outputs
A B C = A. B D = A ⊕ B Q=C ⊕ D
0 0 1 0 0
0 1 1 1 1
1 0 1 1 1
1 1 0 0 1
4. Truth Tables and Boolean Expression
4
Thursday,
August 23, 2018
Boolean Expression
𝐶 = 𝐴. 𝐵
𝐷 = 𝐴 ⊕ 𝐵
𝑄 = 𝐶 ⊕ 𝐷
5. Logic diagram and Truth table using Boolean Expression:
Boolean Expression:
Logic Diagram:
Truth Tables and Boolean Expression
5
Thursday,
August 23, 2018
A. B. C + A. (B + C
7. Maxterm and Minterm:
Minterms are those terms, where output Y is high. It is represented by ‘m’. The order of
inputs A, B and C does matter.
Maxterms are those terms, where output Y is low. It is represented by ‘M’.
Minterm and Maxterm
7
Thursday,
August 23, 2018
Inputs Outputs
A B C Y
𝑚0 0 0 0 1
𝑚1 0 0 1 0
𝑚2 0 1 0 1
𝑚3 0 1 1 1
𝑚4 1 0 0 0
𝑚5 1 0 1 0
𝑚6 1 1 0 1
𝑚7 1 1 1 1
𝑦 𝐴, 𝐵, 𝐶 = 𝜋𝑀(1,4,5
Minterm:
𝑦 𝐴, 𝐵, 𝐶 = Ʃ𝑚(0,2,3,6,7
Maxterm:
8. Sum of Products and Product of Sums:
Sum of Products:
Convention
A = 0
A = 1
Lets take the previous problem, we want to represent the output ‘Y’ into SOP form.
Take those inputs in considerations, where output ‘Y’ is high.
SOP and POS
8
Thursday,
August 23, 2018
𝑦 = (𝐴. 𝐵. 𝐶 + 𝐴. 𝐵. 𝐶 + 𝐴. 𝐵. 𝐶 + 𝐴. 𝐵. 𝐶 + (𝐴. 𝐵. 𝐶
This form is known as Canonical SOP (CSOP) Form, each
minterm contains actual variable and its complement form.
So, this equation can be reduced to Minimal SOP (MSOP)
using Boolean Algebra, K-map or any reduction method.
11. Product of Sum:
From previous example
Convention:
A = 1
A = 0
Take inputs terms, where output ‘y’ is low.
SOP and POS
11
Thursday,
August 23, 2018
𝑦 = 𝐴 + 𝐵 + 𝐶 . 𝐴 + 𝐵 + 𝐶 . ( 𝐴 + 𝐵 + 𝐶
Canonical Product of sum