Skip to main content
Chemistry LibreTexts

19.3: Distribution of Results for Multiple Trials with Many Possible Outcomes

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

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

    \( \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{\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}\)

    It is now easy to extend our results to multiple trials with any number of outcomes. Let the outcomes be \(A\), \(B\), \(C\), ., \(Z\), for which the probabilities in a single trial are \(P_A\), \(P_B\), \(P_C\),\(P_Z\). We again want to write an equation for the total probability after \(n\) trials. We let \(n_A\), \(n_B\), \(n_C\),\(n_Z\) be the number of \(A\), \(B\), \(C\),, \(Z\) outcomes exhibited in \(n_A+n_B+n_C+...+n_Z=n\) trials. If we do not care about the order in which the outcomes are obtained, the probability of \(n_A\), \(n_B\), \(n_C\),, \(n_Z\) outcomes in \(n\) trials is

    \[C\left(n_A,n_B,n_C,\dots ,n_Z\right)P^{n_A}_AP^{n_B}_BP^{n_C}_C\dots P^{n_Z}_Z \nonumber \]

    and the total probability sum is

    \[1={\left(P_A+P_B+P_C+\dots +P_Z\right)}^n=\sum_{n_I}{C\left(n_A,n_B,n_C,\dots ,n_Z\right)P^{n_A}_AP^{n_B}_BP^{n_C}_C\dots P^{n_Z}_Z} \nonumber \]

    where the summation is to be carried out over all combinations of integer values for \(n_A\), \(n_B\), \(n_C\),, \(n_Z\) consistent with \(n_A+n_B+n_C+...+n_Z=n\).

    Let one of the terms for \(n_A\) \(A\)-outcomes, \(n_B\) \(B\)-outcomes, \(n_C\) \(C\)-outcomes, , \(n_Z\)\({}_{\ }\)\(Z\)-outcomes, be

    \[\left(P_{A,a}P_{A,b}\dots P_{A,f}\right)\left(P_{B,g}P_{B,h}\dots P_{B,m}\right)\times \left(P_{C,p}P_{C,q}\dots P_{C,t}\right)\dots \left(P_{Z,u}P_{Z,v}\dots P_{Z,z}\right) \nonumber \]

    where there are \(n_A\) indices in the set \(\{a,\ b,\ \dots ,\ f\}\), \(n_B\) indices in the set \(\{g,\ h,\ \dots ,\ m\}\), \(n_C\) indices in the set \(\{p,\ q,\ \dots ,\ t\}\), , and \(n_Z\) indices in the set \(\{u,\ v,\ \dots ,\ z\}\). There are \(n_A!\) ways to order the \(A\)-outcomes, \(n_B!\) ways to order the \(B\)-outcomes, \(n_C!\) ways to order the \(C\)-outcomes, , and \(n_Z!\) ways to order the \(Z\)-outcomes. So, there are \(n_A!n_B!n_C!\dots n_Z!\) ways to order \(n_A\) \(A\)-outcomes, \(n_B\) \(B\)-outcomes, \(n_C\) \(C\)-outcomes, , and \(n_Z\) \(Z\)-outcomes. The same is true for any other distinguishable combination; for every distinguishable combination belonging to the population set \(\{n_A\), \(n_B\), \(n_C\),, \(n_Z\}\) there are \(n_A!n_B!n_C!\dots n_Z!\) indistinguishable permutations. Again, we can express this result as the general relationship:

    total number of permutations = (number of distinguishable combinations)\({}_{\ }\)\({}_{\times }\) (number of indistinguishable permutations for each distinguishable combination)

    so that

    \[n!=n_A!n_B!n_C!\dots n_Z!C\left(n_A,n_B,n_C,\dots ,n_Z\right) \nonumber \]

    and \[C\left(n_A,n_B,n_C,\dots ,n_Z\right)=\frac{n!}{n_A!n_B!n_C!\dots n_Z!} \nonumber \]

    Equivalently, we can construct a sum, \(T\), in which we add up all of the \(n!\) permutations of \(P_{A,a}\) factors for \(n_A\) \(A\)-outcomes, \(P_{B,b}\) factors for \(n_B\) \(B\)-outcomes, \(P_{C,c}\) factors for \(n_C\) \(C\)-outcomes, , and \(P_{Z,z}\) factors for \(n_Z\) \(Z\)-outcomes. The value of each term in \(T\) will be \(P^{n_A}_AP^{n_B}_BP^{n_C}_C\dots P^{n_Z}_Z\). So we have

    \[T=n!P^{n_A}_AP^{n_B}_BP^{n_C}_C\dots P^{n_Z}_Z \nonumber \]

    \(T\) will contain all \(C\left(n_A,n_B,n_C,\dots ,n_Z\right)\) of the \(P^{n_A}_AP^{n_B}_BP^{n_C}_C\dots P^{n_Z}_Z\)-valued products (distinguishable combinations) that are a part of the total-probability sum. Moreover, \(T\) will also include all of the \(n_A!n_B!n_C!\dots n_Z!\) indistinguishable permutations of each of these \(P^{n_A}_AP^{n_B}_BP^{n_C}_C\dots P^{n_Z}_Z\)-valued products. Then we also have

    \[T=n_A!n_B!n_C!\dots n_Z!C\left(n_A,n_B,n_C,\dots ,n_Z\right) \nonumber \] \[\times P^{n_A}_AP^{n_B}_BP^{n_C}_C\dots P^{n_Z}_Z \nonumber \]

    Equating these two expressions for\(\ T\) gives us the number of \(P^{n_A}_AP^{n_B}_BP^{n_C}_C\dots P^{n_Z}_Z\)-valued products

    \[n!P^{n_A}_AP^{n_B}_BP^{n_C}_C\dots P^{n_Z}_Z=n_A!n_B!n_C!\dots n_Z! \nonumber \] \[\times C\left(n_A,n_B,n_C,\dots ,n_Z\right)P^{n_A}_AP^{n_B}_BP^{n_C}_C\dots P^{n_Z}_Z \nonumber \]

    and hence,

    \[C\left(n_A,n_B,n_C,\dots ,n_Z\right)=\frac{n!}{n_A!n_B!n_C!\dots n_Z!} \nonumber \]

    In the special case that \(P_A=P_B=P_C=\dots =P_Z\), all of the products \(P^{n_A}_AP^{n_B}_BP^{n_C}_C\dots P^{n_Z}_Z\) have the same value. Then, the probability of any set of outcomes, \(\{n_A,n_B,n_C,\dots ,n_Z\}\), is proportional to \(C\left(n_A,n_B,n_C,\dots ,n_Z\right)\).


    This page titled 19.3: Distribution of Results for Multiple Trials with Many Possible Outcomes is shared under a CC BY-SA 4.0 license and was authored, remixed, and/or curated by Paul Ellgen via source content that was edited to the style and standards of the LibreTexts platform.