{"id":263,"date":"2024-10-18T21:15:27","date_gmt":"2024-10-18T21:15:27","guid":{"rendered":"https:\/\/content.one.lumenlearning.com\/collegealgebrademo\/chapter\/applications-with-probability-fresh-take\/"},"modified":"2024-10-18T21:25:04","modified_gmt":"2024-10-18T21:25:04","slug":"applications-with-probability-fresh-take","status":"web-only","type":"chapter","link":"https:\/\/content.one.lumenlearning.com\/collegealgebrademo\/chapter\/applications-with-probability-fresh-take\/","title":{"raw":"Applications With Probability: Fresh Take","rendered":"Applications With Probability: Fresh Take"},"content":{"raw":"\n<section class=\"textbox learningGoals\">\n<ul>\n\t<li>Calculate conditional probability using Bayes' Theorem<\/li>\n\t<li>Solve counting problems<\/li>\n\t<li>Calculate the average value of a random event<\/li>\n<\/ul>\n<\/section>\n<h2>Bayes' Theorem<\/h2>\n<div class=\"textbox shaded\">\n<p><strong>The Main Idea&nbsp;<\/strong><\/p>\n<p><strong>Bayes' Theorem <\/strong>is a fundamental principle in probability theory and statistics that describes how to update the probabilities of hypotheses when given evidence. It serves as a method to revise existing predictions or theories (prior probabilities) in light of new data. The theorem connects the conditional and marginal probabilities of two random events, providing a mathematical framework for updating beliefs based on new evidence. In its simplest form, Bayes' Theorem calculates the probability of an event based on prior knowledge of conditions that might be related to the event.<\/p>\n<p style=\"text-align: center;\">[latex]P(A|B)=\\frac{P(A)P(B|A)}{P(A)P(B|A)+P(\\bar{A})P(B|\\bar{A})}[\/latex]<\/p>\n<\/div>\n<section class=\"textbox watchIt\"><iframe title=\"YouTube video player\" src=\"https:\/\/www.youtube.com\/embed\/XQoLVl31ZfQ\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe>\n<p class=\"p1\">You can view the&nbsp;<a href=\"https:\/\/course-building.s3.us-west-2.amazonaws.com\/Quantitative+Reasoning+-+2023+Build\/Transcriptions\/Bayes'+Theorem+-+The+Simplest+Case.txt\" target=\"_blank\" rel=\"noopener\"><span class=\"s1\">transcript for \u201cBayes' Theorem - The Simplest Case\u201d here (opens in new window).<\/span><\/a><\/p>\n<\/section>\n<section class=\"textbox example\">A certain disease has an incidence rate of [latex]2\\%[\/latex]. If the false negative rate is [latex]10\\%[\/latex] and the false positive rate is [latex]1\\%[\/latex], compute the probability that a person who tests positive actually has the disease.<br>\n[reveal-answer q=\"507646\"]Show Solution[\/reveal-answer]<br>\n[hidden-answer a=\"507646\"]Imagine [latex]10,000[\/latex] people who are tested. Of these [latex]10,000[\/latex], [latex]200[\/latex] will have the disease; [latex]10\\%[\/latex] of them, or [latex]20[\/latex], will test negative and the remaining [latex]180[\/latex] will test positive. Of the [latex]9800[\/latex] who do not have the disease, [latex]98[\/latex] will test positive. So of the [latex]278[\/latex] total people who test positive, [latex]180[\/latex] will have the disease. Thus\n\n\n<p style=\"text-align: center;\">[latex]P(\\text{disease}|\\text{positive})=\\frac{180}{278}\\approx0.647[\/latex]<\/p>\n<p>so about [latex]65\\%[\/latex] of the people who test positive will have the disease.<\/p>\n<p>Using Bayes theorem directly would give the same result:<\/p>\n<p style=\"text-align: center;\">[latex]P(\\text{disease}|\\text{positive})=\\frac{(0.02)(0.90)}{(0.02)(0.90)+(0.98)(0.01)}=\\frac{0.018}{0.0278}\\approx0.647[\/latex]<\/p>\n<p>View the following for more about this example.<\/p>\n<p>[embed]https:\/\/youtu.be\/_c3xZvHto3k[\/embed]<\/p>\n<p>You can view the <a href=\"https:\/\/course-building.s3.us-west-2.amazonaws.com\/Quantitative+Reasoning+-+2023+Build\/Transcriptions\/Probability+of+a+disease+given+a+postiive+test_+Bayes+Theorem+ex2.txt\" target=\"_blank\" rel=\"noopener\">transcript for \u201cProbability of a disease given a postiive test: Bayes Theorem ex2\u201d here (opens in new window).<\/a><\/p>\n\n\n[\/hidden-answer]<\/section>\n<h2>Basic Counting<\/h2>\n<div class=\"textbox shaded\">\n<p><strong>The Main Idea&nbsp;<\/strong><\/p>\n<p>The <strong>basic counting rule<\/strong>, also known as the Fundamental Counting Principle, is a key concept in probability that allows for calculating the total number of possible outcomes for a series of events. It states that if there are [latex]n[\/latex] ways for one event to occur and [latex]m[\/latex] ways for another independent event to occur, then there are [latex]n[\/latex] times [latex]m[\/latex] ways for both to occur. This principle applies when the outcome of one event does not influence the outcome of another. For example, if you have [latex]3[\/latex] shirts and [latex]4[\/latex] pants, then you have [latex]3[\/latex] times [latex]4[\/latex], or [latex]12[\/latex], different outfits to choose from.<\/p>\n<\/div>\n<section class=\"textbox watchIt\"><iframe title=\"YouTube video player\" src=\"https:\/\/www.youtube.com\/embed\/ec-PLqsjmiY\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><br>\n<p>You can view the&nbsp;<a href=\"https:\/\/course-building.s3.us-west-2.amazonaws.com\/Quantitative+Reasoning+-+2023+Build\/Transcriptions\/Probability_+The+Counting+Principle.txt\" target=\"_blank\" rel=\"noopener\">transcript for \u201cProbability: The Counting Principle\u201d here (opens in new window).<\/a><\/p><\/section>\n<section class=\"textbox seeExample\">There are [latex]21[\/latex] novels and [latex]18[\/latex] volumes of poetry on a reading list for a college English course. How many different ways can a student select one novel and one volume of poetry to read during the quarter?<br>\n[reveal-answer q=\"16976\"]Show Solution[\/reveal-answer]<br>\n[hidden-answer a=\"16976\"]There are [latex]21[\/latex] choices from the first category and [latex]18[\/latex] for the second, so there are [latex]21 \\cdot 18&nbsp;=&nbsp;378[\/latex] possibilities.[\/hidden-answer]<\/section>\n<section class=\"textbox seeExample\">Suppose at a particular restaurant you have three choices for an appetizer (soup, salad or breadsticks), five choices for a main course (hamburger, sandwich, quiche, fajita or pasta) and two choices for dessert (pie or ice cream). If you are allowed to choose exactly one item from each category for your meal, how many different meal options do you have?<br>\n[reveal-answer q=\"13816\"]Show Solution[\/reveal-answer]<br>\n[hidden-answer a=\"13816\"]There are [latex]3[\/latex] choices for an appetizer, [latex]5[\/latex] for the main course and [latex]2[\/latex] for dessert, so there are [latex]3 \\cdot 5 \\cdot 2 = 30[\/latex] possibilities.[\/hidden-answer]<\/section>\n<h2>Permutations<\/h2>\n<div class=\"textbox shaded\">\n<p><strong>The Main Idea<br>\n<\/strong><br>\n<strong>Factorials<\/strong> are mathematical operations applied to non-negative integers. The factorial of a number [latex]n[\/latex], denoted as [latex]n![\/latex], is the product of all positive integers less than or equal to [latex]n[\/latex]. For example, the factorial of [latex]4[\/latex] (denoted as [latex]4![\/latex]) is [latex]4\\times3\\times2\\times1[\/latex], which equals [latex]24[\/latex]. Notably, the factorial of [latex]0[\/latex] is defined as [latex]1[\/latex], reflecting the convention that there is exactly one way to arrange zero items.<\/p>\n<p><strong>Permutations<\/strong> are a key concept in combinatorics and deal with the arrangement of items in a specific order. The principle of permutations is used when order matters - that is, when the arrangement of items makes a difference. For instance, in a race, it matters who finishes first, second, or third. The number of permutations of [latex]n[\/latex] objects taken [latex]r[\/latex] at a time is denoted by [latex] P(n, r)[\/latex] and is given by:<\/p>\n<p style=\"text-align: center;\">[latex] P(n, r) = \\frac{n!}{(n-r)!}[\/latex],<\/p>\n<p>where [latex]![\/latex] denotes a factorial, the product of an integer and all the integers below it, down to [latex]1[\/latex]. For example, the permutations of three different items ([latex]A[\/latex], [latex]B[\/latex], and [latex]C[\/latex]) are [latex]ABC, ACB, BAC, BCA, CAB, \\text{ and } CBA[\/latex], giving a total of [latex]6[\/latex] permutations.<\/p>\n<\/div>\n<section class=\"textbox watchIt\"><iframe title=\"YouTube video player\" src=\"https:\/\/www.youtube.com\/embed\/DROZVHObeko\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><br>\n<p>You can view the&nbsp;<a href=\"https:\/\/course-building.s3.us-west-2.amazonaws.com\/Quantitative+Reasoning+-+2023+Build\/Transcriptions\/Permutation+formula+_+Probability+and+combinatorics+_+Probability+and+Statistics+_+Khan+Academy.txt\" target=\"_blank\" rel=\"noopener\">transcript for \u201cPermutation formula | Probability and combinatorics | Probability and Statistics | Khan Academy\u201d here (opens in new window).<\/a><\/p><\/section>\n<section class=\"textbox seeExample\">How many ways can a four-person executive committee (president, vice-president, secretary, treasurer) be selected from a [latex]16[\/latex]-member board of directors of a non-profit organization?<br>\n[reveal-answer q=\"889810\"]Show Solution[\/reveal-answer]<br>\n[hidden-answer a=\"889810\"]We want to choose [latex]4[\/latex] people out of [latex]16[\/latex] without replacement and where the order of selection is important.<center>[latex]\\begin{array}{ll} P(n, r)&amp; = \\frac{n!}{(n-r)!} \\\\<br>\n&amp; = \\frac{16!}{(61-4)!} \\\\<br>\n&amp; = \\frac{16!}{12!} \\\\<br>\n&amp; = \\frac{20,922,789,888,000}{479,001,600} \\\\<br>\n&amp; = 43,680 \\text{ permutations} \\end{array}[\/latex]<\/center><br>\n[\/hidden-answer]<\/section>\n<h2>Combinations<\/h2>\n<div class=\"textbox shaded\">\n<p><strong>The Main Idea&nbsp;<\/strong><strong>Combinations<\/strong> are a key concept in combinatorics and statistics, used to determine the number of possible selections of items from a larger set, where the order of selection does not matter. For a given set of [latex]n[\/latex] items, you can select [latex]r[\/latex] items in [latex]C(n, r)[\/latex] ways, where [latex]C[\/latex] represents the combination function, also denoted as [latex]nCr[\/latex] or \"[latex]n[\/latex] choose [latex]r[\/latex]\". This is calculated as [latex] C(n, r) = \\frac{n!}{r!(n-r)!}[\/latex], where [latex]![\/latex] denotes factorial. For instance, if you have [latex]5[\/latex] books and you want to choose [latex]2[\/latex] to take on a trip, there are [latex]C(5, 2) = 10[\/latex] different pairs you could choose.<\/p>\n<\/div>\n<section class=\"textbox watchIt\"><iframe title=\"YouTube video player\" src=\"https:\/\/www.youtube.com\/embed\/iKy-d5_erhI\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><br>\n<p>You can view the&nbsp;<a href=\"https:\/\/course-building.s3.us-west-2.amazonaws.com\/Quantitative+Reasoning+-+2023+Build\/Transcriptions\/Introduction+to+combinations+_+Probability+and+Statistics+_+Khan+Academy.txt\" target=\"_blank\" rel=\"noopener\">transcript for \u201cIntroduction to combinations | Probability and Statistics | Khan Academy\u201d here (opens in new window).<\/a><\/p><\/section>\n<section class=\"textbox seeExample\">A charity benefit is attended by [latex]25[\/latex] people at which three [latex]$50[\/latex] gift certificates are given away as door prizes. Assuming no person receives more than one prize, how many different ways can the gift certificates be awarded?<br>\n[reveal-answer q=\"942898\"]Show Solution[\/reveal-answer]<br>\n[hidden-answer a=\"942898\"]Using the Basic Counting Rule, there are [latex]25[\/latex] choices for the first person, [latex]24[\/latex] remaining choices for the second person, and [latex]23[\/latex] for the third, so there are [latex]25 \u00b7 24 \u00b7 23 = 13,800[\/latex] ways to choose three people. Suppose for a moment that Abe is chosen first, Bea second and Cindy third; this is one of the [latex]13,800[\/latex] possible outcomes. Another way to award the prizes would be to choose Abe first, Cindy second and Bea third; this is another of the [latex]13,800[\/latex] possible outcomes. But either way Abe, Bea and Cindy each get [latex]$50[\/latex], so it doesn't really matter the order in which we select them. In how many different orders can Abe, Bea and Cindy be selected? It turns out there are [latex]6[\/latex]: ABC&nbsp;&nbsp;&nbsp;&nbsp; ACB&nbsp;&nbsp;&nbsp;&nbsp; BAC&nbsp;&nbsp;&nbsp;&nbsp; BCA&nbsp;&nbsp;&nbsp;&nbsp; CAB&nbsp;&nbsp;&nbsp;&nbsp; CBA. How can we be sure that we have counted them all? We are really just choosing [latex]3[\/latex] people out of [latex]3[\/latex], so there are [latex]3 \u00b7 2 \u00b7 1 = 6[\/latex] ways to do this; we didn't really need to list them all. We can just use permutations! So, out of the [latex]13,800[\/latex] ways to select [latex]3[\/latex] people out of [latex]25[\/latex], six of them involve Abe, Bea and Cindy. The same argument works for any other group of three people (say Abe, Bea and David or Frank, Gloria and Hildy) so each three-person group is counted <em>six times<\/em>. Thus the [latex]13,800[\/latex] figure is six times too big. The number of distinct three-person groups will be [latex]\\frac{13,800}{6} = 2300[\/latex].[\/hidden-answer]<\/section>\n<section class=\"textbox seeExample\">A group of four students is to be chosen from a [latex]35[\/latex]-member class to represent the class on the student council. How many ways can this be done?<br>\n[reveal-answer q=\"125383\"]Show Solution[\/reveal-answer]<br>\n[hidden-answer a=\"125383\"]Since we are choosing [latex]4[\/latex] people out of [latex]35[\/latex] <em>without replacement<\/em> where the <em>order of selection is <strong>not<\/strong> important<\/em> there are [latex]{}_{35}{{C}_{4}}=\\frac{35\\cdot34\\cdot33\\cdot32}{4\\cdot3\\cdot2\\cdot1} = 52\\mbox{,}360[\/latex] combinations. <a href=\"https:\/\/youtu.be\/W8kd4YosbzE\">View the following for more explanation of the combinations examples<\/a>.&nbsp;\n\n\n<p>You can view the <a href=\"https:\/\/course-building.s3.us-west-2.amazonaws.com\/Quantitative+Reasoning+-+2023+Build\/Transcriptions\/Combinations.txt\" target=\"_blank\" rel=\"noopener\">transcript for \u201cCombinations\u201d here (opens in new window).<\/a><\/p>\n\n\n[\/hidden-answer]<\/section>\n<h2>Expected Value<\/h2>\n<div class=\"textbox shaded\">\n<p><strong>The Main Idea&nbsp;<\/strong><\/p>\n<p>The <strong>expected value<\/strong>, also known as the expectation or the mean, is a fundamental concept in probability and statistics. It's essentially a weighted average of possible outcomes of a random variable, where each outcome is weighted by its probability. In other words, the expected value gives the long-term average result of repeated trials of the same experiment. It is calculated by summing the products of each outcome and its associated probability. Importantly, the expected value may not always correspond to an outcome that is actually possible; rather, it gives a measure of the center of the distribution of the random variable.<\/p>\n<p>Expected value notation: [latex]E(x)=\\sum_{i}^{n}P(x_i)x_i[\/latex]<\/p>\n<\/div>\n<section class=\"textbox watchIt\"><iframe src=\"\/\/plugin.3playmedia.com\/show?mf=10350381&amp;p3sdk_version=1.10.1&amp;p=20361&amp;pt=375&amp;video_id=b6VK2VPMXNI&amp;video_target=tpm-plugin-fc8w0dbt-b6VK2VPMXNI\" width=\"800px\" height=\"450px\" frameborder=\"0\" marginwidth=\"0px\" marginheight=\"0px\"><\/iframe><br>\n<p>You can view the&nbsp;<a href=\"https:\/\/course-building.s3.us-west-2.amazonaws.com\/Quantitative+Reasoning+-+2023+Build\/Transcriptions\/How+To+Calculate+Expected+Value.txt\" target=\"_blank\" rel=\"noopener\">transcript for \u201cHow To Calculate Expected Value\u201d here (opens in new window).<\/a><\/p><\/section>\n<section class=\"textbox seeExample\">In the casino game roulette, a wheel with [latex]38[\/latex] spaces ([latex]18[\/latex] red, [latex]18[\/latex] black, and [latex]2[\/latex] green) is spun. In one possible bet, the player bets [latex]$1[\/latex] on a single number. If that number is spun on the wheel, then they receive [latex]$36[\/latex] (their original [latex]$1 + $35[\/latex]). Otherwise, they lose their [latex]$1[\/latex]. On average, how much money should a player expect to win or lose if they play this game repeatedly?<br>\n[reveal-answer q=\"408866\"]Show Solution[\/reveal-answer]<br>\n[hidden-answer a=\"408866\"]Suppose you bet [latex]$1[\/latex] on each of the [latex]38[\/latex] spaces on the wheel, for a total of [latex]$38[\/latex] bet. When the winning number is spun, you are paid [latex]$36[\/latex] on that number. While you won on that one number, overall you\u2019ve lost [latex]$2[\/latex]. On a per-space basis, you have \u201cwon\u201d [latex]\\frac{-$2}{$38} \u2248 -$0.053[\/latex]. In other words, on average you lose [latex]5.3[\/latex] cents per space you bet on. We call this average gain or loss the expected value of playing roulette. Notice that no one ever loses exactly [latex]5.3[\/latex] cents: most people (in fact, about [latex]37[\/latex] out of every [latex]38[\/latex]) lose [latex]$1[\/latex] and a very few people (about [latex]1[\/latex] person out of every [latex]38[\/latex]) gain [latex]$35[\/latex] (the [latex]$36[\/latex] they win minus the [latex]$1[\/latex] they spent to play the game). There is another way to compute the expected value without imagining what would happen if we play every possible space. There are [latex]38[\/latex] possible outcomes when the wheel spins, so the probability of winning is [latex]\\frac{1}{38}[\/latex]. The complement, the probability of losing, is [latex]\\frac{37}{38}[\/latex]. Summarizing these along with the values, we get this table:\n\n\n<table>\n<tbody>\n<tr>\n<td>Outcome<\/td>\n<td>Probability of outcome<\/td>\n<\/tr>\n<tr>\n<td>[latex]$35[\/latex]<\/td>\n<td>[latex]\\frac{1}{38}[\/latex]<\/td>\n<\/tr>\n<tr>\n<td>[latex]-$1[\/latex]<\/td>\n<td>[latex]\\frac{37}{38}[\/latex]<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><\/p>\n<p><\/p>\n<p>Notice that if we multiply each outcome by its corresponding probability we get [latex]\\$35\\cdot \\frac{1}{38}=0.9211[\/latex] and [latex]-\\$1\\cdot \\frac{37}{38}=-0.9737[\/latex], and if we add these numbers we get:<\/p>\n<p>[latex]0.9211 + (-0.9737) \u2248 -0.053[\/latex], which is the expected value we computed above.[\/hidden-answer]<\/p>\n<\/section>\n","rendered":"<section class=\"textbox learningGoals\">\n<ul>\n<li>Calculate conditional probability using Bayes&#8217; Theorem<\/li>\n<li>Solve counting problems<\/li>\n<li>Calculate the average value of a random event<\/li>\n<\/ul>\n<\/section>\n<h2>Bayes&#8217; Theorem<\/h2>\n<div class=\"textbox shaded\">\n<p><strong>The Main Idea&nbsp;<\/strong><\/p>\n<p><strong>Bayes&#8217; Theorem <\/strong>is a fundamental principle in probability theory and statistics that describes how to update the probabilities of hypotheses when given evidence. It serves as a method to revise existing predictions or theories (prior probabilities) in light of new data. The theorem connects the conditional and marginal probabilities of two random events, providing a mathematical framework for updating beliefs based on new evidence. In its simplest form, Bayes&#8217; Theorem calculates the probability of an event based on prior knowledge of conditions that might be related to the event.<\/p>\n<p style=\"text-align: center;\">[latex]P(A|B)=\\frac{P(A)P(B|A)}{P(A)P(B|A)+P(\\bar{A})P(B|\\bar{A})}[\/latex]<\/p>\n<\/div>\n<section class=\"textbox watchIt\"><iframe loading=\"lazy\" title=\"YouTube video player\" src=\"https:\/\/www.youtube.com\/embed\/XQoLVl31ZfQ\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p class=\"p1\">You can view the&nbsp;<a href=\"https:\/\/course-building.s3.us-west-2.amazonaws.com\/Quantitative+Reasoning+-+2023+Build\/Transcriptions\/Bayes'+Theorem+-+The+Simplest+Case.txt\" target=\"_blank\" rel=\"noopener\"><span class=\"s1\">transcript for \u201cBayes&#8217; Theorem &#8211; The Simplest Case\u201d here (opens in new window).<\/span><\/a><\/p>\n<\/section>\n<section class=\"textbox example\">A certain disease has an incidence rate of [latex]2\\%[\/latex]. If the false negative rate is [latex]10\\%[\/latex] and the false positive rate is [latex]1\\%[\/latex], compute the probability that a person who tests positive actually has the disease.<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q507646\">Show Solution<\/button><\/p>\n<div id=\"q507646\" class=\"hidden-answer\" style=\"display: none\">Imagine [latex]10,000[\/latex] people who are tested. Of these [latex]10,000[\/latex], [latex]200[\/latex] will have the disease; [latex]10\\%[\/latex] of them, or [latex]20[\/latex], will test negative and the remaining [latex]180[\/latex] will test positive. Of the [latex]9800[\/latex] who do not have the disease, [latex]98[\/latex] will test positive. So of the [latex]278[\/latex] total people who test positive, [latex]180[\/latex] will have the disease. Thus<\/p>\n<p style=\"text-align: center;\">[latex]P(\\text{disease}|\\text{positive})=\\frac{180}{278}\\approx0.647[\/latex]<\/p>\n<p>so about [latex]65\\%[\/latex] of the people who test positive will have the disease.<\/p>\n<p>Using Bayes theorem directly would give the same result:<\/p>\n<p style=\"text-align: center;\">[latex]P(\\text{disease}|\\text{positive})=\\frac{(0.02)(0.90)}{(0.02)(0.90)+(0.98)(0.01)}=\\frac{0.018}{0.0278}\\approx0.647[\/latex]<\/p>\n<p>View the following for more about this example.<\/p>\n<p><iframe loading=\"lazy\" id=\"oembed-1\" title=\"Probability of a disease given a postiive test: Bayes Theorem ex2\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/_c3xZvHto3k?feature=oembed&#38;rel=0\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p>You can view the <a href=\"https:\/\/course-building.s3.us-west-2.amazonaws.com\/Quantitative+Reasoning+-+2023+Build\/Transcriptions\/Probability+of+a+disease+given+a+postiive+test_+Bayes+Theorem+ex2.txt\" target=\"_blank\" rel=\"noopener\">transcript for \u201cProbability of a disease given a postiive test: Bayes Theorem ex2\u201d here (opens in new window).<\/a><\/p>\n<\/div>\n<\/div>\n<\/section>\n<h2>Basic Counting<\/h2>\n<div class=\"textbox shaded\">\n<p><strong>The Main Idea&nbsp;<\/strong><\/p>\n<p>The <strong>basic counting rule<\/strong>, also known as the Fundamental Counting Principle, is a key concept in probability that allows for calculating the total number of possible outcomes for a series of events. It states that if there are [latex]n[\/latex] ways for one event to occur and [latex]m[\/latex] ways for another independent event to occur, then there are [latex]n[\/latex] times [latex]m[\/latex] ways for both to occur. This principle applies when the outcome of one event does not influence the outcome of another. For example, if you have [latex]3[\/latex] shirts and [latex]4[\/latex] pants, then you have [latex]3[\/latex] times [latex]4[\/latex], or [latex]12[\/latex], different outfits to choose from.<\/p>\n<\/div>\n<section class=\"textbox watchIt\"><iframe loading=\"lazy\" title=\"YouTube video player\" src=\"https:\/\/www.youtube.com\/embed\/ec-PLqsjmiY\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p>You can view the&nbsp;<a href=\"https:\/\/course-building.s3.us-west-2.amazonaws.com\/Quantitative+Reasoning+-+2023+Build\/Transcriptions\/Probability_+The+Counting+Principle.txt\" target=\"_blank\" rel=\"noopener\">transcript for \u201cProbability: The Counting Principle\u201d here (opens in new window).<\/a><\/p>\n<\/section>\n<section class=\"textbox seeExample\">There are [latex]21[\/latex] novels and [latex]18[\/latex] volumes of poetry on a reading list for a college English course. How many different ways can a student select one novel and one volume of poetry to read during the quarter?<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q16976\">Show Solution<\/button><\/p>\n<div id=\"q16976\" class=\"hidden-answer\" style=\"display: none\">There are [latex]21[\/latex] choices from the first category and [latex]18[\/latex] for the second, so there are [latex]21 \\cdot 18&nbsp;=&nbsp;378[\/latex] possibilities.<\/div>\n<\/div>\n<\/section>\n<section class=\"textbox seeExample\">Suppose at a particular restaurant you have three choices for an appetizer (soup, salad or breadsticks), five choices for a main course (hamburger, sandwich, quiche, fajita or pasta) and two choices for dessert (pie or ice cream). If you are allowed to choose exactly one item from each category for your meal, how many different meal options do you have?<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q13816\">Show Solution<\/button><\/p>\n<div id=\"q13816\" class=\"hidden-answer\" style=\"display: none\">There are [latex]3[\/latex] choices for an appetizer, [latex]5[\/latex] for the main course and [latex]2[\/latex] for dessert, so there are [latex]3 \\cdot 5 \\cdot 2 = 30[\/latex] possibilities.<\/div>\n<\/div>\n<\/section>\n<h2>Permutations<\/h2>\n<div class=\"textbox shaded\">\n<p><strong>The Main Idea<br \/>\n<\/strong><br \/>\n<strong>Factorials<\/strong> are mathematical operations applied to non-negative integers. The factorial of a number [latex]n[\/latex], denoted as [latex]n![\/latex], is the product of all positive integers less than or equal to [latex]n[\/latex]. For example, the factorial of [latex]4[\/latex] (denoted as [latex]4![\/latex]) is [latex]4\\times3\\times2\\times1[\/latex], which equals [latex]24[\/latex]. Notably, the factorial of [latex]0[\/latex] is defined as [latex]1[\/latex], reflecting the convention that there is exactly one way to arrange zero items.<\/p>\n<p><strong>Permutations<\/strong> are a key concept in combinatorics and deal with the arrangement of items in a specific order. The principle of permutations is used when order matters &#8211; that is, when the arrangement of items makes a difference. For instance, in a race, it matters who finishes first, second, or third. The number of permutations of [latex]n[\/latex] objects taken [latex]r[\/latex] at a time is denoted by [latex]P(n, r)[\/latex] and is given by:<\/p>\n<p style=\"text-align: center;\">[latex]P(n, r) = \\frac{n!}{(n-r)!}[\/latex],<\/p>\n<p>where [latex]![\/latex] denotes a factorial, the product of an integer and all the integers below it, down to [latex]1[\/latex]. For example, the permutations of three different items ([latex]A[\/latex], [latex]B[\/latex], and [latex]C[\/latex]) are [latex]ABC, ACB, BAC, BCA, CAB, \\text{ and } CBA[\/latex], giving a total of [latex]6[\/latex] permutations.<\/p>\n<\/div>\n<section class=\"textbox watchIt\"><iframe loading=\"lazy\" title=\"YouTube video player\" src=\"https:\/\/www.youtube.com\/embed\/DROZVHObeko\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p>You can view the&nbsp;<a href=\"https:\/\/course-building.s3.us-west-2.amazonaws.com\/Quantitative+Reasoning+-+2023+Build\/Transcriptions\/Permutation+formula+_+Probability+and+combinatorics+_+Probability+and+Statistics+_+Khan+Academy.txt\" target=\"_blank\" rel=\"noopener\">transcript for \u201cPermutation formula | Probability and combinatorics | Probability and Statistics | Khan Academy\u201d here (opens in new window).<\/a><\/p>\n<\/section>\n<section class=\"textbox seeExample\">How many ways can a four-person executive committee (president, vice-president, secretary, treasurer) be selected from a [latex]16[\/latex]-member board of directors of a non-profit organization?<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q889810\">Show Solution<\/button><\/p>\n<div id=\"q889810\" class=\"hidden-answer\" style=\"display: none\">We want to choose [latex]4[\/latex] people out of [latex]16[\/latex] without replacement and where the order of selection is important.<\/p>\n<div style=\"text-align: center;\">[latex]\\begin{array}{ll} P(n, r)& = \\frac{n!}{(n-r)!} \\\\<br \/> & = \\frac{16!}{(61-4)!} \\\\<br \/> & = \\frac{16!}{12!} \\\\<br \/> & = \\frac{20,922,789,888,000}{479,001,600} \\\\<br \/> & = 43,680 \\text{ permutations} \\end{array}[\/latex]<\/div>\n<p>\n<\/div>\n<\/div>\n<\/section>\n<h2>Combinations<\/h2>\n<div class=\"textbox shaded\">\n<p><strong>The Main Idea&nbsp;<\/strong><strong>Combinations<\/strong> are a key concept in combinatorics and statistics, used to determine the number of possible selections of items from a larger set, where the order of selection does not matter. For a given set of [latex]n[\/latex] items, you can select [latex]r[\/latex] items in [latex]C(n, r)[\/latex] ways, where [latex]C[\/latex] represents the combination function, also denoted as [latex]nCr[\/latex] or &#8220;[latex]n[\/latex] choose [latex]r[\/latex]&#8220;. This is calculated as [latex]C(n, r) = \\frac{n!}{r!(n-r)!}[\/latex], where [latex]![\/latex] denotes factorial. For instance, if you have [latex]5[\/latex] books and you want to choose [latex]2[\/latex] to take on a trip, there are [latex]C(5, 2) = 10[\/latex] different pairs you could choose.<\/p>\n<\/div>\n<section class=\"textbox watchIt\"><iframe loading=\"lazy\" title=\"YouTube video player\" src=\"https:\/\/www.youtube.com\/embed\/iKy-d5_erhI\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p>You can view the&nbsp;<a href=\"https:\/\/course-building.s3.us-west-2.amazonaws.com\/Quantitative+Reasoning+-+2023+Build\/Transcriptions\/Introduction+to+combinations+_+Probability+and+Statistics+_+Khan+Academy.txt\" target=\"_blank\" rel=\"noopener\">transcript for \u201cIntroduction to combinations | Probability and Statistics | Khan Academy\u201d here (opens in new window).<\/a><\/p>\n<\/section>\n<section class=\"textbox seeExample\">A charity benefit is attended by [latex]25[\/latex] people at which three [latex]$50[\/latex] gift certificates are given away as door prizes. Assuming no person receives more than one prize, how many different ways can the gift certificates be awarded?<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q942898\">Show Solution<\/button><\/p>\n<div id=\"q942898\" class=\"hidden-answer\" style=\"display: none\">Using the Basic Counting Rule, there are [latex]25[\/latex] choices for the first person, [latex]24[\/latex] remaining choices for the second person, and [latex]23[\/latex] for the third, so there are [latex]25 \u00b7 24 \u00b7 23 = 13,800[\/latex] ways to choose three people. Suppose for a moment that Abe is chosen first, Bea second and Cindy third; this is one of the [latex]13,800[\/latex] possible outcomes. Another way to award the prizes would be to choose Abe first, Cindy second and Bea third; this is another of the [latex]13,800[\/latex] possible outcomes. But either way Abe, Bea and Cindy each get [latex]$50[\/latex], so it doesn&#8217;t really matter the order in which we select them. In how many different orders can Abe, Bea and Cindy be selected? It turns out there are [latex]6[\/latex]: ABC&nbsp;&nbsp;&nbsp;&nbsp; ACB&nbsp;&nbsp;&nbsp;&nbsp; BAC&nbsp;&nbsp;&nbsp;&nbsp; BCA&nbsp;&nbsp;&nbsp;&nbsp; CAB&nbsp;&nbsp;&nbsp;&nbsp; CBA. How can we be sure that we have counted them all? We are really just choosing [latex]3[\/latex] people out of [latex]3[\/latex], so there are [latex]3 \u00b7 2 \u00b7 1 = 6[\/latex] ways to do this; we didn&#8217;t really need to list them all. We can just use permutations! So, out of the [latex]13,800[\/latex] ways to select [latex]3[\/latex] people out of [latex]25[\/latex], six of them involve Abe, Bea and Cindy. The same argument works for any other group of three people (say Abe, Bea and David or Frank, Gloria and Hildy) so each three-person group is counted <em>six times<\/em>. Thus the [latex]13,800[\/latex] figure is six times too big. The number of distinct three-person groups will be [latex]\\frac{13,800}{6} = 2300[\/latex].<\/div>\n<\/div>\n<\/section>\n<section class=\"textbox seeExample\">A group of four students is to be chosen from a [latex]35[\/latex]-member class to represent the class on the student council. How many ways can this be done?<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q125383\">Show Solution<\/button><\/p>\n<div id=\"q125383\" class=\"hidden-answer\" style=\"display: none\">Since we are choosing [latex]4[\/latex] people out of [latex]35[\/latex] <em>without replacement<\/em> where the <em>order of selection is <strong>not<\/strong> important<\/em> there are [latex]{}_{35}{{C}_{4}}=\\frac{35\\cdot34\\cdot33\\cdot32}{4\\cdot3\\cdot2\\cdot1} = 52\\mbox{,}360[\/latex] combinations. <a href=\"https:\/\/youtu.be\/W8kd4YosbzE\">View the following for more explanation of the combinations examples<\/a>.&nbsp;<\/p>\n<p>You can view the <a href=\"https:\/\/course-building.s3.us-west-2.amazonaws.com\/Quantitative+Reasoning+-+2023+Build\/Transcriptions\/Combinations.txt\" target=\"_blank\" rel=\"noopener\">transcript for \u201cCombinations\u201d here (opens in new window).<\/a><\/p>\n<\/div>\n<\/div>\n<\/section>\n<h2>Expected Value<\/h2>\n<div class=\"textbox shaded\">\n<p><strong>The Main Idea&nbsp;<\/strong><\/p>\n<p>The <strong>expected value<\/strong>, also known as the expectation or the mean, is a fundamental concept in probability and statistics. It&#8217;s essentially a weighted average of possible outcomes of a random variable, where each outcome is weighted by its probability. In other words, the expected value gives the long-term average result of repeated trials of the same experiment. It is calculated by summing the products of each outcome and its associated probability. Importantly, the expected value may not always correspond to an outcome that is actually possible; rather, it gives a measure of the center of the distribution of the random variable.<\/p>\n<p>Expected value notation: [latex]E(x)=\\sum_{i}^{n}P(x_i)x_i[\/latex]<\/p>\n<\/div>\n<section class=\"textbox watchIt\"><iframe loading=\"lazy\" src=\"\/\/plugin.3playmedia.com\/show?mf=10350381&amp;p3sdk_version=1.10.1&amp;p=20361&amp;pt=375&amp;video_id=b6VK2VPMXNI&amp;video_target=tpm-plugin-fc8w0dbt-b6VK2VPMXNI\" width=\"800px\" height=\"450px\" frameborder=\"0\" marginwidth=\"0px\" marginheight=\"0px\"><\/iframe><\/p>\n<p>You can view the&nbsp;<a href=\"https:\/\/course-building.s3.us-west-2.amazonaws.com\/Quantitative+Reasoning+-+2023+Build\/Transcriptions\/How+To+Calculate+Expected+Value.txt\" target=\"_blank\" rel=\"noopener\">transcript for \u201cHow To Calculate Expected Value\u201d here (opens in new window).<\/a><\/p>\n<\/section>\n<section class=\"textbox seeExample\">In the casino game roulette, a wheel with [latex]38[\/latex] spaces ([latex]18[\/latex] red, [latex]18[\/latex] black, and [latex]2[\/latex] green) is spun. In one possible bet, the player bets [latex]$1[\/latex] on a single number. If that number is spun on the wheel, then they receive [latex]$36[\/latex] (their original [latex]$1 + $35[\/latex]). Otherwise, they lose their [latex]$1[\/latex]. On average, how much money should a player expect to win or lose if they play this game repeatedly?<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q408866\">Show Solution<\/button><\/p>\n<div id=\"q408866\" class=\"hidden-answer\" style=\"display: none\">Suppose you bet [latex]$1[\/latex] on each of the [latex]38[\/latex] spaces on the wheel, for a total of [latex]$38[\/latex] bet. When the winning number is spun, you are paid [latex]$36[\/latex] on that number. While you won on that one number, overall you\u2019ve lost [latex]$2[\/latex]. On a per-space basis, you have \u201cwon\u201d [latex]\\frac{-$2}{$38} \u2248 -$0.053[\/latex]. In other words, on average you lose [latex]5.3[\/latex] cents per space you bet on. We call this average gain or loss the expected value of playing roulette. Notice that no one ever loses exactly [latex]5.3[\/latex] cents: most people (in fact, about [latex]37[\/latex] out of every [latex]38[\/latex]) lose [latex]$1[\/latex] and a very few people (about [latex]1[\/latex] person out of every [latex]38[\/latex]) gain [latex]$35[\/latex] (the [latex]$36[\/latex] they win minus the [latex]$1[\/latex] they spent to play the game). There is another way to compute the expected value without imagining what would happen if we play every possible space. There are [latex]38[\/latex] possible outcomes when the wheel spins, so the probability of winning is [latex]\\frac{1}{38}[\/latex]. The complement, the probability of losing, is [latex]\\frac{37}{38}[\/latex]. Summarizing these along with the values, we get this table:<\/p>\n<table>\n<tbody>\n<tr>\n<td>Outcome<\/td>\n<td>Probability of outcome<\/td>\n<\/tr>\n<tr>\n<td>[latex]$35[\/latex]<\/td>\n<td>[latex]\\frac{1}{38}[\/latex]<\/td>\n<\/tr>\n<tr>\n<td>[latex]-$1[\/latex]<\/td>\n<td>[latex]\\frac{37}{38}[\/latex]<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/p>\n<p>Notice that if we multiply each outcome by its corresponding probability we get [latex]\\$35\\cdot \\frac{1}{38}=0.9211[\/latex] and [latex]-\\$1\\cdot \\frac{37}{38}=-0.9737[\/latex], and if we add these numbers we get:<\/p>\n<p>[latex]0.9211 + (-0.9737) \u2248 -0.053[\/latex], which is the expected value we computed above.<\/p><\/div>\n<\/div>\n<\/section>\n","protected":false},"author":6,"menu_order":19,"template":"","meta":{"_candela_citation":"[]","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"part":241,"module-header":"","content_attributions":[],"internal_book_links":[],"video_content":null,"cc_video_embed_content":{"cc_scripts":"","media_targets":[]},"try_it_collection":null,"_links":{"self":[{"href":"https:\/\/content.one.lumenlearning.com\/collegealgebrademo\/wp-json\/pressbooks\/v2\/chapters\/263"}],"collection":[{"href":"https:\/\/content.one.lumenlearning.com\/collegealgebrademo\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/content.one.lumenlearning.com\/collegealgebrademo\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/collegealgebrademo\/wp-json\/wp\/v2\/users\/6"}],"version-history":[{"count":1,"href":"https:\/\/content.one.lumenlearning.com\/collegealgebrademo\/wp-json\/pressbooks\/v2\/chapters\/263\/revisions"}],"predecessor-version":[{"id":303,"href":"https:\/\/content.one.lumenlearning.com\/collegealgebrademo\/wp-json\/pressbooks\/v2\/chapters\/263\/revisions\/303"}],"part":[{"href":"https:\/\/content.one.lumenlearning.com\/collegealgebrademo\/wp-json\/pressbooks\/v2\/parts\/241"}],"metadata":[{"href":"https:\/\/content.one.lumenlearning.com\/collegealgebrademo\/wp-json\/pressbooks\/v2\/chapters\/263\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/content.one.lumenlearning.com\/collegealgebrademo\/wp-json\/wp\/v2\/media?parent=263"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/collegealgebrademo\/wp-json\/pressbooks\/v2\/chapter-type?post=263"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/collegealgebrademo\/wp-json\/wp\/v2\/contributor?post=263"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/collegealgebrademo\/wp-json\/wp\/v2\/license?post=263"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}