|
|
|
| x | y | x + y (or) | x * y (and) |
| 0 | 0 | 0 | 0 |
| 0 | 1 | 1 | 0 |
| 1 | 0 | 1 | 0 |
| 1 | 1 | 1 | 1 |
This definition of + and * may seem a bit artificial. Note that + is the same as OR, and also the same as UNION, and that * is the same as AND, and the same as INTERSECTION. Thinking of + and * in these terms may be a bit more intuitive.
If you think of 0 as 'false', and 1 as 'true', is "0 AND 1" true? No, something in there is false, so "0 AND 1" is false. But is "0 OR 1" true? Yes, "0 OR 1" is true.
In the Standard True/False Model, the ' is often replaced by a bar over the variable. Hence, when x = 0, x = 1, and when x = 1, x = 0. This is equivalent of writing x = 0, x' = 1, and x = 1, x' = 0.
All Boolean expressions and equations has a dual, obtained by interchanging + and *, and interchanging 0 and 1. Hence, (k) and (l), (m) and (n), (o) and (p) are duals.
If you have a variable x, then x and x are called literals. A minterm in the variables x1, x2,...,xn is a Boolean product which contains exactly one of the literals xi and xi for each i = 1,...,n. A minterm is also called an atom or a standard product term. (-Perkal, p. 87)
"A Boolean sum of distinct minterms in the variables x1, x2,..., xn is called a Disjunctive Normal Form (DNF) in the variables x1, x2,..., xn.(...) (A DNF is often referred to as canonical form.)" (-Perkal, p. 87)
Karnaugh maps provides a visual way of finding a minimal Boolean expression.
Adjacent terms
Remember that xy + xy =
x
xy and xy are adjacent
terms, because they differ in only one literal,
and the differing literal is t in one term and t
in the other term.
Next: Discrete Maths Logic
Other suggested links: Logic, Logikk
og argumentasjon (Norwegian).
P
a b
c d
e f
g h
l m
p q
³ £Ã
Î
Ï Ç
È É
Ê Ë
Ì Í
® ±
Û Ü
Ý Þ
ß å
ò ¥Æ