Jump to content

Boolean algebra


Recommended Posts

  • 2 weeks later...

Boolean Algebra is the most basic algebra in mathematics, you should be able to do this ...

 

http://en.wikipedia.org/wiki/Boolean_algebra_%28logic%29

 

I'll take * as AND, + as OR, and ⊕ as XOR, and ' as NOT

 

Following De Morgan Laws, we get the following ...

 

while NOT AND = OR, and NOT OR = AND

 

(a+a') = 1 :: always true (something can happen or not)

 

(a*a') = 0 :: always false (something can happen and not)

 

(c+a)' = c' * a'

 

(c⊕b)' = ( (c * b') + (c' * b) )' = (c * b')' * (c' * b)' = (c' + b) * (c + b')

 

we get ...

 

((c+a)' * (c⊕b)')' = ( (c' * a') * ((c' + b) * (c + b')) )' = (c' * a')' + ((c' + b) * (c + b'))'

 

= (c + a) + ( (c' + b)' + (c + b')' ) = (c + a) + ( (c * b') + (c' * b') )

 

= c + a + ((c * b') + (c' * b')) = c + a + (b' * (c + c'))

 

= c + a + b'

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.