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.
![Illustrative background for AND identities](https://image-v2.cdn.app.senecalearning.com/2019-02/435c6bb0-5327-456d-8ea5-7520f96611bd/lightbulb-1875247__340,h_400,q_80,w_640.jpg)
![Illustrative background for AND identities ?? "content](https://image-v2.cdn.app.senecalearning.com/2019-02/435c6bb0-5327-456d-8ea5-7520f96611bd/lightbulb-1875247__340,h_400,q_80,w_640.jpg)
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.
![Illustrative background for OR identities](https://image-v2.cdn.app.senecalearning.com/2019-05/2c436849-df77-474f-89fe-738a3a2055bb/think-idea-,h_400,q_80,w_640.jpg)
![Illustrative background for OR identities ?? "content](https://image-v2.cdn.app.senecalearning.com/2019-05/2c436849-df77-474f-89fe-738a3a2055bb/think-idea-,h_400,q_80,w_640.jpg)
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.
![Illustrative background for Example](https://image-v2.cdn.app.senecalearning.com/2019-04/bf66f4ff-7a53-4db4-88bf-918d85034244/idea-logic-rational-,h_400,q_80,w_640.jpg)
![Illustrative background for Example ?? "content](https://image-v2.cdn.app.senecalearning.com/2019-04/bf66f4ff-7a53-4db4-88bf-918d85034244/idea-logic-rational-,h_400,q_80,w_640.jpg)
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.
![Illustrative background for Absorption](https://image-v2.cdn.app.senecalearning.com/2020-08/f64322f2-a856-4f5b-b0ed-fba5cdccf30b/Screenshot%202020-08-27%20at%2014.18.14-min,h_400,q_80,w_640.png)
![Illustrative background for Absorption ?? "content](https://image-v2.cdn.app.senecalearning.com/2020-08/f64322f2-a856-4f5b-b0ed-fba5cdccf30b/Screenshot%202020-08-27%20at%2014.18.14-min,h_400,q_80,w_640.png)
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.
![Illustrative background for Commutative](https://image-v2.cdn.app.senecalearning.com/2020-08/6a97304e-f686-49cc-be74-d8268376e2fb/Screenshot%202020-08-27%20at%2014.18.16-min,h_400,q_80,w_640.png)
![Illustrative background for Commutative ?? "content](https://image-v2.cdn.app.senecalearning.com/2020-08/6a97304e-f686-49cc-be74-d8268376e2fb/Screenshot%202020-08-27%20at%2014.18.16-min,h_400,q_80,w_640.png)
Commutative
Commutative
- The commutative rule states that values in AND or OR expressions can be swapped without changing the result:
![Illustrative background for Distributive](https://image-v2.cdn.app.senecalearning.com/2020-08/fc08d919-2b8d-4407-aecb-b2d57f50d1d6/Screenshot%202020-08-27%20at%2014.18.18-min,h_400,q_80,w_640.png)
![Illustrative background for Distributive ?? "content](https://image-v2.cdn.app.senecalearning.com/2020-08/fc08d919-2b8d-4407-aecb-b2d57f50d1d6/Screenshot%202020-08-27%20at%2014.18.18-min,h_400,q_80,w_640.png)
Distributive
Distributive
- A value outside of a set of brackets can be distributed between the values within the brackets:
![Illustrative background for Associative](https://image-v2.cdn.app.senecalearning.com/2020-08/49e3b085-97d5-41c1-a73c-0c80bf639442/Screenshot%202020-08-27%20at%2014.18.19-min,h_400,q_80,w_640.png)
![Illustrative background for Associative ?? "content](https://image-v2.cdn.app.senecalearning.com/2020-08/49e3b085-97d5-41c1-a73c-0c80bf639442/Screenshot%202020-08-27%20at%2014.18.19-min,h_400,q_80,w_640.png)
Associative
Associative
- The associative rule confirms that the order of operators in an expression has no impact on the result:
![Illustrative background for Double Negation](https://image-v2.cdn.app.senecalearning.com/2020-08/e21d112a-e381-4128-a877-0f63683b0524/Screenshot%202020-08-27%20at%2014.18.21-min,h_400,q_80,w_640.png)
![Illustrative background for Double Negation ?? "content](https://image-v2.cdn.app.senecalearning.com/2020-08/e21d112a-e381-4128-a877-0f63683b0524/Screenshot%202020-08-27%20at%2014.18.21-min,h_400,q_80,w_640.png)
Double Negation
Double Negation
- The equivalent of any double-negative is a positive:
![Illustrative background for De Morgan's Law](https://image-v2.cdn.app.senecalearning.com/2020-08/e68d6074-e72e-459f-b37b-aceecbcfff54/Screenshot%202020-08-27%20at%2014.18.23-min,h_400,q_80,w_640.png)
![Illustrative background for De Morgan's Law ?? "content](https://image-v2.cdn.app.senecalearning.com/2020-08/e68d6074-e72e-459f-b37b-aceecbcfff54/Screenshot%202020-08-27%20at%2014.18.23-min,h_400,q_80,w_640.png)
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
![Go student ad image](/en-GB/revision-notes/_next/image?url=%2Fen-GB%2Frevision-notes%2Fimages%2Fgo-student-uk-ad.jpg&w=640&q=100)
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