Sign in to save

Bookmark this page so you can find it later.

Sign in to save

Bookmark this page so you can find it later.

Boolean algebra is a system of mathematics built around values that are either 0 or 1, often interpreted as false or true. It matters because digital computers, calculators, phones, and control systems all use circuits that follow Boolean rules. Instead of measuring continuously changing quantities, Boolean algebra describes decisions, switches, and logical conditions.

This makes it the mathematical language of digital logic.

Understanding Math: Boolean Algebra

A truth table is one of the clearest ways to study a Boolean expression. It lists every possible input combination, then shows the output for each one. With two inputs there are four rows.

With three inputs there are eight rows. The number of rows doubles whenever another input is added.

This matters because a circuit must behave correctly in every case, not only in the case that seems most likely. Truth tables let students check a rule carefully before any hardware is built.

In electronics, Boolean operations are made by logic gates. A gate receives voltage signals that represent the two states, then produces one output signal. Gates can be connected in layers, so the output of one gate becomes an input to another.

A simple alarm circuit might require a door to be open and a security system to be armed before it sends an alert. A larger circuit can compare binary numbers, choose data to display, or store a bit of memory. Complex devices are built from huge numbers of small decisions of this kind.

Boolean algebra helps engineers reduce a complicated circuit to a simpler one. Two expressions can give exactly the same output for every possible input even though they look very different. If one version needs fewer gates, the physical circuit may use less power, take up less space, and produce its answer faster.

Rules involving NOT are especially useful when a design uses signals that are active when low. For example, some computer control lines treat zero as the signal to act.

De Morgan's laws allow a designer to move a NOT operation across a grouped condition while changing the type of operation. This makes it possible to replace one gate arrangement with another equivalent arrangement.

Students often make mistakes by reading an expression from left to right without paying attention to grouping. A NOT operation changes its input before the larger condition is evaluated. Parentheses show which part must be handled together.

It is useful to fill in intermediate columns in a truth table for each small part of an expression. This reveals where an error first appears. Another important habit is to separate ordinary language from precise logic.

In everyday speech, or can sometimes mean one choice but not both. In Boolean algebra, OR normally includes the case where both inputs are true. The version that allows exactly one true input is called exclusive OR, and it is common in binary addition and error checking.

Key Facts

  • Boolean variables usually take only two values: 0 and 1.
  • AND operation: A · B = 1 only when A = 1 and B = 1.
  • OR operation: A + B = 1 when A = 1, B = 1, or both are 1.
  • NOT operation: A' is the complement of A, so if A = 1 then A' = 0.
  • De Morgan's laws: (A · B)' = A' + B' and (A + B)' = A' · B'.
  • Distributive laws: A · (B + C) = A · B + A · C and A + B · C = (A + B) · (A + C).

Vocabulary

Boolean variable
A symbol such as A or B that can have only the value 0 or 1.
AND
A Boolean operation that outputs 1 only when all of its inputs are 1.
OR
A Boolean operation that outputs 1 when at least one input is 1.
NOT
A Boolean operation that reverses a value, changing 1 to 0 and 0 to 1.
Logic gate
An electronic circuit element that performs a Boolean operation on input signals.

Common Mistakes to Avoid

  • Treating + as ordinary addition is wrong because in Boolean algebra 1 + 1 = 1 for OR, not 2.
  • Forgetting operation order is wrong because NOT is applied before AND, and AND is usually applied before OR unless parentheses say otherwise.
  • Using De Morgan's laws without changing the operation is wrong because complementing A · B gives A' + B', not A' · B'.
  • Assuming A + A' = 0 is wrong because a variable OR its complement is always 1.

Practice Questions

  1. 1 Evaluate F = A · B + C for A = 1, B = 0, and C = 1.
  2. 2 Complete the truth table for F = (A + B)' for the four input pairs A B = 00, 01, 10, 11.
  3. 3 Explain why the expression (A · B)' can be built using an AND gate followed by a NOT gate, or equivalently by using NOT gates on A and B followed by an OR gate.