ContentsPrevious Chapter Next Chapter

1 Boolean Algebra and Digital Logic

1.4 Classification of Boolean Functions



As has been shown in the previous chapters, Boolean Function (also called switching functions) can be presented in manifold forms.

In principle a Boolean Functions is an assignment that can formally be defined using a mathematical expression. Besides this mathematical form another formal presentation exists using truth tables, i.e. using a tabular presentation of the functional relationship.

Assuming a Boolean Function f that has n arguments xi, the following generic truth table (value table) can be generated:

xn
...
x2
x1
f(x1,x2,...,xn)
0
...
0
0
f1
0
...
0
1
f2
0
...
1
0
f3
0
...
1
1
f4
:
...
:
:
:
:
...
:
:
:
1
...
1
1
f2n

with: fi ∈ {0,1}

Table1.5: Truth Table of a Boolean Function

As can be seen, this table has 2n rows representing the function values that correspond to the 2n possible combinations of the variables x1,x2,...,xn.

Considering that in each row the function value can be 0 or 1, there are

(1.3)

non-equivalent functions f(x1,x2,...,xn).

In the most simple case the Boolean Function depends on only one variable (so-called unary functions), so that

different functions exist.

For the corresponding case of two variables (so-called binary functions)


different functions exist.

As can be seen, the number of possible Boolean Functions increases strongly with an increasing number of variables.

But from the following discussion it will be clear that only very few of these functions have nontrivial properties and are as such of importance for practical applications.


1.4.1 Unary Boolean Functions (n = 1)

From the four possible Boolean Functions with only one variable (n=1) the most important one was already introduced, the Inverse Function, see above.
The following table gives a summary of all functions using truth tables, functional expressions, and Venn Diagrams. Whenever meaningful, the usual names and the digital circuit symbols are also included (following the two global standards).

Unary Boolean Functions

Figure 1.11: Unary Boolean Functions.

1.4.2 Binary Boolean Functions (n = 2)

Following the presentation of the unary functions, the following four tables show all possible functions for n=2, the so-called binary functions:

binary Boolean Functions

Binary Boolean Functions

Figure 1.12: Binary Boolean Functions (Part 1 and 2).


Binary Boolean Functions

Binary Boolean Functions

Figure 1.13: Binary Boolean Functions (Part 3 and 4).

1.4.3 Boolean Functions with n >= 3

It has been shown that the number of all definable Boolean Functions will increase very strongly with increasing number of arguments. For n=3 there are already M=256 possible functions, most of them without importance.

In Digital Design a simplification has been accepted, limiting all applications, including those with functions n>=3, to the known functions with n=2 and their corresponding circuit symbols, but at the same time increasing the number of input variables (see below, AND or OR functions, respectively).


ContentsPrevious Chapter Next Chapter