Test your knowledge with free interactive questions on Seneca — used by over 10 million students.

Rules of Boolean Operations

There are a number of rules that can be used to simplify boolean expressions. Simplified expressions are cheaper and easier to implement as fewer logic gates are needed.

Absorption

Absorption

  • We can simplify expressions in the following way:
    • X+(X.Y)=X+X=XX+(X.Y) = X +X = X
  • We can only do this if:
    • The value outside the brackets must be present within the brackets.
    • The operators inside and outside the brackets must be different.
  • We say that Y has been absorbed.
Commutative

Commutative

  • The commutative rule states that values in AND or OR expressions can be swapped without changing the result:
    • X.Y=Y.XX. Y = Y . X
    • X+Y=Y+XX + Y = Y + X
Distributive

Distributive

  • A value outside of a set of brackets can be distributed between the values within the brackets:
    • X.(Y+Z)=(X.Y)+(X.Z)X . (Y + Z) = (X . Y) + (X . Z)
    • X+(Y.Z)=(X+Y).(X+Z)X + (Y . Z) = (X + Y) .(X + Z)
Associative

Associative

  • The associative rule confirms that the order of operators in an expression has no impact on the result:
    • (X+Y)+Z=X+(Y+Z)(X + Y) + Z = X + (Y + Z)
    • (X.Y).Z=X.(Y.Z)(X . Y) .Z= X . (Y . Z)
Double Negation

Double Negation

  • The equivalent of any double-negative is a positive:
    • (X)=X\overline{(\overline{X})} = X
De Morgan's Law

De Morgan's Law

  • De Morgan's law is as follows:
    • X+Y=X.Y\overline{X + Y} = \overline{X} . \overline{Y}
    • X.Y=X+Y\overline{X . Y} = \overline{X} + \overline{Y}
  • We can use this law to convert part of an expression so the whole expression only uses one type of operator.
  • This reduces the cost as only one type of gate is required.
Jump to other topics
1

Components of a Computer

2

Software & Software Development

3

Exchanging Data

4

Data Types, Data Structures & Algorithms

5

Legal, Moral, Cultural & Ethical Issues

6

Elements of Computational Thinking

6.1

Thinking Abstractly

6.2

Thinking Ahead

6.3

Thinking Procedurally

6.4

Thinking Logically

6.5

Thinking Concurrently

7

Problem Solving & Programming

8

Algorithms

Practice questions on Boolean Rules

Can you answer these? Test yourself with free interactive practice on Seneca — used by over 10 million students.

  1. 1
  2. 2
  3. 3
  4. 4
Answer all questions on Boolean Rules

Unlock your full potential with Seneca Premium

  • Unlimited access to 10,000+ open-ended exam questions

  • Mini-mock exams based on your study history

  • Unlock 800+ premium courses & e-books

Get started with Seneca Premium