Difference between revisions of "Boolean Algebra"
Ianjohnson (talk | contribs) (→Identity Law) |
Ianjohnson (talk | contribs) (→Commutative Law) |
||
Line 58: | Line 58: | ||
=Laws= | =Laws= | ||
==Commutative Law== | ==Commutative Law== | ||
− | The Commutative Law is where equations are the same no matter what way around the letters are written. For example | + | The Commutative Law is where equations are the same no matter what way around the letters are written. For example |
+ | |||
<math> A+B = B+A </math> | <math> A+B = B+A </math> | ||
− | or | + | |
+ | or | ||
+ | |||
<math> A.B = B.A </math> | <math> A.B = B.A </math> | ||
Revision as of 08:43, 8 May 2018
Any equation must be within the <math> </math> tags. For Boolean alegbra the main issue is how to negate a term like:
or
this can be done by adding the following around any term you wish to negate.:
<math> \overline{} </math>
is
<math> \overline{a} </math>
is
<math> \overline{\overline{a}+b} </math>.
Contents
Identities
AND Identities
This equation means that the output is determined by the value of A. So if A =0, The output is 0, and vice versa.
Because there is a 0 in this equation, the output of this will always be 0 regardless of the value of A.
The output is determined by A alone in this equation. This can be simplified to just "A".
Here the output will be 0, regardless of A's value. A would have to be 1 and 0 for the output to be 1. This means we can simplify this to just 0.
OR Identities
0 or A can be simplified as just A.
1 or A can be simplified as just A.
NOT A or 1 can be simplified as just 1.
NOT A or A can be simplified as just 1.
Laws
Commutative Law
The Commutative Law is where equations are the same no matter what way around the letters are written. For example
or
Laws
Associate Law
Distributive Law
The distributive law is these two equations.
Redundancy Law
Law 1 :
Proof :
Law 2:
Proof :
Identity Law
Negation Law
Equations
Solving equations is a matter of applying the laws of boolean algrebra, followed by any of the identities you can find: