{"id":384,"date":"2025-02-13T19:44:30","date_gmt":"2025-02-13T19:44:30","guid":{"rendered":"https:\/\/content.one.lumenlearning.com\/calculus2\/chapter\/the-definite-integral-learn-it-4\/"},"modified":"2025-02-13T19:44:30","modified_gmt":"2025-02-13T19:44:30","slug":"the-definite-integral-learn-it-4","status":"publish","type":"chapter","link":"https:\/\/content.one.lumenlearning.com\/calculus2\/chapter\/the-definite-integral-learn-it-4\/","title":{"raw":"The Definite Integral: Learn It 4","rendered":"The Definite Integral: Learn It 4"},"content":{"raw":"\n<h2>Average Value of a Function<\/h2>\n<div id=\"fs-id1170571653448\" class=\"bc-section section\">\n<p id=\"fs-id1170571653453\">We often need to find the average of a set of numbers, such as an average test grade.<\/p>\n<section class=\"textbox example\">\n<p>Suppose you received the following test scores in your algebra class: [latex]89, 90, 56, 78, 100[\/latex], and [latex]69[\/latex]. Your semester grade is your average of test scores and you want to know what grade to expect.<\/p>\n<p>We can find the average by adding all the scores and dividing by the number of scores. In this case, there are six test scores. Thus,<\/p>\n<div id=\"fs-id1170571653460\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\dfrac{89+90+56+78+100+69}{6}=\\dfrac{482}{6}\\approx 80.33[\/latex]<\/div>\n<p id=\"fs-id1170571788116\">Therefore, your average test grade is approximately [latex]80.33[\/latex].<\/p>\n<\/section>\n<p id=\"fs-id1170571788122\">Suppose, however, that we have a function [latex]v(t)[\/latex] that gives us the speed of an object at any time [latex]t[\/latex], and we want to find the object\u2019s average speed. The function [latex]v(t)[\/latex] takes on an infinite number of values, so we can\u2019t use the process just described. Fortunately, we can use a definite integral to find the <strong>average value of a function<\/strong> such as this.<\/p>\n<p id=\"fs-id1170571597403\">Let [latex]f(x)[\/latex] be continuous over the interval [latex][a,b][\/latex] and let [latex][a,b][\/latex] be divided into [latex]n[\/latex] subintervals of width [latex]\\Delta x=\\frac{(b-a)}{n}[\/latex]. Choose a representative [latex]x_i^*[\/latex] in each subinterval and calculate [latex]f(x_i^*)[\/latex] for [latex]i=1,2, \\cdots , n[\/latex].<\/p>\n<p>In other words, consider each [latex]f(x_i^*)[\/latex] as a sampling of the function over each subinterval. The average value of the function may then be approximated as,<\/p>\n<div id=\"fs-id1170572480573\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\dfrac{f(x_1^*)+f(x_2^*)+ \\cdots +f(x_n^*)}{n}[\/latex],<\/div>\n<p id=\"fs-id1170572369399\">which is basically the same expression used to calculate the average of discrete values.<\/p>\n<p id=\"fs-id1170572369402\">But we know [latex]\\Delta x=\\frac{b-a}{n}[\/latex], so [latex]n=\\frac{b-a}{\\Delta x}[\/latex], and we get,<\/p>\n<div id=\"fs-id1170572373417\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\dfrac{f(x_1^*)+f(x_2^*)+ \\cdots +f(x_n^*)}{n}=\\dfrac{f(x_1^*)+f(x_2^*)+ \\cdots +f(x_n^*)}{\\dfrac{(b-a)}{\\Delta x}}[\/latex].<\/div>\n<p>Following through with the algebra, the numerator is a sum that is represented as [latex]\\displaystyle\\sum_{i=1}^{n} f(x_i^*)[\/latex], and we are dividing by a fraction.&nbsp;<\/p>\n<section class=\"textbox recall\">\n<p>To divide by a fraction, invert the denominator and multiply.<\/p>\n<\/section>\n<p>Thus, an approximate value for the average value of the function is given by,<\/p>\n<div id=\"fs-id1170571734014\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\begin{array}{ll}\\frac{\\displaystyle\\sum_{i=1}^{n} f(x_i^*)}{\\dfrac{\\left(b-a\\right)}{\\Delta x}} &amp; =\\left(\\dfrac{\\Delta x}{b-a}\\right)\\displaystyle\\sum_{i=1}^{n} f(x_i^*) \\\\ &amp; =\\left(\\dfrac{1}{b-a}\\right)\\displaystyle\\sum_{i=1}^{n} f(x_i^*) \\Delta x \\end{array}[\/latex]<\/div>\n<p id=\"fs-id1170572274944\">This is a Riemann sum. To get the <em>exact<\/em> average value, take the limit as [latex]n[\/latex] goes to infinity. Thus, the average value of a function is given by,<\/p>\n<div id=\"fs-id1170572274957\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\dfrac{1}{b-a}\\underset{n\\to \\infty }{\\lim}\\displaystyle\\sum_{i=1}^{n} f(x_i) \\Delta x=\\dfrac{1}{b-a} \\displaystyle\\int_a^b f(x) dx[\/latex].<\/div>\n<section class=\"textbox keyTakeaway\">\n<h3 style=\"text-align: left;\">average value of a function<\/h3>\n<p id=\"fs-id1170572510089\">Let [latex]f(x)[\/latex] be continuous over the interval [latex][a,b][\/latex]. Then, the average value of the function [latex]f(x)[\/latex] (or [latex]f_{\\text{ave}}[\/latex]) on [latex][a,b][\/latex] is given by,<\/p>\n<div id=\"fs-id1170571712537\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]f_{\\text{ave}}=\\dfrac{1}{b-a} \\displaystyle\\int_a^b f(x) dx[\/latex].<\/div>\n<\/section>\n<section class=\"textbox example\">\n<p id=\"fs-id1170571712602\">Find the average value of [latex]f(x)=x+1[\/latex] over the interval [latex][0,5][\/latex].<\/p>\n<p>[reveal-answer q=\"fs-id1170572443612\"]Show Solution[\/reveal-answer]<br>\n[hidden-answer a=\"fs-id1170572443612\"]<\/p>\n<p id=\"fs-id1170572443612\">First, graph the function on the stated interval, as shown in Figure 11.<\/p>\n\n[caption id=\"\" align=\"aligncenter\" width=\"487\"]<img src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/2332\/2018\/01\/11204037\/CNX_Calc_Figure_05_02_017.jpg\" alt=\"A graph in quadrant one showing the shaded area under the function f(x) = x + 1 over [0,5].\" width=\"487\" height=\"284\"> Figure 11. The graph shows the area under the function [latex]f(x)=x+1[\/latex] over [latex][0,5][\/latex].[\/caption]\n\n<p id=\"fs-id1170572419232\">The region is a trapezoid lying on its side, so we can use the area formula for a trapezoid [latex]A=\\frac{1}{2}h(a+b)[\/latex], where [latex]h[\/latex] represents height, and [latex]a[\/latex] and [latex]b[\/latex] represent the two parallel sides. Then,<\/p>\n<div id=\"fs-id1170572419282\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\begin{array}{ll} \\displaystyle\\int_0^5 x+1 dx &amp; =\\frac{1}{2}h(a+b) \\\\ &amp; =\\frac{1}{2} \\cdot 5 \\cdot (1+6) \\\\ &amp; =\\frac{35}{2} \\end{array}[\/latex]<\/div>\n<p id=\"fs-id1170571699476\">Thus the average value of the function is<\/p>\n<div id=\"fs-id1170571699479\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\frac{1}{5-0} \\displaystyle\\int_0^5 x+1 dx = \\frac{1}{5} \\cdot \\frac{35}{2}=\\frac{7}{2}.[\/latex]<\/div>\n<p>Watch the following video to see the worked solution to Example: Finding the Average Value of a Linear Function.<\/p>\n<center><iframe title=\"YouTube video player\" src=\"https:\/\/www.youtube.com\/embed\/tto0E7yOSLo?controls=0&amp;start=1427&amp;end=1559&amp;autoplay=0\" width=\"750\" height=\"450\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\" data-mce-fragment=\"1\"><\/iframe><\/center>For closed captioning, open the video on its original page by clicking the Youtube logo in the lower right-hand corner of the video display. In YouTube, the video will begin at the same starting point as this clip, but will continue playing until the very end.\n\n<p>You can view the <a href=\"https:\/\/oerfiles.s3.us-west-2.amazonaws.com\/Calculus\/Calculus1+Videos\/5.2TheDefiniteIntegral1427to1559_transcript.txt\" target=\"_blank\" rel=\"noopener\">transcript for this segmented clip of \"5.2 The Definite Integral\" here (opens in new window)<\/a>. [\/hidden-answer]<\/p>\n<\/section>\n<section class=\"textbox tryIt\">\n<p>[ohm_question hide_question_numbers=1]20448[\/ohm_question]<\/p>\n<\/section>\n<\/div>\n","rendered":"<h2>Average Value of a Function<\/h2>\n<div id=\"fs-id1170571653448\" class=\"bc-section section\">\n<p id=\"fs-id1170571653453\">We often need to find the average of a set of numbers, such as an average test grade.<\/p>\n<section class=\"textbox example\">\n<p>Suppose you received the following test scores in your algebra class: [latex]89, 90, 56, 78, 100[\/latex], and [latex]69[\/latex]. Your semester grade is your average of test scores and you want to know what grade to expect.<\/p>\n<p>We can find the average by adding all the scores and dividing by the number of scores. In this case, there are six test scores. Thus,<\/p>\n<div id=\"fs-id1170571653460\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\dfrac{89+90+56+78+100+69}{6}=\\dfrac{482}{6}\\approx 80.33[\/latex]<\/div>\n<p id=\"fs-id1170571788116\">Therefore, your average test grade is approximately [latex]80.33[\/latex].<\/p>\n<\/section>\n<p id=\"fs-id1170571788122\">Suppose, however, that we have a function [latex]v(t)[\/latex] that gives us the speed of an object at any time [latex]t[\/latex], and we want to find the object\u2019s average speed. The function [latex]v(t)[\/latex] takes on an infinite number of values, so we can\u2019t use the process just described. Fortunately, we can use a definite integral to find the <strong>average value of a function<\/strong> such as this.<\/p>\n<p id=\"fs-id1170571597403\">Let [latex]f(x)[\/latex] be continuous over the interval [latex][a,b][\/latex] and let [latex][a,b][\/latex] be divided into [latex]n[\/latex] subintervals of width [latex]\\Delta x=\\frac{(b-a)}{n}[\/latex]. Choose a representative [latex]x_i^*[\/latex] in each subinterval and calculate [latex]f(x_i^*)[\/latex] for [latex]i=1,2, \\cdots , n[\/latex].<\/p>\n<p>In other words, consider each [latex]f(x_i^*)[\/latex] as a sampling of the function over each subinterval. The average value of the function may then be approximated as,<\/p>\n<div id=\"fs-id1170572480573\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\dfrac{f(x_1^*)+f(x_2^*)+ \\cdots +f(x_n^*)}{n}[\/latex],<\/div>\n<p id=\"fs-id1170572369399\">which is basically the same expression used to calculate the average of discrete values.<\/p>\n<p id=\"fs-id1170572369402\">But we know [latex]\\Delta x=\\frac{b-a}{n}[\/latex], so [latex]n=\\frac{b-a}{\\Delta x}[\/latex], and we get,<\/p>\n<div id=\"fs-id1170572373417\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\dfrac{f(x_1^*)+f(x_2^*)+ \\cdots +f(x_n^*)}{n}=\\dfrac{f(x_1^*)+f(x_2^*)+ \\cdots +f(x_n^*)}{\\dfrac{(b-a)}{\\Delta x}}[\/latex].<\/div>\n<p>Following through with the algebra, the numerator is a sum that is represented as [latex]\\displaystyle\\sum_{i=1}^{n} f(x_i^*)[\/latex], and we are dividing by a fraction.&nbsp;<\/p>\n<section class=\"textbox recall\">\n<p>To divide by a fraction, invert the denominator and multiply.<\/p>\n<\/section>\n<p>Thus, an approximate value for the average value of the function is given by,<\/p>\n<div id=\"fs-id1170571734014\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\begin{array}{ll}\\frac{\\displaystyle\\sum_{i=1}^{n} f(x_i^*)}{\\dfrac{\\left(b-a\\right)}{\\Delta x}} & =\\left(\\dfrac{\\Delta x}{b-a}\\right)\\displaystyle\\sum_{i=1}^{n} f(x_i^*) \\\\ & =\\left(\\dfrac{1}{b-a}\\right)\\displaystyle\\sum_{i=1}^{n} f(x_i^*) \\Delta x \\end{array}[\/latex]<\/div>\n<p id=\"fs-id1170572274944\">This is a Riemann sum. To get the <em>exact<\/em> average value, take the limit as [latex]n[\/latex] goes to infinity. Thus, the average value of a function is given by,<\/p>\n<div id=\"fs-id1170572274957\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\dfrac{1}{b-a}\\underset{n\\to \\infty }{\\lim}\\displaystyle\\sum_{i=1}^{n} f(x_i) \\Delta x=\\dfrac{1}{b-a} \\displaystyle\\int_a^b f(x) dx[\/latex].<\/div>\n<section class=\"textbox keyTakeaway\">\n<h3 style=\"text-align: left;\">average value of a function<\/h3>\n<p id=\"fs-id1170572510089\">Let [latex]f(x)[\/latex] be continuous over the interval [latex][a,b][\/latex]. Then, the average value of the function [latex]f(x)[\/latex] (or [latex]f_{\\text{ave}}[\/latex]) on [latex][a,b][\/latex] is given by,<\/p>\n<div id=\"fs-id1170571712537\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]f_{\\text{ave}}=\\dfrac{1}{b-a} \\displaystyle\\int_a^b f(x) dx[\/latex].<\/div>\n<\/section>\n<section class=\"textbox example\">\n<p id=\"fs-id1170571712602\">Find the average value of [latex]f(x)=x+1[\/latex] over the interval [latex][0,5][\/latex].<\/p>\n<p><div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"qfs-id1170572443612\">Show Solution<\/button><\/p>\n<div id=\"qfs-id1170572443612\" class=\"hidden-answer\" style=\"display: none\">\n<p id=\"fs-id1170572443612\">First, graph the function on the stated interval, as shown in Figure 11.<\/p>\n<figure style=\"width: 487px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/2332\/2018\/01\/11204037\/CNX_Calc_Figure_05_02_017.jpg\" alt=\"A graph in quadrant one showing the shaded area under the function f(x) = x + 1 over &#091;0,5&#093;.\" width=\"487\" height=\"284\" \/><figcaption class=\"wp-caption-text\">Figure 11. The graph shows the area under the function [latex]f(x)=x+1[\/latex] over [latex][0,5][\/latex].<\/figcaption><\/figure>\n<p id=\"fs-id1170572419232\">The region is a trapezoid lying on its side, so we can use the area formula for a trapezoid [latex]A=\\frac{1}{2}h(a+b)[\/latex], where [latex]h[\/latex] represents height, and [latex]a[\/latex] and [latex]b[\/latex] represent the two parallel sides. Then,<\/p>\n<div id=\"fs-id1170572419282\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\begin{array}{ll} \\displaystyle\\int_0^5 x+1 dx & =\\frac{1}{2}h(a+b) \\\\ & =\\frac{1}{2} \\cdot 5 \\cdot (1+6) \\\\ & =\\frac{35}{2} \\end{array}[\/latex]<\/div>\n<p id=\"fs-id1170571699476\">Thus the average value of the function is<\/p>\n<div id=\"fs-id1170571699479\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\frac{1}{5-0} \\displaystyle\\int_0^5 x+1 dx = \\frac{1}{5} \\cdot \\frac{35}{2}=\\frac{7}{2}.[\/latex]<\/div>\n<p>Watch the following video to see the worked solution to Example: Finding the Average Value of a Linear Function.<\/p>\n<div style=\"text-align: center;\"><iframe loading=\"lazy\" title=\"YouTube video player\" src=\"https:\/\/www.youtube.com\/embed\/tto0E7yOSLo?controls=0&amp;start=1427&amp;end=1559&amp;autoplay=0\" width=\"750\" height=\"450\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\" data-mce-fragment=\"1\"><\/iframe><\/div>\n<p>For closed captioning, open the video on its original page by clicking the Youtube logo in the lower right-hand corner of the video display. In YouTube, the video will begin at the same starting point as this clip, but will continue playing until the very end.<\/p>\n<p>You can view the <a href=\"https:\/\/oerfiles.s3.us-west-2.amazonaws.com\/Calculus\/Calculus1+Videos\/5.2TheDefiniteIntegral1427to1559_transcript.txt\" target=\"_blank\" rel=\"noopener\">transcript for this segmented clip of &#8220;5.2 The Definite Integral&#8221; here (opens in new window)<\/a>. <\/div>\n<\/div>\n<\/section>\n<section class=\"textbox tryIt\">\n<iframe loading=\"lazy\" id=\"ohm20448\" class=\"resizable\" src=\"https:\/\/ohm.lumenlearning.com\/multiembedq.php?id=20448&theme=lumen&iframe_resize_id=ohm20448&source=tnh\" width=\"100%\" height=\"150\"><\/iframe><br \/>\n<\/section>\n<\/div>\n","protected":false},"author":6,"menu_order":13,"template":"","meta":{"_candela_citation":"[{\"type\":\"cc\",\"description\":\"Calculus Volume 1\",\"author\":\"Gilbert Strang, Edwin (Jed) Herman\",\"organization\":\"OpenStax\",\"url\":\"https:\/\/openstax.org\/details\/books\/calculus-volume-1\",\"project\":\"\",\"license\":\"cc-by-nc-sa\",\"license_terms\":\"Access for free at https:\/\/openstax.org\/books\/calculus-volume-1\/pages\/1-introduction\"},{\"type\":\"original\",\"description\":\"5.2 The Definite Integral\",\"author\":\"Ryan Melton\",\"organization\":\"\",\"url\":\"\",\"project\":\"\",\"license\":\"cc-by\",\"license_terms\":\"\"}]","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"part":371,"module-header":"","content_attributions":[{"type":"cc","description":"Calculus Volume 1","author":"Gilbert Strang, Edwin (Jed) Herman","organization":"OpenStax","url":"https:\/\/openstax.org\/details\/books\/calculus-volume-1","project":"","license":"cc-by-nc-sa","license_terms":"Access for free at https:\/\/openstax.org\/books\/calculus-volume-1\/pages\/1-introduction"},{"type":"original","description":"5.2 The Definite Integral","author":"Ryan Melton","organization":"","url":"","project":"","license":"cc-by","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\/calculus2\/wp-json\/pressbooks\/v2\/chapters\/384"}],"collection":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus2\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus2\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/calculus2\/wp-json\/wp\/v2\/users\/6"}],"version-history":[{"count":0,"href":"https:\/\/content.one.lumenlearning.com\/calculus2\/wp-json\/pressbooks\/v2\/chapters\/384\/revisions"}],"part":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus2\/wp-json\/pressbooks\/v2\/parts\/371"}],"metadata":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus2\/wp-json\/pressbooks\/v2\/chapters\/384\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus2\/wp-json\/wp\/v2\/media?parent=384"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/calculus2\/wp-json\/pressbooks\/v2\/chapter-type?post=384"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/calculus2\/wp-json\/wp\/v2\/contributor?post=384"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/calculus2\/wp-json\/wp\/v2\/license?post=384"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}