Skip to content

Boolean Operations

A table of inputs and result of boolean operations is called the Truth Table

AND

xyxy
000
010
100
111

OR

xyxy
000
011
101
111
NOT
x¬x
01
10

Boolean Expressions

Boolean operations can be combined.

Boolean Functions

Boolean functions have finate input, so a truth table can be listed.

Boolean Identities

Idempotent Law

  • xx=x
  • xx=x

Double Negation Law

  • ¬(¬x)=x

Commutative Laws

  • xy=yx
  • xy=yx

Associative Laws

  • x(yz)=(xy)z
  • x(yz)=(xy)z

Distributive Laws

  • x(yz)=(xy)(xz)
  • x(yz)=(xy)(xz)

De Morgan Laws

  • ¬(xy)=¬x¬y
  • ¬(xy)=¬x¬y