An Euler diagram is a diagrammatic means of representing sets and their relationships. They are particularly useful for explaining complex hierarchies and overlapping definitions. They are similar to another set diagramming technique, Venn diagrams. Unlike Venn diagrams, which show all possible relations between different sets, the Euler diagram shows only relevant relationships.
The first use of "Eulerian circles" is commonly attributed to Swiss mathematician Leonhard Euler (1707–1783). In the United States, both Venn and Euler diagrams were incorporated as part of instruction in set theory as part of the new math movement of the 1960s. Since then, they have also been adopted by other curriculum fields such as reading[1] as well as organizations and businesses.
Euler diagrams consist of simple closed shapes in a two-dimensional plane that each depict a set or category. How or whether these shapes overlap demonstrates the relationships between the sets. Each curve divides the plane into two regions or "zones": the interior, which symbolically represents the elements of the set, and the exterior, which represents all elements that are not members of the set. Curves which do not overlap represent disjoint sets, which have no elements in common. Two curves that overlap represent sets that intersect, that have common elements; the zone inside both curves represents the set of elements common to both sets (the intersection of the sets). A curve completely within the interior of another is a subset of it.
Venn diagrams are a more restrictive form of Euler diagrams. A Venn diagram must contain all 2n logically possible zones of overlap between its n curves, representing all combinations of inclusion/exclusion of its constituent sets. Regions not part of the set are indicated by coloring them black, in contrast to Euler diagrams, where membership in the set is indicated by overlap as well as color.
As shown in the illustration to the right, Sir William Hamilton erroneously asserted that the original use of the circles to "sensualize... the abstractions of logic"[2] was not Euler (1707–1783) but rather Weise (1642–1708);[3] however the latter book was actually written by Johann Christian Lange, rather than Weise. He references Euler's Letters to a German Princess.[4]
In Hamilton's illustration of the four categorical propositions which can occur in a syllogism as symbolized by the drawings , , , and are:
: The Universal Affirmative
Example: "All metals are elements."
: The Universal Negative
Example: "No metals are compound substances."
: The Particular Affirmative
Example: "Some metals are brittle."
: The Particular Negative
Example: "Some metals are not brittle."[5]
Venn (1834–1923) comments on the remarkable prevalence of the Euler diagram:
"... of the first sixty logical treatises, published during the last century or so, which were consulted for this purpose–somewhat at random, as they happened to be most accessible–it appeared that thirty four appealed to the aid of diagrams, nearly all of these making use of the Eulerian scheme."[6]
But nevertheless, he contended, "the inapplicability of this scheme for the purposes of a really general logic"[6] and then noted that,
“It fits in, but badly, even with the four propositions of the common logic to which it is normally applied.”[6]
Venn ends his chapter with the observation illustrated in the examples below—that their use is based on practice and intuition, not on a strict algorithmic practice:
“In fact ... those diagrams not only do not fit in with the ordinary scheme of propositions which they are employed to illustrate, but do not seem to have any recognized scheme of propositions to which they could be consistently affiliated.”[6]
Finally, in his Venn gets to a crucial criticism (italicized in the quote below); observe in Hamilton's illustration that the (Particular Negative) and (Particular Affirmative) are simply rotated:
“We now come to Euler's well-known circles which were first described in his Lettres a une Princesse d'Allemagne (Letters 102–105).[4] The weak point about these consists in the fact that they only illustrate in strictness the actual relations of classes to one another, rather than the imperfect knowledge of these relations which we may possess, or wish to convey, by means of the proposition. Accordingly they will not fit in with the propositions of common logic, but demand the constitution of a new group of appropriate elementary propositions. ... This defect must have been noticed from the first in the case of the particular affirmative and negative, for the same diagram is commonly employed to stand for them both, which it does indifferently well”.[italics added][7] [6] Whatever the case, armed with these observations and criticisms, Venn[6] then demonstrates how he derived what has become known as his Venn diagrams from the “... old-fashioned Euler diagrams.” In particular Venn gives an example, shown at the left.
By 1914, Couturat (1868–1914) had labeled the terms as shown on the drawing at the right. Moreover, he had labeled the exterior region (shown as ''') as well. He succinctly explains how to use the diagram – one must strike out the regions that are to vanish:
"Venn's method is translated in geometrical diagrams which represent all the constituents, so that, in order to obtain the result, we need only strike out (by shading) those which are made to vanish by the data of the problem."[italics added]
Given the Venn's assignments, then, the unshaded areas inside the circles can be summed to yield the following equation for Venn's example:
" is and is : therefore is " has the equation for the unshaded area inside the circles (but this is not entirely correct; see the next paragraph).
In Venn the background surrounding the circles, does not appear: That is, the term marked "0", Nowhere is it discussed or labeled, but Couturat corrects this in his drawing. The correct equation must include this unshaded area shown in boldface:
" is and is : therefore is " has the equation
In modern use, the Venn diagram includes a "box" that surrounds all the circles; this is called the universe of discourse or the domain of discourse.
Couturat observed that, in a direct algorithmic (formal, systematic) manner, one cannot derive reduced Boolean equations, nor does it show how to arrive at the conclusion " is ". Couturat concluded that the process "has ... serious inconveniences as a method for solving logical problems":
"It does not show how the data are exhibited by canceling certain constituents, nor does it show how to combine the remaining constituents so as to obtain the consequences sought. In short, it serves only to exhibit one single step in the argument, namely the equation of the problem; it dispenses neither with the previous steps, i. e., "throwing of the problem into an equation" and the transformation of the premises, nor with the subsequent steps, i. e., the combinations that lead to the various consequences. Hence it is of very little use, inasmuch as the constituents can be represented by algebraic symbols quite as well as by plane regions, and are much easier to deal with in this form."
Thus the matter would rest until 1952 when Maurice Karnaugh (1924–2022) would adapt and expand a method proposed by Edward W. Veitch; this work would rely on the truth table method precisely defined by Emil Post[8] and the application of propositional logic to switching logic by (among others) Shannon, Stibitz, and Turing.For example, Hill & Peterson (1968)[9] present the Venn diagram with shading and all. They give examples of Venn diagrams to solve example switching-circuit problems, but end up with this statement:
"For more than three variables, the basic illustrative form of the Venn diagram is inadequate. Extensions are possible, however, the most convenient of which is the Karnaugh map, to be discussed in Chapter 6."[9] In Chapter 6, section 6.4 "Karnaugh map representation of Boolean functions" they begin with:
"The Karnaugh map1 [<sup>1</sup>Karnaugh 1953] is one of the most powerful tools in the repertory of the logic designer. ... A Karnaugh map may be regarded either as a pictorial form of a truth table or as an extension of the Venn diagram."[9]
The history of Karnaugh's development of his "chart" or "map" method is obscure. The chain of citations becomes an academic game of "credit, credit; ¿who's got the credit?": referenced, Veitch, referenced,[10] and, in turn referenced (among other authors of logic texts) . In Veitch's method the variables are arranged in a rectangle or square; as described in Karnaugh map, Karnaugh in his method changed the order of the variables to correspond to what has become known as (the vertices of) a hypercube.
Venn diagrams are a more restrictive form of Euler diagrams. A Venn diagram must contain all 2n logically possible zones of overlap between its n curves, representing all combinations of inclusion/exclusion of its constituent sets. Regions not part of the set are indicated by coloring them black, in contrast to Euler diagrams, where membership in the set is indicated by overlap as well as color. When the number of sets grows beyond 3 a Venn diagram becomes visually complex, especially compared to the corresponding Euler diagram. The difference between Euler and Venn diagrams can be seen in the following example. Take the three sets:
A=\{1,2,5\}
B=\{1,6\}
C=\{4,7\}
The Euler and the Venn diagrams of those sets are:
In a logical setting, one can use model-theoretic semantics to interpret Euler diagrams, within a universe of discourse. In the examples below, the Euler diagram depicts that the sets Animal and Mineral are disjoint since the corresponding curves are disjoint, and also that the set Four Legs is a subset of the set of Animals. The Venn diagram, which uses the same categories of Animal, Mineral, and Four Legs, does not encapsulate these relationships. Traditionally the emptiness of a set in Venn diagrams is depicted by shading in the region. Euler diagrams represent emptiness either by shading or by the absence of a region.
Often a set of well-formedness conditions are imposed; these are topological or geometric constraints imposed on the structure of the diagram. For example, connectedness of zones might be enforced, or concurrency of curves or multiple points might be banned, as might tangential intersection of curves. In the adjacent diagram, examples of small Venn diagrams are transformed into Euler diagrams by sequences of transformations; some of the intermediate diagrams have concurrency of curves. However, this sort of transformation of a Venn diagram with shading into an Euler diagram without shading is not always possible. There are examples of Euler diagrams with 9 sets that are not drawable using simple closed curves without the creation of unwanted zones since they would have to have non-planar dual graphs.
This example shows the Euler and Venn diagrams and Karnaugh map deriving and verifying the deduction "No Xs are Zs".In the illustration and table the following logical symbols are used:
Given a proposed conclusion such as "No X is a Z", one can test whether or not it is a correct deduction by use of a truth table. The easiest method is put the starting formula on the left (abbreviate it as P) and put the (possible) deduction on the right (abbreviate it as Q) and connect the two with logical implication i.e. P → Q, read as IF P THEN Q. If the evaluation of the truth table produces all 1s under the implication-sign (→, the so-called major connective) then P → Q is a tautology. Given this fact, one can "detach" the formula on the right (abbreviated as Q) in the manner described below the truth table.
Given the example above, the formula for the Euler and Venn diagrams is:
"No Ys are Zs" and "All Xs are Ys": (~(y & z) & (x → y)) =defined PAnd the proposed deduction is:
"No Xs are Zs": (~ (x & z)) =defined Q
So now the formula to be evaluated can be abbreviated to:
(~(y & z) & (x → y)) → (~ (x & z)): P → Q
IF ("No Ys are Zs" and "All Xs are Ys") THEN ("No Xs are Zs")
Square no. | Venn, Karnaugh region | x | y | z | (~ | (y | & | z) | & | (x | → | y)) | → | (~ | (x | & | z)) | |||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
x'y'z' | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | ||||
x'y'z | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | ||||
x'yz' | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | ||||
x'yz | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | ||||
xy'z' | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | ||||
xy'z | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | ||||
xyz' | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | ||||
xyz | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 1 | 1 |
P → Q, P ⊢ Q
For the modus ponens to succeed, both premises P → Q and P must be true. Because, as demonstrated above the premise P → Q is a tautology, "truth" is always the case no matter how x, y and z are valued, but "truth" is only the case for P in those circumstances when P evaluates as "true" (e.g. rows OR OR OR : x'y'z' + x'y'z + x'yz' + xyz' = x'y' + yz').[13]
P → Q, P ⊢ Q
One is now free to "detach" the conclusion "No Xs are Zs", perhaps to use it in a subsequent deduction (or as a topic of conversation).
The use of tautological implication means that other possible deductions exist besides "No Xs are Zs"; the criterion for a successful deduction is that the 1s under the sub-major connective on the right include all the 1s under the sub-major connective on the left (the major connective being the implication that results in the tautology). For example, in the truth table, on the right side of the implication (→, the major connective symbol) the bold-face column under the sub-major connective symbol " ~ " has all the same 1s that appear in the bold-faced column under the left-side sub-major connective & (rows,, and), plus two more (rows and).
By date of publishing: