{"id":115505,"date":"2022-02-25T15:14:57","date_gmt":"2022-02-25T21:14:57","guid":{"rendered":"https:\/\/www.mometrix.com\/academy\/?page_id=115505"},"modified":"2026-03-28T11:51:07","modified_gmt":"2026-03-28T16:51:07","slug":"left-and-right-riemann-sums","status":"publish","type":"page","link":"https:\/\/www.mometrix.com\/academy\/left-and-right-riemann-sums\/","title":{"rendered":"Left and Right Riemann Sums"},"content":{"rendered":"<h1>Left and Right Riemann Sums<\/h1>\n\n\t\t\t<div id=\"mmDeferVideoEncompass_XpB6J6BO8TQ\" style=\"position: relative;\">\n\t\t\t<picture>\n\t\t\t\t<source srcset=\"https:\/\/www.mometrix.com\/academy\/wp-content\/uploads\/2023\/01\/circle-play-duotone.webp\" type=\"image\/webp\">\n\t\t\t\t<source srcset=\"https:\/\/www.mometrix.com\/academy\/wp-content\/uploads\/2023\/01\/circle-play-duotone.png\" type=\"image\/jpeg\"> \n\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" loading=\"eager\" id=\"videoThumbnailImage_XpB6J6BO8TQ\" data-source-videoID=\"XpB6J6BO8TQ\" src=\"https:\/\/www.mometrix.com\/academy\/wp-content\/uploads\/2023\/01\/circle-play-duotone.png\" alt=\"Left and Right Riemann Sums Video\" height=\"464\" width=\"825\" class=\"size-full\" data-matomo-title = \"Left and Right Riemann Sums\">\n\t\t\t<\/picture>\n\t\t\t<\/div>\n\t\t\t<style>img#videoThumbnailImage_XpB6J6BO8TQ:hover {cursor:pointer;} img#videoThumbnailImage_XpB6J6BO8TQ {background-size:contain;background-image:url(\"https:\/\/www.mometrix.com\/academy\/wp-content\/uploads\/2023\/02\/1773-thumb-final-2.webp\");}<\/style>\n\t\t\t<script defer>\n\t\t\t  jQuery(\"img#videoThumbnailImage_XpB6J6BO8TQ\").click(function() {\n\t\t\t\tlet videoId = jQuery(this).attr(\"data-source-videoID\");\n\t\t\t\tlet helpTag = '<div id=\"mmDeferVideoYTMessage_XpB6J6BO8TQ\" style=\"display: none;position: absolute;top: -24px;width: 100%;text-align: center;\"><span style=\"font-style: italic;font-size: small;border-top: 1px solid #fc0;\">Having trouble? <a href=\"https:\/\/www.youtube.com\/watch?v='+videoId+'\" target=\"_blank\">Click here to watch on YouTube.<\/a><\/span><\/div>';\n\t\t\t\tlet tag = document.createElement(\"iframe\");\n\t\t\t\ttag.id = \"yt\" + videoId;\n\t\t\t\ttag.src = \"https:\/\/www.youtube-nocookie.com\/embed\/\" + videoId + \"?autoplay=1&controls=1&wmode=opaque&rel=0&egm=0&iv_load_policy=3&hd=0&enablejsapi=1\";\n\t\t\t\ttag.frameborder = 0;\n\t\t\t\ttag.allow = \"autoplay; fullscreen\";\n\t\t\t\ttag.width = this.width;\n\t\t\t\ttag.height = this.height;\n\t\t\t\ttag.setAttribute(\"data-matomo-title\",\"Left and Right Riemann Sums\");\n\t\t\t\tjQuery(\"div#mmDeferVideoEncompass_XpB6J6BO8TQ\").html(tag);\n\t\t\t\tjQuery(\"div#mmDeferVideoEncompass_XpB6J6BO8TQ\").prepend(helpTag);\n\t\t\t\tsetTimeout(function(){jQuery(\"div#mmDeferVideoYTMessage_XpB6J6BO8TQ\").css(\"display\", \"block\");}, 2000);\n\t\t\t  });\n\t\t\t  \n\t\t\t<\/script>\n\t\t\n<div class=\"accordion\"><input id=\"transcript\" type=\"checkbox\" class=\"spoiler_button\" \/><label for=\"transcript\">Transcript<\/label>\n<div class=\"spoiler\" id=\"transcript-spoiler\">\n<p>In geometry, we learned how to find the area of many shapes including rectangles, circles, triangles, and trapezoids. Each of these shapes has defined formulas to help us determine their areas, usually based on parameters like their height, length, or radius. But what if we wanted to determine the area lying beneath a curve?<\/p>\n<p>In this video, we are going to talk about a method called <strong>Riemann<\/strong> sums for approximating areas like these.<\/p>\n<p>Let\u2019s take a look at that curve again. We haven\u2019t yet gone over a well-defined method of determining the exact area beneath it, but we can start to get an idea of what the true area is close to by drawing in rectangles on the graph, like this:<\/p>\n<p>Here, we have drawn rectangles of equal width (in this case, their widths are one unit wide), where each rectangle is as tall as the height of the curve on the rectangle\u2019s <em>left corner<\/em>. When you do this, some of your rectangles will be taller than your curve and some will be shorter than your curve. By finding the areas of each of these rectangles, and adding them all together, we can get an <em>approximation<\/em>, or an estimate of the area beneath the curve. Let\u2019s find each of the rectangles\u2019 areas now.<\/p>\n<p>Remember, the area of a rectangle equals its width times its length. In this example, each rectangle has a width of one. The first rectangle is two units tall, so its area is \\(1\\times 2=2\\). The next rectangle is one unit tall, so its area is \\(1\\times 1=1\\). The third rectangle is two units tall, so it has area \\(1\\times 2=2\\). The fourth rectangle is four units tall, with area equal to four, and the fifth rectangle is five units tall, so its area is equal to five. Adding all of these together, we have a total area of 14 square units.<\/p>\n<p>Just like that, we have made an approximation for the area beneath the curve. The process we just followed is called the left Riemann sum\u2014\u201cleft\u201d because we drew each rectangle to the height of the curve on its <em>left<\/em> side. Similarly, the rectangles for a <em>right<\/em> Riemann sum would look like this, with each rectangle drawn up to the height of the curve on its right side:<\/p>\n<p>These rectangles have heights of 1, 2, 4, 5, and 5 respectively, and since each of these rectangles again have a width of one, those areas add up to 17 square units. Clearly, this is different from the solution we just came up with using the left Riemann sum. This is because, once again, Riemann sums are just <em>approximations<\/em> of the true area.<\/p>\n<p>Notice how much area the left rectangles missed, and how much area the right rectangles added on:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-119029\" src=\"https:\/\/www.mometrix.com\/academy\/wp-content\/uploads\/2022\/04\/Left-Riemann-Sum-1-e1649262809566.png\" alt=\"\" width=\"652\" height=\"566\" \/><\/p>\n<p>[Left R.S. rectangles have bright red error spaces. Right R.S. rectangles have purple error spaces]<\/p>\n<p>This naturally leads to the question: how can we improve these approximations and minimize error? We can do this by decreasing the width of each rectangle and adding more rectangles in.<\/p>\n<p>Let\u2019s take a look at the same curve\u2019s left rectangles when we decrease their width from one unit to one-half of a unit.<\/p>\n<p>Of course, there are still some error gaps present where either too much or too little area is accounted for. But if we compare this to the previous estimation, we can see that this shaded area has been eliminated, and that these shaded areas have been added in:<\/p>\n<p>So we see that because we increased the number of rectangles, we now have a better approximation of the true value beneath the curve.<\/p>\n<p>Let\u2019s try a formal example now. Consider the function \\(f(x)=-x^{3}+25x\\). Approximate the area beneath the curve from \\(x=0\\) to \\(x=5\\) by finding the left and right Riemann sums, each with five rectangles of width one. Then, find the left and right Riemann sums with ten rectangles of width one-half. Compare each approximation to the true area value, 156.25 square units.<\/p>\n<p>There\u2019s obviously a lot here, so we are going to take this one bit at a time. The function we are working with is \\(f(x)=-x^{3}+25x\\), and we are looking at the portion of the curve from \\(x=0\\) to \\(x=5\\). Our first task is finding the left Riemann sum with five rectangles of width one. This means the left corners of each rectangle will lie on \\(x=0\\), \\(x=1\\), \\(x=2\\), \\(x=3\\), and \\(x=4\\) respectively. <\/p>\n<p>Even though we don\u2019t have a picture of the graph in front of us for this problem, we can calculate the heights of those rectangles by plugging those \\(x\\)-values into the function.<\/p>\n<p>The first rectangle, whose left corner lies on \\(x=0\\), will have height of: <\/p>\n<blockquote style=\"border: 0px; padding: 30px; background-color: #eee; box-shadow: 1.5px 1.5px 5px grey; width:80%; margin: auto;\">\n<div style=\"font-style:normal; font-size:90%; text-align:center;\">\\(f(0)=-(0)^{3}+25(0)=0\\)<\/div>\n<\/blockquote>\n<p>\n&nbsp;<\/p>\n<p>The second rectangle\u2019s left corner lies on \\(x=1\\), so its height will be: <\/p>\n<blockquote style=\"border: 0px; padding: 30px; background-color: #eee; box-shadow: 1.5px 1.5px 5px grey; width:80%; margin: auto;\">\n<div style=\"font-style:normal; font-size:90%; text-align:center;\">\\(f(1)=-(1)^{3}+25(1)=-1+25=24\\)<\/div>\n<\/blockquote>\n<p>\n&nbsp;<\/p>\n<p>The third rectangle\u2019s left corner lies on \\(x=2\\), so its height is: <\/p>\n<blockquote style=\"border: 0px; padding: 30px; background-color: #eee; box-shadow: 1.5px 1.5px 5px grey; width:80%; margin: auto;\">\n<div style=\"font-style:normal; font-size:90%; text-align:center;\">\\(f(2)=-(2)^{3}+25(2)=-8+50=42\\)<\/div>\n<\/blockquote>\n<p>\n&nbsp;<\/p>\n<p>The fourth rectangle\u2019s left corner is at \\(x=3\\), so its height is: <\/p>\n<blockquote style=\"border: 0px; padding: 30px; background-color: #eee; box-shadow: 1.5px 1.5px 5px grey; width:80%; margin: auto;\">\n<div style=\"font-style:normal; font-size:90%; text-align:center;\">\\(f(3)=-(3)^{3}+25(3)=-27+75=48\\)<\/div>\n<\/blockquote>\n<p>\n&nbsp;<\/p>\n<p>The fifth and final rectangle has its left corner at \\(x=4\\), so its height will be: <\/p>\n<blockquote style=\"border: 0px; padding: 30px; background-color: #eee; box-shadow: 1.5px 1.5px 5px grey; width:80%; margin: auto;\">\n<div style=\"font-style:normal; font-size:90%; text-align:center;\">\\(f(4)=-(4)^{3}+25(4)=-64+100=36\\)<\/div>\n<\/blockquote>\n<p>\n&nbsp;<\/p>\n<p>Each of these rectangles has a width of 1, so their areas, width times height, are each just going to be equal to their height. These areas are again 0, 24, 42, 48, and 36, which all add up to 150 square units.<\/p>\n<p>Let\u2019s now compute the <em>right<\/em> Riemann sum. For each of the five rectangles, we will need to compute the heights at their right corners.<\/p>\n<p>The first rectangle\u2019s right corner lies on \\(x=1\\). We\u2019ve already calculated the height at \\(x=1\\) to be 24, so the first rectangle for the right Riemann sum is then 24 units tall.<\/p>\n<p>The second rectangle\u2019s right corner lies on \\(x=2\\), and again, we already know the height there. Since \\(f(2)=42\\), the second rectangle is 42 units tall.<\/p>\n<p>The third rectangle ends at \\(x=3\\), and will have a height of 48.<\/p>\n<p>The fourth rectangle ends at \\(x=4\\), and will have a height of 36.<\/p>\n<p>The fifth and final rectangle ends at \\(x=5\\). We will need to plug this into the function to find the height. <\/p>\n<blockquote style=\"border: 0px; padding: 30px; background-color: #eee; box-shadow: 1.5px 1.5px 5px grey; width:80%; margin: auto;\">\n<div style=\"font-style:normal; font-size:90%; text-align:center;\">\\(f(5)=-(5)^{3}+25(5)=-125+125=0\\)<\/div>\n<\/blockquote>\n<p>\n&nbsp;<\/p>\n<p>So the last rectangle has a height of 0.<\/p>\n<p>Again, the widths of these rectangles are all 1, so in this case, their areas are simply equal to their heights. Adding all of these together, we see that the right Riemann sum with five rectangles is \\(24+42+48+36+0=150\\text{ units}^{2}\\). Coincidentally, this is the same as the left Riemann sum we got moments ago. For this example, they happened to be the same value; however, this is not always, and often isn\u2019t the case with left and right Riemann sums.<\/p>\n<p>Remember, in the problem statement we were asked to find the Riemann sums using five, and then ten rectangles. Let\u2019s proceed and find the left Riemann sum with ten rectangles now. <\/p>\n<p>Since we are observing the same domain, from \\(x=0\\) to \\(x=5\\), increasing the number of rectangles means that we must decrease their width. Now, each rectangle will have a width of one-half. Let\u2019s go ahead and compute the height of the function at intervals of one-half now, so we can calculate the areas and sum more quickly in the next steps:<\/p>\n<table class=\"ATable\" style=\"margin: auto;\">\n<tbody>\n<tr>\n<td>\\(x\\)<\/td>\n<td>\\(f(x)\\)<\/td>\n<\/tr>\n<tr>\n<td>\\(0\\)<\/td>\n<td>\\(0\\)<\/td>\n<\/tr>\n<tr>\n<td>\\(0.5\\)<\/td>\n<td>\\(12.375\\)<\/td>\n<\/tr>\n<tr>\n<td>\\(1\\)<\/td>\n<td>\\(24\\)<\/td>\n<\/tr>\n<tr>\n<td>\\(1.5\\)<\/td>\n<td>\\(34.125\\)<\/td>\n<\/tr>\n<tr>\n<td>\\(2\\)<\/td>\n<td>\\(42\\)<\/td>\n<\/tr>\n<tr>\n<td>\\(2.5\\)<\/td>\n<td>\\(46.875\\)<\/td>\n<\/tr>\n<tr>\n<td>\\(3\\)<\/td>\n<td>\\(48\\)<\/td>\n<\/tr>\n<tr>\n<td>\\(3.5\\)<\/td>\n<td>\\(44.625\\)<\/td>\n<\/tr>\n<tr>\n<td>\\(4\\)<\/td>\n<td>\\(36\\)<\/td>\n<\/tr>\n<tr>\n<td>\\(4.5\\)<\/td>\n<td>\\(21.375\\)<\/td>\n<\/tr>\n<tr>\n<td>\\(5\\)<\/td>\n<td>\\(0\\)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\n&nbsp;<\/p>\n<p>Now, the left rectangles will have left corners at each of these points from 0 to 4.5, so we will be considering each of those heights. In the previous Riemann sums, each rectangle had a width of one, which made calculating the areas very simple. Now, since our rectangles have a width of one-half, each rectangle\u2019s area will be equal to one-half times its height.<\/p>\n<p>So the first rectangle will have an area of \\(0.5 \\times 0=0\\).<\/p>\n<p>The second will have height \\(0.5\\times 12.375=6.1875\\), and so on.<\/p>\n<p>Here are all of the left rectangles\u2019 areas now:<\/p>\n<table class=\"ATable\" style=\"margin: auto;\">\n<body><\/p>\n<thead>\n<tr>\n<th><strong>Rec.1<\/strong><\/th>\n<th><strong>Rec.2<\/strong><\/th>\n<th><strong>Rec.3<\/strong><\/th>\n<th><strong>Rec.4<\/strong><\/th>\n<th><strong>Rec.5<\/strong><\/th>\n<th><strong>Rec.6<\/strong><\/th>\n<th><strong>Rec.7<\/strong><\/th>\n<th><strong>Rec.8<\/strong><\/th>\n<th><strong>Rec.9<\/strong><\/th>\n<th><strong>Rec.10<\/strong><\/th>\n<\/tr>\n<\/thead>\n<tr>\n<td>0<\/td>\n<td>6.1875<\/td>\n<td>12<\/td>\n<td>17.0625<\/td>\n<td>21<\/td>\n<td>23.4375<\/td>\n<td>24<\/td>\n<td>22.3125<\/td>\n<td>18<\/td>\n<td>10.6875<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\n&nbsp;<\/p>\n<p>Adding these all together, we get that the left Riemann sum with ten rectangles is 154.6875 square units.<\/p>\n<p>Now, we are also interested in the <em>right<\/em> Riemann sum with ten rectangles. From the heights we found, we can again find each of these areas by multiplying the heights by one-half. Here are the areas of each right rectangle, whose right corners are at one-half intervals from \\(x=0.5\\) to \\(x=5\\).<\/p>\n<table class=\"ATable\" style=\"margin: auto;\">\n<thead>\n<tr>\n<th><strong>Rec.1<\/strong><\/th>\n<th><strong>Rec.2<\/strong><\/th>\n<th><strong>Rec.3<\/strong><\/th>\n<th><strong>Rec.4<\/strong><\/th>\n<th><strong>Rec.5<\/strong><\/th>\n<th><strong>Rec.6<\/strong><\/th>\n<th><strong>Rec.7<\/strong><\/th>\n<th><strong>Rec.8<\/strong><\/th>\n<th><strong>Rec.9<\/strong><\/th>\n<th><strong>Rec.10<\/strong><\/th>\n<\/tr>\n<\/thead>\n<tr>\n<td>6.1875<\/td>\n<td>12<\/td>\n<td>17.0625<\/td>\n<td>21<\/td>\n<td>23.4375<\/td>\n<td>24<\/td>\n<td>22.3125<\/td>\n<td>18<\/td>\n<td>10.6875<\/td>\n<td>0<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\n&nbsp;<\/p>\n<p>These areas all add up to 154.6875 square units. Even though this value is again the same as what we got for the left Riemann sum, this will not always be the case. This function arcs in such a way that the left and right sums happen to come out equal.<\/p>\n<p>The last part of the problem is for us to compare each approximation to the true area. Using five rectangles, we approximated the area to be 150 square units. With ten rectangles, the approximation was refined to 154.6875 square units. The true area is equal to 156.25 square units. We can clearly see that increasing the number of rectangles in the Riemann sum helped make the approximation more precise!<\/p>\n<table class=\"ATable\" style=\"margin: auto;\">\n<body><\/p>\n<thead>\n<tr>\n<th><strong>Approx with 5 Rec\u2019s<\/strong><\/th>\n<th><strong>Approx with 10 Rec\u2019s<\/strong><\/th>\n<th><strong>True Area<\/strong><\/th>\n<\/tr>\n<\/thead>\n<tr>\n<td>150 square units<\/td>\n<td>154.6875 square units<\/td>\n<td>156.25 square units<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\n&nbsp;<\/p>\n<p>When it comes to Riemann sums, it is important to remember that when calculating the areas of each rectangle, you must multiply its height by its width, which will sometimes be one unit, and other times not. Also keep in mind that these are approximations of the true area beneath a curve. There will still be some margin of error, but this error can be minimized by using more rectangles.<\/p>\n<p>I hope that this video was helpful. Thanks for watching, and happy studying!<\/p>\n<\/div>\n<\/div>\n\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/www.mometrix.com\/academy\/calculus\/\"><strong>Return to Calculus Videos<\/strong><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Left and Right Riemann Sums &nbsp; Return to Calculus Videos<\/p>\n","protected":false},"author":22,"featured_media":115508,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":{"0":"post-115505","1":"page","2":"type-page","3":"status-publish","4":"has-post-thumbnail","6":"page_category-calculus-videos","7":"page_category-video-pages-for-study-course-sidebar-ad","8":"page_type-video","9":"subject_matter-math"},"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.mometrix.com\/academy\/wp-json\/wp\/v2\/pages\/115505","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mometrix.com\/academy\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.mometrix.com\/academy\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.mometrix.com\/academy\/wp-json\/wp\/v2\/users\/22"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mometrix.com\/academy\/wp-json\/wp\/v2\/comments?post=115505"}],"version-history":[{"count":4,"href":"https:\/\/www.mometrix.com\/academy\/wp-json\/wp\/v2\/pages\/115505\/revisions"}],"predecessor-version":[{"id":281153,"href":"https:\/\/www.mometrix.com\/academy\/wp-json\/wp\/v2\/pages\/115505\/revisions\/281153"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.mometrix.com\/academy\/wp-json\/wp\/v2\/media\/115508"}],"wp:attachment":[{"href":"https:\/\/www.mometrix.com\/academy\/wp-json\/wp\/v2\/media?parent=115505"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}