Venn diagram: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>John R. Brews
(→‎Multiple sets: correction)
imported>John R. Brews
(Rewrite section for consistency)
Line 1: Line 1:
{{subpages}}
{{subpages}}
{{TOC|right}}
{{TOC|right}}
{{Image|Venn diagrams XY.PNG|right|150px|Venn diagrams; set ''X'' is the interior of the blue circle (left), set ''Y'' is the interior of the red circle (right). The rectangle represents the universal set. The sets designated by symbols on the left are colored orange.}}
{{Image|Venn diagram for subsets of two sets.PNG|right|150px|Venn diagram showing subsets of two sets ''X'' and ''Y''. Set ''X'' is the interior of the red circle (left), set ''Y'' is the interior of the green circle (right).}}
A '''Venn diagram''' is a visualization of logical concepts and propositions using arrangements of intersecting closed curves in a plane.
A '''Venn diagram''' is a visualization of logical concepts and propositions using arrangements of intersecting closed curves in a plane.
<!--   
<!--   
Line 15: Line 15:


==Examples using two sets==
==Examples using two sets==
Suppose X and Y are [[Set (mathematics)|sets]], for example,  collections of some description. Various operations allow us to build new sets from them, and these definitions are illustrated using the three Venn diagrams in the figure.<ref name=Oakhill/> If we assume the rims contain ''no'' points, the figure is straightforward. However, some minutiae arise if the rims are considered to be additional sets with points of their own. These details are described in a footnote.<ref name=details/>
Suppose ''X'' and ''Y'' are [[Set (mathematics)|sets]], for example,  collections of some description. Various operations allow us to build new sets from them, and these definitions are illustrated using the Venn diagram in the figure.<ref name=Oakhill/>  


==== Union ====
==== Union ====


The union of X and Y, written X&cup;Y, contains all the elements in X and all those in Y.
The union of ''X'' and ''Y'', written ''X<big>&cup;</big>Y'', contains all the elements in ''X'' and all those in ''Y''. It consists of all three numbered regions ‘1’,‘2’, and ‘3’.


==== Intersection ====
==== Intersection ====


The intersection of X and Y, written X&cap;Y, contains all the elements that are common to both X and Y.
The intersection of ''X'' and ''Y'', written ''X<big>&cap;</big>Y'', contains all the elements that are common to both ''X'' and ''Y''. It consists of only the numbered region ‘2’.


==== Difference ====
==== Difference ====


The difference X minus Y, written X&minus;Y or X\Y, contains all those elements in X that are not also in Y.
The difference ''X'' minus ''Y'', written ''X&minus;Y'' or ''X\Y'', contains all those elements in ''X'' that are not also in ''Y''. It consists of the numbered region ‘1’. Likewise, ''Y&minus;X'' consists of the region numbered ‘3’.


== Complement and universal set ==
== Complement and universal set ==


The universal set (if it exists), usually denoted U, is a set of which everything under discussion is a member. In pure set theory, normally sets are the only objects considered. In that case, U would be the set of all sets. However, one may also consider sets that are collections of numbers, or colors, or books, for example; see [[Set (mathematics)]].
The universal set (if it exists), usually denoted ''U'', is a set of which everything under discussion is a member. In pure set theory, normally sets are the only objects considered. In that case, ''U'' would be the set of all sets. However, one may also consider sets that are collections of numbers, or colors, or books, for example; see [[Set (mathematics)]].


In the presence of a universal set we can define X&prime;, the complement of X, to be U&minus;X. Set X&prime; contains everything in the universe apart from the elements of X.
In the presence of a universal set we can define ''X&prime;'', the complement of ''X'', to be ''U&minus;X''. Set ''X&prime;'' contains everything in the universe apart from the elements of ''X''.


==Multiple sets==
==Multiple sets==
Line 47: Line 47:
{{Reflist|refs=
{{Reflist|refs=


<ref name=details>
If we suppose the perimeters of the circles to contain ''no'' points, no complication occurs. If, on the other hand, we consider them to have non-zero width, the figure contains ''four'' sets (besides the universal set), set ''X'' (white) of points interior to the blue circle, set ''Y'' (also white) of points interior to the red circle, set ''RimX'' (blue) and  set ''RimY'' (red). These sets are not disjoint when the two circles overlap, for example, as they do in the figure. In cases of overlap such as the depicted union ''X&cup;Y'', the red rim enters the interior of the blue circle. Hence, those points in set ''RimY'' that are also inside the blue circle are also in set ''X''. They have dual identity, and can be taken either as red or as white points. The figure shows points in the designated union ''X&cup;Y'' as orange. It includes all points in ''X'' or in ''Y'' or in both, and thus includes the ambiguous, dual-identity points of set ''RimY''. Accordingly, these dual-identity points are part of the union ''X&cup;Y'' and, to make this point, the spaces in the dashed part of the perimeter are colored orange, as are all the points in the union. Likewise for the dual-identity points of set ''RimX'' that are part of ''X&cup;Y''. In set ''X−Y'' of the third panel, as a different example, the spaces in the dashed perimeters are colored to show their dual identities as well: the dashed perimeter portion of blue set ''RimX'' is also part of set ''Y'' as shown by white spaces. Likewise, the dashed part of red set ''RimY'' also is part of set ''X'', and hence also part of set ''X−Y'' as shown by the orange-colored spaces.
</ref>
<ref name=Hurley>
<ref name=Hurley>
{{cite book |title=A concise introduction to logic |author=Patrick J. Hurley |chapter=Eminent logicians: John Venn |url=http://books.google.com/books?id=XzWWcritSFoC&pg=PT278 |isbn=0495503835 |pages=p. 252 |publisher=Cengage learning |year=2007 |edition=10th ed}}
{{cite book |title=A concise introduction to logic |author=Patrick J. Hurley |chapter=Eminent logicians: John Venn |url=http://books.google.com/books?id=XzWWcritSFoC&pg=PT278 |isbn=0495503835 |pages=p. 252 |publisher=Cengage learning |year=2007 |edition=10th ed}}

Revision as of 09:02, 12 July 2011

This article is developing and not approved.
Main Article
Discussion
Related Articles  [?]
Bibliography  [?]
External Links  [?]
Citable Version  [?]
 
This editable Main Article is under development and subject to a disclaimer.
(PD) Image: John R. Brews
Venn diagram showing subsets of two sets X and Y. Set X is the interior of the red circle (left), set Y is the interior of the green circle (right).

A Venn diagram is a visualization of logical concepts and propositions using arrangements of intersecting closed curves in a plane.

History

The use of Venn diagrams was introduced by John Venn (1834-1923).[1] A brief biography is found in Hurley.[2]

Examples using two sets

Suppose X and Y are sets, for example, collections of some description. Various operations allow us to build new sets from them, and these definitions are illustrated using the Venn diagram in the figure.[3]

Union

The union of X and Y, written XY, contains all the elements in X and all those in Y. It consists of all three numbered regions ‘1’,‘2’, and ‘3’.

Intersection

The intersection of X and Y, written XY, contains all the elements that are common to both X and Y. It consists of only the numbered region ‘2’.

Difference

The difference X minus Y, written X−Y or X\Y, contains all those elements in X that are not also in Y. It consists of the numbered region ‘1’. Likewise, Y−X consists of the region numbered ‘3’.

Complement and universal set

The universal set (if it exists), usually denoted U, is a set of which everything under discussion is a member. In pure set theory, normally sets are the only objects considered. In that case, U would be the set of all sets. However, one may also consider sets that are collections of numbers, or colors, or books, for example; see Set (mathematics).

In the presence of a universal set we can define X′, the complement of X, to be U−X. Set X′ contains everything in the universe apart from the elements of X.

Multiple sets

(PD) Image: John R. Brews
Venn diagram for three sets X, Y, and Z.
(PD) Image: John R. Brews
Venn diagram for four sets X, Y, Z, and W.

The various possible subsets of three sets X, Y and Z are shown in the left-hand figure as numbered spaces. For example, the area labeled ‘1’ is the subset of all points that are in X but in neither Y nor Z. The subset labeled ‘3’ is the set of all points common to all of X, Y and Z. Every conceivable arrangement of inclusion and exclusion from any combination of X, Y and Z can be assembled from the numbered subsets in the diagram.

The use of circles cannot be extended to more than three sets, however, because insufficient regions can be created to house all the possibilities for subsets. For four sets, ellipses can be used as shown in the figure at right. The numbers correspond to the figure for three sets, but the extra subsets related to set W have not been numbered. For example, as before, the subset labeled ‘3’ is the set of all points common to all of X, Y and Z, but not in W. The asterisk ‘*’ labels the subset of all points common to all four sets X, Y, Z, and W.

As the number of sets increases, the Venn diagrams become complicated and hard to follow, the curves become more distorted, and a simple visualization becomes difficult, or perhaps impossible, to achieve.

References

  1. John Venn (1883). "On the employment of geometrical diagrams for the sensible representation of logical propositions". Proceedings of the Cambridge Philosophical Society: Mathematical and physical sciences 4: pp. 47 ff. and also John Venn (1881). “Chapter V: Diagrammatic representation”, Symbolic logic. Macmillan, pp. 100 ff.  Symbolic Logic available also from Chelsea Pub. Co. ISBN 0828402515 (1979) and from the American Mathematical Society ISBN 0821841998 (2006).
  2. Patrick J. Hurley (2007). “Eminent logicians: John Venn”, A concise introduction to logic, 10th ed. Cengage learning, p. 252. ISBN 0495503835. 
  3. Alan Garnham, Jane Oakhill (1994). “§6.2.3b: Venn diagrams”, Thinking and reasoning. Wiley-Blackwell, pp. 105 ff. ISBN 0631170030. 

Note: CZ:List-defined references methodology is used for references here.