12th Computer Science CBSE

Introduction to Boolean Algebra- Best concepts

Boolean Algebra
Written by AIPS

In this topic we are going to learn best concept of Introduction to Boolean Algebra. This is very important for computer science students.

Boolean Algebra is a kind of algebra that is used to analyze and simplify the logic circuits. Boolean algebra is frequently used in digital electronics. It is also known as Binary Algebra of Logical Algebra.

It was developed by English mathematician George Boole in the in 1854.

It uses only two variables 1 to represent High and 0 to represent Low.

It uses three logical operators namely AND, OR, NOT . It represents the relationships between variables.

Binary Valued Quantities

The variables that can take only two values i.e True and False where True denotes to 1 and False Denotes to 0.

Boolean Variable

A Boolean variable is a variable that can contain only two types of values such as 0 and 1 where 0 denotes to FALSE and 1 denotes to TRUE. Boolean variables are used in Boolean Functions or expressions.

Boolean Operators

Boolean algebra contains three Boolean operators to express boolean functions. It is also known as Logical operators. The Boolean Operators are AND , OR, NOT that are used to performs logical operations.

AND Operator

This operator operates on two or more operands. It is used to perform logical Multiplication in Boolean Algebra. It is denoted by symbol dot( . )

ABY(A.B)
000
010
100
111
Truth Table for AND Operator

OR Operator

This operator operates on two or more operands. It is used to perform logical Addition in Boolean Algebra. It is denoted by symbol Plus( +).

ABY(A+B)
000
011
101
111
Truth Table OR operator

NOT Operator

It is an unary operator. It requires one operand to operate . This operator is also known as inverter or complement. It returns 1 for 0 and vice versa(0 for 1).

It is denoted by symbol tilde(~) , Bar( -) or single inverted comma (‘).

AA’
01
10
Truth Table NOT Operator

Truth Table

A Truth table is a table that shows all the Possibilities of a Logic Circuit.

A Truth Table is a tabular form that shows all the possible values of logical variables with possible outcomes for the given condition.

Example

Literals

A Literal is a variable or it’s complement such as A, B or A’ etc. used in Boolean Expressions. The number of literals in a Boolean function is minimized by Algebraic manipulation to prepare a Circuit.

Minterms

A Product term of all the variables in the Sum-Of-Product form in the expression.

Example AB+A’B+AB’

Rules for Obtaining Minterms

  1. First of all find possible Combination of Input variables.
  2. In case of Binary , Complement (Barred) literals(Variable) are represented by 0.
ABMintermDesignator
00A’B’0
01A’B1
10AB’2
11AB3
Minterms Two Variables
ABCMintermDesignator
000A’B’C’0
001A’B’C1
010A’BC’2
011A’BC3
100AB’C’4
101AB’C5
110ABC’6
111ABC7
Three Variable Minterm
ABCDMintermDesignator
0000A’B’C’D’0
0001A’B’C’D1
0010A’B’CD’2
0011A’B’CD3
0100A’BC’D’4
0101A’BC’D5
0110A’BCD’6
0111A’BCD7
1000A’BCD8
1001AB’C’D9
1010AB’CD’10
1011AB’CD11
1100ABC’D’12
1101ABC’D13
1110ABCD’14
1111ABCD15
Minterm Four Variable

Q. Find Minterm.

A+B

=A.1+B.1

=A(B+B’)+B(A+A’)          Inverse law[A+A’=1]

=AB+AB’+AB+A’B          Idempotent Law[A+A=A]

=AB+AB’+A’B

Q.2 A+AB

=A(B+B’)+AB

=AB+AB’+AB

=AB+AB’

Shorthand Minterm Notation

Q1. Find the minterm of AB’C’D

Solution: AB’C’D

= 1 0 0 1

=9

m9

Maxterms

A sum term of all the variables in the Product of Sum form in the expression. In Maxterm all complements(Barred) variable is represented by 1 and unbarred number is represented by 0.

example (A+B+C’)(A+B’+C)

ABMaxtermDesignator
00A+B0
01A+B’1
10A’+B2
11A’+B’3
Truth Table for Maxterms Two variables
ABCMaxtermDesignator
000A+B+C0
001A+B+C’1
010A+B’+C2
011A+B’+C’3
100A’+B+C4
101A’+B+C’5
110A’+B’+C6
111A’+B’+C’7
Truth table for Maxterms Three variables
ABCDMaxtermDesignator
0000A+B+C+D0
0001A+B+C+D’1
0010A+B+C’+D2
0011A+B+C’D’3
0100A+B’+C+D4
0101A+B’+C+D’5
0110A+B’+C’+D6
0111A+B’+C’+D’7
1000A’+B+C+D8
1001A’+B+C+D’9
1010A’+B+C’+D10
1011A’+B+C’+D’11
1100A’+B’+C+D12
1101A’+B’+C+D’13
1110A’+B’+C’+D14
1111A’+B’+C’+D’15
Truth table for Maxterms Four variables

Q. Find out the designator of the maxterms A’+B’+C

1+1+0

m(6)

Canonical forms for Boolean Expression

A Boolean expression composed completely either of minterms or maxterms refers to canonical expression. A canonical expression provides two ways to represents itself.

a. Sum of Product(S-O-P)

b. Product of Sum (P – O -S)

Sum of Product(S-O-P)

A Boolean Expression when composed of purely minterms is called Sum of Product(S-O-P) expression.

example F=A’BC +AB’C+ABC’

Product of Sum (P – O -S)

A Boolean Expression when composed of purely maxterms is called Product of Sum (P – O -S) expression.

example F=(A’ +B+C ) ( A+ B’+C) ( A+B+C’)

To be continued… Please check daily for more updates..

Also Read Best concept :

About the author

AIPS

Leave a Comment