Professional Documents
Culture Documents
Boolean Algebra
Boolean Algebra
College of Commerce
Department Of IT
1st Stage -A-
Boolean Algebra
Prepared by:
Zhiyar Nawzad Mohammed
Akar Star
Lecturer:
Didam Mahmud
What Is Boolean Algebra?
Boolean algebra is a division of mathematics that deals with operations on logical values
and incorporates binary variables. Boolean algebra traces its origins to an 1854 book by
mathematician George Boole.
The distinguishing factor of Boolean algebra is that it deals only with the study of binary
variables. Most commonly Boolean variables are presented with the possible values of 1
("true") or 0 ("false"). Variables can also have more complex interpretations, such as in set
theory. Boolean algebra is also known as binary algebra.
KEY TAKEAWAYS
Boolean algebra is a branch of mathematics that deals with operations on logical values
with binary variables.
The Boolean variables are represented as binary numbers to represent truths: 1 = true
and 0 = false.
Elementary algebra deals with numerical operations whereas Boolean algebra deals
with logical operations.
The primary modern use of Boolean algebra is in computer programming languages.
In finance, Boolean algebra is used in binomial options pricing models, which helps
determine when an option should be exercised.
The concept of Boolean algebra was first introduced by George Boole in his book "The
Mathematical Analysis of Logic," and further expanded upon in his book "An Investigation
of the Laws of Thought." Since its concept has been detailed, Boolean algebra's primary use
has been in computer programming languages. Its mathematical purposes are used in set
theory and statistics.
Boolean Expression
A logical statement that results in a boolean value, either True or False, is a boolean
expression. Sometimes, synonyms are used to express the statement such as ‘Yes’ for ‘True’
and ‘No’ for ‘False’. Also, 1 and 0 are used for digital circuits for True and False,
respectively.
Boolean expressions are the statements that use logical operators, i.e., AND, OR, XOR and
NOT. Thus, if we write X AND Y = True, then it is a boolean expression.
A B A∧B A∨B
A ¬A
True False
False True
Commutative Law
Any binary operation which satisfies the following expression is referred to as a
commutative operation. Commutative law states that changing the sequence of the variables
does not have any effect on the output of a logic circuit.
A. B = B. A
A+B=B+A
Associative Law
It states that the order in which the logic operations are performed is irrelevant as their effect
is the same.
( A. B ). C = A . ( B . C )
( A + B ) + C = A + ( B + C)
Distributive Law
Distributive law states the following conditions:
A. ( B + C) = (A. B) + (A. C)
A + (B. C) = (A + B) . ( A + C)
AND Law
These laws use the AND operation. Therefore they are called AND laws.
A .0 = 0
A.1=A
A. A = A
OR Law
These laws use the OR operation. Therefore they are called OR laws.
A +0=A
A+1=1
A+A=A
Inversion Law
This law uses the NOT operation. The inversion law states that double inversion of variable
results in the original variable itself.
A B A’ B’ (A.B)’ A’+B’
0 0 1 1 1 1
0 1 1 0 1 1
1 0 0 1 1 1
1 1 0 0 0 0
A B A’ B’ (A+B)’ A’. B’
0 0 1 1 1 1
0 1 1 0 0 0
1 0 0 1 0 0
1 1 0 0 0 0
Gates
Standard DeMorgan's
NA
X=A•B X=A+B
ND
AN
X=A•B X=A+B
D
NO X=A+B
X=A•B
R
OR X=A+B X=A•B
References:
https://www.investopedia.com/terms/b/boolean-algebra.asp
https://www.mi.mun.ca/users/cchaulk/misc/boolean.htm
https://ryanstutorials.net/boolean-algebra-tutorial/boolean-algebra.php
https://circuitcellar.com/resources/quickbits/boolean-algebra/
https://byjus.com/maths/boolean-algebra/#:~:text=Boolean%20algebra%20is%20the
%20category,Binary%20Algebra%20or%20logical%20Algebra.
END