{"id":257,"date":"2024-10-18T21:15:24","date_gmt":"2024-10-18T21:15:24","guid":{"rendered":"https:\/\/content.one.lumenlearning.com\/collegealgebrademo\/chapter\/applications-with-probability-learn-it-2\/"},"modified":"2024-10-18T21:15:24","modified_gmt":"2024-10-18T21:15:24","slug":"applications-with-probability-learn-it-2","status":"publish","type":"chapter","link":"https:\/\/content.one.lumenlearning.com\/collegealgebrademo\/chapter\/applications-with-probability-learn-it-2\/","title":{"raw":"Applications With Probability: Learn It 2","rendered":"Applications With Probability: Learn It 2"},"content":{"raw":"\n<h2>Basic Counting<\/h2>\n<section class=\"textbox proTip\">This section introduces several new terms and their notations.&nbsp;<em>Factorial, permutations,<\/em> and&nbsp;<em>combinations<\/em> will likely be completely unfamiliar, but they are based on math you already know. Flashcards and repetition with practice problems will help you obtain them.<\/section>\n<p>Counting? You already know how to count or you wouldn\u2019t be taking a college-level math class, right? Well yes, but what we\u2019ll really be investigating here are ways of counting efficiently. When working with probability situations we will need to count some very large numbers, like the number of possible winning lottery tickets. One way to do this would be to write down every possible set of numbers that might show up on a lottery ticket, but believe me: you don\u2019t want to do this.<\/p>\n<section class=\"textbox example\">Suppose at a particular restaurant you have three choices for an appetizer (soup, salad or breadsticks) and five choices for a main course (hamburger, sandwich, quiche, fajita or pizza).&nbsp;<br>\n<br>\nIf 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=\"507646\"]Show Solution[\/reveal-answer]<br>\n[hidden-answer a=\"507646\"]<strong>Solution 1<\/strong>: One way to solve this problem would be to systematically list each possible meal:\n\n<p style=\"text-align: center;\">[latex]\\begin{array}{lll} \\text{soup + hamburger} &amp; \\text{soup + sandwich} &amp; \\text{soup + quiche} \\\\ \\text{soup + fajita} &amp; \\text{soup + pizza} &amp; \\text{salad + hamburger} \\\\ \\text{salad + sandwich} &amp; \\text{salad + quiche} &amp; \\text{salad + fajita} \\\\ \\text{salad + pizza} &amp; \\text{breadsticks + hamburger} &amp; \\text{breadsticks + sandwich} \\\\ \\text{breadsticks + quiche} &amp; \\text{breadsticks + fajita} &amp; \\text{breadsticks + pizza} \\\\ \\end{array}[\/latex]<\/p>\n<p>Assuming that we did this systematically and that we neither missed any possibilities nor listed any possibility more than once, the answer would be [latex]15[\/latex]. Thus you could go to the restaurant [latex]15[\/latex] nights in a row and have a different meal each night.<\/p>\n<strong>Solution 2<\/strong>: Another way to solve this problem would be to list all the possibilities in a table:\n\n<table align=\"center\">\n<tbody>\n<tr>\n<td>&nbsp;<\/td>\n<td>soup<\/td>\n<td>salad<\/td>\n<td>breadsticks<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 25%;\">hamburger<\/td>\n<td>soup + burger<\/td>\n<td>salad + burger<\/td>\n<td>breadsticks + burger<\/td>\n<\/tr>\n<tr>\n<td>sandwich<\/td>\n<td>soup + sandwich<\/td>\n<td>ect.<\/td>\n<td>&nbsp;<\/td>\n<\/tr>\n<tr>\n<td>quiche<\/td>\n<td>soup + quiche<\/td>\n<td>&nbsp;<\/td>\n<td>&nbsp;<\/td>\n<\/tr>\n<tr>\n<td>fajita<\/td>\n<td>soup + fajita<\/td>\n<td>&nbsp;<\/td>\n<td>&nbsp;<\/td>\n<\/tr>\n<tr>\n<td>pizza<\/td>\n<td>soup + pizza<\/td>\n<td>&nbsp;<\/td>\n<td>&nbsp;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p>In each of the cells in the table we could list the corresponding meal: soup + hamburger in the upper left corner, salad + hamburger below it, etc. But if we didn't really care <em>what<\/em> the possible meals are, only <em>how many<\/em> possible meals there are, we could just count the number of cells and arrive at an answer of [latex]15[\/latex], which matches our answer from the first solution. (It's always good when you solve a problem two different ways and get the same answer!)<\/p>\n<p><strong>Solution 3<\/strong>: We already have two perfectly good solutions. Why do we need a third?&nbsp; The first method was not very systematic, and we might easily have made an omission. The second method was better, but suppose that in addition to the appetizer and the main course we further complicated the problem by adding desserts to the menu: we've used the rows of the table for the appetizers and the columns for the main courses\u2014where will the desserts go? We would need a third dimension, and since drawing [latex]3[\/latex]-D tables on a [latex]2[\/latex]-D page or computer screen isn't terribly easy, we need a better way in case we have three categories to choose form instead of just two.<\/p>\n<p>So, back to the problem in the example.&nbsp; What else can we do?&nbsp; Let's draw a <strong>tree diagram<\/strong>:<\/p>\n<center><img class=\"aligncenter size-full wp-image-341\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/276\/2016\/10\/11181317\/treediagram.png\" alt=\"Tree diagram of above table\" width=\"375\" height=\"225\"><\/center>\n<p>This is called a \"tree\" diagram because at each stage we branch out, like the branches on a tree.&nbsp; In this case, we first drew five branches (one for each main course) and then for each of those branches we drew three more branches (one for each appetizer).&nbsp; We count the number of branches at the final level and get (surprise, surprise!) [latex]15[\/latex].<\/p>\n<p>If we wanted, we could instead draw three branches at the first stage for the three appetizers and then five branches (one for each main course) branching out of each of those three branches.<br>\n[\/hidden-answer]<\/p>\n<\/section>\n<p>OK, so now we know how to count possibilities using tables and tree diagrams but what do we do if we have a really large number?<\/p>\n<p>Let\u2019s go back to the previous example that involved selecting a meal from three appetizers and five main courses, and look at the second solution that used a table. Notice that one way to count the number of possible meals is simply to number each of the appropriate cells in the table, as we have done above. But another way to count the number of cells in the table would be to multiply the number of rows [latex](3)[\/latex] by the number of columns [latex](5)[\/latex] to get [latex]15[\/latex]. Notice that we could have arrived at the same result without making a table at all by simply multiplying the number of choices for the appetizer [latex](3)[\/latex] by the number of choices for the main course [latex](5)[\/latex]. We generalize this technique as the <strong>basic counting rule<\/strong>:<\/p>\n<section class=\"textbox keyTakeaway\">\n<div>\n<h3>basic counting rule<\/h3>\n<p>If we are asked to choose one item from each of two separate categories where there are [latex]m[\/latex] items in the first category and [latex]n[\/latex] items in the second category, then the total number of available choices is [latex]m \\cdot n[\/latex].<br>\nThis is sometimes called the multiplication rule for probabilities.<\/p>\n<\/div>\n<\/section>\n<section class=\"textbox tryIt\">[ohm2_question hide_question_numbers=1]3283[\/ohm2_question]<\/section>\n","rendered":"<h2>Basic Counting<\/h2>\n<section class=\"textbox proTip\">This section introduces several new terms and their notations.&nbsp;<em>Factorial, permutations,<\/em> and&nbsp;<em>combinations<\/em> will likely be completely unfamiliar, but they are based on math you already know. Flashcards and repetition with practice problems will help you obtain them.<\/section>\n<p>Counting? You already know how to count or you wouldn\u2019t be taking a college-level math class, right? Well yes, but what we\u2019ll really be investigating here are ways of counting efficiently. When working with probability situations we will need to count some very large numbers, like the number of possible winning lottery tickets. One way to do this would be to write down every possible set of numbers that might show up on a lottery ticket, but believe me: you don\u2019t want to do this.<\/p>\n<section class=\"textbox example\">Suppose at a particular restaurant you have three choices for an appetizer (soup, salad or breadsticks) and five choices for a main course (hamburger, sandwich, quiche, fajita or pizza).&nbsp;<\/p>\n<p>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=\"q507646\">Show Solution<\/button><\/p>\n<div id=\"q507646\" class=\"hidden-answer\" style=\"display: none\"><strong>Solution 1<\/strong>: One way to solve this problem would be to systematically list each possible meal:<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{lll} \\text{soup + hamburger} & \\text{soup + sandwich} & \\text{soup + quiche} \\\\ \\text{soup + fajita} & \\text{soup + pizza} & \\text{salad + hamburger} \\\\ \\text{salad + sandwich} & \\text{salad + quiche} & \\text{salad + fajita} \\\\ \\text{salad + pizza} & \\text{breadsticks + hamburger} & \\text{breadsticks + sandwich} \\\\ \\text{breadsticks + quiche} & \\text{breadsticks + fajita} & \\text{breadsticks + pizza} \\\\ \\end{array}[\/latex]<\/p>\n<p>Assuming that we did this systematically and that we neither missed any possibilities nor listed any possibility more than once, the answer would be [latex]15[\/latex]. Thus you could go to the restaurant [latex]15[\/latex] nights in a row and have a different meal each night.<\/p>\n<p><strong>Solution 2<\/strong>: Another way to solve this problem would be to list all the possibilities in a table:<\/p>\n<table style=\"margin: auto;\">\n<tbody>\n<tr>\n<td>&nbsp;<\/td>\n<td>soup<\/td>\n<td>salad<\/td>\n<td>breadsticks<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 25%;\">hamburger<\/td>\n<td>soup + burger<\/td>\n<td>salad + burger<\/td>\n<td>breadsticks + burger<\/td>\n<\/tr>\n<tr>\n<td>sandwich<\/td>\n<td>soup + sandwich<\/td>\n<td>ect.<\/td>\n<td>&nbsp;<\/td>\n<\/tr>\n<tr>\n<td>quiche<\/td>\n<td>soup + quiche<\/td>\n<td>&nbsp;<\/td>\n<td>&nbsp;<\/td>\n<\/tr>\n<tr>\n<td>fajita<\/td>\n<td>soup + fajita<\/td>\n<td>&nbsp;<\/td>\n<td>&nbsp;<\/td>\n<\/tr>\n<tr>\n<td>pizza<\/td>\n<td>soup + pizza<\/td>\n<td>&nbsp;<\/td>\n<td>&nbsp;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p>In each of the cells in the table we could list the corresponding meal: soup + hamburger in the upper left corner, salad + hamburger below it, etc. But if we didn&#8217;t really care <em>what<\/em> the possible meals are, only <em>how many<\/em> possible meals there are, we could just count the number of cells and arrive at an answer of [latex]15[\/latex], which matches our answer from the first solution. (It&#8217;s always good when you solve a problem two different ways and get the same answer!)<\/p>\n<p><strong>Solution 3<\/strong>: We already have two perfectly good solutions. Why do we need a third?&nbsp; The first method was not very systematic, and we might easily have made an omission. The second method was better, but suppose that in addition to the appetizer and the main course we further complicated the problem by adding desserts to the menu: we&#8217;ve used the rows of the table for the appetizers and the columns for the main courses\u2014where will the desserts go? We would need a third dimension, and since drawing [latex]3[\/latex]-D tables on a [latex]2[\/latex]-D page or computer screen isn&#8217;t terribly easy, we need a better way in case we have three categories to choose form instead of just two.<\/p>\n<p>So, back to the problem in the example.&nbsp; What else can we do?&nbsp; Let&#8217;s draw a <strong>tree diagram<\/strong>:<\/p>\n<div style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-341\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/276\/2016\/10\/11181317\/treediagram.png\" alt=\"Tree diagram of above table\" width=\"375\" height=\"225\" \/><\/div>\n<p>This is called a &#8220;tree&#8221; diagram because at each stage we branch out, like the branches on a tree.&nbsp; In this case, we first drew five branches (one for each main course) and then for each of those branches we drew three more branches (one for each appetizer).&nbsp; We count the number of branches at the final level and get (surprise, surprise!) [latex]15[\/latex].<\/p>\n<p>If we wanted, we could instead draw three branches at the first stage for the three appetizers and then five branches (one for each main course) branching out of each of those three branches.\n<\/div>\n<\/div>\n<\/section>\n<p>OK, so now we know how to count possibilities using tables and tree diagrams but what do we do if we have a really large number?<\/p>\n<p>Let\u2019s go back to the previous example that involved selecting a meal from three appetizers and five main courses, and look at the second solution that used a table. Notice that one way to count the number of possible meals is simply to number each of the appropriate cells in the table, as we have done above. But another way to count the number of cells in the table would be to multiply the number of rows [latex](3)[\/latex] by the number of columns [latex](5)[\/latex] to get [latex]15[\/latex]. Notice that we could have arrived at the same result without making a table at all by simply multiplying the number of choices for the appetizer [latex](3)[\/latex] by the number of choices for the main course [latex](5)[\/latex]. We generalize this technique as the <strong>basic counting rule<\/strong>:<\/p>\n<section class=\"textbox keyTakeaway\">\n<div>\n<h3>basic counting rule<\/h3>\n<p>If we are asked to choose one item from each of two separate categories where there are [latex]m[\/latex] items in the first category and [latex]n[\/latex] items in the second category, then the total number of available choices is [latex]m \\cdot n[\/latex].<br \/>\nThis is sometimes called the multiplication rule for probabilities.<\/p>\n<\/div>\n<\/section>\n<section class=\"textbox tryIt\"><iframe loading=\"lazy\" id=\"ohm3283\" class=\"resizable\" src=\"https:\/\/ohm.one.lumenlearning.com\/multiembedq.php?id=3283&theme=lumen&iframe_resize_id=ohm3283&source=tnh\" width=\"100%\" height=\"150\"><\/iframe><\/section>\n","protected":false},"author":6,"menu_order":13,"template":"","meta":{"_candela_citation":"[{\"type\":\"original\",\"description\":\"Revision and Adaptation\",\"author\":\"\",\"organization\":\"Lumen Learning\",\"url\":\"\",\"project\":\"\",\"license\":\"cc-by\",\"license_terms\":\"\"},{\"type\":\"cc\",\"description\":\"Math in Society\",\"author\":\"David Lippman\",\"organization\":\"\",\"url\":\"http:\/\/www.opentextbookstore.com\/mathinsociety\/\",\"project\":\"\",\"license\":\"cc-by-sa\",\"license_terms\":\"\"}]","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"part":241,"module-header":"","content_attributions":[{"type":"original","description":"Revision and Adaptation","author":"","organization":"Lumen Learning","url":"","project":"","license":"cc-by","license_terms":""},{"type":"cc","description":"Math in Society","author":"David Lippman","organization":"","url":"http:\/\/www.opentextbookstore.com\/mathinsociety\/","project":"","license":"cc-by-sa","license_terms":""}],"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\/257"}],"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":0,"href":"https:\/\/content.one.lumenlearning.com\/collegealgebrademo\/wp-json\/pressbooks\/v2\/chapters\/257\/revisions"}],"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\/257\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/content.one.lumenlearning.com\/collegealgebrademo\/wp-json\/wp\/v2\/media?parent=257"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/collegealgebrademo\/wp-json\/pressbooks\/v2\/chapter-type?post=257"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/collegealgebrademo\/wp-json\/wp\/v2\/contributor?post=257"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/collegealgebrademo\/wp-json\/wp\/v2\/license?post=257"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}