Don’t just sit there! Build something!! 
Learning to analyze digital circuits requires much study and practice. Typically, students practice by working through lots of sample problems and checking their answers against those provided by the textbook or the instructor. While this is good, there is a much better way.
You will learn much more by actually building and analyzing real circuits, letting your test equipment provide the “answers” instead of a book or another person. For successful circuitbuilding exercises, follow these steps:
Always be sure that the power supply voltage levels are within specification for the logic circuits you plan to use. If TTL, the power supply must be a 5volt regulated supply, adjusted to a value as close to 5.0 volts DC as possible.
One way you can save time and reduce the possibility of error is to begin with a very simple circuit and incrementally add components to increase its complexity after each analysis, rather than building a whole new circuit for each practice problem. Another timesaving technique is to reuse the same components in a variety of different circuit configurations. This way, you won’t have to measure any component’s value more than once.
Let the electrons themselves give you the answers to your own “practice problems”!
It has been my experience that students require much practice with circuit analysis to become proficient. To this end, instructors usually provide their students with lots of practice problems to work through and provide answers for students to check their work against. While this approach makes students proficient in circuit theory, it fails to fully educate them.
Students don’t just need mathematical practice. They also need real, handson practice building circuits and using test equipment. So, I suggest the following alternative approach: students should build their own “practice problems” with real components, and try to predict the various logic states. This way, the digital theory “comes alive,” and students gain practical proficiency they wouldn’t gain merely by solving Boolean equations or simplifying Karnaugh maps.
Another reason for following this method of practice is to teach students scientific method: the process of testing a hypothesis (in this case, logic state predictions) by performing a real experiment. Students will also develop real troubleshooting skills as they occasionally make circuit construction errors.
Spend a few moments of time with your class to review some of the “rules” for building circuits before they begin. Discuss these issues with your students in the same Socratic manner you would normally discuss the worksheet questions, rather than simply telling them what they should and should not do. I never cease to be amazed at how poorly students grasp instructions when presented in a typical lecture (instructor monolog) format!
I highly recommend CMOS logic circuitry for athome experiments, where students may not have access to a 5volt regulated power supply. Modern CMOS circuitry is far more rugged with regard to static discharge than the first CMOS circuits, so fears of students harming these devices by not having a “proper” laboratory set up at home are largely unfounded.
A note to those instructors who may complain about the “wasted” time required to have students build real circuits instead of just mathematically analyzing theoretical circuits:
What is the purpose of students taking your course?
If your students will be working with real circuits, then they should learn on real circuits whenever possible. If your goal is to educate theoretical physicists, then stick with abstract analysis, by all means! But most of us plan for our students to do something in the real world with the education we give them. The “wasted” time spent building real circuits will pay huge dividends when it comes time for them to apply their knowledge to practical problems.
Furthermore, having students build their own practice problems teaches them how to perform primary research, thus empowering them to continue their electrical/electronics education autonomously.
In most sciences, realistic experiments are much more difficult and expensive to set up than electrical circuits. Nuclear physics, biology, geology, and chemistry professors would just love to be able to have their students apply advanced mathematics to real experiments posing no safety hazard and costing less than a textbook. They can’t, but you can. Exploit the convenience inherent to your science, and get those students of yours practicing their math on lots of real circuits!
Identify each of these logic gates by name, and complete their respective truth tables:


In order to familiarize students with the standard logic gate types, I like to given them practice with identification and truth tables each day. Students need to be able to recognize these logic gate types at a glance, or else they will have difficulty analyzing circuits that use them.
Identify each of these relay logic functions by name (AND, OR, NOR, etc.) and complete their respective truth tables:


In order to familiarize students with standard switch contact configurations, I like to give them practice with identification and truth tables each day. Students need to be able to recognize these ladder logic subcircuits at a glance, or else they will have difficulty analyzing more complex relay circuits that use them.
The following set of mathematical expressions is the complete set of “times tables” for the Boolean number system:
$$0 × 0 = 0$$
$$0 \ x \ 1=0$$
$$1 \ x \ 0=0$$
$$1 \ x \ 1=1$$
Now, nothing seems unusual at first about this table of expressions, since they appear to be the same as multiplication understood in our normal, everyday system of numbers. However, what is unusual is that these four statements comprise the entire set of rules for Boolean multiplication!
Explain how this can be so, being that there is no statement saying 1 ×2 = 2 or 2 ×3 = 6. Where are all the other numbers besides 0 and 1?
Boolean quantities can only have one out of two possible values: either 0 or 1. There is no such thing as “2”  or any other digit besides 0 or 1 for that matter  in the set of Boolean numbers!
Some students with background in computers may ask if Boolean is the same as binary. The answer to this very good question is “no.” Binary is simply a numeration system for expressing real numbers, while Boolean is a completely different number system (like integer numbers are too irrational numbers, for example). It is possible to count arbitrarily high in binary, but you can only count as high as “1” in Boolean.
Boolean algebra is a strange sort of math. For example, the complete set of rules for Boolean addition is as follows:
$$0+0=0$$
$$0+1=1$$
$$1+0=1$$
$$1+1=1$$
Suppose a student saw this for the very first time, and was quite puzzled by it. What would you say to him or her as an explanation for this? How in the world can 1 + 1 = 1 and not 2? And why are there no more rules for Boolean addition? Where is the rule for 1 + 2 or 2 + 2?
Boolean quantities can only have one out of two possible values: either 0 or 1. There is no such thing as “2” in the set of Boolean numbers.
Boolean algebra is a strange math, indeed. However, once students understand the limited scope of Boolean quantities, the rationale for Boolean rules of arithmetic make sense. 1 + 1 must equal 1, because there is no such thing as “2” in the Boolean world, and the answer certainly can’t be 0.
Surveying the rules for Boolean addition, the 0 and 1 values seem to resemble the truth table of a very common logic gate. Which type of gate is this, and what does this suggest about the relationship between Boolean addition and logic circuits?

$$0+0=0$$
$$0+1=1$$
$$1+0=1$$
$$1+1=1$$
This set of Boolean expressions resembles the truth table for an OR logic gate circuit, suggesting that Boolean addition may symbolize the logical OR function.
Students need to be able to readily associate fundamental Boolean operations with logic circuits. If they can see the relationship between the “strange” rules of Boolean arithmetic and something they are already familiar with (i.e. truth tables), the association is made much easier.
Surveying the rules for Boolean multiplication, the 0 and 1 values seem to resemble the truth table of a very common logic gate. Which type of gate is this, and what does this suggest about the relationship between Boolean multiplication and logic circuits?

$$0 \ x \ 0=0$$
$$0 \ x \ 1=0$$
$$1 \ x \ 0=0$$
$$1 \ x \ 1 =1$$
This set of Boolean expressions resembles the truth table for an AND logic gate circuit, suggesting that Boolean multiplication may symbolize the logical AND function.
Students need to be able to readily associate fundamental Boolean operations with logic circuits. If they can see the relationship between the “strange” rules of Boolean arithmetic and something they are already familiar with (i.e. truth tables), the association is made much easier.
What is the complement of a Boolean number? How do we represent the complement of a Boolean variable, and what logic circuit function performs the complementation function?
A Boolean “complement” is the opposite value of a given number. This is represented either by overbars or prime marks next to the variable (i.e. the complement of A may be written as either \(\overline{A}\) or A′):
<

Students need to be able to readily associate fundamental Boolean operations with logic circuits. If they can see the relationship between the “strange” rules of Boolean arithmetic and something they are already familiar with (i.e. truth tables), the association is made much easier.
There are three fundamental operations in Boolean algebra: addition, multiplication, and inversion. Each of these operations has an equivalent logic gate function and an equivalent relay circuit configuration. Draw the corresponding gate and ladder logic diagrams for each:






These three equivalencies will be vital for students to master as they study combinational logic circuits and complex relay logic circuits!
Write the Boolean expression for each of these logic gates, showing how the output (Q) algebraically relates to the inputs (A and B):


In order to familiarize students with Boolean algebra and how it relates to logic gate circuitry, I like to give them daily practice with questions such as this. Students need to be able to recognize these logic gate types at a glance, and also be able to associate the proper Boolean expression with each one, or else they will have difficulty analyzing logic circuits later on.
Write the Boolean expression for each of these relay logic circuits, showing how the output (Q) algebraically relates to the inputs (A and B):


In order to familiarize students with Boolean algebra and how it relates to relay logic circuitry, I like to give them daily practice with questions such as this. Students need to be able to figure out how each one of these ladder logic circuits works, and also be able to associate the proper Boolean expression with each one, or else they will have difficulty analyzing more complex relay circuits later on.
Convert the following logic gate circuit into a Boolean expression, writing Boolean subexpressions next to each gate output in the diagram:


The process of converting gate circuits into Boolean expressions is really quite simple, if you proceed gate by gate. Have your students share whatever methods or “tricks” they use to write the expressions with the rest of the class.
Convert the following logic gate circuit into a Boolean expression, writing Boolean subexpressions next to each gate output in the diagram:


The process of converting gate circuits into Boolean expressions is really quite simple, if you proceed gate by gate. Have your students share whatever methods or “tricks” they use to write the expressions with the rest of the class.
Convert the following logic gate circuit into a Boolean expression, writing Boolean subexpressions next to each gate output in the diagram:


The process of converting gate circuits into Boolean expressions is really quite simple, if you proceed gate by gate. Have your students share whatever methods or “tricks” they use to write the expressions with the rest of the class.
Convert the following relay logic circuit into a Boolean expression, writing Boolean subexpressions next to each relay coil and lamp in the diagram:


The process of converting relay logic circuits into Boolean expressions is not quite as simple as it is converting gate circuits into Boolean expressions, but it is manageable. Have your students share whatever methods or “tricks” they use to write the expressions with the rest of the class.
Convert the following relay logic circuit into a Boolean expression, writing Boolean subexpressions next to each relay coil and lamp in the diagram:


The process of converting relay logic circuits into Boolean expressions is not quite as simple as it is converting gate circuits into Boolean expressions, but it is manageable. Have your students share whatever methods or “tricks” they use to write the expressions with the rest of the class.
Convert the following relay logic circuit into a Boolean expression, writing Boolean subexpressions next to each relay coil and lamp in the diagram:


The process of converting relay logic circuits into Boolean expressions is not quite as simple as it is converting gate circuits into Boolean expressions, but it is manageable. Have your students share whatever methods or “tricks” they use to write the expressions with the rest of the class.
An automotive engineer wants to design a logic circuit that prohibits the engine in a car from being started unless the driver is pressing the clutch pedal while turning the ignition switch to the “start” position. The purpose of this feature will be to prevent the car from moving forward while being started if ever the transmission is accidentally left in gear.
Suppose we designate the status of the ignition switch “start” position with the Boolean variable S (1 = start; 0 = run or off), and the clutch pedal position with the Boolean variable C (1 = clutch pedal depressed; 0 = clutch pedal in normal, unpressed position). Write a Boolean expression for the starter solenoid status, given the start switch (S) and clutch (C) statuses. Then, draw a logic gate circuit to implement this Boolean function.
Boolean expression:

Logic gate circuit:

This is not a very complicated function to express or implement, the point of this question being mostly to introduce students to a practical use of logic gates and Boolean algebra.
An engineer hands you a piece of paper with the following Boolean expression on it, and tells you to build a gate circuit to perform that function:
$$A\overline{B}+\overline{C}(A+B)$$
Draw a logic gate circuit for this function.

The process of converting Boolean expressions into logic gate circuits is not quite as simple as converting gate circuits into Boolean expressions, but it is manageable. Have your students share whatever methods or “tricks” they use to write the expressions with the rest of the class.
A critical electronic system receives DC power from three power supplies, each one feeding through a diode, so that if one power supply develops an internal shortcircuit, it will not cause the others to overload:

The only problem with this system is that we have no indication of trouble if just one or two power supplies do fail. Since the diode system routes power from any available supply(ies) to the critical system, the system sees no interruption in power if one or even two of the power supplies stop outputting voltage. It would be nice if we had some sort of alarm system installed to alert the technicians of a problem with any of the power supplies, long before the critical system was in jeopardy of losing power completely.
An engineer decides that a relay could be installed at the output of each power supply, prior to the diodes. Contacts from these relays could then be connected to some sort of alarm device (flashing light, bell, etc.) to alert maintenance personnel of any problem:

Part 1: Draw a ladder diagram of the relay contacts powering a warning lamp, in such a way that the lamp energizes if any one or more of the power supplies loses output voltage. Write the corresponding Boolean expression for this circuit, using the letters A, B, and C to represent the status of relay coils CR1, CR2, and CR3, respectively.
Part 2: The solution to Part 1 worked, but unfortunately it generated “nuisance alarms” whenever a technician powered any one of the supplies down for routine maintenance. The engineer decides that a twooutofthreefailed alarm system will be sufficient to warn of trouble, while allowing for routine maintenance without creating unnecessary alarms. Draw a ladder diagram of the relay contacts powering a warning lamp, such that the lamp energizes if any two or more power supplies lose output voltage. The Boolean expression for this is \(\overline{A} \ \overline{B}+\overline{B} \ \overline{C} + \overline{A} \ \overline{C}\).
Part 3: Management at this facility changed their minds regarding the safety of a twooutofthreefailed alarm system. They want the alarm to energize if any one of the power supplies fails. However, they also realize that nuisance alarms generated during routine maintenance are unacceptable as well. Asking the maintenance crew to come up with a solution, one of the technicians suggests inserting a “maintenance” switch that will disable the alarm during periods of maintenance, allowing for any of the power supplies to be powered down without creating a nuisance alarm. Modify the alarm circuit of part 1’s solution to include such a switch, and correspondingly modify the Boolean expression for the new circuit (call the maintenance switch M).
Part 4: During one maintenance cycle, a technician accidentally left the alarm bypass switch (M) actuated after he was done. The system operated with the power failure alarm disabled for weeks. When management discovered this, they were furious. Their next suggestion was to have the bypass switch change the conditions for alarm, such that actuating this “M” switch would turn the system from a oneoutofthreefailed alarm into a twooutofthreefailed alarm. This way, any one power supply may be taken out of service for routine maintenance, yet the alarm will not be completely deactivated. The system will still alarm if two power supplies were to fail. The simplified Boolean expression for this rather complex function is \(\overline{A} \ \overline{B}+\overline{C} \ \overline{M} + (\overline{A} \ +\overline{B})+ (\overline{C} \ +\overline{M})\). Draw a ladder diagram for the alarm circuit based on this expression.
Part 1 solution:

Part 2 solution:

Part 3 solution:

Part 4 solution:

Followup question: how many contacts on each relay (and on the maintenance switch “M”) are necessary to implement any of these alarm functions?
Challenge question: can you see any way we could reduce the number of relay contacts necessary in the circuit of solutions 2, yet still achieve the same logic functionality (albeit with a different Boolean expression)?
To be honest, I had fun writing the scenarios for different parts of this problem. The evolution of this alarm system is typical for an organization. Someone comes up with an idea, but it doesn’t meet all the needs of someone else, so they input their own suggestions, and so on, and so on. Presenting scenarios such as this not only prepare students for the politics of real work, but also underscore the need to “what if?” thinking: to test the proposed solution before implementing it, so that unnecessary problems are avoided.
Implement the following Boolean expression in the form of a digital logic circuit:
$$\overline{(\overline{AB}+C)}B$$
Form the circuit by making the necessary connections between pins of these integrated circuits on a solderless breadboard:

The circuit shown is not the only possible solution to this problem:

First things first: did students remember to include the power supply connections to each IC? This is a very common mistake!
In order to successfully develop a solution to this problem, of course, students must research the “pinouts” of each integrated circuit. If most students simply present the answer shown to them in the worksheet, challenge them during discussion to present alternative solutions.
Also, ask them this question: “should we connect the unused inputs to either ground or V_{CC}, or is it permissible to leave the inputs floating?” Students should not just give an answer to this question, but be able to support their answer(s) with reasoning based on the construction of this type of logic circuit.
Complete the truth tables for these two Boolean expressions:
$$Output = \overline{A}+B$$

$$Output =A+\overline{A}B$$

$$Output =\overline{A}+B$$

$$Output =A+\overline{A}B$$

Ask your students to explain exactly how they figured out the “Output” states to fill in the blanks in the truth tables, for the different input combinations. Ask them also to compare and contrast this process with that of figuring out the truth table for a given logic gate circuit.
Complete the truth tables for these two Boolean expressions:
$$Output =\overline{A}+\overline{B}+C$$

$$Output =A(B+AC+\overline{A})$$

$$Output =\overline{A}+\overline{B}+C$$

$$Output =A(B+AC+\overline{A})$$

Ask your students to explain exactly how they figured out the “Output” states to fill in the blanks in the truth tables, for the different input combinations. Ask them also to compare and contrast this process with that of figuring out the truth table for a given logic gate circuit.
It is especially educational if you ask your students to suggest techniques for quickly determining truth table states, based on certain features of the Boolean expression. For instance, there is a way we can tell the first four “Output” states in the truth table (reading top to bottom) will be 0 without having to plug values into the expression for B and C. Discuss with your students how we can look at the expression, seeing A as a multiplier for the sum within the parentheses, and immediately conclude that half of the truth table outputs will be 0.
Like realnumber algebra, Boolean algebra is subject to the laws of commutation, association, and distribution. These laws allow us to build different logic circuits that perform the same logic function.
For each of the equivalent circuit pairs shown, write the corresponding Boolean law next to it:


Note: the three short, parallel lines represent ëquivalent to” in mathematics.
In order, from top to bottom:
$$AB = BA$$
$$(AB)C = A(BC)$$
$$(A+B)C = AC+BC$$
$$A+B = B+A$$
$$(A+C)B = AB+CB$$
$$(A+B)+C = A+(B+C)$$
The commutative, associative, and distributive laws of Boolean algebra are identical to the respective laws in real number algebra. These should not be difficult concepts for your students to understand. The real benefit of working through these examples is to associate gate and relay logic circuits with Boolean expressions, and to see that Boolean algebra is nothing more than a symbolic means of representing electrical discretestate (on/off) circuits. In relating otherwise abstract mathematical concepts to something tangible, students build a much better comprehension of the concepts.
Like realnumber algebra, Boolean algebra is subject to certain rules which may be applied in the task of simplifying (reducing) expressions. By being able to algebraically reduce Boolean expressions, it allows us to build equivalent logic circuits using fewer components.
For each of the equivalent circuit pairs shown, write the corresponding Boolean rule next to it:



Note: the three short, parallel lines represent “equivalent to” in mathematics.
In order, from top to bottom, left to right:
$$A+A = A$$
$$AA = A$$
$$A+0 = A$$
$$A+1 = 1$$
$$\overline{\overline{A}} = A$$
$$A \ x \ 0 = 0$$
$$A \ x \ 1 = A$$
$$A\overline{A}=0$$
$$A+\overline{A}=1$$
$$A+AB = A$$
$$A+\overline{A}B=A+B$$
Most of these Boolean rules are identical to their respective laws in real number algebra. These should not be difficult concepts for your students to understand. Some of them, however, are unique to Boolean algebra, having no analogue in realnumber algebra. These unique rules cause students the most trouble!
An important benefit of working through these examples is to associate gate and relay logic circuits with Boolean expressions, and to see that Boolean algebra is nothing more than a symbolic means of representing electrical discretestate (on/off) circuits. In relating otherwise abstract mathematical concepts to something tangible, students build a much better comprehension of the concepts.
Shown here are six rules of Boolean algebra (these are not the only rules, of course).
Determine which rule (or rules) are being used in the following Boolean reductions:
$$\overline{DF}+\overline{DFC}=\overline{DF}$$
$$1+G = 1$$
$$B+AB = B$$
$$\overline{FE}+\overline{FE}=\overline{FE}$$
$$XYZ+\overline{XYZ}=1$$
$$GQ+Q = Q$$
$$\overline{H} \ \overline{H}=\overline{H}$$
$$\overline{CD} + \overline{CD}=\overline{CD}$$
$$EF(EF) = EF$$
$$CD+\overline{C}=\overline{C}+D$$
$$LNM+ML = LM$$
$$A\overline{G}F\overline{C}+F\overline{C}\ \overline{G}=F\overline{C}\ \overline{G}$$
$$\overline{M}+1=1$$
$$\overline{BC}+BC=1$$
$$ABC+CAB = BCA$$
$$S+STV\overline{Q}=S$$
$$\overline{DE}(R+1)=\overline{DE}$$
$$\overline{RS}\ \overline{SR}=\overline{RS}$$
$$ABC\overline{D}+D=D+ABC$$
$$AC\overline{B}+CAD\overline{B}=A\overline{B}C$$
$$A+T+\overline{W}+\overline{A}+X=1$$
$$X\overline{YZ}+\overline{X}=\overline{X}+\overline{YZ}$$
$$\overline{GFH} \ \overline{HGF}=\overline{FHG}$$
$$C\overline{AB}+AB=AB+C$$
$$\overline{DF}+\overline{DFC}=\overline{DF} \ \ \ \ \ \ \ \ \ \ \ \ \ Rule: A+AB=A$$
$$1+G=1 \ \ \ \ \ \ \ \ \ \ \ \ \ Rule: A+1=1$$
$$B+AB=B \ \ \ \ \ \ \ \ \ \ \ \ \ Rule: A+AB=A$$
$$\overline{FE}+\overline{FE}=\overline{FE} \ \ \ \ \ \ \ \ \ \ \ \ \ Rule: A+A=A$$
$$XYZ+\overline{XYZ}=1 \ \ \ \ \ \ \ \ \ \ \ \ \ Rule: A+\overline{A}=1$$
$$GQ+Q=Q \ \ \ \ \ \ \ \ \ \ \ \ \ Rule: A+AB=A$$
$$\overline{H} \ \overline{H} =\overline{H} \ \ \ \ \ \ \ \ \ \ \ \ \ Rule: AA=A$$
$$\overline{CD} + \overline{CD}=\overline{CD} \ \ \ \ \ \ \ \ \ \ \ \ \ Rule: A+A=A$$
$$EF(EF)=EF \ \ \ \ \ \ \ \ \ \ \ \ \ Rule: AA=A$$
$$CD+\overline{C}=\overline{C}+D \ \ \ \ \ \ \ \ \ \ \ \ \ Rule: A+\overline{A}B=A+B$$
$$LNM+MK=LM \ \ \ \ \ \ \ \ \ \ \ \ \ Rule: A+AB=A$$
$$A\overline{G}F\overline{C}+F\overline{C}\ \overline{G}=F\overline{C} \ \overline{G} \ \ \ \ \ \ \ \ \ \ \ \ \ Rule: A+AB=A$$
$$\overline{M}+1=1 \ \ \ \ \ \ \ \ \ \ \ \ \ Rule: A+1=1$$
$$\overline{BC}+BC=1 \ \ \ \ \ \ \ \ \ \ \ \ \ Rule: A+\overline{A}=1$$
$$ABC+CAB=BCA \ \ \ \ \ \ \ \ \ \ \ \ \ Rule: A+A=A$$
$$S+STV\overline{Q}=S \ \ \ \ \ \ \ \ \ \ \ \ \ Rule: A+AB=A$$
$$\overline{DE}(R+1)=\overline{DE} \ \ \ \ \ \ \ \ \ \ \ \ \ Rule: A+1=1$$
$$\overline{RS} \ \overline{SR}=\overline{RS} \ \ \ \ \ \ \ \ \ \ \ \ \ Rule: AA=A$$
$$ABC\overline{D}+D=D+ABC \ \ \ \ \ \ \ \ \ \ \ \ \ Rule: A+\overline{A}B=A+B$$
$$AC\overline{B}+CAD\overline{B}=A\overline{B}C \ \ \ \ \ \ \ \ \ \ \ \ \ Rule: A+AB=A$$
$$A+T+\overline{W}+\overline{A}+X=1 \ \ \ \ \ \ \ \ \ \ \ \ \ Rule: A+\overline{A}=1 \ \ \ \ \ \ \ \ \ \ \ \ \ Rule: A+1=1$$
$$X\overline{YZ}+\overline{X}=\overline{X}+\overline{YZ} \ \ \ \ \ \ \ \ \ \ \ \ \ Rule: A+\overline{A}B=A+B$$
$$\overline{GFH} \ \overline{HGF} =\overline{FHG} \ \ \ \ \ \ \ \ \ \ \ \ \ Rule: AA=A$$
$$C\overline{AB}+AB=AB+C \ \ \ \ \ \ \ \ \ \ \ \ \ Rule: A+\overline{A}B=A+B$$
Quite frequently (and quite distressingly), I meet students who seem to have the most difficult time relating algebraic rules in their general form to specific instances of reduction. For example, a student who cannot tell that the rule A AB = A applies to the expression QR R, or worse yet B AB. This skill requires time and hard work to master, because it is fundamentally a matter of abstraction: leaping from literal expressions to similar expressions, applying patterns from general rules to specific instances.
Questions such as this help students develop this abstraction ability. Let students explain how they “made the connection” between Boolean rules and the given reductions. Often, it helps to have a student explain the process to another student, because they are better able than you to put it into terms the struggling students can understand.
Shown here are eight rules of Boolean algebra (these are not the only rules, of course).
Determine which rule is being used in each step of the following Boolean simplification:
$$AB+B(B+\overline{C})+\overline{B}C$$
$$AB+BB+B\overline{C}+\overline{B}C$$
$$AB+B+B\overline{C}+\overline{B}C$$
$$AB+B+B\overline{C}$$
$$AB+B+C$$
$$B+C$$
$$AB+B(B+\overline{C})+\overline{B}C$$
$$Rule: \ \ \ \ \ \ \ \ \ A(B+C) = AB+AC$$
$$AB+BB+B\overline{C}+\overline{B}C$$
$$Rule: \ \ \ \ \ \ \ \ \ AA = A$$
$$AB+B+B\overline{C}+\overline{B}C$$
$$Rule: \ \ \ \ \ \ \ \ \ A+AB = A$$
$$AB+B+B\overline{C}$$
$$Rule: \ \ \ \ \ \ \ \ \ A+A\overline{B}=A+B$$
$$AB+B+C$$
$$Rule: \ \ \ \ \ \ \ \ \ A+AB = A$$
$$B+C$$
Quite frequently (and quite distressingly), I meet students who seem to have the most difficult time relating algebraic rules in their general form to specific instances of reduction. For example, a student who cannot tell that the rule A + AB = A applies to the expression QR + R, or worse yet B + AB. This skill requires time and hard work to master, because it is fundamentally a matter of abstraction: leaping from literal expressions to similar expressions, applying patterns from general rules to specific instances.
Questions such as this help students develop this abstraction ability. Let students explain how they “made the connection” between Boolean rules and the given reductions. Often, it helps to have a student explain the process to another student, because they are better able than you to put it into terms the struggling students can understand.
A student makes a mistake somewhere in the process of simplifying the following Boolean expression:
$$AB + A(B + C)$$
$$AB + AB + C$$
$$AB + C$$
Determine where the mistake was made, and what the proper sequence of steps should be to simplify the original expression.
An error was made in the second step (distribution). The correct sequence of steps is as follows:
$$AB + A(B + C)$$
$$AB + AB + AC$$
$$AB + AC$$
$$A(B + C)$$
An interesting way to sharpen students’ understanding of algebraic techniques is to have them view someone else’s incorrect work and find the error(s). Ultimately, algebraic reduction is really just an exercise in pattern recognition. Anything you can do to help your students recognize the correct patterns will help them become better at using algebra.
Factoring is a powerful simplification technique in Boolean algebra, just as it is in realnumber algebra. Show how you can use factoring to help simplify the following Boolean expressions:
$$C + CD$$
$$A\overline{B}C + A\overline{B}\ \overline{C}$$
$$XY\overline{Z} + XYZ + XYW$$
$$\overline{D}EF + AB + \overline{D}E + 0 + ABC$$
You will be expected to show your work (including all factoring) in your answers!
$$C + CD = C$$
$$A\overline{B}C + A\overline{B}\ \overline{C} = A\overline{B}$$
$$XY\overline{Z} + XYZ + XYW = XY$$
$$\overline{D}EF + AB + \overline{D}E + 0 + ABC = AB+\overline{DE}$$
For some reason, many of my students (who enter my course weak in algebra skills) generally seem to have a lot of trouble with factoring, be it Boolean algebra or regular algebra. This is unfortunate, as factoring is a powerful analytical tool. The “trick,” if there is any such thing, is recognizing common variables in different product terms, and identifying which of them should be factored out to reduce the expression most efficiently.
Like all challenging things, factoring takes time and practice to learn. There are no shortcuts, really.
Shown here are nine rules of Boolean algebra (these are not the only rules, of course).
Determine which rule is being used in each step of the following Boolean simplification:
$$\overline{C}F + F(A+\overline{B})+C$$
$$\overline{C}F + AF + \overline{B}F + C$$
$$C + F + AF + \overline{B}F$$
$$C + F(1+A+\overline{B})$$
$$C + F(1)$$
$$C + F$$
$$\overline{C}F + F(A+\overline{B})+C$$
$$Rule: \ \ \ \ \ \ \ \ \ A(B + C) = AB + AC$$
$$\overline{C}F + AF + \overline{B}F + C$$
$$Rule: \ \ \ \ \ \ \ \ \ A + \overline{A}B = A +B$$
$$C + F + AF + \overline{B}F$$
$$Factoring$$
$$C + F(1+A+\overline{B})$$
$$Rule: \ \ \ \ \ \ \ \ \ A +1 = 1$$
$$C + F(1)$$
$$Rule: \ \ \ \ \ \ \ \ \ A (1) = A$$
$$C + F$$
Quite frequently (and quite distressingly), I meet students who seem to have the most difficult time relating algebraic rules in their general form to specific instances of reduction. For example, a student who cannot tell that the rule A AB = A applies to the expression QR R, or worse yet B AB. This skill requires time and hard work to master, because it is fundamentally a matter of abstraction: leaping from literal expressions to similar expressions, applying patterns from general rules to specific instances.
Questions such as this help students develop this abstraction ability. Let students explain how they “made the connection” between Boolean rules and the given reductions. Often, it helps to have a student explain the process to another student, because they are better able than you to put it into terms the struggling students can understand.
Two very important rules of simplification in Boolean algebra are as follows:
Not only are these two rules confusingly similar, but many students find them difficult to successfully apply to situations where a Boolean expression uses different variables (letters), such as here:
$$\overline{R}ST+\overline{R}$$
Here, it is the first rule that applies \((A + AB = A)\) and not the second rule \((A+A\overline{B}=A+B)\), giving a simplification of:
$$\overline{R}$$
Try to apply these two rules to the following Boolean expressions, identifying which rule directly applies, or if neither rule directly applies:
$$\overline{C}+CF$$
$$\overline{AB}C+A$$
$$RS+\overline{R}$$
$$\overline{AB}+ABC$$
$$\overline{AB}C+C$$
$$\overline{R}V\overline{W}+\overline{R}$$
$$\overline{X} \ \overline{Y}Z+\overline{XY}$$
$$\overline{C}+CF=\overline{C}+F \ \ \ \ \ \ \ \ \ \ \ (Rule \ 2)$$
$$\overline{AB}C+A \ \ \ \ \ \ \ \ \ \ \ (Neither \ rule \ applies)$$
$$RS+\overline{R}=\overline{R}+S \ \ \ \ \ \ \ \ \ \ \ (Rule \ 2)$$
$$\overline{AB}+ABC=\overline{AB}+C \ \ \ \ \ \ \ \ \ \ \ (Rule \ 2)$$
$$\overline{AB}C+C=C \ \ \ \ \ \ \ \ \ \ \ (Rule \ 1)$$
$$\overline{R}V\overline{W}+\overline{R}= \overline{R} \ \ \ \ \ \ \ \ \ \ \ (Rule \ 1)$$
$$\overline{X} \ \overline{Y}Z+\overline{XY} \ \ \ \ \ \ \ \ \ \ \ (Neither \ rule \ applies)$$
Many students find the substitution of Boolean variables (going from the A’s and B’s of canonical rules to the different variables of real expressions where the rules are to be applied) very mysterious and difficult. Problems such as this give them practice learning to identify the rules’ patterns despite similarities or differences in the actual variables (letters) used.
Use Boolean algebra to simplify the following expression, then draw a logic gate circuit for the simplified expression:
$$A(B + AB) + AC$$

Have your students explain the entire process they used in answering this question: simplifying the expression using Boolean algebra techniques, and developing a gate circuit from the simplified Boolean expression. By having your students share their thought processes with the whole class, you will increase the level of learning on the parts of presenter and viewer alike. Students presenting their solutions will gain a better understanding of how it works because the act of presenting helps consolidate what they already know. Students viewing the presentation will get to see another person’s technique (rather than just the instructor’s), which will allow them to see examples of how to do these processes cast in slightly different terms.
Use Boolean algebra to simplify the following expression, then draw a logic gate circuit for the simplified expression:
$$(A+B)(\overline{A}+\overline{B})$$

Challenge question: identify the specific logic gate type that will perform this Boolean function using just a single gate.
Have your students explain the entire process they used in answering this question: simplifying the expression using Boolean algebra techniques, and developing a gate circuit from the simplified Boolean expression. By having your students share their thought processes with the whole class, you will increase the level of learning on the parts of presenter and viewer alike. Students presenting their solutions will gain a better understanding of how it works because the act of presenting helps consolidate what they already know. Students viewing the presentation will get to see another person’s technique (rather than just the instructor’s), which will allow them to see examples of how to do these processes cast in slightly different terms.
Use Boolean algebra to simplify the following expression, then draw a logic gate circuit for the simplified expression:
$$\overline{A} \ \overline{B} \ \overline{C} + \overline{A} \ \overline{B}C+A\ \overline{B} \ \overline{C} + A\overline{B}C$$

Have your students explain the entire process they used in answering this question: simplifying the expression using Boolean algebra techniques, and developing a gate circuit from the simplified Boolean expression. By having your students share their thought processes with the whole class, you will increase the level of learning on the parts of presenter and viewer alike. Students presenting their solutions will gain a better understanding of how it works because the act of presenting helps consolidate what they already know. Students viewing the presentation will get to see another person’s technique (rather than just the instructor’s), which will allow them to see examples of how to do these processes cast in slightly different terms.
Use Boolean algebra to simplify the following logic gate circuit:


Have your students explain the entire process they used in simplifying the gate circuit: developing the Boolean expression, simplifying that expression using Boolean algebra techniques, and then developing a new gate circuit from the simplified Boolean expression. By having your students share their thought processes with the whole class, you will increase the level of learning on the parts of presenter and viewer alike. Students presenting their solutions will gain a better understanding of how it works because the act of presenting helps consolidate what they already know. Students viewing the presentation will get to see another person’s technique (rather than just the instructor’s), which will allow them to see examples of how to do these processes cast in slightly different terms.
Use Boolean algebra to simplify the following logic gate circuit:


Have your students explain the entire process they used in simplifying the gate circuit: developing the Boolean expression, simplifying that expression using Boolean algebra techniques, and then developing a new gate circuit from the simplified Boolean expression. By having your students share their thought processes with the whole class, you will increase the level of learning on the parts of presenter and viewer alike. Students presenting their solutions will gain a better understanding of how it works because the act of presenting helps consolidate what they already know. Students viewing the presentation will get to see another person’s technique (rather than just the instructor’s), which will allow them to see examples of how to do these processes cast in slightly different terms.
Use Boolean algebra to simplify the following logic gate circuit:


Have your students explain the entire process they used in simplifying the gate circuit: developing the Boolean expression, simplifying that expression using Boolean algebra techniques, and then developing a new gate circuit from the simplified Boolean expression. By having your students share their thought processes with the whole class, you will increase the level of learning on the parts of presenter and viewer alike. Students presenting their solutions will gain a better understanding of how it works because the act of presenting helps consolidate what they already know. Students viewing the presentation will get to see another person’s technique (rather than just the instructor’s), which will allow them to see examples of how to do these processes cast in slightly different terms.
Use Boolean algebra to simplify the following relay (ladder logic) circuit:


Have your students explain the entire process they used in simplifying the relay circuit: developing the Boolean expression, simplifying that expression using Boolean algebra techniques, and then developing a new relay circuit from the simplified Boolean expression. By having your students share their thought processes with the whole class, you will increase the level of learning on the parts of presenter and viewer alike. Students presenting their solutions will gain a better understanding of how it works because the act of presenting helps consolidate what they already know. Students viewing the presentation will get to see another person’s technique (rather than just the instructor’s), which will allow them to see examples of how to do these processes cast in slightly different terms.
Use Boolean algebra to simplify the following relay (ladder logic) circuit:


Have your students explain the entire process they used in simplifying the relay circuit: developing the Boolean expression, simplifying that expression using Boolean algebra techniques, and then developing a new relay circuit from the simplified Boolean expression. By having your students share their thought processes with the whole class, you will increase the level of learning on the parts of presenter and viewer alike. Students presenting their solutions will gain a better understanding of how it works because the act of presenting helps consolidate what they already know. Students viewing the presentation will get to see another person’s technique (rather than just the instructor’s), which will allow them to see examples of how to do these processes cast in slightly different terms.
Use Boolean algebra to simplify the following relay (ladder logic) circuit:


Have your students explain the entire process they used in simplifying the relay circuit: developing the Boolean expression, simplifying that expression using Boolean algebra techniques, and then developing a new relay circuit from the simplified Boolean expression. By having your students share their thought processes with the whole class, you will increase the level of learning on the parts of presenter and viewer alike. Students presenting their solutions will gain a better understanding of how it works because the act of presenting helps consolidate what they already know. Students viewing the presentation will get to see another person’s technique (rather than just the instructor’s), which will allow them to see examples of how to do these processes cast in slightly different terms.
Use Boolean algebra to simplify the following relay (ladder logic) circuit:


Have your students explain the entire process they used in simplifying the relay circuit: developing the Boolean expression, simplifying that expression using Boolean algebra techniques, and then developing a new relay circuit from the simplified Boolean expression. By having your students share their thought processes with the whole class, you will increase the level of learning on the parts of presenter and viewer alike. Students presenting their solutions will gain a better understanding of how it works because the act of presenting helps consolidate what they already know. Students viewing the presentation will get to see another person’s technique (rather than just the instructor’s), which will allow them to see examples of how to do these processes cast in slightly different terms.
Complete truth tables for the following gates, and also write the Boolean expression for each gate:

The results should be obvious once the truth tables are both complete. Is there a general principle at work here? Do you think we would obtain similar results with NegativeOR and NAND gates? Explain.

NegativeAND gate: \(\overline{A} \ \overline{B}\)
NOR gate: \(\overline{A+B}\)
Just a preview of DeMorgan’s Theorem here!
Often, we find extended complementation “bars” in Boolean expressions. A simple example is shown here, where a long bar extends over the Boolean expression \(A + B\):
$$\overline{A+B}$$
In this particular case, the expression represents the functionality of a NOR gate. Many times in the manipulation of Boolean expressions, it is good to be able to know how to eliminate such long bars. We can’t just get rid of the bar, though. There are specific rules to follow for “breaking” long bars into smaller bars in Boolean expressions.
What other type of logic gate has the same functionality (the same truth table) as a NOR gate, and what is its equivalent Boolean expression? The answer to this question will demonstrate what rule(s) we need to follow when we “break” a long complementation bar in a Boolean expression.
Another example we could use for learning how to “break bars” in Boolean algebra is that of the NAND gate:
$$\overline{AB}$$
What other type of logic gate has the same functionality (the same truth table) as a NAND gate, and what is its equivalent Boolean expression? The answer to this question will likewise demonstrate what rule(s) we need to follow when we “break” a long complementation bar in a Boolean expression.
NegativeAND gates have the same functionality as NOR gates, and their equivalent Boolean expression is as such:
$$\overline{A} \ \overline{B}$$
NegativeOR gates have the same functionality as NAND gates, and their equivalent Boolean expression is as such:
$$\overline{A} + \overline{B}$$
This question introduces DeMorgan’s Theorem via a process of discovery. Students, seeing that these equivalent gates pairs have the same functionality, should be able to discern a general pattern (i.e. a rule) for breaking long bars in Boolean expressions.
What is DeMorgan’s Theorem?
DeMorgan’s Theorem is a rule for Boolean expressions, declaring how long complementation “bars” are to be broken into shorter bars. I’ll let you research the terms of this rule, and explain how to apply it to Boolean expressions.
There are many suitable references for students to be able to learn DeMorgan’s Theorem from. Let them do the research on their own! Your task is to clarify any misunderstandings after they’ve done their jobs.
Use DeMorgan’s Theorem, as well as any other applicable rules of Boolean algebra, to simplify the following expression so there are no more complementation bars extending over multiple variables:
$$\overline{\overline{AB}+\overline{AC}}$$
Simplified expression:
$$ABC$$
Have your students demonstrate exactly what they did (step by step) to simplify this expression, sharing their problemsolving strategies with the whole class.
Use DeMorgan’s Theorem, as well as any other applicable rules of Boolean algebra, to simplify the following expression so there are no more complementation bars extending over multiple variables:
$$\overline{\overline{XY\overline{Z}}Y}$$
Simplified expression:
$$\overline{Y} + X\overline{Z}$$
Have your students demonstrate exactly what they did (step by step) to simplify this expression, sharing their problemsolving strategies with the whole class.
Use DeMorgan’s Theorem, as well as any other applicable rules of Boolean algebra, to simplify the following expression so there are no more complementation bars extending over multiple variables:
$$\overline{\overline{J+K}JL}$$
Simplified expression:

Have your students demonstrate exactly what they did (step by step) to simplify this expression, sharing their problemsolving strategies with the whole class.
Ask your students to determine what a nonvariable solution means for a circuit such as this in a practical sense. What would they suspect if they tried to simplify a digital circuit and obtained this kind of result?
Use Boolean algebra to simplify the following logic gate circuit:


Have your students explain the entire process they used in simplifying the gate circuit: developing the Boolean expression, simplifying that expression using Boolean algebra techniques, and then developing a new gate circuit from the simplified Boolean expression. By having your students share their thought processes with the whole class, you will increase the level of learning on the parts of presenter and viewer alike. Students presenting their solutions will gain a better understanding of how it works because the act of presenting helps consolidate what they already know. Students viewing the presentation will get to see another person’s technique (rather than just the instructor’s), which will allow them to see examples of how to do these processes cast in slightly different terms.
Write the Boolean expression for this relay logic circuit, then reduce that expression to its simplest form using any applicable Boolean laws and theorems. Finally, draw a new relay circuit based on the simplified Boolean expression that performs the exact same logic function.

Original Boolean expression: \(\overline{\overline{AB}+C}\)
Reduced circuit (no relays needed!):

Ask your students to explain what advantages there may be to using the simplified relay circuit rather than the original (more complex) relay circuit shown in the question. What significance does this lend to learning Boolean algebra?
This is what Boolean algebra is really for: reducing the complexity of logic circuits. It is far too easy for students to lose sight of this fact, learning all the abstract rules and laws of Boolean algebra. Remember, in teaching Boolean algebra, you are supposed to be preparing students to perform manipulations of electronic circuits, not just equations.
Write the Boolean expression for this TTL logic gate circuit, then reduce that expression to its simplest form using any applicable Boolean laws and theorems. Finally, draw a new gate circuit diagram based on the simplified Boolean expression, that performs the exact same logic function.

Original Boolean expression: \(A+\overline{\overline{AB}C}\)
Reduced gate circuit:

Challenge question: implement this reduced circuit, using the only remaining gates between the two integrated circuits shown on the original breadboard.
Ask your students to explain what advantages there may be to using the simplified gate circuit rather than the original (more complex) gate circuit shown in the question. What significance does this lend to learning Boolean algebra?
This is what Boolean algebra is really for: reducing the complexity of logic circuits. It is far too easy for students to lose sight of this fact, learning all the abstract rules and laws of Boolean algebra. Remember, in teaching Boolean algebra, you are supposed to be preparing students to perform manipulations of electronic circuits, not just equations.
A student makes a mistake somewhere in the process of simplifying the Boolean expression \(\overline{\overline{X}Y+Z}\). Determine what the mistake is:
$$\overline{\overline{X}Y+Z}$$
$$\overline{\overline{X}Y}\overline{Z}$$
$$\overline{\overline{X}}+\overline{Y} \ \overline{Z}$$
$$X+\overline{Y} \ \overline{Z}$$
The correct answer is:
$$(X+\overline{Y})\overline{Z}$$
$$or$$
$$X\overline{Z} + \overline{Y} \ \overline{Z}$$
If it is not apparent to you why the student’s steps are in error, try this exercise: draw the equivalent gate circuit for each of the expressions written in the student’s work. At the mistaken step, a dramatic change in the circuit configuration will be evident  a change that clearly cannot be correct. If all steps are proper, though, changes exhibited in the equivalent gate circuits should all make sense, culminating in a final (simplified) circuit.
An important aspect of long “bars” for students to recognize is that they function as grouping symbols. When applying DeMorgan’s Theorem to breaking these bars, students often make the mistake of ignoring the grouping implicit in the original bars.
I highly recommend you take your class through the exercise suggested in the answer, for those who do not understand the nature of the mistake. Let students draw each expression’s equivalent circuit on the board in front of the class so everyone can see, and then let them observe the dramatic change spoken of at the place where the mistake is made. If students understand what DeMorgan’s Theorem means for an individual gate (NegAND to NOR, NegOR to NAND, etc.), the gate diagrams will clearly reveal to them that something has gone wrong at that step.
For comparison, perform the same stepbystep translation of the proper Boolean simplification into gate diagrams. The transitions between diagrams will make far more sense, and students should be able to get a “circuit’s view” of why complementation bars function as grouping symbols.
Write the Boolean expression for this TTL logic gate circuit, then reduce that expression to its simplest form using any applicable Boolean laws and theorems. Finally, draw a new gate circuit diagram based on the simplified Boolean expression that performs the exact same logic function.

Original Boolean expression: \(\overline{AB+AC}\)
Reduced gate circuit:

The Boolean simplification for this particular problem is tricky. Remind students that complementation bars act as grouping symbols, and that parentheses should be used when in doubt to maintain grouping after “breaking bars” with DeMorgan’s Theorem.
Ask your students to compare the “simplified” circuit with the original circuit. Are any advantages apparent to the version given in the answer? Certainly, the Boolean expression for that version of the circuit is simpler compared to that of the original circuit, but is the circuit itself significantly improved?
This question underscores an important lesson about Boolean algebra and logic simplification in general: just because a mathematical expression is simpler does not necessarily mean that the expression’s physical realization will be any simpler than the original!
Suppose you needed an inverter gate in a logic circuit, but none were available. You do, however, have a spare (unused) NAND gate in one of the integrated circuits. Show how you would connect a NAND gate to function as an inverter.
Use Boolean algebra to show that your solution is valid.

For the above solution: \(\overline{AA} = \overline{A}\)
Followup question: are there any other ways to use a NAND gate as an inverter? The method shown above is not the only valid solution!
Not only is the method shown in the answer not the only valid solution, but it may even be the worst one! Your students should be able to research or invent alternative inverter connections, so after asking them to present their alternatives, ask the class as a whole to decide which solution is better. Ask them to consider electrical parameters, such as propagation delay time and fanout.
Suppose you needed an inverter gate in a logic circuit, but none were available. You do, however, have a spare (unused) NOR gate in one of the integrated circuits. Show how you would connect a NOR gate to function as an inverter.
Use Boolean algebra to show that your solution is valid.

For the above solution: \(\overline{A+A} = \overline{A}\)
Followup question: are there any other ways to use a NOR gate as an inverter? The method shown above is not the only valid solution!
Not only is the method shown in the answer not the only valid solution, but it may even be the worst one! Your students should be able to research or invent alternative inverter connections, so after asking them to present their alternatives, ask the class as a whole to decide which solution is better. Ask them to consider electrical parameters, such as propagation delay time and fanout.
The equivalence between NAND gates and NegativeOR gates is something easily verified by an examination of these two gates’ respective truth tables, and is often a startingpoint for learning about DeMorgan’s Theorem:

A lesserknown fact is how the equivalence between NAND and NegativeOR gates may be transformed to express an equivalence between two other types of gates, shown here:

Another example is shown here:

Explain how the first equivalence (between the NAND and the NegativeOR gate) was transformed into the latter two equivalences, both in terms of the gate symbols and their respective Boolean expressions. In other words, explain how we can derive the last two examples by manipulating the first example.
This is a lot like algebraically manipulating equations: doing the exact same thing to both sides of an equation to arrive at a new equation that is more useful to us. I’ll let you figure out the details of how this is done.
This question is a precursor to having students create combinational gate circuits using nothing but NAND or NOR gates.
Suppose we wished to have an AND gate for some logic purpose, but did not have any AND gates on hand. Instead, we only had NOR gates in our parts collection. Draw a diagram whereby multiple NOR gates are connected together to form an AND gate.
I’ll let you figure this one out on your own!
NAND and NOR gates both have the interesting property of universality. That is, it is possible to create any logic function at all, using nothing but multiple gates of either type. The key to doing this is DeMorgan’s Theorem, because it shows us how properly applied inversion is able to convert between the two fundamental logic gate types (from AND to OR, and visaversa).
Using this principle, convert the following gate circuit diagram into one built exclusively of NAND gates (no Boolean simplification, please). Then, do the same using nothing but NOR gates:

Using nothing but NAND gates:

Using nothing but NOR gates:

Gate universality is not just an esoteric property of logic gates. There are (or at least were) entire logic systems made up of nothing but one of these gate types! I once worked with a fellow who maintained gas turbine control systems for crude oil pumping stations. He told me that he has seen one manufacturer’s turbine control system where the discrete logic was nothing but NAND gates, and another manufacturer’s system where the logic was nothing but NOR gates. Needless to say, it was a bit of a challenge for him to transition between the two manufacturers’ systems, since it was natural for him to “get used to” one of the gate types after doing troubleshooting work on either type of system.
An ExclusiveOR gate has the following Boolean expression:
$$A\overline{B} + \overline{A}B$$
Draw the schematic diagram for a gate circuit exhibiting this Boolean function, constructed entirely from NAND gates.

An interesting feature of this circuit is the final three NAND gates: two NAND gates feeding into a third NAND gate is equivalent to two AND gates feeding into an OR gate, thanks to DeMorgan’s Theorem!
An automobile manufacturer needs a logic circuit to perform a specific task in its new line of cars. These cars will be equipped with a “headlight left on” alarm that sounds any time these two conditions are met: headlights on and ignition switch off. Draw the schematic diagram of a logic gate circuit that will implement this alarm, constructed entirely out of NAND gates.

Followup question: suppose the alarm unit required more current than the final NAND gate could source. Add a transistor “buffer” stage to the logic gate circuit to drive additional current to the alarm.
Challenge question: explain how the following NOR gate circuit performs the exact same logic function with fewer components:

This question is a really good one to ask your students how they arrived at a solution. It is easy enough to simply look at the given answer and repeat it, but of course the intent of this question is to get students to think how they might design such a circuit completely on their own.
Draw a schematic for a logic gate circuit using nothing but twoinput NOR gates that mimics the operation of this relay circuit:


Followup question: note the manner in which NOR gates are used as inverters in this circuit. Compare this against the following (alternative) method:

Are there any distinct advantages you see to either method?
In my very first technical job, I worked as a CNC maintenance technician in a small machine shop, maintaining computercontrolled machine tools such as mills and lathes. A really neat project I got to work on at that job was the conversion of a 1970’s era Americanmade machine tool to modern Japanese computer control. A lot of logic in that old machine tool was implemented using relays, and we replaced the cabinets full of relays with solidstate logic in the Japanese control computer. Actually, the solid state logic was a programmable logic controller or PLC function inside the Japanese control computer rather than discrete semiconductor logic gates. However, we very well could have replaced relays with hardwired gates. The purpose of this question, if you haven’t guessed by now, is to familiarize students with the concept of replacing electromechanical relays with semiconductor logic gates, especially identical logic gates such as NOR gates which are “universal.”
Shown here is the ladder logic diagram for a fire alarm system, where the activation of any alarm switch opens that (normallyclosed) switch contact and sounds the alarm:

Write the Boolean expression for this relay circuit, then simplify that expression using DeMorgan’s Theorem and draw a new relay circuit implementing the simplified expression.
Original circuit expression:
$$\overline{\overline{A} \ \overline{B} \ \overline{C} \ \overline{D} \ \overline{E}}$$
Simplified expression and circuit:
$$A+B+C+D+E$$

Followup question: which circuit (the original or the one show above) is more practical from a failsafe standpoint? In other words, which circuit will give the safest result in the event of a switch or wiring failure?
Here students see that even though two circuits are functionally identical (at least according to their respective Boolean expressions), they may not behave quite the same under adverse conditions (i.e. faulted switches or wiring). This is a very important thing for them to see, because it underscores the practical need to look beyond the immediate design criteria (Boolean function) and consider other parameters (failure mode).
The Law of Distribution in boolean algebra is identical to the law of distribution in “normal” algebra:
$$A(B + C) = AB + AC \ \ \ \ \ \ \ \ \ \ \ \ \ Applying \ the \ Law \ of \ Distribution$$
While the process of distribution is not difficult to understand, the reverse of distribution (called factoring) seems to be a more difficult process for many students to master:
$$AB + AC = A(B + C) \ \ \ \ \ \ \ \ \ \ \ \ \ Factoring \ A \ out \ of \ each \ term$$
Survey the following examples of factoring, and then describe what this process entails. What pattern(s) are you looking for when trying to factor a Boolean expression?
$$CD + AD + BD = D(C + A + B)$$
$$X\overline{Y} \ \overline{Z}+\overline{X} \ \overline{Y} Z = \overline{Y}(X\overline{Z}+\overline{X}Z)$$
$$J + JK = J(1 + K)$$
$$AB + ABCD + BCD + B = B(A + ACD + CD + 1)$$
When factoring, you must look for variables common to each product term.
Followup question: if implemented with digital logic gates, which of these two expressions would require the fewest components?
$$A(B + C)$$
$$AB + AC$$
Factoring really does seem to be a more difficult patternrecognition skill to master than distribution, the latter being selfexplanatory to many students. The purpose of this question is to get students to recognize and articulate the patternmatching process involved with factoring. Once students have a working explanation of how to factor (especially if phrased in their own words), they will be better equipped to do so when needed.
Simplify this logic gate circuit, which uses nothing but NAND gates to accomplish a certain logic function:


This question stands as an example of how NAND gates may be used to construct different types of logic functions. In fact, with a sufficient quantity of NAND gates, any logic function may be built. This is why NAND gates are said to be “universal.”
Simplify this logic gate circuit, which uses nothing but NOR gates to accomplish a certain logic function:


This question stands as an example of how NOR gates may be used to construct different types of logic functions. In fact, with a sufficient quantity of NOR gates, any logic function may be built. This is why NOR gates are said to be “universal.”
SumofProducts (SOP) expressions may be implemented by a combination of AND and OR gates, as such:

Use DeMorgan’s Theorem to prove that this NAND gate circuit performs the exact same function:

I’ll leave the proof up to you!
This is a very practical application of DeMorgan’s Theorem. Being able to use all NAND gates to implement an SOP function is a bonus over having to use separate AND and OR integrated circuit packages (one IC instead of two in this particular case).
Write the Boolean expression for this logic gate circuit, then reduce that expression to its simplest form using any applicable Boolean laws and theorems. Finally, draw a new gate circuit diagram based on the simplified Boolean expression that performs the exact same logic function.

Original Boolean expression: \(\overline{AB} \ \overline{BC}\)
Reduced gate circuit:

This particular circuit is an example of how a combinational logic function may be implemented using nothing but NAND gates.
Write the Boolean expression for this logic gate circuit, then reduce that expression to its simplest form using any applicable Boolean laws and theorems. Finally, draw a new gate circuit diagram based on the simplified Boolean expression that performs the exact same logic function.

Original Boolean expression: \(\overline{\overline{\overline{AB}C}A}\)
Reduced gate circuit:

This particular circuit is an example of how a combinational logic function may be implemented using nothing but NAND gates.
Published under the terms and conditions of the Creative Commons Attribution License
In Partnership with Future Electronics
by Jake Hertz
by Jake Hertz