PlanetMath (more info)
 Math for the people, by the people.
Encyclopedia | Requests | Forums | Docs | Wiki | Random | RSS  
Login
create new user
name:
pass:
forget your password?
Main Menu
Owner confidence rating: Very high Entry average rating: Very high
Venn diagram (Definition)

Note: Currently, overlapping colors do not seem to be showing up properly in html mode. Therefore, this entry is best viewed using page images mode.

A Venn diagram is a visual tool used in describing how two or more sets are logically related to one another. The simplest example is a Venn diagram for two sets. Each set is represented by a planar region bounded by a circle, so that the two regions overlap. In the diagram below, set $ A$ is represented by the reddish circular disc and set $ B$ is represented by the bluish circular disc:


\begin{pspicture} % latex2html id marker 70 (0,0)(6,4) \pscircle[fillstyle=vline... ...(3,2){$A\cap B$} \rput(5,2){$B$} \rput(0,0){$.$} \rput(6,4){$.$} \end{pspicture}

The overlapping region represents the intersection of the sets $ A$ and $ B$, denoted by $ A\cap B$.

Typically, the two sets are subsets of some bigger set $ U$, called a universe. Therefore, the corresponding Venn diagram above is shown to be sitting inside a larger rectangular region representing the universe:


\begin{pspicture} % latex2html id marker 89 (0,0)(8,6) \pspolygon(0,0)(8,0)(8,6)... ...t(7,5){$4$} \rput(8.5,5.75){$U$} \rput(0,0){$.$} \rput(8,6){$.$} \end{pspicture}

Notice that the region representing the universe $ U$ is partitioned into $ 4$ mutually exclusive regions:

Region Set being represented Symbol
$ 1$ the intersection of $ A$ and $ B$ $ A\cap B$
$ 2$ $ A$ excluding $ B$ $ A\cap B'$
$ 3$ $ B$ excluding $ A$ $ A'\cap B$
$ 4$ neither $ A$ nor $ B$ $ A'\cap B'$

A Venn diagram for three sets is slightly more complicated, and is illustrated below:


\begin{pspicture} % latex2html id marker 109 (0,0)(8,7.75) \pspolygon(0,0)(8,0)(... ....25){$8$} \rput(8.5,7.5){$U$} \rput(0,0){$.$} \rput(8,7.75){$.$} \end{pspicture}

As indicated by the diagram, $ U$ is divided into $ 8$ regions. The $ 8$ regions represent the following sets (where $ A,B,C$ are sets represented by circular discs Red, Blue, Yellow, respectively):

Region Set Region Set Region Set Region Set
$ 1$ $ A\cap B'\cap C'$ $ 2$ $ A\cap B\cap C'$ $ 3$ $ A'\cap B\cap C'$ $ 4$ $ A\cap B'\cap C$
$ 5$ $ A\cap B\cap C$ $ 6$ $ A'\cap B\cap C$ $ 7$ $ A'\cap B'\cap C$ $ 8$ $ A'\cap B'\cap C'$

More generally, a Venn diagram may be constructed for any finite number of sets, and the regions representing the sets need not be circular discs, as long as each region is the interior of a simple closed curve (in the plane $ \mathbb{R}^2$). Specifically, a Venn diagram $ V$ for $ n$ sets is a set of $ n$ simple closed curves $ C_1,\ldots, C_n$ in $ \mathbb{R}^2$ such that

$\displaystyle A_1(k_1)\cap \cdots \cap A_n(k_n) \ne \varnothing$
for every combination of $ (k_1,\ldots,k_n)$, where each $ k_i\in \lbrace 0,1\rbrace$, and that $ A_i(0)$ is the region $ A_i$ bounded by $ C_i$, and $ A_i(1)$ is $ A_i'$, the complement of $ A_i$ in $ \mathbb{R}^2$. In a nutshell, this says that the curves $ C_1,\ldots,C_n$ partition $ \mathbb{R}^2$ into $ 2^n$ non-empty regions. This is in fact possible for every $ n<\infty$. Furthermore, if we treat a straight line as a circle whose center is located at $ \infty$, the possibility of constructing a Venn diagram for $ n$ sets is the same as saying the possibility of constructing $ n$ straight lines in $ \mathbb{R}^2$ such that the lines partition the plane into $ 2^n$ regions.

Remark. Note that given a Venn diagram for $ n$ sets, no assumptions are made concerning these $ n$ sets, although it is generally assumed that the logical structure of these sets correspond to the logical structure of the regions bounded by the closed curves in the Venn diagram. For example, it is possible that $ A\cap B=\varnothing$, or that $ A\subseteq B$. A Venn diagram for both examples would look the same, although $ A\cap B$ represents $ \varnothing$ in the former case, and $ A$ in the latter one.



"Venn diagram" is owned by CWoo. [ full author list (3) ]
(view preamble)

View style:

Log in to rate this entry.
(view current ratings)

Cross-references: closed curves, structure, center, line, straight, partition, curves, complement, combination, plane, simple closed curve, interior, number, finite, NOR, universe, subsets, intersection, represents, disc, circle, bounded, region, planar
There are 8 references to this entry.

This is version 13 of Venn diagram, born on 2008-01-26, modified 2008-03-13.
Object id is 10215, canonical name is VennDiagram.
Accessed 1527 times total.

Classification:
AMS MSC03E99 (Mathematical logic and foundations :: Set theory :: Miscellaneous)
 00A06 (General :: General and miscellaneous specific topics :: Mathematics for nonmathematicians )
 00A05 (General :: General and miscellaneous specific topics :: General mathematics)

Pending Errata and Addenda
None.
[ View all 1 ]
Discussion
Style: Expand: Order:
forum policy
venn diagrams by Jon Awbrey on 2008-02-14 11:29:04
Hi, Chi,

I downloaded a couple of XY-pic and PSTricks docs but haven't gotten around to reading them yet, so maybe I'll try this the lazy way.

I've been looking at the code for your 3-circle venn diagram.

Is there an easy way to fill individual cells with shading?

For example, I need to convert the venn diagrams in MinimalNegationOperator from ASCII to better form.

TIA,

Jon Awbrey
[ reply | up ]

Interact
post | correct | update request | add derivation | add example | add (any)