<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mathresearch.utsa.edu/wiki/index.php?action=history&amp;feed=atom&amp;title=Area_of_a_rectangle</id>
	<title>Area of a rectangle - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mathresearch.utsa.edu/wiki/index.php?action=history&amp;feed=atom&amp;title=Area_of_a_rectangle"/>
	<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Area_of_a_rectangle&amp;action=history"/>
	<updated>2026-06-11T08:10:42Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Area_of_a_rectangle&amp;diff=3836&amp;oldid=prev</id>
		<title>Khanh: /* Methods */</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Area_of_a_rectangle&amp;diff=3836&amp;oldid=prev"/>
		<updated>2021-11-14T05:28:41Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Methods&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 05:28, 14 November 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l32&quot; &gt;Line 32:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 32:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Methods==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Methods==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The four methods of Riemann summation are usually best approached with partitions of equal size. The interval &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;{{Closed-closed|&lt;/del&gt;''a'', ''b''&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;}} &lt;/del&gt;is therefore divided into &amp;lt;math&amp;gt; n &amp;lt;/math&amp;gt; subintervals, each of length  &lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The four methods of Riemann summation are usually best approached with partitions of equal size. The interval &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[&lt;/ins&gt;''a'', ''b''&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;] &lt;/ins&gt;is therefore divided into &amp;lt;math&amp;gt; n &amp;lt;/math&amp;gt; subintervals, each of length  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:&amp;lt;math&amp;gt;\Delta x = \frac{b-a}{n}.&amp;lt;/math&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:&amp;lt;math&amp;gt;\Delta x = \frac{b-a}{n}.&amp;lt;/math&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Area_of_a_rectangle&amp;diff=3835&amp;oldid=prev</id>
		<title>Khanh at 05:27, 14 November 2021</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Area_of_a_rectangle&amp;diff=3835&amp;oldid=prev"/>
		<updated>2021-11-14T05:27:42Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 05:27, 14 November 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l164&quot; &gt;Line 164:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 164:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [https://www.youtube.com/watch?v=AkUa9Fkz2rw Riemann Sums - Midpoint, Left &amp;amp; Right Endpoints, Area, Definite Integral, Sigma Notation, Calculus], The Organic Chemistry Tutor&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [https://www.youtube.com/watch?v=AkUa9Fkz2rw Riemann Sums - Midpoint, Left &amp;amp; Right Endpoints, Area, Definite Integral, Sigma Notation, Calculus], The Organic Chemistry Tutor&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;References&lt;/del&gt;==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Licensing &lt;/ins&gt;==  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;# Hughes-Hallett, Deborah; McCullum, William G.; et al. (2005). Calculus (4th ed.). Wiley. p. 252. (Among many equivalent variations on the definition, this reference closely resembles the one given here.)&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Content obtained and/or adapted from:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;# Hughes-Hallett, Deborah; McCullum, William G.; et al. (2005). Calculus (4th ed.)&lt;/del&gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Wiley&lt;/del&gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;p. 340. So far, we have three ways of estimating an integral using a &lt;/del&gt;Riemann sum&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;: 1. The left rule uses the left endpoint of each subinterval. 2. The right rule uses the right endpoint of each subinterval. 3. The midpoint rule uses the midpoint of each subinterval.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;* [https://en&lt;/ins&gt;.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;wikipedia&lt;/ins&gt;.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;org/wiki/Riemann_sum &lt;/ins&gt;Riemann sum, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Wikipedia] under &lt;/ins&gt;a &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;CC BY&lt;/ins&gt;-&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;SA license&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;# Ostebee, Arnold; Zorn, Paul (2002). Calculus from Graphical, Numerical, and Symbolic Points of View (Second ed.). p. M-33. Left-rule, right-rule, and midpoint-rule approximating sums all fit this definition.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;# Swokowski, Earl W. (1979). Calculus with Analytic Geometry (Second ed.). Boston, MA: Prindle, Weber &amp;amp; Schmidt. pp. 821–822. ISBN 0-87150-268-2.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;# Ostebee, Arnold; Zorn, Paul (2002). Calculus from Graphical, Numerical&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;and Symbolic Points of View (Second ed.). p. M-34. We chop the plane region R into m smaller regions R1, R2, R3, ..., Rm, perhaps of different sizes and shapes. The 'size' of &lt;/del&gt;a &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;subregion Ri is now taken to be its area, denoted by ΔAi.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;# Swokowski, Earl W. (1979). Calculus with Analytic Geometry (Second ed.). Boston, MA: Prindle, Weber &amp;amp; Schmidt. pp. 857–858. ISBN 0-87150&lt;/del&gt;-&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;268-2.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Area_of_a_rectangle&amp;diff=1157&amp;oldid=prev</id>
		<title>Khanh at 17:04, 17 September 2021</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Area_of_a_rectangle&amp;diff=1157&amp;oldid=prev"/>
		<updated>2021-09-17T17:04:09Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 17:04, 17 September 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l131&quot; &gt;Line 131:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 131:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The example function has an easy-to-find anti-derivative so estimating the integral by Riemann sums is mostly an academic exercise; however it must be remembered that not all functions have anti-derivatives so estimating their integrals by summation is practically important.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The example function has an easy-to-find anti-derivative so estimating the integral by Riemann sums is mostly an academic exercise; however it must be remembered that not all functions have anti-derivatives so estimating their integrals by summation is practically important.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;{{clear}}&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Higher dimensions==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Higher dimensions==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l160&quot; &gt;Line 160:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 160:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Resources==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Resources==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [https://www.khanacademy.org/math/ap-calculus-ab/ab-integration-new/ab-6-2/a/left-and-right-riemann-sums&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;|&lt;/del&gt;Left &amp;amp; Right Riemann Sums Article], Khan Academy&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [https://www.khanacademy.org/math/ap-calculus-ab/ab-integration-new/ab-6-2/a/left-and-right-riemann-sums Left &amp;amp; Right Riemann Sums Article], Khan Academy&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [https://www.khanacademy.org/math/ap-calculus-ab/ab-integration-new/ab-6-2/v/simple-riemann-approximation-using-rectangles&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;|&lt;/del&gt;Riemann approximation introduction], Khan Academy&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [https://www.khanacademy.org/math/ap-calculus-ab/ab-integration-new/ab-6-2/v/simple-riemann-approximation-using-rectangles Riemann approximation introduction], Khan Academy&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [https://www.youtube.com/watch?v=AkUa9Fkz2rw&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;|&lt;/del&gt;Riemann Sums - Midpoint, Left &amp;amp; Right Endpoints, Area, Definite Integral, Sigma Notation, Calculus], The Organic Chemistry Tutor&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [https://www.youtube.com/watch?v=AkUa9Fkz2rw Riemann Sums - Midpoint, Left &amp;amp; Right Endpoints, Area, Definite Integral, Sigma Notation, Calculus], The Organic Chemistry Tutor&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==References==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==References==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Area_of_a_rectangle&amp;diff=1156&amp;oldid=prev</id>
		<title>Khanh: Created page with &quot;File:Riemann sum convergence.png|right|thumb|300px|Four of the Riemann summation methods for approximating the area under curves. &lt;span style=&quot;color:#0081cd&quot;&gt;'''Right''' &lt;/s...&quot;</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Area_of_a_rectangle&amp;diff=1156&amp;oldid=prev"/>
		<updated>2021-09-17T17:01:49Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;File:Riemann sum convergence.png|right|thumb|300px|Four of the Riemann summation methods for approximating the area under curves. &amp;lt;span style=&amp;quot;color:#0081cd&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;Right&amp;#039;&amp;#039;&amp;#039; &amp;lt;/s...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[File:Riemann sum convergence.png|right|thumb|300px|Four of the Riemann summation methods for approximating the area under curves. &amp;lt;span style=&amp;quot;color:#0081cd&amp;quot;&amp;gt;'''Right''' &amp;lt;/span&amp;gt; and &amp;lt;span style=&amp;quot;color:#fec200&amp;quot;&amp;gt;'''left'''&amp;lt;/span&amp;gt; methods make the approximation using the right and left endpoints of each subinterval, respectively. &amp;lt;span style=&amp;quot;color:#009246&amp;quot;&amp;gt;'''Maximum'''&amp;lt;/span&amp;gt; and &amp;lt;span style=&amp;quot;color:#bc1e47&amp;quot;&amp;gt;'''minimum'''&amp;lt;/span&amp;gt; methods make the approximation using the largest and smallest endpoint values of each subinterval, respectively. The values of the sums converge as the subintervals halve from top-left to bottom-right.]]&lt;br /&gt;
&lt;br /&gt;
In mathematics, a '''Riemann sum''' is a certain kind of approximation of an integral by a finite sum. It is named after nineteenth century German mathematician Bernhard Riemann. One very common application is approximating the area of functions or lines on a graph, but also the length of curves and other approximations.&lt;br /&gt;
&lt;br /&gt;
The sum is calculated by partitioning the region into shapes (rectangles, trapezoids, parabolas, or cubics) that together form a region that is similar to the region being measured, then calculating the area for each of these shapes, and finally adding all of these small areas together. This approach can be used to find a numerical approximation for a definite integral even if the fundamental theorem of calculus does not make it easy to find a closed-form solution.&lt;br /&gt;
&lt;br /&gt;
Because the region filled by the small shapes is usually not exactly the same shape as the region being measured, the Riemann sum will differ from the area being measured. This error can be reduced by dividing up the region more finely, using smaller and smaller shapes. As the shapes get smaller and smaller, the sum approaches the Riemann integral.&lt;br /&gt;
&lt;br /&gt;
==Definition==&lt;br /&gt;
Let &amp;lt;math&amp;gt;f: [a,b] \rightarrow \mathbb R&amp;lt;/math&amp;gt; be a function defined on a closed interval &amp;lt;math&amp;gt;[a,b]&amp;lt;/math&amp;gt; of the real numbers, &amp;lt;math&amp;gt;\mathbb R&amp;lt;/math&amp;gt;, and&lt;br /&gt;
:&amp;lt;math&amp;gt;P = \left \{[x_0,x_1],[x_1,x_2],\dots,[x_{n-1},x_n] \right \}&amp;lt;/math&amp;gt;,&lt;br /&gt;
be a partition of ''I'', where&lt;br /&gt;
:&amp;lt;math&amp;gt;a=x_0&amp;lt;x_1&amp;lt;x_2&amp;lt;\cdots&amp;lt;x_n=b&amp;lt;/math&amp;gt;.&lt;br /&gt;
A '''Riemann sum''' &amp;lt;math&amp;gt;S&amp;lt;/math&amp;gt; of ''f'' over ''I'' with partition ''P'' is defined as&lt;br /&gt;
:&amp;lt;math&amp;gt;S = \sum_{i=1}^{n} f(x_i^*)\, \Delta x_i&amp;lt;/math&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\Delta x_i=x_i-x_{i-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x_i^*\in[x_{i-1},x_i]&amp;lt;/math&amp;gt;.&lt;br /&gt;
One might produce different Riemann sums depending on which &amp;lt;math&amp;gt;x_i^*&amp;lt;/math&amp;gt;'s are chosen. In the end this will not matter, if the function is Riemann integrable, when the difference or width of the summands &amp;lt;math&amp;gt;\Delta x_i&amp;lt;/math&amp;gt; approaches zero.&lt;br /&gt;
&lt;br /&gt;
==Some specific types of Riemann sums==&lt;br /&gt;
Specific choices of &amp;lt;math&amp;gt;x_i^*&amp;lt;/math&amp;gt; give us different types of Riemann sums:&lt;br /&gt;
* If &amp;lt;math&amp;gt;x_i^*=x_{i-1}&amp;lt;/math&amp;gt; for all ''i'', then ''S'' is called a '''left rule''' or '''left Riemann sum'''.&lt;br /&gt;
* If &amp;lt;math&amp;gt;x_i^*=x_i&amp;lt;/math&amp;gt; for all ''i'', then ''S'' is called a '''right rule''' or '''right Riemann sum'''.&lt;br /&gt;
* If &amp;lt;math&amp;gt;x_i^*=(x_i+x_{i-1})/2&amp;lt;/math&amp;gt; for all ''i'', then ''S'' is called the '''midpoint rule''' or '''middle Riemann sum'''.&lt;br /&gt;
* If &amp;lt;math&amp;gt;f(x_i^*) = \sup f([x_{i-1},x_i])&amp;lt;/math&amp;gt; (that is, the supremum of ''f'' over &amp;lt;math&amp;gt;[x_{i-1},x_i]&amp;lt;/math&amp;gt;), then ''S'' is defined to be an '''upper Riemann sum''' or '''upper Darboux sum'''.&lt;br /&gt;
* If &amp;lt;math&amp;gt;f(x_i^*) = \inf f([x_{i-1},x_i])&amp;lt;/math&amp;gt; (that is, the infimum of ''f'' over &amp;lt;math&amp;gt;[x_{i-1},x_i]&amp;lt;/math&amp;gt;), then ''S'' is defined to be a '''lower Riemann sum''' or '''lower Darboux sum'''.&lt;br /&gt;
&lt;br /&gt;
All these methods are among the most basic ways to accomplish numerical integration. Loosely speaking, a function is Riemann integrable if all Riemann sums converge as the partition &amp;quot;gets finer and finer&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
While not derived as a Riemann sum, the average of the left and right Riemann sums is the '''trapezoidal sum''' and is one of the simplest of a very general way of approximating integrals using weighted averages. This is followed in complexity by Simpson's rule and Newton–Cotes formulas.&lt;br /&gt;
&lt;br /&gt;
Any Riemann sum on a given partition (that is, for any choice of &amp;lt;math&amp;gt;x_i^*&amp;lt;/math&amp;gt; between &amp;lt;math&amp;gt;x_{i-1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x_i&amp;lt;/math&amp;gt;) is contained between the lower and upper Darboux sums. This forms the basis of the Darboux integral, which is ultimately equivalent to the Riemann integral.&lt;br /&gt;
&lt;br /&gt;
==Methods==&lt;br /&gt;
The four methods of Riemann summation are usually best approached with partitions of equal size. The interval {{Closed-closed|''a'', ''b''}} is therefore divided into &amp;lt;math&amp;gt; n &amp;lt;/math&amp;gt; subintervals, each of length &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Delta x = \frac{b-a}{n}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The points in the partition will then be &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;a, \; a + \Delta x, \; a + 2 \Delta x, \; \ldots, \; a + (n-2) \Delta x, \; a + (n-1)\Delta x, \; b.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Left Riemann sum===&lt;br /&gt;
[[Image:LeftRiemann2.svg|thumb|right|Left Riemann sum of ''x''&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; over [0,2] using 4 subdivisions]]&lt;br /&gt;
For the left Riemann sum, approximating the function by its value at the left-end point gives multiple rectangles with base Δ''x'' and height ''f''(''a'' + ''i''Δ''x''). Doing this for ''i'' = 0, 1, …, ''n''&amp;amp;nbsp;−&amp;amp;nbsp;1, and adding up the resulting areas gives&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; A_\mathrm{left} = \Delta x \left[f(a) + f(a + \Delta x) + f(a+ 2*\Delta x)+ \cdots+f(b - \Delta x)\right].&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The left Riemann sum amounts to an overestimation if ''f'' is monotonically decreasing on this interval, and an underestimation if it is monotonically increasing.&lt;br /&gt;
&lt;br /&gt;
===Right Riemann sum===&lt;br /&gt;
[[Image:RightRiemann2.svg|thumb|right|Right Riemann sum of ''x''&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; over [0,2] using 4 subdivisions]]&lt;br /&gt;
''f'' is here approximated by the value at the right endpoint. This gives multiple rectangles with base Δ''x'' and height ''f''(''a'' + ''i''&amp;amp;nbsp;Δ''x''). Doing this for ''i'' = 1, …, ''n'', and adding up the resulting areas produces &lt;br /&gt;
:&amp;lt;math&amp;gt; A_\mathrm{right} = \Delta x \left[ f( a + \Delta x ) + f(a + 2 \, \Delta x)+\cdots+f(b) \right].&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The right Riemann sum amounts to an underestimation if ''f'' is monotonically decreasing, and an overestimation if it is monotonically increasing.&lt;br /&gt;
The error of this formula will be &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\left \vert \int_{a}^{b} f(x) \, dx - A_\mathrm{right} \right \vert \le \frac{M_1 (b-a)^2}{2n}&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M_1&amp;lt;/math&amp;gt; is the maximum value of the absolute value of &amp;lt;math&amp;gt;f^{\prime}(x)&amp;lt;/math&amp;gt; on the interval.&lt;br /&gt;
&lt;br /&gt;
===Midpoint rule===&lt;br /&gt;
[[Image:MidRiemann2.svg|thumb|right|Midpoint Riemann sum of ''x''&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; over [0,2] using 4 subdivisions]]&lt;br /&gt;
Approximating ''f'' at the midpoint of intervals gives ''f''(''a'' + Δ''x''/2) for the first interval, for the next one ''f''(''a'' + 3Δ''x''/2), and so on until ''f''(''b''&amp;amp;nbsp;−&amp;amp;nbsp;Δ''x''/2). Summing up the areas gives&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; A_\mathrm{mid} = \Delta x\left[f(a + \tfrac{\Delta x}{2}) + f(a + \tfrac{3\,\Delta x}{2}) + \cdots+f(b-\tfrac{\Delta x}{2})\right]&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The error of this formula will be &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\left \vert \int_a^b f(x) \, dx - A_\mathrm{mid} \right \vert \le \frac{M_2(b-a)^3}{24n^2}&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M_2&amp;lt;/math&amp;gt; is the maximum value of the absolute value of &amp;lt;math&amp;gt;f^{\prime\prime}(x)&amp;lt;/math&amp;gt; on the interval.&lt;br /&gt;
&lt;br /&gt;
===Trapezoidal rule===&lt;br /&gt;
[[Image:TrapRiemann2.svg|thumb|right|Trapezoidal Riemann sum of ''x''&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; over [0,2] using 4 subdivisions]]&lt;br /&gt;
&lt;br /&gt;
In this case, the values of the function ''f'' on an interval are approximated by the average of the values at the left and right endpoints. In the same manner as above, a simple calculation using the area formula &lt;br /&gt;
:&amp;lt;math&amp;gt;A=\tfrac{1}{2}h(b_1+b_2)&amp;lt;/math&amp;gt; &lt;br /&gt;
for a trapezium  with parallel sides ''b''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;, ''b''&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;  and height ''h'' produces&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;A_\mathrm{trap} = \tfrac{1}{2}\,\Delta x\left[f(a) + 2f(a+\Delta x) + 2f(a+2\,\Delta x) +\cdots+f(b)\right].&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The error of this formula will be &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\left \vert \int_{a}^{b} f(x) \, dx - A_\mathrm{trap} \right \vert \le \frac{M_2(b-a)^3}{12n^2},&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M_2&amp;lt;/math&amp;gt; is the maximum value of the absolute value of &amp;lt;math&amp;gt;f^{\prime\prime}(x)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The approximation obtained with the trapezoid rule for a function is the same as the average of the left hand and right hand sums of that function.&lt;br /&gt;
&lt;br /&gt;
==Connection with integration==&lt;br /&gt;
For a one-dimensional Riemann sum over domain &amp;lt;math&amp;gt;[a,b]&amp;lt;/math&amp;gt;, as the maximum size of a partition element shrinks to zero (that is the limit of the norm of the partition goes to zero), some functions will have all Riemann sums converge to the same value. This limiting value, if it exists, is defined as the definite Riemann integral of the function over the domain,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\int_a^b \! f(x) \, dx = \lim_{\|\Delta x\|\rightarrow0} \sum_{i=1}^{n} f(x_i^*) \,\Delta x_i.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For a finite-sized domain, if the maximum size of a partition element shrinks to zero, this implies the number of partition elements goes to infinity. For finite partitions, Riemann sums are always approximations to the limiting value and this approximation gets better as the partition gets finer. The following animations help demonstrate how increasing the number of partitions (while lowering the maximum partition element size) better approximates the &amp;quot;area&amp;quot; under the curve:&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:Riemann sum (leftbox).gif|Left sum&lt;br /&gt;
Image:Riemann sum (rightbox).gif|Right sum&lt;br /&gt;
Image:Riemann sum (middlebox).gif|Middle sum&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
Since the red function here is assumed to be a smooth function, all three Riemann sums will converge to the same value as the number of partitions goes to infinity.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
[[File:Area-under-curve-for-x-squared.svg|thumb|Area-under-curve-for-x-squared|A visual representation of the area under the curve ''y'' = ''x''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; for the interval from 0 to 2. Using antiderivatives this area is exactly 8/3.]]&lt;br /&gt;
[[File:Riemann sum (y=x^2).gif|thumb|Riemann sum (y=x^2)|Approximating the area under &amp;lt;math&amp;gt;y=x^2&amp;lt;/math&amp;gt; from 0 to 2 using right-rule sums. Notice that because the function is monotonically increasing, right-hand sums will always overestimate the area contributed by each term in the sum (and do so maximally)]]&lt;br /&gt;
[[File:Riemann sum error.svg|thumb|Riemann sum error|The value of the Riemann sum under the curve ''y'' = ''x''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; from 0 to 2. As the number of rectangles increases, it approaches the exact area of 8/3.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Taking an example, the area under the curve of ''y'' = ''x''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; between 0 and 2 can be procedurally computed using Riemann's method. &lt;br /&gt;
&lt;br /&gt;
The interval [0, 2] is firstly divided into ''n'' subintervals, each of which is given a width of &amp;lt;math&amp;gt;\tfrac{2}{n}&amp;lt;/math&amp;gt;; these are the widths of the Riemann rectangles (hereafter &amp;quot;boxes&amp;quot;).  Because the right Riemann sum is to be used, the sequence of ''x'' coordinates for the boxes will be &amp;lt;math&amp;gt;x_1, x_2, \ldots, x_n&amp;lt;/math&amp;gt;. Therefore, the sequence of the heights of the boxes will be &amp;lt;math&amp;gt;x_1^2, x_2^2, \ldots, x_n^2&amp;lt;/math&amp;gt;. It is an important fact that &amp;lt;math&amp;gt;x_i = \tfrac{2i}{n}&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;x_n = 2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The area of each box will be &amp;lt;math&amp;gt;\tfrac{2}{n} \times x_i^2&amp;lt;/math&amp;gt; and therefore the ''n''th right Riemann sum will be: &lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S &amp;amp;= \frac{2}{n} \times \left(\frac{2}{n}\right)^2 + \cdots + \frac{2}{n} \times \left(\frac{2i}{n}\right)^2 + \cdots + \frac{2}{n} \times \left(\frac{2n}{n}\right)^2 \\&lt;br /&gt;
  &amp;amp;= \frac{8}{n^3} \left(1 + \cdots + i^2 + \cdots + n^2\right)\\&lt;br /&gt;
  &amp;amp;= \frac{8}{n^3} \left(\frac{n(n+1)(2n+1)}{6}\right)\\&lt;br /&gt;
  &amp;amp;= \frac{8}{n^3} \left(\frac{2n^3+3n^2+n}{6}\right)\\&lt;br /&gt;
  &amp;amp;= \frac{8}{3} + \frac{4}{n} + \frac{4}{3n^2}&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the limit is viewed as ''n'' → ∞, it can be concluded that the approximation approaches the actual value of the area under the curve as the number of boxes increases. Hence:&lt;br /&gt;
:&amp;lt;math&amp;gt;\lim_{n \to \infty} S = \lim_{n \to \infty}\left(\frac{8}{3} + \frac{4}{n} + \frac{4}{3n^2}\right) = \frac{8}{3}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This method agrees with the definite integral as calculated in more mechanical ways:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\int_0^2 x^2\,  dx = \frac{8}{3}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Because the function is continuous and monotonically increasing on the interval, a right Riemann sum overestimates the integral by the largest amount (while a left Riemann sum would underestimate the integral by the largest amount). This fact, which is intuitively clear from the diagrams, shows how the nature of the function determines how accurate the integral is estimated. While simple, right and left Riemann sums are often less accurate than more advanced techniques of estimating an integral such as the Trapezoidal rule or Simpson's rule.&lt;br /&gt;
&lt;br /&gt;
The example function has an easy-to-find anti-derivative so estimating the integral by Riemann sums is mostly an academic exercise; however it must be remembered that not all functions have anti-derivatives so estimating their integrals by summation is practically important.&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
==Higher dimensions==&lt;br /&gt;
The basic idea behind a Riemann sum is to &amp;quot;break-up&amp;quot; the domain via a partition into pieces, multiply the &amp;quot;size&amp;quot; of each piece by some value the function takes on that piece, and sum all these products. This can be generalized to allow Riemann sums for functions over domains of more than one dimension.&lt;br /&gt;
&lt;br /&gt;
While intuitively, the process of partitioning the domain is easy to grasp, the technical details of how the domain may be partitioned get much more complicated than the one dimensional case and involves aspects of the geometrical shape of the domain.&lt;br /&gt;
&lt;br /&gt;
===Two dimensions===&lt;br /&gt;
In two dimensions, the domain, &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; may be divided into a number of cells, &amp;lt;math&amp;gt;A_i&amp;lt;/math&amp;gt; such that &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;A = \bigcup_i A_i&amp;lt;/math&amp;gt;. In two dimensions, each cell then can be interpreted as having an &amp;quot;area&amp;quot; denoted by &amp;lt;math&amp;gt;\Delta A_i&amp;lt;/math&amp;gt;. The Riemann sum is&lt;br /&gt;
:&amp;lt;math&amp;gt;S = \sum_{i=1}^n f(x_i^*,y_i^*)\,\Delta A_i,&amp;lt;/math&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;(x_i^*,y_i^*) \in A_i&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Three dimensions===&lt;br /&gt;
In three dimensions, it is customary to use the letter &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; for the domain, such that &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;V = \bigcup_i V_i&amp;lt;/math&amp;gt; under the partition and &amp;lt;math&amp;gt;\Delta V_i&amp;lt;/math&amp;gt; is the &amp;quot;volume&amp;quot; of the cell indexed by &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt;. The three-dimensional Riemann sum may then be written as&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;S = \sum_{i=1}^{n} f(x_i^*,y_i^*,z_i^*) \,\Delta V_i&amp;lt;/math&amp;gt;&lt;br /&gt;
with &amp;lt;math&amp;gt;(x_i^*,y_i^*,z_i^*) \in V_i&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Arbitrary number of dimensions===&lt;br /&gt;
Higher dimensional Riemann sums follow a similar as from one to two to three dimensions. For an arbitrary dimension, n, a Riemann sum can be written as&lt;br /&gt;
:&amp;lt;math&amp;gt;S = \sum_i f(P_i^*)\, \Delta V_i&amp;lt;/math&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;P_i^*\in V_i&amp;lt;/math&amp;gt;, that is, it's a point in the n-dimensional cell &amp;lt;math&amp;gt;V_i&amp;lt;/math&amp;gt; with n-dimensional volume &amp;lt;math&amp;gt;\Delta V_i&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Generalization===&lt;br /&gt;
In high generality, Riemann sums can be written&lt;br /&gt;
:&amp;lt;math&amp;gt;S = \sum_i f(P_i^*) \mu(V_i)&amp;lt;/math&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;P_i^*&amp;lt;/math&amp;gt; stands for any arbitrary point contained in the partition element &amp;lt;math&amp;gt;V_i&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\mu&amp;lt;/math&amp;gt; is a measure on the underlying set. Roughly speaking, a measure is a function that gives a &amp;quot;size&amp;quot; of a set, in this case the size of the set &amp;lt;math&amp;gt;V_i&amp;lt;/math&amp;gt;; in one dimension, this can often be interpreted as the length of the interval, in two dimensions, an area, in three dimensions, a volume, and so on.&lt;br /&gt;
&lt;br /&gt;
==Resources==&lt;br /&gt;
* [https://www.khanacademy.org/math/ap-calculus-ab/ab-integration-new/ab-6-2/a/left-and-right-riemann-sums|Left &amp;amp; Right Riemann Sums Article], Khan Academy&lt;br /&gt;
* [https://www.khanacademy.org/math/ap-calculus-ab/ab-integration-new/ab-6-2/v/simple-riemann-approximation-using-rectangles|Riemann approximation introduction], Khan Academy&lt;br /&gt;
* [https://www.youtube.com/watch?v=AkUa9Fkz2rw|Riemann Sums - Midpoint, Left &amp;amp; Right Endpoints, Area, Definite Integral, Sigma Notation, Calculus], The Organic Chemistry Tutor&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
# Hughes-Hallett, Deborah; McCullum, William G.; et al. (2005). Calculus (4th ed.). Wiley. p. 252. (Among many equivalent variations on the definition, this reference closely resembles the one given here.)&lt;br /&gt;
# Hughes-Hallett, Deborah; McCullum, William G.; et al. (2005). Calculus (4th ed.). Wiley. p. 340. So far, we have three ways of estimating an integral using a Riemann sum: 1. The left rule uses the left endpoint of each subinterval. 2. The right rule uses the right endpoint of each subinterval. 3. The midpoint rule uses the midpoint of each subinterval.&lt;br /&gt;
# Ostebee, Arnold; Zorn, Paul (2002). Calculus from Graphical, Numerical, and Symbolic Points of View (Second ed.). p. M-33. Left-rule, right-rule, and midpoint-rule approximating sums all fit this definition.&lt;br /&gt;
# Swokowski, Earl W. (1979). Calculus with Analytic Geometry (Second ed.). Boston, MA: Prindle, Weber &amp;amp; Schmidt. pp. 821–822. ISBN 0-87150-268-2.&lt;br /&gt;
# Ostebee, Arnold; Zorn, Paul (2002). Calculus from Graphical, Numerical, and Symbolic Points of View (Second ed.). p. M-34. We chop the plane region R into m smaller regions R1, R2, R3, ..., Rm, perhaps of different sizes and shapes. The 'size' of a subregion Ri is now taken to be its area, denoted by ΔAi.&lt;br /&gt;
# Swokowski, Earl W. (1979). Calculus with Analytic Geometry (Second ed.). Boston, MA: Prindle, Weber &amp;amp; Schmidt. pp. 857–858. ISBN 0-87150-268-2.&lt;/div&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
</feed>