{"id":33,"date":"2023-11-28T17:07:25","date_gmt":"2023-11-28T22:07:25","guid":{"rendered":"https:\/\/pressbooks.bccampus.ca\/1130sandbox\/chapter\/weighted-mean\/"},"modified":"2024-04-18T04:22:42","modified_gmt":"2024-04-18T08:22:42","slug":"weighted-mean","status":"publish","type":"chapter","link":"https:\/\/pressbooks.bccampus.ca\/1130sandbox\/chapter\/weighted-mean\/","title":{"raw":"Weighted Mean","rendered":"Weighted Mean"},"content":{"raw":"<div class=\"weighted-mean\">\r\n<div class=\"textbox textbox--learning-objectives\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">Learning Outcomes<\/p>\r\n&nbsp;\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">\r\n\r\nUnderstand the difference between a regular and weighted mean. Learn how to calculated a weighted mean and calculate for a missing weight or data value.\r\n\r\n<\/div>\r\n<\/div>\r\n<img class=\" wp-image-420 aligncenter\" src=\"https:\/\/pressbooks.bccampus.ca\/1130sandbox\/wp-content\/uploads\/sites\/2128\/2023\/11\/Weighted_Mean-1-300x28.jpg\" alt=\"\" width=\"578\" height=\"54\" \/>\r\n\r\n\"The weighted arithmetic mean is similar to an ordinary\u00a0<a title=\"Arithmetic mean\" href=\"https:\/\/en.wikipedia.org\/wiki\/Arithmetic_mean\">arithmetic mean<\/a>\u00a0(the most common type of\u00a0<a title=\"Average\" href=\"https:\/\/en.wikipedia.org\/wiki\/Average\">average<\/a>), except that instead of each of the data points contributing equally to the final average, some data points contribute more than others.\"[footnote]https:\/\/en.wikipedia.org\/wiki\/Weighted_arithmetic_mean[\/footnote]\r\n\r\nThis kind of average is called the weighted mean, and is given by the following formula:\r\n\r\n\\[x_w =\\frac{\\Sigma x\\cdot w}{\\Sigma w}\\]\r\n\r\nWhere the x's are the data you are looking to average and the w's are the weights assigned to each of those data points.\r\n<h1>Illustration<\/h1>\r\nSuppose you have $3,000, and make 3 different investments, some invested at 5%, some at 6%, and some at 7%.\r\n\r\n<span style=\"color: #003366\"><strong>Question:<\/strong><\/span> Is your average rate of return equal to [latex]\\frac{(5 + 6 + 7)\\%} {3} = 6%[\/latex]?\r\n\r\n<span style=\"color: #003366\"><strong>Answer:<\/strong><\/span> The answer ONLY if you invested equal amounts in each investment, and NO otherwise. In the case where you invest different amounts, a weighted average is required to determine the average rate of return.\r\n<h1>Example: Investing Different Amounts in Three Investments<\/h1>\r\n<h2>Example 4.1.1<\/h2>\r\nLet us suppose you invested $30,000 at 5%, $6,000 at 6%, and $4,500 at 7%.\r\n\r\n<span style=\"color: #003366\"><strong>Question:<\/strong><\/span> Is the overall (average) rate of return for your investment 6%?\r\n\r\n<span style=\"color: #003366\"><strong>Answer:<\/strong><\/span> No, it is given by the following calculation:\r\n<p style=\"margin-left: 18px\">[latex]\r\n\\begin{align*}\r\nx_w &amp;=\\frac{5\\%\\cdot$30,000 +6\\%\\cdot$6,000 + 7\\%\\cdot$4,500}{$30,000+$6,000+$4,500}\\\\\r\n&amp;=\\frac{$1,500 +$360 + $315}{$30,000+$6,000+$4,500}\\\\\r\n&amp;= \\frac{$2,175}{$40,500}\\\\\r\n&amp;= 0.0537 = 5.37\\%\r\n\\end{align*}\r\n[\/latex]<\/p>\r\n\r\n<h1>Example: Tables for Weighted Mean Calculations<\/h1>\r\n<h2>Example 4.1.2<\/h2>\r\nLet us, instead, use a table to organize the calculations from the previous example. Note: the <em>x<\/em> <em>\u00b7<\/em> <em>w<\/em> column is the product of the <em>x <\/em>and <em>w<\/em> values.\r\n<table class=\"grid\" style=\"border-collapse: collapse;margin-left: 18px;width: 41.5821%;height: 90px\" border=\"0\">\r\n<tbody>\r\n<tr style=\"height: 18px\">\r\n<th style=\"width: 2.1097%;height: 18px\"><em>x<\/em><\/th>\r\n<th style=\"width: 2.1097%;height: 18px\"><em>w<\/em><\/th>\r\n<th style=\"width: 18.2423%;height: 18px\"><em>x<\/em> <em>\u00b7<\/em> <em>w<\/em><\/th>\r\n<\/tr>\r\n<tr style=\"height: 18px\">\r\n<td style=\"width: 2.1097%;height: 18px\">5%<\/td>\r\n<td style=\"width: 2.1097%;height: 18px\">$30,000<\/td>\r\n<td style=\"width: 18.2423%;height: 18px\">0<em>.<\/em>05 <em>\u00d7<\/em> $30<em>,<\/em>000 = $1<em>,<\/em>100<\/td>\r\n<\/tr>\r\n<tr style=\"height: 18px\">\r\n<td style=\"width: 2.1097%;height: 18px\">6%<\/td>\r\n<td style=\"width: 2.1097%;height: 18px\">$6,000<\/td>\r\n<td style=\"width: 18.2423%;height: 18px\">0<em>.<\/em>06 <em>\u00d7<\/em> $6<em>,<\/em>000 = $360<\/td>\r\n<\/tr>\r\n<tr style=\"height: 18px\">\r\n<td style=\"width: 2.1097%;height: 18px\">7%<\/td>\r\n<td style=\"width: 2.1097%;height: 18px\">$4,500<\/td>\r\n<td style=\"width: 18.2423%;height: 18px\">0<em>.<\/em>07 <em>\u00d7<\/em> $4<em>,<\/em>500 = $315<\/td>\r\n<\/tr>\r\n<tr style=\"height: 18px\">\r\n<td style=\"width: 2.1097%;height: 18px\"><strong>Total<\/strong><\/td>\r\n<td style=\"width: 2.1097%;height: 18px\"><strong>$40,500<\/strong><\/td>\r\n<td style=\"width: 18.2423%;height: 18px\"><strong>$2,175<\/strong><\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\nThis gives the following results:\r\n<p style=\"margin-left: 18px\">[latex]\r\n\\begin{align*}\r\nx_w &amp;=\\frac{\\Sigma x\\cdot w}{\\Sigma w} =\\frac{$40,500}{$2,175} =0.0537=5.37\\%\r\n\\end{align*}\r\n[\/latex]<\/p>\r\n\r\n<h1>Example: Excel for Weighted Mean (Video)<\/h1>\r\n<h2>Example 4.1.3<\/h2>\r\nWe can also use Excel's <a href=\"https:\/\/support.microsoft.com\/en-us\/office\/use-the-sum-function-to-sum-numbers-in-a-range-323569b2-0d2b-4e7b-b2f8-b433f9f0ac96\">=sum()<\/a> and <a href=\"https:\/\/support.microsoft.com\/en-gb\/office\/sumproduct-function-16753e75-9f68-4874-94ac-4d2145a2fd2e#:~:text=To%20create%20the%20formula%20using,the%20results%20are%20added%20up.\">=sumproduct<\/a> formulas to calculate the weighted means:\r\n\r\n[embed]https:\/\/youtu.be\/UEdeP1d2-XA?si=qnxf_-3WR1zohpDn[\/embed]\r\n\r\n<a href=\"https:\/\/learn.bcit.ca\/d2l\/lor\/viewer\/viewFile.d2lfile\/6605\/42990,1\/4-1-3.xlsx?ou=6605\">Click here for the Excel solutions shown in the above video<\/a>.\r\n<h1>Example: Solving for Missing x-value (X)<\/h1>\r\n<h2>Example 4.2.1<\/h2>\r\n<span style=\"color: #003366\"><strong>Problem Setup:<\/strong><\/span> You purchased shares several years ago and sold them today:\r\n<ul>\r\n \t<li>You purchased 100 shares of Moderna for $200 each<\/li>\r\n \t<li>You purchased 40 shares of Microsoft for $40 each<\/li>\r\n \t<li>You earned 12% on your investments today (when you sold all of the shares).<\/li>\r\n \t<li>But, you LOST 15% on the sale of your Moderna shares.<\/li>\r\n<\/ul>\r\n<span style=\"color: #003366\"><strong>Question: <\/strong><\/span>What rate of return did you earn on the sale of your Microsoft shares?\r\n<table class=\"grid\" style=\"border-collapse: collapse;margin-left: 18px;width: 79.9253%;height: 152px\" border=\"0\">\r\n<tbody>\r\n<tr style=\"height: 18px\">\r\n<th style=\"width: 13.6194%;text-align: center\"><em>\u00a0Company<\/em><\/th>\r\n<th style=\"width: 3.19716%;height: 18px;text-align: center\"><em>x<\/em><\/th>\r\n<th style=\"width: 2.33645%;height: 18px;text-align: center\"><em>Quantity<\/em><\/th>\r\n<th style=\"width: 2.33645%;text-align: center\"><em>Price<\/em><\/th>\r\n<th style=\"width: 30.8435%;height: 18px;text-align: center\"><em>Amount Invested (<\/em><em>w)<\/em><\/th>\r\n<th style=\"width: 39.9754%;text-align: center\"><em>Interest Earned (x \u00b7 w)<\/em><\/th>\r\n<\/tr>\r\n<tr style=\"height: 18px\">\r\n<td style=\"width: 13.6194%;text-align: center\">Moderna<\/td>\r\n<td style=\"width: 3.19716%;height: 18px;text-align: center\">\u221215%<\/td>\r\n<td style=\"width: 2.33645%;height: 18px;text-align: center\">100<\/td>\r\n<td style=\"width: 2.33645%;text-align: center\">$200<\/td>\r\n<td style=\"width: 30.8435%;height: 18px;text-align: right\">100<em>\u00d7<\/em>$200 = $20<em>,<\/em>000<\/td>\r\n<td style=\"width: 39.9754%;text-align: right\">\u221215% <em>\u00d7 <\/em>$2,000 = \u2212$3,000<\/td>\r\n<\/tr>\r\n<tr style=\"height: 18px\">\r\n<td style=\"width: 13.6194%;text-align: center\">Microsoft<\/td>\r\n<td style=\"width: 3.19716%;height: 18px;text-align: center\">\u00a0 \u00a0 <em>x\u00a0 \u00a0<\/em><\/td>\r\n<td style=\"width: 2.33645%;height: 18px;text-align: center\">40<\/td>\r\n<td style=\"width: 2.33645%;text-align: center\">$400<\/td>\r\n<td style=\"width: 30.8435%;height: 18px;text-align: right\">\u00a0 40<em>\u00d7<\/em>$40 = $16,000<\/td>\r\n<td style=\"width: 39.9754%;text-align: right\"><em>x<\/em><em>\u00d7<\/em>$16,000 = 16,000<em>x<\/em><\/td>\r\n<\/tr>\r\n<tr style=\"height: 18px\">\r\n<td style=\"width: 16.8166%;text-align: right\" colspan=\"2\"><strong>Totals =\u00a0<\/strong><\/td>\r\n<td style=\"width: 2.33645%;height: 18px;text-align: center\"><strong>140<\/strong><\/td>\r\n<td style=\"width: 2.33645%;text-align: center\"><strong>\u2013<\/strong><\/td>\r\n<td style=\"width: 30.8435%;height: 18px;text-align: right\"><strong>\u03a3w = $36,000<\/strong><\/td>\r\n<td style=\"width: 39.9754%;text-align: right\"><strong>\u03a3x\u00b7w = \u2212$3,000+16,000<em>x<\/em><\/strong><\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\nThis gives the following results:\r\n<p style=\"margin-left: 18px\">[latex]\r\n\\begin{align*}\r\n12\\% &amp;=\\frac{-$3,000 +$16,000 x}{$36,000}\r\n\\end{align*}\r\n[\/latex]<\/p>\r\n<span style=\"color: #003366\"><strong>Steps<\/strong><\/span>: We need to use algebra to solve for this equation:\r\n<ol>\r\n \t<li>Cross multiply: [latex]12\\%\\cdot$36,000 =-$3,000 +$16,000 x[\/latex]<\/li>\r\n \t<li>Collect like terms: [latex]$4,320+$3,000 =$16,000 x[\/latex]<\/li>\r\n \t<li>Divide both sides by $16,000: [latex]\\frac{$7,320}{$16,000}= \\frac{$16,000 x}{$16,000}[\/latex]<\/li>\r\n \t<li>Simplify: [latex]0.4575=x=45.75\\% [\/latex]<\/li>\r\n<\/ol>\r\n<span style=\"color: #003366\"><strong>Answer:<\/strong> <\/span>You earned 45.75% on your Microsoft Shares.\r\n<h1>Example: Solving for Missing Weight (Exercise)<\/h1>\r\n<h2>Example 4.2.2<\/h2>\r\nYou also had an opportunity to invest in some Amazon stock for $150\/share. The shares earned 20% over the same time period. If you bought these shares, you would end up earning 18% overall over the investment period.\r\n\r\n<span style=\"color: #003366\"><strong>Question: <\/strong><\/span><em><strong>How much money<\/strong><\/em> would you have had to invest in Amazon stock to achieve an overall average rate of 15% on your investments?\r\n<table class=\"grid\" style=\"border-collapse: collapse;margin-left: 18px;width: 89.1948%;height: 90px\" border=\"0\">\r\n<tbody>\r\n<tr style=\"height: 18px\">\r\n<th style=\"width: 13.6194%;text-align: center;height: 18px\"><em>\u00a0Company<\/em><\/th>\r\n<th style=\"width: 3.19716%;height: 18px;text-align: center\"><em>x<\/em><\/th>\r\n<th style=\"width: 2.33645%;height: 18px;text-align: center\"><em>Quantity<\/em><\/th>\r\n<th style=\"width: 2.33645%;text-align: center;height: 18px\"><em>Price<\/em><\/th>\r\n<th style=\"width: 32.6782%;height: 18px;text-align: center\"><em>Amount Invested (<\/em><em>w)<\/em><\/th>\r\n<th style=\"width: 42.4123%;text-align: center;height: 18px\"><em>Interest Earned (x \u00b7 w)<\/em><\/th>\r\n<\/tr>\r\n<tr style=\"height: 18px\">\r\n<td style=\"width: 13.6194%;text-align: center;height: 18px\">Moderna<\/td>\r\n<td style=\"width: 3.19716%;height: 18px;text-align: center\">\u221215%<\/td>\r\n<td style=\"width: 2.33645%;height: 18px;text-align: center\">100<\/td>\r\n<td style=\"width: 2.33645%;text-align: center;height: 18px\">$200<\/td>\r\n<td style=\"width: 32.6782%;height: 18px;text-align: right\">100<em>\u00d7<\/em>$200 = $20<em>,<\/em>000<\/td>\r\n<td style=\"width: 42.4123%;text-align: right;height: 18px\">\u221215%<em>\u00d7<\/em>$20,000 = \u2212$3,000<\/td>\r\n<\/tr>\r\n<tr style=\"height: 18px\">\r\n<td style=\"width: 13.6194%;text-align: center;height: 18px\">Microsoft<\/td>\r\n<td style=\"width: 3.19716%;height: 18px;text-align: center\">\u00a045.75%<\/td>\r\n<td style=\"width: 2.33645%;height: 18px;text-align: center\">40<\/td>\r\n<td style=\"width: 2.33645%;text-align: center;height: 18px\">$400<\/td>\r\n<td style=\"width: 32.6782%;height: 18px;text-align: right\">\u00a0 40<em>\u00d7<\/em>$400 = $16,000<\/td>\r\n<td style=\"width: 42.4123%;text-align: right;height: 18px\">45.75%<em>\u00d7<\/em>$16,000 = $7,320<\/td>\r\n<\/tr>\r\n<tr style=\"height: 18px\">\r\n<td style=\"width: 13.6194%;text-align: center;height: 18px\">Amazon<\/td>\r\n<td style=\"width: 3.19716%;text-align: center;height: 18px\">20%<\/td>\r\n<td style=\"width: 2.33645%;text-align: center;height: 18px\"><em>w<\/em><\/td>\r\n<td style=\"width: 2.33645%;text-align: center;height: 18px\">$150<\/td>\r\n<td style=\"width: 32.6782%;text-align: right;height: 18px\"><em>w\u00d7<\/em>$150 = 150<em>w<\/em><\/td>\r\n<td style=\"width: 42.4123%;text-align: right;height: 18px\">20%<em>\u00d7<\/em>150<em>w<\/em> = 30<em>w<\/em><\/td>\r\n<\/tr>\r\n<tr style=\"height: 18px\">\r\n<td style=\"width: 16.8166%;text-align: right;height: 18px\" colspan=\"2\"><strong>Totals =\u00a0<\/strong><\/td>\r\n<td style=\"width: 2.33645%;height: 18px;text-align: center\"><strong>140+<em>w<\/em><\/strong><\/td>\r\n<td style=\"width: 2.33645%;text-align: center;height: 18px\"><strong>\u2013<\/strong><\/td>\r\n<td style=\"width: 32.6782%;height: 18px;text-align: right\"><strong>\u03a3<em>w<\/em> = $36,000+150<em>w<\/em><\/strong><\/td>\r\n<td style=\"width: 42.4123%;text-align: right;height: 18px\"><strong>\u03a3<em>x<\/em>\u00b7<em>w<\/em> = \u2212$3,000+$7,320+30<em>w<\/em><\/strong><\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<span style=\"color: #003366\"><strong>Instructions: <\/strong><\/span>Drag and drop the values below into the correct boxes:\r\n\r\n[h5p id=\"13\"]\r\n\r\n[h5p id=\"14\"]\r\n<h1>Key Takeaways (Exercise)<\/h1>\r\n<div class=\"textbox textbox--key-takeaways\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">Key Takeaways: Weighted Mean<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">\r\n\r\n[h5p id=\"9\"]\r\n[h5p id=\"12\"]\r\n\r\n<\/div>\r\n<\/div>\r\n<h1>Your Own Notes<\/h1>\r\n<ul>\r\n \t<li>Are there any notes you want to take from this section? Is there anything you'd like to copy and paste below?<\/li>\r\n \t<li>These notes are for you only (they will not be stored anywhere)<\/li>\r\n \t<li>Make sure to download them at the end to use as a reference<\/li>\r\n<\/ul>\r\n[h5p id=\"16\"]\r\n\r\n<\/div>","rendered":"<div class=\"weighted-mean\">\n<div class=\"textbox textbox--learning-objectives\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">Learning Outcomes<\/p>\n<p>&nbsp;<\/p>\n<\/header>\n<div class=\"textbox__content\">\n<p>Understand the difference between a regular and weighted mean. Learn how to calculated a weighted mean and calculate for a missing weight or data value.<\/p>\n<\/div>\n<\/div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-420 aligncenter\" src=\"https:\/\/pressbooks.bccampus.ca\/1130sandbox\/wp-content\/uploads\/sites\/2128\/2023\/11\/Weighted_Mean-1-300x28.jpg\" alt=\"\" width=\"578\" height=\"54\" srcset=\"https:\/\/pressbooks.bccampus.ca\/1130sandbox\/wp-content\/uploads\/sites\/2128\/2023\/11\/Weighted_Mean-1-300x28.jpg 300w, https:\/\/pressbooks.bccampus.ca\/1130sandbox\/wp-content\/uploads\/sites\/2128\/2023\/11\/Weighted_Mean-1-1024x95.jpg 1024w, https:\/\/pressbooks.bccampus.ca\/1130sandbox\/wp-content\/uploads\/sites\/2128\/2023\/11\/Weighted_Mean-1-768x71.jpg 768w, https:\/\/pressbooks.bccampus.ca\/1130sandbox\/wp-content\/uploads\/sites\/2128\/2023\/11\/Weighted_Mean-1-1536x142.jpg 1536w, https:\/\/pressbooks.bccampus.ca\/1130sandbox\/wp-content\/uploads\/sites\/2128\/2023\/11\/Weighted_Mean-1-2048x189.jpg 2048w, https:\/\/pressbooks.bccampus.ca\/1130sandbox\/wp-content\/uploads\/sites\/2128\/2023\/11\/Weighted_Mean-1-65x6.jpg 65w, https:\/\/pressbooks.bccampus.ca\/1130sandbox\/wp-content\/uploads\/sites\/2128\/2023\/11\/Weighted_Mean-1-225x21.jpg 225w, https:\/\/pressbooks.bccampus.ca\/1130sandbox\/wp-content\/uploads\/sites\/2128\/2023\/11\/Weighted_Mean-1-350x32.jpg 350w\" sizes=\"auto, (max-width: 578px) 100vw, 578px\" \/><\/p>\n<p>&#8220;The weighted arithmetic mean is similar to an ordinary\u00a0<a title=\"Arithmetic mean\" href=\"https:\/\/en.wikipedia.org\/wiki\/Arithmetic_mean\">arithmetic mean<\/a>\u00a0(the most common type of\u00a0<a title=\"Average\" href=\"https:\/\/en.wikipedia.org\/wiki\/Average\">average<\/a>), except that instead of each of the data points contributing equally to the final average, some data points contribute more than others.&#8221;<a class=\"footnote\" title=\"https:\/\/en.wikipedia.org\/wiki\/Weighted_arithmetic_mean\" id=\"return-footnote-33-1\" href=\"#footnote-33-1\" aria-label=\"Footnote 1\"><sup class=\"footnote\">[1]<\/sup><\/a><\/p>\n<p>This kind of average is called the weighted mean, and is given by the following formula:<\/p>\n<p>\\[x_w =\\frac{\\Sigma x\\cdot w}{\\Sigma w}\\]<\/p>\n<p>Where the x&#8217;s are the data you are looking to average and the w&#8217;s are the weights assigned to each of those data points.<\/p>\n<h1>Illustration<\/h1>\n<p>Suppose you have $3,000, and make 3 different investments, some invested at 5%, some at 6%, and some at 7%.<\/p>\n<p><span style=\"color: #003366\"><strong>Question:<\/strong><\/span> Is your average rate of return equal to [latex]\\frac{(5 + 6 + 7)\\%} {3} = 6%[\/latex]?<\/p>\n<p><span style=\"color: #003366\"><strong>Answer:<\/strong><\/span> The answer ONLY if you invested equal amounts in each investment, and NO otherwise. In the case where you invest different amounts, a weighted average is required to determine the average rate of return.<\/p>\n<h1>Example: Investing Different Amounts in Three Investments<\/h1>\n<h2>Example 4.1.1<\/h2>\n<p>Let us suppose you invested $30,000 at 5%, $6,000 at 6%, and $4,500 at 7%.<\/p>\n<p><span style=\"color: #003366\"><strong>Question:<\/strong><\/span> Is the overall (average) rate of return for your investment 6%?<\/p>\n<p><span style=\"color: #003366\"><strong>Answer:<\/strong><\/span> No, it is given by the following calculation:<\/p>\n<p style=\"margin-left: 18px\">[latex]\\begin{align*}  x_w &=\\frac{5\\%\\cdot$30,000 +6\\%\\cdot$6,000 + 7\\%\\cdot$4,500}{$30,000+$6,000+$4,500}\\\\  &=\\frac{$1,500 +$360 + $315}{$30,000+$6,000+$4,500}\\\\  &= \\frac{$2,175}{$40,500}\\\\  &= 0.0537 = 5.37\\%  \\end{align*}[\/latex]<\/p>\n<h1>Example: Tables for Weighted Mean Calculations<\/h1>\n<h2>Example 4.1.2<\/h2>\n<p>Let us, instead, use a table to organize the calculations from the previous example. Note: the <em>x<\/em> <em>\u00b7<\/em> <em>w<\/em> column is the product of the <em>x <\/em>and <em>w<\/em> values.<\/p>\n<table class=\"grid\" style=\"border-collapse: collapse;margin-left: 18px;width: 41.5821%;height: 90px\">\n<tbody>\n<tr style=\"height: 18px\">\n<th style=\"width: 2.1097%;height: 18px\"><em>x<\/em><\/th>\n<th style=\"width: 2.1097%;height: 18px\"><em>w<\/em><\/th>\n<th style=\"width: 18.2423%;height: 18px\"><em>x<\/em> <em>\u00b7<\/em> <em>w<\/em><\/th>\n<\/tr>\n<tr style=\"height: 18px\">\n<td style=\"width: 2.1097%;height: 18px\">5%<\/td>\n<td style=\"width: 2.1097%;height: 18px\">$30,000<\/td>\n<td style=\"width: 18.2423%;height: 18px\">0<em>.<\/em>05 <em>\u00d7<\/em> $30<em>,<\/em>000 = $1<em>,<\/em>100<\/td>\n<\/tr>\n<tr style=\"height: 18px\">\n<td style=\"width: 2.1097%;height: 18px\">6%<\/td>\n<td style=\"width: 2.1097%;height: 18px\">$6,000<\/td>\n<td style=\"width: 18.2423%;height: 18px\">0<em>.<\/em>06 <em>\u00d7<\/em> $6<em>,<\/em>000 = $360<\/td>\n<\/tr>\n<tr style=\"height: 18px\">\n<td style=\"width: 2.1097%;height: 18px\">7%<\/td>\n<td style=\"width: 2.1097%;height: 18px\">$4,500<\/td>\n<td style=\"width: 18.2423%;height: 18px\">0<em>.<\/em>07 <em>\u00d7<\/em> $4<em>,<\/em>500 = $315<\/td>\n<\/tr>\n<tr style=\"height: 18px\">\n<td style=\"width: 2.1097%;height: 18px\"><strong>Total<\/strong><\/td>\n<td style=\"width: 2.1097%;height: 18px\"><strong>$40,500<\/strong><\/td>\n<td style=\"width: 18.2423%;height: 18px\"><strong>$2,175<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>This gives the following results:<\/p>\n<p style=\"margin-left: 18px\">[latex]\\begin{align*}  x_w &=\\frac{\\Sigma x\\cdot w}{\\Sigma w} =\\frac{$40,500}{$2,175} =0.0537=5.37\\%  \\end{align*}[\/latex]<\/p>\n<h1>Example: Excel for Weighted Mean (Video)<\/h1>\n<h2>Example 4.1.3<\/h2>\n<p>We can also use Excel&#8217;s <a href=\"https:\/\/support.microsoft.com\/en-us\/office\/use-the-sum-function-to-sum-numbers-in-a-range-323569b2-0d2b-4e7b-b2f8-b433f9f0ac96\">=sum()<\/a> and <a href=\"https:\/\/support.microsoft.com\/en-gb\/office\/sumproduct-function-16753e75-9f68-4874-94ac-4d2145a2fd2e#:~:text=To%20create%20the%20formula%20using,the%20results%20are%20added%20up.\">=sumproduct<\/a> formulas to calculate the weighted means:<\/p>\n<p><iframe loading=\"lazy\" id=\"oembed-1\" title=\"Finding the overall rate of return (a weighted average) in Excel\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/UEdeP1d2-XA?feature=oembed&#38;rel=0\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p><a href=\"https:\/\/learn.bcit.ca\/d2l\/lor\/viewer\/viewFile.d2lfile\/6605\/42990,1\/4-1-3.xlsx?ou=6605\">Click here for the Excel solutions shown in the above video<\/a>.<\/p>\n<h1>Example: Solving for Missing x-value (X)<\/h1>\n<h2>Example 4.2.1<\/h2>\n<p><span style=\"color: #003366\"><strong>Problem Setup:<\/strong><\/span> You purchased shares several years ago and sold them today:<\/p>\n<ul>\n<li>You purchased 100 shares of Moderna for $200 each<\/li>\n<li>You purchased 40 shares of Microsoft for $40 each<\/li>\n<li>You earned 12% on your investments today (when you sold all of the shares).<\/li>\n<li>But, you LOST 15% on the sale of your Moderna shares.<\/li>\n<\/ul>\n<p><span style=\"color: #003366\"><strong>Question: <\/strong><\/span>What rate of return did you earn on the sale of your Microsoft shares?<\/p>\n<table class=\"grid\" style=\"border-collapse: collapse;margin-left: 18px;width: 79.9253%;height: 152px\">\n<tbody>\n<tr style=\"height: 18px\">\n<th style=\"width: 13.6194%;text-align: center\"><em>\u00a0Company<\/em><\/th>\n<th style=\"width: 3.19716%;height: 18px;text-align: center\"><em>x<\/em><\/th>\n<th style=\"width: 2.33645%;height: 18px;text-align: center\"><em>Quantity<\/em><\/th>\n<th style=\"width: 2.33645%;text-align: center\"><em>Price<\/em><\/th>\n<th style=\"width: 30.8435%;height: 18px;text-align: center\"><em>Amount Invested (<\/em><em>w)<\/em><\/th>\n<th style=\"width: 39.9754%;text-align: center\"><em>Interest Earned (x \u00b7 w)<\/em><\/th>\n<\/tr>\n<tr style=\"height: 18px\">\n<td style=\"width: 13.6194%;text-align: center\">Moderna<\/td>\n<td style=\"width: 3.19716%;height: 18px;text-align: center\">\u221215%<\/td>\n<td style=\"width: 2.33645%;height: 18px;text-align: center\">100<\/td>\n<td style=\"width: 2.33645%;text-align: center\">$200<\/td>\n<td style=\"width: 30.8435%;height: 18px;text-align: right\">100<em>\u00d7<\/em>$200 = $20<em>,<\/em>000<\/td>\n<td style=\"width: 39.9754%;text-align: right\">\u221215% <em>\u00d7 <\/em>$2,000 = \u2212$3,000<\/td>\n<\/tr>\n<tr style=\"height: 18px\">\n<td style=\"width: 13.6194%;text-align: center\">Microsoft<\/td>\n<td style=\"width: 3.19716%;height: 18px;text-align: center\">\u00a0 \u00a0 <em>x\u00a0 \u00a0<\/em><\/td>\n<td style=\"width: 2.33645%;height: 18px;text-align: center\">40<\/td>\n<td style=\"width: 2.33645%;text-align: center\">$400<\/td>\n<td style=\"width: 30.8435%;height: 18px;text-align: right\">\u00a0 40<em>\u00d7<\/em>$40 = $16,000<\/td>\n<td style=\"width: 39.9754%;text-align: right\"><em>x<\/em><em>\u00d7<\/em>$16,000 = 16,000<em>x<\/em><\/td>\n<\/tr>\n<tr style=\"height: 18px\">\n<td style=\"width: 16.8166%;text-align: right\" colspan=\"2\"><strong>Totals =\u00a0<\/strong><\/td>\n<td style=\"width: 2.33645%;height: 18px;text-align: center\"><strong>140<\/strong><\/td>\n<td style=\"width: 2.33645%;text-align: center\"><strong>\u2013<\/strong><\/td>\n<td style=\"width: 30.8435%;height: 18px;text-align: right\"><strong>\u03a3w = $36,000<\/strong><\/td>\n<td style=\"width: 39.9754%;text-align: right\"><strong>\u03a3x\u00b7w = \u2212$3,000+16,000<em>x<\/em><\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>This gives the following results:<\/p>\n<p style=\"margin-left: 18px\">[latex]\\begin{align*}  12\\% &=\\frac{-$3,000 +$16,000 x}{$36,000}  \\end{align*}[\/latex]<\/p>\n<p><span style=\"color: #003366\"><strong>Steps<\/strong><\/span>: We need to use algebra to solve for this equation:<\/p>\n<ol>\n<li>Cross multiply: [latex]12\\%\\cdot$36,000 =-$3,000 +$16,000 x[\/latex]<\/li>\n<li>Collect like terms: [latex]$4,320+$3,000 =$16,000 x[\/latex]<\/li>\n<li>Divide both sides by $16,000: [latex]\\frac{$7,320}{$16,000}= \\frac{$16,000 x}{$16,000}[\/latex]<\/li>\n<li>Simplify: [latex]0.4575=x=45.75\\%[\/latex]<\/li>\n<\/ol>\n<p><span style=\"color: #003366\"><strong>Answer:<\/strong> <\/span>You earned 45.75% on your Microsoft Shares.<\/p>\n<h1>Example: Solving for Missing Weight (Exercise)<\/h1>\n<h2>Example 4.2.2<\/h2>\n<p>You also had an opportunity to invest in some Amazon stock for $150\/share. The shares earned 20% over the same time period. If you bought these shares, you would end up earning 18% overall over the investment period.<\/p>\n<p><span style=\"color: #003366\"><strong>Question: <\/strong><\/span><em><strong>How much money<\/strong><\/em> would you have had to invest in Amazon stock to achieve an overall average rate of 15% on your investments?<\/p>\n<table class=\"grid\" style=\"border-collapse: collapse;margin-left: 18px;width: 89.1948%;height: 90px\">\n<tbody>\n<tr style=\"height: 18px\">\n<th style=\"width: 13.6194%;text-align: center;height: 18px\"><em>\u00a0Company<\/em><\/th>\n<th style=\"width: 3.19716%;height: 18px;text-align: center\"><em>x<\/em><\/th>\n<th style=\"width: 2.33645%;height: 18px;text-align: center\"><em>Quantity<\/em><\/th>\n<th style=\"width: 2.33645%;text-align: center;height: 18px\"><em>Price<\/em><\/th>\n<th style=\"width: 32.6782%;height: 18px;text-align: center\"><em>Amount Invested (<\/em><em>w)<\/em><\/th>\n<th style=\"width: 42.4123%;text-align: center;height: 18px\"><em>Interest Earned (x \u00b7 w)<\/em><\/th>\n<\/tr>\n<tr style=\"height: 18px\">\n<td style=\"width: 13.6194%;text-align: center;height: 18px\">Moderna<\/td>\n<td style=\"width: 3.19716%;height: 18px;text-align: center\">\u221215%<\/td>\n<td style=\"width: 2.33645%;height: 18px;text-align: center\">100<\/td>\n<td style=\"width: 2.33645%;text-align: center;height: 18px\">$200<\/td>\n<td style=\"width: 32.6782%;height: 18px;text-align: right\">100<em>\u00d7<\/em>$200 = $20<em>,<\/em>000<\/td>\n<td style=\"width: 42.4123%;text-align: right;height: 18px\">\u221215%<em>\u00d7<\/em>$20,000 = \u2212$3,000<\/td>\n<\/tr>\n<tr style=\"height: 18px\">\n<td style=\"width: 13.6194%;text-align: center;height: 18px\">Microsoft<\/td>\n<td style=\"width: 3.19716%;height: 18px;text-align: center\">\u00a045.75%<\/td>\n<td style=\"width: 2.33645%;height: 18px;text-align: center\">40<\/td>\n<td style=\"width: 2.33645%;text-align: center;height: 18px\">$400<\/td>\n<td style=\"width: 32.6782%;height: 18px;text-align: right\">\u00a0 40<em>\u00d7<\/em>$400 = $16,000<\/td>\n<td style=\"width: 42.4123%;text-align: right;height: 18px\">45.75%<em>\u00d7<\/em>$16,000 = $7,320<\/td>\n<\/tr>\n<tr style=\"height: 18px\">\n<td style=\"width: 13.6194%;text-align: center;height: 18px\">Amazon<\/td>\n<td style=\"width: 3.19716%;text-align: center;height: 18px\">20%<\/td>\n<td style=\"width: 2.33645%;text-align: center;height: 18px\"><em>w<\/em><\/td>\n<td style=\"width: 2.33645%;text-align: center;height: 18px\">$150<\/td>\n<td style=\"width: 32.6782%;text-align: right;height: 18px\"><em>w\u00d7<\/em>$150 = 150<em>w<\/em><\/td>\n<td style=\"width: 42.4123%;text-align: right;height: 18px\">20%<em>\u00d7<\/em>150<em>w<\/em> = 30<em>w<\/em><\/td>\n<\/tr>\n<tr style=\"height: 18px\">\n<td style=\"width: 16.8166%;text-align: right;height: 18px\" colspan=\"2\"><strong>Totals =\u00a0<\/strong><\/td>\n<td style=\"width: 2.33645%;height: 18px;text-align: center\"><strong>140+<em>w<\/em><\/strong><\/td>\n<td style=\"width: 2.33645%;text-align: center;height: 18px\"><strong>\u2013<\/strong><\/td>\n<td style=\"width: 32.6782%;height: 18px;text-align: right\"><strong>\u03a3<em>w<\/em> = $36,000+150<em>w<\/em><\/strong><\/td>\n<td style=\"width: 42.4123%;text-align: right;height: 18px\"><strong>\u03a3<em>x<\/em>\u00b7<em>w<\/em> = \u2212$3,000+$7,320+30<em>w<\/em><\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"color: #003366\"><strong>Instructions: <\/strong><\/span>Drag and drop the values below into the correct boxes:<\/p>\n<div id=\"h5p-13\">\n<div class=\"h5p-iframe-wrapper\"><iframe id=\"h5p-iframe-13\" class=\"h5p-iframe\" data-content-id=\"13\" style=\"height:1px\" src=\"about:blank\" frameBorder=\"0\" scrolling=\"no\" title=\"(4.2.2) Solve for the missing weight (W)\"><\/iframe><\/div>\n<\/div>\n<div id=\"h5p-14\">\n<div class=\"h5p-iframe-wrapper\"><iframe id=\"h5p-iframe-14\" class=\"h5p-iframe\" data-content-id=\"14\" style=\"height:1px\" src=\"about:blank\" frameBorder=\"0\" scrolling=\"no\" title=\"4.2.2 - Solutions Link\"><\/iframe><\/div>\n<\/div>\n<h1>Key Takeaways (Exercise)<\/h1>\n<div class=\"textbox textbox--key-takeaways\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">Key Takeaways: Weighted Mean<\/p>\n<\/header>\n<div class=\"textbox__content\">\n<div id=\"h5p-9\">\n<div class=\"h5p-iframe-wrapper\"><iframe id=\"h5p-iframe-9\" class=\"h5p-iframe\" data-content-id=\"9\" style=\"height:1px\" src=\"about:blank\" frameBorder=\"0\" scrolling=\"no\" title=\"1.4 Key Takeaways\"><\/iframe><\/div>\n<\/div>\n<div id=\"h5p-12\">\n<div class=\"h5p-iframe-wrapper\"><iframe id=\"h5p-iframe-12\" class=\"h5p-iframe\" data-content-id=\"12\" style=\"height:1px\" src=\"about:blank\" frameBorder=\"0\" scrolling=\"no\" title=\"1.4 Key Takeaways Accordion\"><\/iframe><\/div>\n<\/div>\n<\/div>\n<\/div>\n<h1>Your Own Notes<\/h1>\n<ul>\n<li>Are there any notes you want to take from this section? Is there anything you&#8217;d like to copy and paste below?<\/li>\n<li>These notes are for you only (they will not be stored anywhere)<\/li>\n<li>Make sure to download them at the end to use as a reference<\/li>\n<\/ul>\n<div id=\"h5p-16\">\n<div class=\"h5p-iframe-wrapper\"><iframe id=\"h5p-iframe-16\" class=\"h5p-iframe\" data-content-id=\"16\" style=\"height:1px\" src=\"about:blank\" frameBorder=\"0\" scrolling=\"no\" title=\"Key takeaways, notes and comments from this section document tool.\"><\/iframe><\/div>\n<\/div>\n<\/div>\n<hr class=\"before-footnotes clear\" \/><div class=\"footnotes\"><ol><li id=\"footnote-33-1\">https:\/\/en.wikipedia.org\/wiki\/Weighted_arithmetic_mean <a href=\"#return-footnote-33-1\" class=\"return-footnote\" aria-label=\"Return to footnote 1\">&crarr;<\/a><\/li><\/ol><\/div>","protected":false},"author":865,"menu_order":3,"template":"","meta":{"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-33","chapter","type-chapter","status-publish","hentry"],"part":3,"_links":{"self":[{"href":"https:\/\/pressbooks.bccampus.ca\/1130sandbox\/wp-json\/pressbooks\/v2\/chapters\/33","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pressbooks.bccampus.ca\/1130sandbox\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/pressbooks.bccampus.ca\/1130sandbox\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/1130sandbox\/wp-json\/wp\/v2\/users\/865"}],"version-history":[{"count":25,"href":"https:\/\/pressbooks.bccampus.ca\/1130sandbox\/wp-json\/pressbooks\/v2\/chapters\/33\/revisions"}],"predecessor-version":[{"id":829,"href":"https:\/\/pressbooks.bccampus.ca\/1130sandbox\/wp-json\/pressbooks\/v2\/chapters\/33\/revisions\/829"}],"part":[{"href":"https:\/\/pressbooks.bccampus.ca\/1130sandbox\/wp-json\/pressbooks\/v2\/parts\/3"}],"metadata":[{"href":"https:\/\/pressbooks.bccampus.ca\/1130sandbox\/wp-json\/pressbooks\/v2\/chapters\/33\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/pressbooks.bccampus.ca\/1130sandbox\/wp-json\/wp\/v2\/media?parent=33"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/1130sandbox\/wp-json\/pressbooks\/v2\/chapter-type?post=33"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/1130sandbox\/wp-json\/wp\/v2\/contributor?post=33"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/1130sandbox\/wp-json\/wp\/v2\/license?post=33"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}