Please provide a rating, it takes seconds and helps us to keep this resource free for all to use
Welcome to our Physics lesson on Boolean Algebra. Logic Gates, this is the fifth lesson of our suite of physics lessons covering the topic of Electronic Essentials: Analogue and Digital Signals, Binary Operations and Logic Gates, you can find links to the other lessons within this tutorial and access additional physics learning resources below this lesson.
The English mathematician George Boole introduced several relationships between the mathematical quantities that contain only two values: either True or False, which as explained earlier, can also be denoted by a 1 or 0 respectively. This system was later given the name "Boolean Algebra". The results of all mathematical operations performed on these values can also possess only two values: 1 or 0.
Logic gates are small electronic devices. They contain two inputs and a single output which perform a Boolean function. Obviously, all data in logic gates are binary digits.
The seven basic operations of Boolean Algebra are: AND, OR, NOT, NAND, NOR, XOR and XNOR. We will explain below the logic of each of these operations.
This operation gives TRUE (otherwise known as HIGH or 1) as an output when all inputs are TRUE (otherwise known as HIGH or 1). This operation is similar to intersection of sets in the set theory in mathematics, in which an element belongs to the intersection set only if it is an element of each individual set. Recall that sometimes the intersection of set is also represented through the multiplication symbol ( · ).
The AND operation is represented by the symbol ( ˄ ) and in electronic diagrams is shown by:
The following truth table gives the relationship between inputs and output for the AND logic operation.
This operation gives TRUE (otherwise known as HIGH or 1) as an output when at least one of inputs is TRUE (otherwise known as HIGH or 1). This operation is similar to union of sets in the set theory in mathematics, in which an element belongs to the union set if it is an element of either of individual sets. Recall that sometimes the intersection of set is also represented through the addition symbol ( + ).
The OR operation is represented by the symbol ( ˅ ) and in electronic diagrams is shown by:
The following truth table gives the relationship between inputs and output for the OR logic operation.
Draw a logic diagram for:
This is a logic operation that inverts the value of input. This means when the input is 1 the output is 0 and when the input is 0 the output is 1.
The NOT operation is shown symbolically through a horizontal line above the input letter (the negation symbol). The symbol used in schematic diagrams for the NOT operation is shown below:
The NOT operation does not require necessarily the presence of two inputs. One input is enough to reverse the result of the corresponding output. The truth table for NOT operation is:
Draw a logic diagram for A ∙ B + C
The input of B is first reversed through the NOT operation. Then, it forms an AND operation with the input A. The output of this operation forms an OR operation with the input C.
Thus, we obtain the following diagram:
NAND is an abbreviation for NOT AND. Thus, a NAND logic operation reverses the output of the corresponding AND. It is represented mathematically through the symbol A∧B or simply A∙B, while in circuit diagrams the NAND operation is represented through the symbol shown in the figure below:
The truth table for NAND logic operation is:
NOR is an abbreviation for NOT OR. Thus, a NOR logic operation reverses the output of the corresponding OR. It is represented mathematically through the symbol A ∨ B or simply A + B, while in circuit diagrams the NOR operation is represented through the symbol shown in the figure below:
The truth table for the NOR logic operation is:
Therefore, the output signal is HIGH (or 1).
XOR is an abbreviation for EXCLUSIVE OR. It gives HIGH (or 1) when both inputs are the same (both 0 or both 1) and it gives LOW (or 0) when the two inputs are different. The mathematical symbol of XOR logic operation is ⨁ and the corresponding logic gate in a circuit diagram is shown as:
The truth table for the XOR logic operation is:
XNOR is an abbreviation for EXCLUSIVE NOR (EXCLUSIVE NOT OR). In this logic operation, there is an inversion on the NOR gate to get the XNOR gate. The output is just opposite to that of the XOR gate. If any of the inputs is high (1) excluding the condition of both, the output is low or 0.
The mathematical symbol that expresses the XNOR logic operation is ⨀. This logic operation is shown in circuit diagrams by the following symbol:
The truth table for the XNOR logic operation is:
You have reached the end of Physics lesson 17.1.5 Boolean Algebra. Logic Gates. There are 5 lessons in this physics tutorial covering Electronic Essentials: Analogue and Digital Signals, Binary Operations and Logic Gates, you can access all the lessons from this tutorial below.
Enjoy the "Boolean Algebra. Logic Gates" physics lesson? People who liked the "Electronic Essentials: Analogue and Digital Signals, Binary Operations and Logic Gates lesson found the following resources useful:
Please provide a rating, it takes seconds and helps us to keep this resource free for all to use
We hope you found this Physics lesson "Electronic Essentials: Analogue and Digital Signals, Binary Operations and Logic Gates" useful. If you did it would be great if you could spare the time to rate this physics lesson (simply click on the number of stars that match your assessment of this physics learning aide) and/or share on social media, this helps us identify popular tutorials and calculators and expand our free learning resources to support our users around the world have free access to expand their knowledge of physics and other disciplines.