{"id":89,"date":"2019-06-18T12:52:18","date_gmt":"2019-06-18T16:52:18","guid":{"rendered":"https:\/\/pressbooks.library.torontomu.ca\/pohmath\/chapter\/more-probability\/"},"modified":"2023-12-17T19:12:25","modified_gmt":"2023-12-18T00:12:25","slug":"more-probability","status":"publish","type":"chapter","link":"https:\/\/pressbooks.library.torontomu.ca\/pohmath\/chapter\/more-probability\/","title":{"raw":"7.1. Binomial Probability","rendered":"7.1. Binomial Probability"},"content":{"raw":"<div>[Latexpage]<\/div>\r\n<h1>Binomial Probability<\/h1>\r\nIn this section, we will consider types of problems that involve a sequence of trials, where each trial has only two outcomes, a success or a failure. These trials are independent. That is, the outcome of one does not affect the outcome of any other trial. Furthermore, the probability of success, <em>p<\/em>, and the probability of failure, (1 \u2212 <em>p<\/em>), remains the same throughout the experiment. These problems are called <strong>binomial probability<\/strong> problems. Since these problems were researched by a Swiss mathematician named Jacques Bernoulli around 1700, they are also referred to as <strong>Bernoulli trials<\/strong>.\r\n\r\nWe give the following definition:\r\n<div class=\"textbox shaded\">\r\n\r\n<strong>Binomial Experiment<\/strong>: A binomial experiment satisfies the following four conditions:\r\n<ol>\r\n \t<li>There are only two outcomes, a success or a failure, for each trial.<\/li>\r\n \t<li>The same experiment is repeated several times.<\/li>\r\n \t<li>The trials are independent; that is, the outcome of a particular trial does not affect the outcome of any other trial.<\/li>\r\n \t<li>The probability of success remains the same for every trial.<\/li>\r\n<\/ol>\r\n<\/div>\r\n&nbsp;\r\n\r\nThe probability model that we are about to investigate will give us the tools to solve many real-life problems like the ones given below.\r\n<ol>\r\n \t<li>If a coin is flipped 10 times, what is the probability that it will fall heads 3 times?<\/li>\r\n \t<li>If a basketball player makes 3 out of every 4 free throws, what is the probability that he will make 7 out of 10 free throws in a game?<\/li>\r\n \t<li>If a medicine cures 80% of the people who take it, what is the probability that among the 10 people who take the medicine, 6 will be cured?<\/li>\r\n \t<li>If a microchip manufacturer claims that only 4% of their chips are defective, what is the probability that among the 60 chips chosen, exactly three are defective?<\/li>\r\n \t<li>If a telemarketing executive has determined that 15% of the people contacted will purchase the product, what is the probability that among the 12 people who are contacted, 2 will buy the product?<\/li>\r\n<\/ol>\r\nWe now consider the following example to develop a formula for finding the probability of <em>k<\/em> successes in <em>n<\/em> Bernoulli trials.\r\n\r\n&nbsp;\r\n<div class=\"textbox textbox--examples\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">Example 7.1.1<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">A baseball player has a batting average of 0.300. If he bats four times in a game, find the probability that he will have:<\/div>\r\n<div class=\"textbox__content\" style=\"text-align: left;padding-left: 40px\"><strong>a.<\/strong> four hits<\/div>\r\n<div class=\"textbox__content\" style=\"text-align: left;padding-left: 40px\"><strong>b.<\/strong> three hits<\/div>\r\n<div class=\"textbox__content\" style=\"text-align: left;padding-left: 40px\"><strong>c.<\/strong> two hits<\/div>\r\n<div class=\"textbox__content\" style=\"text-align: left;padding-left: 40px\"><strong>d.<\/strong> one hit<\/div>\r\n<div class=\"textbox__content\" style=\"text-align: left;padding-left: 40px\"><strong>e.<\/strong> no hits.<\/div>\r\n<div class=\"textbox__content\"><strong>Solution <\/strong><\/div>\r\n<div class=\"textbox__content\">Let us suppose <em>S<\/em> denotes that the player gets a hit, and <em>F<\/em> denotes that he does not get a hit. This is a binomial experiment because it meets all four conditions. First, there are only two outcomes, <em>S<\/em> or <em>F<\/em>. Clearly the experiment is repeated four times. Lastly, if we assume that the player's skillfulness to get a hit does not change each time he comes to bat, the trials are independent with a probability of 0.3 of getting a hit during each trial. We draw a tree diagram to show all situations.<\/div>\r\n<div class=\"textbox__content\">\r\n<div class=\"textbox\">\\begin{tikzpicture}[grow=right, sloped]\r\n\\tikzstyle{level 1}=[level distance=3cm, sibling distance=8cm]\r\n\\tikzstyle{level 2}=[level distance=3cm, sibling distance=4cm]\r\n\\tikzstyle{level 3}=[level distance=3cm, sibling distance=2cm]\r\n\\tikzstyle{level 4}=[level distance=2cm, sibling distance=1cm]\r\n\\node {}\r\nchild {\r\nnode {$F$}\r\nchild {\r\nnode {$F$}\r\nchild {\r\nnode {$F$}\r\nchild {\r\nnode[label=right:\r\n{$F\\quad FFFF=(0.7)^4$}] {}\r\nedge from parent\r\nnode[below] {$0.7$}\r\n}\r\nchild {\r\nnode[label=right:\r\n{$F\\quad FFFS=(0.3)(0.7)^3$}] {}\r\nedge from parent\r\nnode[above] {$0.3$}\r\n}\r\nedge from parent\r\nnode[below] {$0.7$}\r\n}\r\nchild {\r\nnode {$S$}\r\nchild {\r\nnode[label=right:\r\n{$F\\quad FFSF=(0.3)(0.7)^3$}] {}\r\nedge from parent\r\nnode[below] {$0.7$}\r\n}\r\nchild {\r\nnode[label=right:\r\n{$S\\quad FFSS=(0.3)^2(0.7)^2$}] {}\r\nedge from parent\r\nnode[above] {$0.3$}\r\n}\r\nedge from parent\r\nnode[above] {$0.3$}\r\n}\r\nedge from parent\r\nnode[below] {$0.7$}\r\n}\r\nchild {\r\nnode {$S$}\r\nchild {\r\nnode {$F$}\r\nchild {\r\nnode[label=right:\r\n{$F\\quad FSFF=(0.3)(0.7)^3$}] {}\r\nedge from parent\r\nnode[below] {$0.7$}\r\n}\r\nchild {\r\nnode[label=right:\r\n{$S\\quad FSFS=(0.3)^2(0.7)^2$}] {}\r\nedge from parent\r\nnode[above] {$0.3$}\r\n}\r\nedge from parent\r\nnode[below] {$0.7$}\r\n}\r\nchild {\r\nnode {$S$}\r\nchild {\r\nnode[label=right:\r\n{$F\\quad FSSF=(0.3)^2(0.7)^2$}] {}\r\nedge from parent\r\nnode[below] {$0.7$}\r\n}\r\nchild {\r\nnode[label=right:\r\n{$S\\quad FSSS=(0.3)^3(0.7)$}] {}\r\nedge from parent\r\nnode[above] {$0.3$}\r\n}\r\nedge from parent\r\nnode[above] {$0.3$}\r\n}\r\nedge from parent\r\nnode[above] {$0.3$}\r\n}\r\nedge from parent\r\nnode[below] {$0.7$}\r\n}\r\nchild {\r\nnode {$S$}\r\nchild {\r\nnode {$F$}\r\nchild {\r\nnode {$F$}\r\nchild {\r\nnode[label=right:\r\n{$F\\quad SFFF=(0.3)(0.7)^3$}] {}\r\nedge from parent\r\nnode[below] {$0.7$}\r\n}\r\nchild {\r\nnode[label=right:\r\n{$S\\quad SFFS=(0.3)^2(0.7)^2$}] {}\r\nedge from parent\r\nnode[above] {$0.3$}\r\n}\r\nedge from parent\r\nnode[below] {$0.7$}\r\n}\r\nchild {\r\nnode {$S$}\r\nchild {\r\nnode[label=right:\r\n{$F\\quad SFSF=(0.3)^2(0.7)^2$}] {}\r\nedge from parent\r\nnode[below] {$0.7$}\r\n}\r\nchild {\r\nnode[label=right:\r\n{$S\\quad SFSS=(0.3)^3(0.7)$}] {}\r\nedge from parent\r\nnode[above] {$0.3$}\r\n}\r\nedge from parent\r\nnode[above] {$0.3$}\r\n}\r\nedge from parent\r\nnode[below] {$0.7$}\r\n}\r\nchild {\r\nnode {$F$}\r\nchild {\r\nnode {$F$}\r\nchild {\r\nnode[label=right:\r\n{$F\\quad SSFF=(0.3)^2(0.7)^2$}] {}\r\nedge from parent\r\nnode[below] {$0.7$}\r\n}\r\nchild {\r\nnode[label=right:\r\n{$S\\quad SSFS=(0.3)^3(0.7)$}] {}\r\nedge from parent\r\nnode[above] {$0.3$}\r\n}\r\nedge from parent\r\nnode[below] {$0.7$}\r\n}\r\nchild {\r\nnode {$S$}\r\nchild {\r\nnode[label=right:\r\n{$F\\quad SSSF=(0.3)^3(0.7)$}] {}\r\nedge from parent\r\nnode[below] {$0.7$}\r\n}\r\nchild {\r\nnode[label=right:\r\n{$S\\quad SSSS=(0.3)^4$}] {}\r\nedge from parent\r\nnode[above] {$0.3$}\r\n}\r\nedge from parent\r\nnode[above] {$0.3$}\r\n}\r\nedge from parent\r\nnode[above] {$0.3$}\r\n}\r\nedge from parent\r\nnode[above] {$0.3$}\r\n};\r\n\\end{tikzpicture}<\/div>\r\n<\/div>\r\n<div class=\"textbox__content\">Let us first find the probability of getting, for example, two hits. We will have to consider the six possibilities, SSFF , SFSF , SFFS , FSSF , FSFS , FFSS , as shown in the above tree diagram. We list the probabilities of each below.<\/div>\r\n<div class=\"textbox__content\"><em>P<\/em>(SSFF) = (0.3)(0.3)(0.7)(0.7) = (0.3)<sup>2<\/sup>(0.7)<sup>2 <\/sup><\/div>\r\n<div class=\"textbox__content\"><em>P<\/em>(SFSF) = (0.3)(0.7)(0.3)(0.7) = (0.3)<sup>2<\/sup>(0.7)<sup>2 <\/sup><\/div>\r\n<div class=\"textbox__content\"><em>P<\/em>(SFFS) = (0.3)(0.7)(0.7)(0.3) = (0.3)<sup>2<\/sup>(0.7)<sup>2 <\/sup><\/div>\r\n<div class=\"textbox__content\"><em>P<\/em>(FSSF) = (0.7)(0.3)(0.3)(0.7) = (0.3)<sup>2<\/sup>(0.7)<sup>2 <\/sup><\/div>\r\n<div class=\"textbox__content\"><em>P<\/em>(FSFS) = (0.7)(0.3)(0.7)(0.3) = (0.3)<sup>2<\/sup>(0.7)<sup>2<\/sup><\/div>\r\n<div class=\"textbox__content\"><em>P<\/em>(FFSS) = (0.7)(0.7)(0.3)(0.3) = (0.3)<sup>2<\/sup>(0.7)<sup>2 <\/sup><\/div>\r\n<div class=\"textbox__content\">Since the probability of each of these six outcomes is (0.3)<sup>2<\/sup>(0.7)<sup>2<\/sup>, the probability of obtaining two successes is 6(0.3)<sup>2<\/sup>(0.7)<sup>2<\/sup>.<\/div>\r\n<div class=\"textbox__content\">The probability of getting one hit can be obtained in the same way. Since each permutation has one <em>S<\/em> and three <em>F<\/em>'s, there are four such outcomes: SFFF , FSFF , FFSF , and FFFS.<\/div>\r\n<div class=\"textbox__content\">And since the probability of each of the four outcomes is (0.3)(0.7)<sup>3<\/sup>, the probability of getting one hit is 4(0.3)(0.7)<sup>3<\/sup>.<\/div>\r\n<div class=\"textbox__content\">The table below lists the probabilities for all cases, and shows a comparison with the binomial expansion of fourth degree. Again, <em>p<\/em> denotes the probability of success, and <em>q<\/em> = (1 \u2212 <em>p<\/em>) the probability of failure.<\/div>\r\n<div class=\"textbox__content\">\r\n<table style=\"border-collapse: collapse;width: 100%;height: 28px\" border=\"0\">\r\n<tbody>\r\n<tr style=\"height: 14px\">\r\n<td class=\"border\" style=\"width: 16.6667%;height: 14px\">Outcome<\/td>\r\n<td class=\"border\" style=\"width: 16.6667%;height: 14px;text-align: center\">Four Hits<\/td>\r\n<td class=\"border\" style=\"width: 16.6667%;height: 14px;text-align: center\">Three hits<\/td>\r\n<td class=\"border\" style=\"width: 16.6667%;height: 14px;text-align: center\">Two Hits<\/td>\r\n<td class=\"border\" style=\"width: 16.6667%;height: 14px;text-align: center\">One hits<\/td>\r\n<td class=\"border\" style=\"width: 16.6667%;height: 14px;text-align: center\">No Hits<\/td>\r\n<\/tr>\r\n<tr style=\"height: 14px\">\r\n<td class=\"border\" style=\"width: 16.6667%;height: 14px\">Probability<\/td>\r\n<td class=\"border\" style=\"width: 16.6667%;height: 14px;text-align: center\">(0.3)<sup>4<\/sup><\/td>\r\n<td class=\"border\" style=\"width: 16.6667%;height: 14px;text-align: center\">4(0.3)<sup>3<\/sup>(0.7)<\/td>\r\n<td class=\"border\" style=\"width: 16.6667%;height: 14px;text-align: center\">6(0.3)<sup>2<\/sup>(0.7)<sup>2<\/sup><\/td>\r\n<td class=\"border\" style=\"width: 16.6667%;height: 14px;text-align: center\">4(0.3)(0.7)<sup>3<\/sup><\/td>\r\n<td class=\"border\" style=\"width: 16.6667%;height: 14px;text-align: center\">(0.7)<sup>4<\/sup><\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<\/div>\r\n<\/div>\r\n&nbsp;\r\n\r\nThis gives us the following theorem:\r\n<div class=\"textbox shaded\">\r\n\r\n<strong>Binomial Probability Theorem<\/strong>:\r\n\r\nThe probability of obtaining <em>k<\/em> successes in <em>n<\/em> independent Bernoulli trials is given by:\r\n<p style=\"text-align: center\"><em>P<\/em>(<em>n<\/em>, <em>k<\/em>; <em>p<\/em>) = <em>n<\/em>C<em>kp<\/em><sup>k<\/sup><em>q<\/em><sup>n - k<\/sup><\/p>\r\nwhere <em>p<\/em> denotes the probability of success and <em>q<\/em> = (1 \u2212 <em>p<\/em>) the probability of failure.\r\n<p class=\"textbox__content\" style=\"text-align: left\"><span style=\"color: #000000\"><em><strong>Note:<\/strong> As a reminder from Chapter 5, Section 5.4, the Number of Combinations of n Objects Taken r at a Time is represented as<span style=\"text-align: initial;font-size: 1em\">\u00a0<\/span>n<span style=\"text-align: initial;font-size: 1em\">C<\/span>k<span style=\"text-align: initial;font-size: 1em\"> = $\\frac{n!}{(n-k)!k!}$, where <\/span>n and k are natural numbers. <\/em><\/span><span style=\"color: #000000\"><\/span><\/p>\r\n\r\n<\/div>\r\n&nbsp;\r\n\r\nWe use the above formula to solve the following examples.\r\n\r\n&nbsp;\r\n<div class=\"textbox textbox--examples\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">Example 7.1.2<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">If a coin is flipped 10 times, what is the probability that it will fall heads 3 times?<\/div>\r\n<div class=\"textbox__content\"><strong>Solution<\/strong><\/div>\r\n<div class=\"textbox__content\">Let <em>S<\/em> denote the probability of obtaining a head, and <em>F<\/em> the probability of obtaining a tail.<\/div>\r\n<div class=\"textbox__content\">Clearly, <em>n<\/em> = 10, <em>k<\/em> = 3, <em>p<\/em> = 1\/2, and <em>q<\/em> = 1\/2.<\/div>\r\n<div class=\"textbox__content\">Therefore:<\/div>\r\n<div>\r\n<p class=\"textbox__content\" style=\"text-align: left\"><span style=\"color: #000000\"><em>Therefore:\u00a0<\/em><\/span><\/p>\r\n<p style=\"text-align: center\"><span style=\"color: #000000\"><em> $10C3=\\frac{10!}{(10-3)!3!}=\\frac{10!}{7!3!}=120$<\/em><\/span><\/p>\r\n\r\n<\/div>\r\n<div class=\"textbox__content\" style=\"text-align: center\"><em>b<\/em>(10, 3; 1\/2) = 10C3(1\/2)<sup>3<\/sup>(1\/2)<sup>7<\/sup> = 120(1\/2)<sup>3<\/sup>(1\/2)<sup>7<\/sup> = .1172<\/div>\r\n<\/div>\r\n&nbsp;\r\n<div class=\"textbox textbox--examples\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">Example 7.1.3<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">If a basketball player makes 3 out of every 4 free throws, what is the probability that he will make 6 out of 10 free throws in a game?<\/div>\r\n<div class=\"textbox__content\"><strong>Solution <\/strong><\/div>\r\n<div class=\"textbox__content\">The probability of making a free throw is 3\/4. Therefore, <em>p<\/em> = 3\/4, <em>q<\/em> = 1\/4, <em>n<\/em> = 10, and <em>k<\/em> = 6.<\/div>\r\n<div class=\"textbox__content\">Therefore:<\/div>\r\n<div class=\"textbox__content\" style=\"text-align: center\"><em>b<\/em>(10, 6; 3\/4) = 10C6(3\/4)<sup>6<\/sup>(1\/4)<sup>4<\/sup> = .1460<\/div>\r\n<\/div>\r\n&nbsp;\r\n<div class=\"textbox textbox--examples\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">Example 7.1.4<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">If a medicine cures 80% of the people who take it, what is the probability that of the eight people who take the medicine, 5 will be cured?<\/div>\r\n<div class=\"textbox__content\"><strong>Solution<\/strong><\/div>\r\n<div class=\"textbox__content\">Here <em>p<\/em> = .80, <em>q<\/em> = .20, <em>n<\/em> = 8, and <em>k<\/em> = 5.<\/div>\r\n<div class=\"textbox__content\" style=\"text-align: center\"><em>b<\/em>(8, 5; .80) = 8C5(.80)<sup>5<\/sup>(.20)<sup>3<\/sup> = .1468<\/div>\r\n<\/div>\r\n&nbsp;\r\n<div class=\"textbox textbox--examples\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">Example 7.1.5<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">If a microchip manufacturer claims that only 4% of their chips are defective, what is the probability that among the 60 chips chosen, exactly three are defective?<\/div>\r\n<div class=\"textbox__content\"><strong>Solution<\/strong><\/div>\r\n<div class=\"textbox__content\">If <em>S<\/em> denotes the probability that the chip is defective, and <em>F<\/em> the probability that the chip is not defective, then<em> p<\/em> = .04, <em>q<\/em> = .96, <em>n<\/em> = 60, and <em>k<\/em> = 3.<\/div>\r\n<div class=\"textbox__content\" style=\"text-align: center\"><em>b<\/em>(60, 3; .04) = 60C3(.04)<sup>3<\/sup>(.96)<sup>57<\/sup> = .2138<\/div>\r\n<\/div>\r\n&nbsp;\r\n<div class=\"textbox textbox--examples\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">Example 7.1.6<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">If a telemarketing executive has determined that 15% of the people contacted will purchase the product, what is the probability that among the 12 people who are contacted, 2 will buy the product?<\/div>\r\n<div class=\"textbox__content\"><strong>Solution<\/strong><\/div>\r\n<div class=\"textbox__content\">If <em>S<\/em> denoted the probability that a person will buy the product, and <em>F<\/em> the probability that the person will not buy the product, then <em>p<\/em> = .15, <em>q<\/em> = .85, <em>n<\/em> = 12, and <em>k<\/em> = 2.<\/div>\r\n<div class=\"textbox__content\" style=\"text-align: center\">b(12, 2; .15) = 12C2(.15)<sup>2<\/sup>(.85)<sup>10<\/sup> = .2924.<\/div>\r\n<\/div>\r\n&nbsp;\r\n<h1>Practice questions<\/h1>\r\n<strong>1.<\/strong> What is the probability of getting three ones if a die is rolled five times?\r\n\r\n<strong>2.<\/strong> A basketball player has an 80% chance of sinking a basket on a free throw. In five free throws, what is the probability that he will sink:\r\n<p style=\"padding-left: 40px\"><strong>a. <\/strong>Only one basket?<\/p>\r\n<p style=\"padding-left: 40px\"><strong>a.\u00a0<\/strong>Three baskets?<\/p>\r\n<p style=\"padding-left: 40px\"><strong>c. <\/strong>At least three baskets?<\/p>\r\n<strong>3. <\/strong>If a medicine cures 75% of the people who take it, what is the probability that of 30 people who take the medicine:\r\n<p style=\"padding-left: 40px\"><strong>a. <\/strong>25 will be cured?<\/p>\r\n<p style=\"padding-left: 40px\"><strong>b. <\/strong>26 will be cured?<\/p>\r\n<p style=\"padding-left: 40px\"><strong>c. <\/strong>27 will be cured?<\/p>\r\n<p style=\"padding-left: 40px\"><strong>d. <\/strong>At least 25 will be cured?<\/p>\r\n<strong>4.<\/strong> The Canadian Food Inspection Agency (CFIA) has found that 5% of the imported spices into Canada are contaminated with pathogenic food-borne bacteria. What is the probability that a batch of 25 imported spices will have:\r\n<p style=\"padding-left: 40px\"><strong>a. <\/strong>One contaminated product?<\/p>\r\n<p style=\"padding-left: 40px\"><strong>b. <\/strong>Two contaminated products?<\/p>\r\n<strong>5.\u00a0<\/strong>An executive has determined that for a door-to-door donation initiative, 20% of the households visited will provide a donation. If 10 households are visited, what is the probability that at most 2 will provide a donation?\r\n\r\n&nbsp;","rendered":"<div><\/div>\n<h1>Binomial Probability<\/h1>\n<p>In this section, we will consider types of problems that involve a sequence of trials, where each trial has only two outcomes, a success or a failure. These trials are independent. That is, the outcome of one does not affect the outcome of any other trial. Furthermore, the probability of success, <em>p<\/em>, and the probability of failure, (1 \u2212 <em>p<\/em>), remains the same throughout the experiment. These problems are called <strong>binomial probability<\/strong> problems. Since these problems were researched by a Swiss mathematician named Jacques Bernoulli around 1700, they are also referred to as <strong>Bernoulli trials<\/strong>.<\/p>\n<p>We give the following definition:<\/p>\n<div class=\"textbox shaded\">\n<p><strong>Binomial Experiment<\/strong>: A binomial experiment satisfies the following four conditions:<\/p>\n<ol>\n<li>There are only two outcomes, a success or a failure, for each trial.<\/li>\n<li>The same experiment is repeated several times.<\/li>\n<li>The trials are independent; that is, the outcome of a particular trial does not affect the outcome of any other trial.<\/li>\n<li>The probability of success remains the same for every trial.<\/li>\n<\/ol>\n<\/div>\n<p>&nbsp;<\/p>\n<p>The probability model that we are about to investigate will give us the tools to solve many real-life problems like the ones given below.<\/p>\n<ol>\n<li>If a coin is flipped 10 times, what is the probability that it will fall heads 3 times?<\/li>\n<li>If a basketball player makes 3 out of every 4 free throws, what is the probability that he will make 7 out of 10 free throws in a game?<\/li>\n<li>If a medicine cures 80% of the people who take it, what is the probability that among the 10 people who take the medicine, 6 will be cured?<\/li>\n<li>If a microchip manufacturer claims that only 4% of their chips are defective, what is the probability that among the 60 chips chosen, exactly three are defective?<\/li>\n<li>If a telemarketing executive has determined that 15% of the people contacted will purchase the product, what is the probability that among the 12 people who are contacted, 2 will buy the product?<\/li>\n<\/ol>\n<p>We now consider the following example to develop a formula for finding the probability of <em>k<\/em> successes in <em>n<\/em> Bernoulli trials.<\/p>\n<p>&nbsp;<\/p>\n<div class=\"textbox textbox--examples\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">Example 7.1.1<\/p>\n<\/header>\n<div class=\"textbox__content\">A baseball player has a batting average of 0.300. If he bats four times in a game, find the probability that he will have:<\/div>\n<div class=\"textbox__content\" style=\"text-align: left;padding-left: 40px\"><strong>a.<\/strong> four hits<\/div>\n<div class=\"textbox__content\" style=\"text-align: left;padding-left: 40px\"><strong>b.<\/strong> three hits<\/div>\n<div class=\"textbox__content\" style=\"text-align: left;padding-left: 40px\"><strong>c.<\/strong> two hits<\/div>\n<div class=\"textbox__content\" style=\"text-align: left;padding-left: 40px\"><strong>d.<\/strong> one hit<\/div>\n<div class=\"textbox__content\" style=\"text-align: left;padding-left: 40px\"><strong>e.<\/strong> no hits.<\/div>\n<div class=\"textbox__content\"><strong>Solution <\/strong><\/div>\n<div class=\"textbox__content\">Let us suppose <em>S<\/em> denotes that the player gets a hit, and <em>F<\/em> denotes that he does not get a hit. This is a binomial experiment because it meets all four conditions. First, there are only two outcomes, <em>S<\/em> or <em>F<\/em>. Clearly the experiment is repeated four times. Lastly, if we assume that the player&#8217;s skillfulness to get a hit does not change each time he comes to bat, the trials are independent with a probability of 0.3 of getting a hit during each trial. We draw a tree diagram to show all situations.<\/div>\n<div class=\"textbox__content\">\n<div class=\"textbox\">\n<p class=\"ql-center-picture\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pressbooks.library.torontomu.ca\/pohmath\/wp-content\/ql-cache\/quicklatex.com-9788fd22fa291dc9811c06f779855910_l3.png\" height=\"711\" width=\"708\" class=\"ql-img-picture quicklatex-auto-format\" alt=\"Rendered by QuickLaTeX.com\" title=\"Rendered by QuickLaTeX.com\" \/><\/p>\n<\/div>\n<\/div>\n<div class=\"textbox__content\">Let us first find the probability of getting, for example, two hits. We will have to consider the six possibilities, SSFF , SFSF , SFFS , FSSF , FSFS , FFSS , as shown in the above tree diagram. We list the probabilities of each below.<\/div>\n<div class=\"textbox__content\"><em>P<\/em>(SSFF) = (0.3)(0.3)(0.7)(0.7) = (0.3)<sup>2<\/sup>(0.7)<sup>2 <\/sup><\/div>\n<div class=\"textbox__content\"><em>P<\/em>(SFSF) = (0.3)(0.7)(0.3)(0.7) = (0.3)<sup>2<\/sup>(0.7)<sup>2 <\/sup><\/div>\n<div class=\"textbox__content\"><em>P<\/em>(SFFS) = (0.3)(0.7)(0.7)(0.3) = (0.3)<sup>2<\/sup>(0.7)<sup>2 <\/sup><\/div>\n<div class=\"textbox__content\"><em>P<\/em>(FSSF) = (0.7)(0.3)(0.3)(0.7) = (0.3)<sup>2<\/sup>(0.7)<sup>2 <\/sup><\/div>\n<div class=\"textbox__content\"><em>P<\/em>(FSFS) = (0.7)(0.3)(0.7)(0.3) = (0.3)<sup>2<\/sup>(0.7)<sup>2<\/sup><\/div>\n<div class=\"textbox__content\"><em>P<\/em>(FFSS) = (0.7)(0.7)(0.3)(0.3) = (0.3)<sup>2<\/sup>(0.7)<sup>2 <\/sup><\/div>\n<div class=\"textbox__content\">Since the probability of each of these six outcomes is (0.3)<sup>2<\/sup>(0.7)<sup>2<\/sup>, the probability of obtaining two successes is 6(0.3)<sup>2<\/sup>(0.7)<sup>2<\/sup>.<\/div>\n<div class=\"textbox__content\">The probability of getting one hit can be obtained in the same way. Since each permutation has one <em>S<\/em> and three <em>F<\/em>&#8216;s, there are four such outcomes: SFFF , FSFF , FFSF , and FFFS.<\/div>\n<div class=\"textbox__content\">And since the probability of each of the four outcomes is (0.3)(0.7)<sup>3<\/sup>, the probability of getting one hit is 4(0.3)(0.7)<sup>3<\/sup>.<\/div>\n<div class=\"textbox__content\">The table below lists the probabilities for all cases, and shows a comparison with the binomial expansion of fourth degree. Again, <em>p<\/em> denotes the probability of success, and <em>q<\/em> = (1 \u2212 <em>p<\/em>) the probability of failure.<\/div>\n<div class=\"textbox__content\">\n<table style=\"border-collapse: collapse;width: 100%;height: 28px\">\n<tbody>\n<tr style=\"height: 14px\">\n<td class=\"border\" style=\"width: 16.6667%;height: 14px\">Outcome<\/td>\n<td class=\"border\" style=\"width: 16.6667%;height: 14px;text-align: center\">Four Hits<\/td>\n<td class=\"border\" style=\"width: 16.6667%;height: 14px;text-align: center\">Three hits<\/td>\n<td class=\"border\" style=\"width: 16.6667%;height: 14px;text-align: center\">Two Hits<\/td>\n<td class=\"border\" style=\"width: 16.6667%;height: 14px;text-align: center\">One hits<\/td>\n<td class=\"border\" style=\"width: 16.6667%;height: 14px;text-align: center\">No Hits<\/td>\n<\/tr>\n<tr style=\"height: 14px\">\n<td class=\"border\" style=\"width: 16.6667%;height: 14px\">Probability<\/td>\n<td class=\"border\" style=\"width: 16.6667%;height: 14px;text-align: center\">(0.3)<sup>4<\/sup><\/td>\n<td class=\"border\" style=\"width: 16.6667%;height: 14px;text-align: center\">4(0.3)<sup>3<\/sup>(0.7)<\/td>\n<td class=\"border\" style=\"width: 16.6667%;height: 14px;text-align: center\">6(0.3)<sup>2<\/sup>(0.7)<sup>2<\/sup><\/td>\n<td class=\"border\" style=\"width: 16.6667%;height: 14px;text-align: center\">4(0.3)(0.7)<sup>3<\/sup><\/td>\n<td class=\"border\" style=\"width: 16.6667%;height: 14px;text-align: center\">(0.7)<sup>4<\/sup><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<p>This gives us the following theorem:<\/p>\n<div class=\"textbox shaded\">\n<p><strong>Binomial Probability Theorem<\/strong>:<\/p>\n<p>The probability of obtaining <em>k<\/em> successes in <em>n<\/em> independent Bernoulli trials is given by:<\/p>\n<p style=\"text-align: center\"><em>P<\/em>(<em>n<\/em>, <em>k<\/em>; <em>p<\/em>) = <em>n<\/em>C<em>kp<\/em><sup>k<\/sup><em>q<\/em><sup>n &#8211; k<\/sup><\/p>\n<p>where <em>p<\/em> denotes the probability of success and <em>q<\/em> = (1 \u2212 <em>p<\/em>) the probability of failure.<\/p>\n<p class=\"textbox__content\" style=\"text-align: left\"><span style=\"color: #000000\"><em><strong>Note:<\/strong> As a reminder from Chapter 5, Section 5.4, the Number of Combinations of n Objects Taken r at a Time is represented as<span style=\"text-align: initial;font-size: 1em\">\u00a0<\/span>n<span style=\"text-align: initial;font-size: 1em\">C<\/span>k<span style=\"text-align: initial;font-size: 1em\"> = <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pressbooks.library.torontomu.ca\/pohmath\/wp-content\/ql-cache\/quicklatex.com-921c74887eda1a3c13f9de261e888641_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#102;&#114;&#97;&#99;&#123;&#110;&#33;&#125;&#123;&#40;&#110;&#45;&#107;&#41;&#33;&#107;&#33;&#125;\" title=\"Rendered by QuickLaTeX.com\" height=\"27\" width=\"53\" style=\"vertical-align: -10px;\" \/>, where <\/span>n and k are natural numbers. <\/em><\/span><span style=\"color: #000000\"><\/span><\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<p>We use the above formula to solve the following examples.<\/p>\n<p>&nbsp;<\/p>\n<div class=\"textbox textbox--examples\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">Example 7.1.2<\/p>\n<\/header>\n<div class=\"textbox__content\">If a coin is flipped 10 times, what is the probability that it will fall heads 3 times?<\/div>\n<div class=\"textbox__content\"><strong>Solution<\/strong><\/div>\n<div class=\"textbox__content\">Let <em>S<\/em> denote the probability of obtaining a head, and <em>F<\/em> the probability of obtaining a tail.<\/div>\n<div class=\"textbox__content\">Clearly, <em>n<\/em> = 10, <em>k<\/em> = 3, <em>p<\/em> = 1\/2, and <em>q<\/em> = 1\/2.<\/div>\n<div class=\"textbox__content\">Therefore:<\/div>\n<div>\n<p class=\"textbox__content\" style=\"text-align: left\"><span style=\"color: #000000\"><em>Therefore:\u00a0<\/em><\/span><\/p>\n<p style=\"text-align: center\"><span style=\"color: #000000\"><em> <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pressbooks.library.torontomu.ca\/pohmath\/wp-content\/ql-cache\/quicklatex.com-303d5c2e8038c6f396310ef055030014_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#49;&#48;&#67;&#51;&#61;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#48;&#33;&#125;&#123;&#40;&#49;&#48;&#45;&#51;&#41;&#33;&#51;&#33;&#125;&#61;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#48;&#33;&#125;&#123;&#55;&#33;&#51;&#33;&#125;&#61;&#49;&#50;&#48;\" title=\"Rendered by QuickLaTeX.com\" height=\"27\" width=\"223\" style=\"vertical-align: -10px;\" \/><\/em><\/span><\/p>\n<\/div>\n<div class=\"textbox__content\" style=\"text-align: center\"><em>b<\/em>(10, 3; 1\/2) = 10C3(1\/2)<sup>3<\/sup>(1\/2)<sup>7<\/sup> = 120(1\/2)<sup>3<\/sup>(1\/2)<sup>7<\/sup> = .1172<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<div class=\"textbox textbox--examples\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">Example 7.1.3<\/p>\n<\/header>\n<div class=\"textbox__content\">If a basketball player makes 3 out of every 4 free throws, what is the probability that he will make 6 out of 10 free throws in a game?<\/div>\n<div class=\"textbox__content\"><strong>Solution <\/strong><\/div>\n<div class=\"textbox__content\">The probability of making a free throw is 3\/4. Therefore, <em>p<\/em> = 3\/4, <em>q<\/em> = 1\/4, <em>n<\/em> = 10, and <em>k<\/em> = 6.<\/div>\n<div class=\"textbox__content\">Therefore:<\/div>\n<div class=\"textbox__content\" style=\"text-align: center\"><em>b<\/em>(10, 6; 3\/4) = 10C6(3\/4)<sup>6<\/sup>(1\/4)<sup>4<\/sup> = .1460<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<div class=\"textbox textbox--examples\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">Example 7.1.4<\/p>\n<\/header>\n<div class=\"textbox__content\">If a medicine cures 80% of the people who take it, what is the probability that of the eight people who take the medicine, 5 will be cured?<\/div>\n<div class=\"textbox__content\"><strong>Solution<\/strong><\/div>\n<div class=\"textbox__content\">Here <em>p<\/em> = .80, <em>q<\/em> = .20, <em>n<\/em> = 8, and <em>k<\/em> = 5.<\/div>\n<div class=\"textbox__content\" style=\"text-align: center\"><em>b<\/em>(8, 5; .80) = 8C5(.80)<sup>5<\/sup>(.20)<sup>3<\/sup> = .1468<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<div class=\"textbox textbox--examples\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">Example 7.1.5<\/p>\n<\/header>\n<div class=\"textbox__content\">If a microchip manufacturer claims that only 4% of their chips are defective, what is the probability that among the 60 chips chosen, exactly three are defective?<\/div>\n<div class=\"textbox__content\"><strong>Solution<\/strong><\/div>\n<div class=\"textbox__content\">If <em>S<\/em> denotes the probability that the chip is defective, and <em>F<\/em> the probability that the chip is not defective, then<em> p<\/em> = .04, <em>q<\/em> = .96, <em>n<\/em> = 60, and <em>k<\/em> = 3.<\/div>\n<div class=\"textbox__content\" style=\"text-align: center\"><em>b<\/em>(60, 3; .04) = 60C3(.04)<sup>3<\/sup>(.96)<sup>57<\/sup> = .2138<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<div class=\"textbox textbox--examples\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">Example 7.1.6<\/p>\n<\/header>\n<div class=\"textbox__content\">If a telemarketing executive has determined that 15% of the people contacted will purchase the product, what is the probability that among the 12 people who are contacted, 2 will buy the product?<\/div>\n<div class=\"textbox__content\"><strong>Solution<\/strong><\/div>\n<div class=\"textbox__content\">If <em>S<\/em> denoted the probability that a person will buy the product, and <em>F<\/em> the probability that the person will not buy the product, then <em>p<\/em> = .15, <em>q<\/em> = .85, <em>n<\/em> = 12, and <em>k<\/em> = 2.<\/div>\n<div class=\"textbox__content\" style=\"text-align: center\">b(12, 2; .15) = 12C2(.15)<sup>2<\/sup>(.85)<sup>10<\/sup> = .2924.<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<h1>Practice questions<\/h1>\n<p><strong>1.<\/strong> What is the probability of getting three ones if a die is rolled five times?<\/p>\n<p><strong>2.<\/strong> A basketball player has an 80% chance of sinking a basket on a free throw. In five free throws, what is the probability that he will sink:<\/p>\n<p style=\"padding-left: 40px\"><strong>a. <\/strong>Only one basket?<\/p>\n<p style=\"padding-left: 40px\"><strong>a.\u00a0<\/strong>Three baskets?<\/p>\n<p style=\"padding-left: 40px\"><strong>c. <\/strong>At least three baskets?<\/p>\n<p><strong>3. <\/strong>If a medicine cures 75% of the people who take it, what is the probability that of 30 people who take the medicine:<\/p>\n<p style=\"padding-left: 40px\"><strong>a. <\/strong>25 will be cured?<\/p>\n<p style=\"padding-left: 40px\"><strong>b. <\/strong>26 will be cured?<\/p>\n<p style=\"padding-left: 40px\"><strong>c. <\/strong>27 will be cured?<\/p>\n<p style=\"padding-left: 40px\"><strong>d. <\/strong>At least 25 will be cured?<\/p>\n<p><strong>4.<\/strong> The Canadian Food Inspection Agency (CFIA) has found that 5% of the imported spices into Canada are contaminated with pathogenic food-borne bacteria. What is the probability that a batch of 25 imported spices will have:<\/p>\n<p style=\"padding-left: 40px\"><strong>a. <\/strong>One contaminated product?<\/p>\n<p style=\"padding-left: 40px\"><strong>b. <\/strong>Two contaminated products?<\/p>\n<p><strong>5.\u00a0<\/strong>An executive has determined that for a door-to-door donation initiative, 20% of the households visited will provide a donation. If 10 households are visited, what is the probability that at most 2 will provide a donation?<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"author":2,"menu_order":1,"template":"","meta":{"pb_show_title":"","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[49],"contributor":[],"license":[],"class_list":["post-89","chapter","type-chapter","status-publish","hentry","chapter-type-numberless"],"part":88,"_links":{"self":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/pohmath\/wp-json\/pressbooks\/v2\/chapters\/89","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/pohmath\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/pohmath\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/pressbooks.library.torontomu.ca\/pohmath\/wp-json\/wp\/v2\/users\/2"}],"version-history":[{"count":2,"href":"https:\/\/pressbooks.library.torontomu.ca\/pohmath\/wp-json\/pressbooks\/v2\/chapters\/89\/revisions"}],"predecessor-version":[{"id":145,"href":"https:\/\/pressbooks.library.torontomu.ca\/pohmath\/wp-json\/pressbooks\/v2\/chapters\/89\/revisions\/145"}],"part":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/pohmath\/wp-json\/pressbooks\/v2\/parts\/88"}],"metadata":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/pohmath\/wp-json\/pressbooks\/v2\/chapters\/89\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/pressbooks.library.torontomu.ca\/pohmath\/wp-json\/wp\/v2\/media?parent=89"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/pressbooks.library.torontomu.ca\/pohmath\/wp-json\/pressbooks\/v2\/chapter-type?post=89"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/pressbooks.library.torontomu.ca\/pohmath\/wp-json\/wp\/v2\/contributor?post=89"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/pressbooks.library.torontomu.ca\/pohmath\/wp-json\/wp\/v2\/license?post=89"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}