Skip to main content

Registration is now open for this year's LibreFest! Join us virtually the week of July 13.

Register here
Medicine LibreTexts

4.6: Venn Diagrams

  • Page ID
    140379
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\dsum}{\displaystyle\sum\limits} \)

    \( \newcommand{\dint}{\displaystyle\int\limits} \)

    \( \newcommand{\dlim}{\displaystyle\lim\limits} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \(\newcommand{\longvect}{\overrightarrow}\)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)

    Sometimes, when the probability problems are complex, it can be helpful to graph the situation. Tree diagrams and Venn diagrams are two tools that can be used to visualize and solve conditional probabilities.

    Tree Diagrams

    A tree diagram is a special type of graph used to determine the outcomes of an experiment. It consists of "branches" that are labeled with either frequencies or probabilities. Tree diagrams can make some probability problems easier to visualize and solve. The following example illustrates how to use a tree diagram.

    Exercise \(\PageIndex{1}\)

    In a patient registry, there are 11 medical files. Three files indicate high health Risk (R) and eight files indicate a healthy Baseline (B). Select two files, one at a time, with replacement. "With replacement" means that you digitally return the first file to the registry before you select the second file.

    The tree diagram using frequencies that shows all the possible outcomes follows.

    This is a tree diagram with branches showing frequencies of each draw. The first branch shows two lines: 8B and 3R. The second branch has a set of two lines (8B and 3R) for each line of the first branch. Multiply along each line to find 64BB, 24BR, 24RB, and 9RR.
    Figure \(\PageIndex{1}\): Total = 64 + 24 + 24 + 9 = 121

    The first set of branches represents the first draw. The second set of branches represents the second draw. Each of the outcomes is distinct. In fact, we can list each health risk file drawn as \(R 1, R 2\), and \(R 3\) and each baseline health file drawn as \(B 1, B 2, B 3, B 4, B 5, B 6, B 7\), and \(B 8\). Then the nine \(R R\) outcomes can be written as:

    R1R1; R1R2; R1R3; R2R1; R2R2; R2R3; R3R1; R3R2; R3R3

    The other outcomes are similar.

    There are a total of 11 medical files. Draw two files, one at a time, with replacement. There are \(11(11)=\) 121 outcomes, the size of the sample space.

    Problem
    a. List the \(24 B R\) outcomes: \(B 1 R 1, B 1 R 2, B 1 R 3, \ldots\)
    b. Using the tree diagram, calculate \(P(R R)\).
    c. Using the tree diagram, calculate \(P(R B\) OR \(B R)\).
    d. Using the tree diagram, calculate \(P(R\) on 1st draw AND \(B\) on 2nd draw).
    e. Using the tree diagram, calculate \(P(R\) on 2nd draw GIVEN \(B\) on 1st draw).
    f. Using the tree diagram, calculate \(P(B B)\).

    Answer

    a. \(B 1 R 1 ; B 1 R 2 ; B 1 R 3 ; B 2 R 1 ; B 2 R 2 ; B 2 R 3 ; B 3 R 1 ; B 3 R 2 ; B 3 R 3 ; B 4 R 1 ; B 4 R 2 ; B 4 R 3 ; B 5 R 1 ; B 5 R 2 ;\) B5R3; B6R1; B6R2; B6R3; B7R1; B7R2; B7R3; B8R1; B8R2; B8R3

    b. \(P(R R)=\left(\frac{3}{11}\right)\left(\frac{3}{11}\right)=\frac{9}{121}\)

    c. \(P(R B\) OR \(B R)=\left(\frac{3}{11}\right)\left(\frac{8}{11}\right)+\left(\frac{8}{11}\right)\left(\frac{3}{11}\right)=\frac{48}{121}\)

    d. \(P(R\) on 1st draw AND \(B\) on 2nd draw \()=P(R B)=\left(\frac{3}{11}\right)\left(\frac{8}{11}\right)=\frac{24}{121}\)

    e. \(P(R\) on 2 nd draw GIVEN \(B\) on 1 st draw \()=P(R\) on 2 nd \(\mid B\) on 1 st \()=\frac{24}{88}=\frac{3}{11}\)

    This problem is a conditional one. The sample space has been reduced to those outcomes that already have a healthy Baseline drawn on the first draw. There are \(24+64=88\) possible outcomes ( \(24 B R\) and \(64 B B\) ). Twenty-four of the 88 possible outcomes are \(B R . \frac{24}{88}=\frac{3}{11}\).

    f. \(P(B B)=\frac{64}{121}\)

    g. \(P(B\) on 2 nd draw \(\mid R\) on 1st draw \()=\frac{8}{11}\)

    There are \(9+24\) outcomes that have \(R\) on the first draw (9 \(R R\) and \(24 R B\) ). The sample space is then \(9+24=33.24\) of the 33 outcomes have \(B\) on the second draw. The probability is then \(\frac{24}{33}\).

    Exercise \(\PageIndex{2}\)

    A patient registry has 11 medical files: three indicate a high health Risk (R) and eight indicate a healthy Baseline (B). Draw two files, one at a time, this time without replacement, from the registry. "Without replacement" means that you do not return the first file to the registry before you select the second file. Because the first file is kept out, the total number of files available for the second draw decreases from 11 to 10, changing the probabilities for the second stage.

    The numbers at the ends of the branches are calculated by multiplying the numbers on the two corresponding branches, for example, \(\left(\frac{3}{11}\right)\left(\frac{2}{10}\right)=\frac{6}{110}\).

    This is a tree diagram with branches showing probabilities of each draw. The first branch shows 2 lines: B 8/11 and R 3/11. The second branch has a set of 2 lines for each first branch line. Below B 8/11 are B 7/10 and R 3/10. Below R 3/11 are B 8/10 and R 2/10. Multiply along each line to find BB 56/110, BR 24/110, RB 24/110, and RR 6/110.
    Figure \(\PageIndex{3}\):Total \(=\frac{56+24+24+6}{110}=\frac{110}{110}=1\)

    Calculate the following probabilities using the tree diagram.

    Problem

    a. \(P(R R)=\) \(\_\_\_\_\)

    b. Fill in the blanks:

    \[P(R B \text { OR } B R)=\left(\frac{3}{11}\right)\left(\frac{8}{10}\right)+\left(\_\right)\left(\_\right)=\frac{48}{110}\]

    c. \(P(R\) on \(2 \mathrm{nd} \mid B\) on 1 st\()=\)

    d. Fill in the blanks.

    \[P(R \text { on 1st AND } B \text { on 2nd })=P(R B)=(\sqsubseteq)(\square)=\frac{24}{110}\]

    e. Find \(P(B B)\).

    f. Find \(P(B\) on \(2 \mathrm{nd} \mid R\) on 1 st\()\).

    Answer

    a. \(P(R R)=\left(\frac{3}{11}\right)\left(\frac{2}{10}\right)=\frac{6}{110}\)

    b. \(P(R B\) OR \(B R)=\left(\frac{3}{11}\right)\left(\frac{8}{10}\right)+\left(\frac{8}{11}\right)\left(\frac{3}{10}\right)=\frac{48}{110}\)

    c. \(P(R\) on \(2 \mathrm{nd} \mid B\) on 1 st\()=\frac{3}{10}\)

    d. \(P(R\) on 1 st \(\mathrm{AND} B\) on 2nd \()=P(R B)=\left(\frac{3}{11}\right)\left(\frac{8}{10}\right)=\frac{24}{110}\)

    e. \(P(B B)=\left(\frac{8}{11}\right)\left(\frac{7}{10}\right)\)

    f. Using the tree diagram, \(P(B\) on \(2 \mathrm{nd} \mid R\) on 1 st\()=P(R \mid B)=\frac{8}{10}\).

    If we are using probabilities, we can label the tree in the following general way.

    This is a tree diagram for a two-step experiment. The first branch shows first outcome: P(B) and P(R). The second branch has a set of 2 lines for each line of the first branch: the probability of B given B = P(BB), the probability of R given B = P(RB), the probability of B given R = P(BR), and the probability of R given R = P(RR).
    Figure \(\PageIndex{4}\):
    • \(P(R \mid R)\) here means \(P(R\) on \(2 \mathrm{nd} \mid R\) on 1 st\()\)
    • \(P(B \mid R)\) here means \(P(B\) on \(2 \mathrm{nd} \mid R\) on 1 st\()\)
    • \(P(R \mid B)\) here means \(P(R\) on \(2 \mathrm{nd} \mid B\) on 1 st\()\)
    • \(P(B \mid B)\) here means \(P(B\) on \(2 \mathrm{nd} \mid B\) on 1 st\()\)

    Venn Diagrams

    A Venn diagram is a picture that represents the outcomes of an experiment. It generally consists of a box that represents the sample space S together with circles or ovals. The circles or ovals represent events. Venn diagrams also help us to convert common English words into mathematical terms that help add precision.

    Exercise \(\PageIndex{4}\)

    Suppose an experiment has the outcomes \(1,2,3, \ldots, 12\) where each outcome has an equal chance of occurring. Let event \(A=\{1,2,3,4,5,6\}\) and event \(B=\{6,7,8,9\}\). Then \(A\) intersect \(B=A \cap B=\{6\}\) and \(A\) union \(B=A \cup B=\{1,2,3,4,5,6,7,8,9\}\). The Venn diagram is as follows:

    Answer
    A Venn diagram. An oval representing set A contains the values 1, 2, 3, 4, 5, and 6. An oval representing set B also contains the 6, along with 7, 8, and 9. The values 10, 11, and 12 are present but not contained in either set.
    Figure \(\PageIndex{7}\)
    Exercise \(\PageIndex{5}\)

    Flip two fair coins. Let \(A=\) tails on the first coin. Let \(B=\) tails on the second coin. Then \(A=\{T T, T H\}\) and \(B\) \(=\{T T, H T\}\). Therefore, \(A \cap B=\{\mathrm{TT}\} . A \cup B=\{\mathrm{TH}, \mathrm{TT}, \mathrm{HT}\}\).

    The sample space when you flip two fair coins is \(X=\{H H, H T, T H, T T\}\). The outcome \(H H\) is in NEITHER \(A\) NOR \(B\). The Venn diagram is as follows:

    Answer
    This is a venn diagram. An oval representing set A contains Tails + Heads and Tails + Tails. An oval representing set B also contains Tails + Tails, along with Heads + Tails. The universe S contains Heads + Heads, but this value is not contained in either set A or B.
    Figure \(\PageIndex{8}\)
    Example \(\PageIndex{1}\)

    Forty percent of the students at a local college belong to a health club and \(\mathbf{5 0} \boldsymbol{\%}\) work part time. Five percent of the students work part time and belong to a health club. Draw a Venn diagram showing the relationships. Let \(C=\) student belongs to a club and \(P T=\) student works part time.

    This is a venn diagram with one set containing students in clubs and another set containing students working  part-time. Both sets share students who are members of clubs and also work part-time. The universe is labeled S.
    Figure \(\PageIndex{9}\): Copy and Paste Caption here. (Copyright; author via source)

    If a student is selected at random, find

    • the probability that the student belongs to a health club. \(P(C)=0.40\)
    • the probability that the student works part time. \(P(P T)=0.50\)
    • the probability that the student belongs to a health club AND works part time. \(P(C\) AND \(P T)=0.05\)
    • the probability that the student belongs to a health club given that the student works part time.

    \[P(C \mid P T)=\frac{P(C \text { AND } P T)}{P(P T)}=\frac{0.05}{0.50}=0.1\]

    • the probability that the student belongs to a health club OR works part time. \(P(C\) OR \(P T)=P(C)+P(P T)\) \(P(C\) AND \(P T)=0.40+0.50-0.05=0.85\)
    Exercise \(\PageIndex{6}\)

    A person with type O blood and a negative Rh factor (Rh-) can donate blood to any person with any blood type. Four percent of African Americans have type O blood and a negative RH factor, 5−10% of African Americans have the Rh- factor, and 51% have type O blood.


    This is an empty Venn diagram showing two overlapping circles. The left circle is labeled O and the right circle is labeled RH-.
    Figure \(\PageIndex{9}\)

    The “O” circle represents the African Americans with type O blood. The “Rh-“ oval represents the African Americans with the Rh- factor.

    We will take the average of 5% and 10% and use 7.5% as the percent of African Americans who have the Rh- factor. Let O = African American with Type O blood and R = African American with Rh- factor.

    a. \(P(O)=\) \(\qquad\)
    b. \(P(R)=\) \(\qquad\)
    c. \(P(O \cap R)=\) \(\qquad\)
    d. \(P(O \cup R)=\) \(\qquad\)
    e. In the Venn Diagram, describe the overlapping area using a complete sentence.
    f. In the Venn Diagram, describe the area in the rectangle but outside both the circle and the oval using a complete sentence.

    Answer

    a. 0.51; b. 0.075; c. 0.04; d. 0.545; e. The area represents the African Americans that have type O blood and the Rh- factor. f. The area represents the African Americans that have neither type O blood nor the Rh- factor.


    This page titled 4.6: Venn Diagrams is shared under a CC BY-NC 4.0 license and was authored, remixed, and/or curated by OpenStax via source content that was edited to the style and standards of the LibreTexts platform.