4.3.4
Boolean Identities
Boolean Identities
Boolean Identities
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.


AND identities
AND identities
- A value AND false returns false.
- A value AND true returns the value.
- A value AND the same value returns the value.
- A value AND NOT the same value returns false.


OR identities
OR identities
- A value OR false returns the value.
- A value OR true returns true.
- A value OR the same value returns the value.
- A value OR NOT the same value returns true.


Example
Example
- Using the identities, we can simplify the expression:
Rules of Boolean Operations
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:
- 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:


Distributive
Distributive
- A value outside of a set of brackets can be distributed between the values within the brackets:


Associative
Associative
- The associative rule confirms that the order of operators in an expression has no impact on the result:


Double Negation
Double Negation
- The equivalent of any double-negative is a positive:


De Morgan's Law
De Morgan's Law
- De Morgan's law is as follows:
- 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.
1Components of a Computer
1.1Structure & Function of the Processor
1.2Types of Processors
2Software & Software Development
2.1Systems Software
2.2Applications Generation
2.3Software Development
3Exchanging Data
3.1Compression, Encryption & Hashing
3.3Networks
4Data Types, Data Structures & Algorithms
4.1Data Types
5Legal, Moral, Cultural & Ethical Issues
5.1Computing Related Legislation
6Elements of Computational Thinking
6.1Thinking Abstractly
6.2Thinking Procedurally
6.3Thinking Logically
7Problem Solving & Programming
7.1Programming Techniques
7.2Programming Construction
Jump to other topics
1Components of a Computer
1.1Structure & Function of the Processor
1.2Types of Processors
2Software & Software Development
2.1Systems Software
2.2Applications Generation
2.3Software Development
3Exchanging Data
3.1Compression, Encryption & Hashing
3.3Networks
4Data Types, Data Structures & Algorithms
4.1Data Types
5Legal, Moral, Cultural & Ethical Issues
5.1Computing Related Legislation
6Elements of Computational Thinking
6.1Thinking Abstractly
6.2Thinking Procedurally
6.3Thinking Logically
7Problem Solving & Programming
7.1Programming Techniques
7.2Programming Construction

Unlock your full potential with GoStudent tutoring
Affordable 1:1 tutoring from the comfort of your home
Tutors are matched to your specific learning needs
30+ school subjects covered