Difference between revisions of "The Definite Integral"
Rylee.taylor (talk | contribs) (added the definite integral powerpoint by professor Roberts) |
|||
(11 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | Suppose we are given a function and would like to determine the area underneath its graph over an interval. We could guess, but how could we figure out the exact area? Below, using a few clever ideas, we actually ''define'' such an area and show that by using what is called the '''definite integral''' we can indeed determine the exact area underneath a curve. | ||
+ | ==Introduction== | ||
+ | [[Image:Riemann_Integration_3.png|thumb|right|300px|Figure 1: Approximation of the area under the curve <math>f(x)</math> from <math>x=x_0</math> to <math>x=x_4</math>.]] | ||
+ | |||
+ | [[Image:Riemann_Integration_2.png|thumb|right|300px|Figure 2: Rectangle approximating the area under the curve from <math>x_2</math> to <math>x_3</math> with sample point <math>x_3^*</math> .]] | ||
+ | |||
+ | The rough idea of defining the area under the graph of <math>f</math> is to approximate this area with a finite number of rectangles. Since we can easily work out the area of the rectangles, we get an estimate of the area under the graph. If we use a larger number of smaller-sized rectangles we expect greater accuracy with respect to the area under the curve and hence a better approximation. Somehow, it seems that we could use our old friend from differentiation, the limit, and "approach" an infinite number of rectangles to get the exact area. Let's look at such an idea more closely. | ||
+ | |||
+ | Suppose we have a function <math>f</math> that is positive on the interval <math>[a,b]</math> and we want to find the area <math>S</math> under <math>f</math> between <math>a</math> and <math>b</math> . Let's pick an integer <math>n</math> and divide the interval into <math>n</math> subintervals of equal width (see [[:File:Riemann_Integration_3.png|Figure 1]]). As the interval <math>[a,b]</math> has width <math>b-a</math>, each subinterval has width <math>\Delta x=\frac{b-a}{n}</math> . We denote the endpoints of the subintervals by <math>x_0,x_1,\ldots,x_n</math> . This gives us | ||
+ | :<math>x_i=a+i\Delta x\text{ for }i=0,1,\dots,n</math> | ||
+ | |||
+ | [[Image:Riemann2.gif|thumb|right|300px|Figure 3: Riemann sums with an increasing number of subdivisions yielding better approximations.]] | ||
+ | |||
+ | Now for each <math>i=1,\ldots,n</math> pick a ''sample point'' <math>x_i^*</math> in the interval <math>[x_{i-1},x_i]</math> and consider the rectangle of height <math>f(x_i^*)</math> and width <math>\Delta x</math> (see [[:File:Riemann_Integration_2.png|Figure 2]]). The area of this rectangle is <math>f(x_i^*)\Delta x</math> . By adding up the area of all the rectangles for <math>i=1,\ldots,n</math> we get that the area <math>S</math> is approximated by | ||
+ | :<math>A_n=f(x_1^*)\Delta x+\dots+f(x_n^*)\Delta x</math> | ||
+ | |||
+ | A more convenient way to write this is with summation notation. | ||
+ | :<math>A_n=\sum_{i=1}^n f(x_i^*)\Delta x</math> | ||
+ | For each number <math>n</math> we get a different approximation. As <math>n</math> gets larger the width of the rectangles gets smaller which yields a better approximation (see [[:File:Riemann2.gif|Figure 3]]). In the limit of <math>A_n</math> as <math>n</math> tends to infinity we get the area <math>S</math> . | ||
+ | |||
+ | ==Definition of the Definite Integral== | ||
+ | Suppose <math>f</math> is a continuous function on <math>[a,b]</math> and <math>\Delta x=\frac{b-a}{n}</math> . Then the ''definite integral'' of <math>f</math> between <math>a</math> and <math>b</math> is | ||
+ | :<math>\int\limits_a^b f(x)dx=\lim_{n\to\infty}A_n=\lim_{n\to\infty}\sum_{i=1}^n f(x_i^*)\Delta x</math> | ||
+ | where <math>x_i^*</math> are any sample points in the interval <math>[x_{i-1},x_i]</math> and <math>x_k=a+k\cdot\Delta x</math> for <math>k=0,\dots,n</math> . | ||
+ | |||
+ | It is a fact that if <math>f</math> is continuous on <math>[a,b]</math> then this limit always exists and does not depend on the choice of the points <math>x_i^*\in[x_{i-1},x_i]</math> . For instance they may be evenly spaced, or distributed ambiguously throughout the interval. The proof of this is technical and is beyond the scope of this section. | ||
+ | |||
+ | ===Notation=== | ||
+ | When considering the expression, <math>\int\limits_a^b f(x)dx</math> (read "the integral from <math>a</math> to <math>b</math> of the <math>f</math> of <math>x</math> <math>dx</math>"), the function <math>f</math> is called the ''integrand'' and the interval <math>[a,b]</math> is the interval of integration. Also <math>a</math> is called the ''lower limit'' and <math>b</math> the ''upper limit'' of integration. | ||
+ | |||
+ | [[Image:signed-area.png|thumb|right|300px|Figure 4: The integral gives the signed area under the graph.]] | ||
+ | |||
+ | One important feature of this definition is that we also allow functions which take negative values. If <math>f(x)<0</math> for all <math>x</math> then <math>f(x_i^*)<0</math> so <math>f(x_i^*)\Delta x<0</math> . So the definite integral of <math>f</math> will be strictly negative. More generally if <math>f</math> takes on both positive and negative values then <math>\int\limits_a^b f(x)dx</math> will be the area under the positive part of the graph of <math>f</math> '''minus''' the area above the graph of the negative part of the graph (see [[:File:Signed-area.png|Figure 4]]). For this reason we say that <math>\int\limits_a^b f(x)dx</math> is the '''signed area''' under the graph. | ||
+ | |||
+ | ===Independence of Variable=== | ||
+ | It is important to notice that the variable <math>x</math> did not play an important role in the definition of the integral. In fact we can replace it with any other letter, so the following are all equal: | ||
+ | :<math>\int\limits_a^b f(x)dx=\int\limits_a^b f(t)dt=\int\limits_a^b f(u)du=\int\limits_a^b f(w)dw</math> | ||
+ | Each of these is the signed area under the graph of <math>f</math> between <math>a</math> and <math>b</math> . Such a variable is often referred to as a '''dummy variable''' or a '''bound variable'''. | ||
+ | |||
+ | ===Left and Right Handed Riemann Sums=== | ||
+ | [[Image:Riemann-Sum-right-hand.png|thumb|350px|Figure 5: Right-handed Riemann sum]] | ||
+ | [[Image:Riemann_Sum_Left_Hand.png|thumb|350px|Figure 6: Left-handed Riemann sum]] | ||
+ | The following methods are sometimes referred to as L-RAM and R-RAM, RAM standing for "Rectangular Approximation Method." | ||
+ | |||
+ | We could have decided to choose all our sample points <math>x_i^*</math> to be on the right hand side of the interval <math>[x_{i-1},x_i]</math> (see [[:File:Riemann-Sum-right-hand.png|Figure 5]]). Then <math>x_i^*=x_i</math> for all <math>i</math> and the approximation that we called <math>A_n</math> for the area becomes | ||
+ | :<math>A_n=\sum_{i=1}^n f(x_i)\Delta x</math> | ||
+ | This is called the ''right-handed Riemann sum'', and the integral is the limit | ||
+ | :<math>\int\limits_a^b f(x)dx=\lim_{n\to\infty}A_n=\lim_{n\to\infty}\sum_{i=1}^n f(x_i)\Delta x</math> | ||
+ | Alternatively we could have taken each sample point on the left hand side of the interval. In this case <math>x_i^*=x_{i-1}</math> (see [[:File:Riemann_Sum_Left_Hand.png|Figure 6]]) and the approximation becomes | ||
+ | :<math>A_n=\sum_{i=1}^n f(x_{i-1})\Delta x</math> | ||
+ | Then the integral of <math>f</math> is | ||
+ | :<math>\int\limits_a^b f(x)dx=\lim_{n\to\infty}A_n=\lim_{n\to\infty}\sum_{i=1}^n f(x_{i-1})\Delta x</math> | ||
+ | The key point is that, as long as <math>f</math> is continuous, these two definitions give the same answer for the integral. | ||
+ | |||
+ | ===Examples=== | ||
+ | '''Example 1'''<br/> | ||
+ | In this example we will calculate the area under the curve given by the graph of <math>f(x)=x</math> for <math>x</math> between 0 and 1. First we fix an integer <math>n</math> and divide the interval <math>[0,1]</math> into <math>n</math> subintervals of equal width. So each subinterval has width | ||
+ | :<math>\Delta x=\frac{1}{n}</math> | ||
+ | To calculate the integral we will use the right-handed Riemann sum. (We could have used the left-handed sum instead, and this would give the same answer in the end). For the right-handed sum the sample points are | ||
+ | :<math>x_i^*=0+i\Delta x=\frac{i}{n}\quad i=1,\ldots,n</math> | ||
+ | Notice that <math>f(x_i^*)=x_i^*=\frac{i}{n}</math> . Putting this into the formula for the approximation, | ||
+ | :<math>A_n=\sum_{i=1}^n f(x_{i}^*)\Delta x=\sum_{i=1}^n f\left(\frac{i}{n}\right)\Delta x=\sum_{i=1}^n \frac{i}{n}\cdot\frac{1}{n}=\frac{1}{n^2}\sum_{i=1}^n i</math> | ||
+ | Now we use the formula | ||
+ | :<math>\sum_{i=1}^n i=\frac{n(n+1)}{2}</math> | ||
+ | to get | ||
+ | :<math>A_n=\frac{1}{n^2}\cdot\frac{n(n+1)}{2}=\frac{n+1}{2n}</math> | ||
+ | To calculate the integral of <math>f</math> between <math>0</math> and <math>1</math> we take the limit as <math>n</math> tends to infinity, | ||
+ | :<math>\int\limits_0^1 f(x)dx=\lim_{n\to\infty}\frac{n+1}{2n}=\frac{1}{2}</math> | ||
+ | |||
+ | '''Example 2'''<br/> | ||
+ | Next we show how to find the integral of the function <math>f(x)=x^2</math> between <math>x=a</math> and <math>x=b</math> . This time the interval <math>[a,b]</math> has width <math>b-a</math> so | ||
+ | :<math>\Delta x=\frac{b-a}{n}</math> | ||
+ | Once again we will use the right-handed Riemann sum. So the sample points we choose are | ||
+ | :<math>x_i^*=a+i\Delta x=a+\frac{i(b-a)}{n}</math> | ||
+ | Thus | ||
+ | |||
+ | :{| | ||
+ | |<math>A_n</math> | ||
+ | |<math>=\sum_{i=1}^n f(x_{i}^*)\Delta x</math> | ||
+ | |- | ||
+ | | | ||
+ | |<math>=\sum_{i=1}^n f\left(a+\frac{(b-a)i}{n}\right)\Delta x</math> | ||
+ | |- | ||
+ | | | ||
+ | |<math>=\frac{b-a}{n}\sum_{i=1}^n \left(a+\frac{(b-a)i}{n}\right)^2</math> | ||
+ | |- | ||
+ | | | ||
+ | |<math>=\frac{b-a}{n}\sum_{i=1}^n \left(a^2+\frac{2a(b-a)i}{n}+\frac{(b-a)^2i^2}{n^2}\right)</math> | ||
+ | |} | ||
+ | We have to calculate each piece on the right hand side of this equation. For the first two, | ||
+ | :<math>\sum_{i=1}^n a^2=a^2\sum_{i=1}^n 1=na^2</math> | ||
+ | :<math>\sum_{i=1}^n \frac{2a(b-a)i}{n}=\frac{2a(b-a)}{n}\sum_{i=1}^n i=\frac{2a(b-a)}{n}\cdot\frac{n(n+1)}{2}</math> | ||
+ | For the third sum we have to use a formula | ||
+ | :<math>\sum_{i=1}^n i^2=\frac{n(n+1)(2n+1)}{6}</math> | ||
+ | to get | ||
+ | :<math>\sum_{i=1}^n \frac{(b-a)^2i^2}{n^2}=\frac{(b-a)^2}{n^2}\frac{n(n+1)(2n+1)}{6}</math> | ||
+ | Putting this together | ||
+ | :<math>A_n=\frac{b-a}{n}\left(na^2+\frac{2a(b-a)}{n}\cdot\frac{n(n+1)}{2}+\frac{(b-a)^2}{n^2}\frac{n(n+1)(2n+1)}{6}\right)</math> | ||
+ | Taking the limit as <math>n</math> tend to infinity gives | ||
+ | |||
+ | :{| | ||
+ | |<math>\int\limits_a^b x^2dx</math> | ||
+ | |<math>=(b-a)\left(a^2+a(b-a)+\frac{1}{3}(b-a)^2\right)</math> | ||
+ | |- | ||
+ | | | ||
+ | |<math>=(b-a)\left(a^2+ab-a^2+\frac{1}{3}(b^2-2ab+a^2)\right) </math> | ||
+ | |- | ||
+ | | | ||
+ | |<math>=\frac{1}{3}(b-a)(b^2+ab+a^2)</math> | ||
+ | |- | ||
+ | | | ||
+ | |<math>=\frac{1}{3}(b^3-a^3)</math> | ||
+ | |} | ||
+ | |||
+ | ==Basic Properties of the Integral== | ||
+ | From the definition of the integral we can deduce some basic properties. For all the following rules, suppose that <math>f</math> and <math>g</math> are continuous on <math>[a,b]</math> . | ||
+ | |||
+ | ===The Constant Rule=== | ||
+ | Constant Rule: <math>\int\limits_a^b c\cdot f(x)dx=c\int\limits_a^b f(x)dx</math> | ||
+ | |||
+ | When <math>f</math> is positive, the height of the function <math>c\cdot f</math> at a point <math>x</math> is <math>c</math> times the height of the function <math>f</math> . So the area under <math>c\cdot f</math> between <math>a</math> and <math>b</math> is <math>c</math> times the area under <math>f</math> . We can also give a proof using the definition of the integral, using the constant rule for limits, | ||
+ | :<math>\int\limits_a^b c\cdot f(x)dx=\lim_{n\to\infty}\sum_{i=1}^n c\cdot f(x_i^*)=c\cdot\lim_{n\to\infty}\sum_{i=1}^n f(x_i^*)=c\int\limits_a^b f(x)dx</math> | ||
+ | |||
+ | '''Example''' | ||
+ | |||
+ | We saw in the previous section that | ||
+ | :<math>\int\limits_0^1 xdx=\frac{1}{2}</math> | ||
+ | Using the constant rule we can use this to calculate that | ||
+ | :<math>\int\limits_0^1 3xdx=3\int\limits_0^1 xdx=3\cdot\frac{1}{2}=1.5</math> , | ||
+ | :<math>\int\limits_0^1 -7xdx=-7\int\limits_0^1 xdx=(-7)\cdot\frac{1}{2}=-3.5</math> . | ||
+ | |||
+ | '''Example''' | ||
+ | |||
+ | We saw in the previous section that | ||
+ | :<math>\int\limits_a^b x^2dx=\frac{b^3-a^3}{3}</math> | ||
+ | We can use this and the constant rule to calculate that | ||
+ | :<math>\int\limits_1^3 2x^2 dx=2\int\limits_1^3 x^2dx=2\cdot\frac{1}{3}\cdot(3^3-1^3)=\frac{2}{3}(27-1)=\frac{52}{3}</math> | ||
+ | |||
+ | There is a special case of this rule used for integrating constants: | ||
+ | |||
+ | If <math>c</math> is constant then <math>\int\limits_a^b c\ dx=c(b-a)</math> | ||
+ | |||
+ | When <math>c>0</math> and <math>a<b</math> this integral is the area of a rectangle of height <math>c</math> and width <math>b-a</math> which equals <math>c(b-a)</math> . | ||
+ | |||
+ | '''Example''' | ||
+ | :<math>\int\limits_1^3 9dx=9(3-1)=9\cdot 2=18</math> | ||
+ | :<math>\int\limits_{-2}^6 11dx=11(6-(-2))=11\cdot 8=88</math> | ||
+ | :<math>\int\limits_2^{17} 0dx=0\cdot(17-2)=0</math> | ||
+ | |||
+ | ===The addition and subtraction rule=== | ||
+ | Addition and Subtraction Rules of Integration: | ||
+ | |||
+ | <math>\int\limits_a^b \bigl(f(x)+g(x)\bigr)dx=\int\limits_a^b f(x)dx+\int\limits_a^b g(x)dx</math> | ||
+ | <math>\int\limits_a^b \bigl(f(x)-g(x)\bigr)dx=\int\limits_a^b f(x)dx-\int\limits_a^b g(x)dx</math> | ||
+ | |||
+ | As with the constant rule, the addition rule follows from the addition rule for limits: | ||
+ | :{| | ||
+ | |<math>\int\limits_a^b \bigl(f(x)+g(x)\bigr)dx</math> | ||
+ | |<math>=\lim_{n\to\infty}\sum_{i=1}^n \Big(f(x_i^*)+g(x_i^*)\Big)</math> | ||
+ | |- | ||
+ | | | ||
+ | |<math>=\lim_{n\to\infty}\sum_{i=1}^n f(x_i^*)+\lim_{n\to\infty}\sum_{i=1}^n g(x_i^*)</math> | ||
+ | |- | ||
+ | | | ||
+ | |<math>=\int\limits_a^b f(x)dx+\int\limits_a^b g(x)dx</math> | ||
+ | |} | ||
+ | The subtraction rule can be proved in a similar way. | ||
+ | |||
+ | '''Example''' | ||
+ | |||
+ | From above <math>\int\limits_1^3 9dx=18</math> and <math>\int\limits_1^3 2x^2dx=\frac{52}{3}</math> so | ||
+ | :<math>\int\limits_1^3 (2x^2+9)dx=\int\limits_1^3 2x^2dx+\int\limits_1^3 9dx=\frac{52}{3}+18=\frac{106}{3}</math> | ||
+ | :<math>\int\limits_1^3 (2x^2-9)dx=\int\limits_1^3 2x^2dx-\int\limits_1^3 9dx=\frac{52}{3}-18=-\frac{2}{3}</math> | ||
+ | |||
+ | '''Example''' | ||
+ | :<math>\int\limits_0^2 (4x^2+14)dx=4\int\limits_0^2 x^2dx+\int\limits_0^2 14dx=4\cdot\frac{1}{3}(2^3-0^3)+2\cdot 14=\frac{32}{3}+28=\frac{116}{3}</math> | ||
+ | |||
+ | ===The Comparison Rule=== | ||
+ | [[Image:Integral_comparison_1.png|thumb|300px|right|Figure 7: Bounding the area under <math>f(x)</math> on <math>[a,b]</math>]] | ||
+ | |||
+ | Comparison Rule: | ||
+ | *Suppose <math>f(x)\ge 0</math> for all <math>x\in[a,b]</math> . Then | ||
+ | :<math>\int\limits_a^b f(x)dx\ge 0</math> | ||
+ | *Suppose <math>f(x)\ge g(x)</math> for all <math>x\in[a,b]</math> . Then | ||
+ | :<math>\int\limits_a^b f(x)dx\ge\int\limits_a^b g(x)dx</math> | ||
+ | *Suppose <math>M\ge f(x)\ge m</math> for all <math>x\in[a,b]</math> . Then | ||
+ | :<math>M(b-a)\ge\int\limits_a^b f(x)dx\ge m(b-a)</math> | ||
+ | |||
+ | If <math>f(x)\ge 0</math> then each of the rectangles in the Riemann sum to calculate the integral of <math>f</math> will be above the <math>y</math> axis, so the area will be non-negative. If <math>f(x)\ge g(x)</math> then <math>f(x)-g(x)\ge 0</math> and by the first property we get the second property. Finally if <math>M\ge f(x)\ge m</math> then the area under the graph of <math>f</math> will be greater than the area of rectangle with height <math>m</math> and less than the area of the rectangle with height <math>M</math> (see [[:File:Integral_comparison_1.png|Figure 7]]). So | ||
+ | :<math>M(b-a)=\int\limits_a^b M\ge\int\limits_a^b f(x)dx\ge\int\limits_a^b m=m(b-a)</math> | ||
+ | |||
+ | ===Linearity with respect to endpoints=== | ||
+ | Additivity with respect to endpoints: | ||
+ | |||
+ | Suppose <math>a<c<b</math> . Then | ||
+ | :<math>\int\limits_a^b f(x)dx=\int\limits_a^c f(x)dx+\int\limits_c^b f(x)dx</math> | ||
+ | |||
+ | Again suppose that <math>f</math> is positive. Then this property should be interpreted as saying that the area under the graph of <math>f</math> between <math>a</math> and <math>b</math> is the area between <math>a</math> and <math>c</math> plus the area between <math>c</math> and <math>b</math> (see [[:File:Integral_linear_endpoints.png|Figure 8]]). | ||
+ | [[Image:Integral_linear_endpoints.png|thumb|300px|right|Figure 8: Illustration of the property of additivity with respect to endpoints]] | ||
+ | |||
+ | {{Calculus/Def|text= '''Extension of Additivity with respect to limits of integration'''<br> | ||
+ | When <math>a=b</math> we have that <math>\Delta x=\frac{b-a}{n}=0</math> so | ||
+ | :<math>\int\limits_a^a f(x)dx=0</math> | ||
+ | Also in defining the integral we assumed that <math>a<b</math> . But the definition makes sense even when <math>b<a</math> , in which case <math>\Delta x=\frac{b-a}{n}</math> has changed sign. This gives | ||
+ | :<math>\int\limits_b^a f(x)dx=-\int\limits_a^b f(x)dx</math> | ||
+ | With these definitions, | ||
+ | :<math>\int\limits_a^b f(x)dx=\int\limits_a^c f(x)dx+\int\limits_c^b f(x)dx</math> | ||
+ | whatever the order of <math>a,b,c</math> . | ||
+ | |||
+ | ===Even and odd functions=== | ||
+ | Recall that a function <math>f</math> is called odd if it satisfies <math>f(-x)=-f(x)</math> and is called even if <math>f(-x)=f(x)</math> . | ||
+ | |||
+ | Suppose <math>f</math> is a continuous odd function. Then for any <math>a</math>, | ||
+ | |||
+ | :<math>\int\limits_{-a}^a f(x)dx=0</math> | ||
+ | |||
+ | If <math>f</math> is a continuous even function then for any <math>a</math>, | ||
+ | |||
+ | :<math>\int\limits_{-a}^a f(x)dx=2\int\limits_0^a f(x)dx</math> | ||
+ | |||
+ | Suppose <math>f</math> is an odd function and consider first just the integral from <math>-a</math> to <math>0</math> . We make the substitution <math>u=-x</math> so <math>du=-dx</math> . Notice that if <math>x=-a</math> then <math>u=a</math> and if <math>x=0</math> then <math>u=0</math> . Hence | ||
+ | :<math>\int\limits_{-a}^0 f(x)dx=-\int\limits_a^0 f(-u)du=\int\limits_0^a f(-u)du</math> . | ||
+ | Now as <math>f</math> is odd, <math> f(-u)=-f(u)</math> so the integral becomes | ||
+ | :<math>\int\limits_{-a}^0 f(x)dx=-\int\limits_0^a f(u) du</math> . | ||
+ | Now we can replace the dummy variable <math>u</math> with any other variable. So we can replace it with the letter <math>x</math> to give | ||
+ | :<math>\int\limits_{-a}^0 f(x)dx=-\int\limits_0^a f(u)du=-\int\limits_0^a f(x)dx</math> . | ||
+ | |||
+ | Now we split the integral into two pieces | ||
+ | :<math>\int\limits_{-a}^a f(x)dx=\int\limits_{-a}^0 f(x)dx+\int\limits_0^a f(x)dx=-\int\limits_0^a f(x)dx+\int\limits_0^a f(x)dx=0</math> . | ||
+ | |||
+ | The proof of the formula for even functions is similar. | ||
+ | |||
+ | Prove that if <math>f</math> is a continuous even function then for any <math>a</math> , | ||
+ | :<math>\int\limits_{-a}^a f(x)dx=2\int\limits_0^a f(x)dx</math>. | ||
+ | |||
+ | From the property of linearity of the endpoints we have<br/> | ||
+ | :<math>\int\limits_{-a}^a f(x)dx=\int\limits_{-a}^0 f(x)dx+\int\limits_0^a f(x)dx</math> | ||
+ | Make the substitution <math>u=-x;\quad du=-dx</math> . <math>u=a</math> when <math>x=-a</math> and <math>u=0</math> when <math>x=0</math> . Then | ||
+ | :<math>\int\limits_{-a}^0 f(x)dx=\int\limits_a^0 f(-u)(-du)=-\int\limits_a^0 f(-u)du=\int\limits_0^a f(-u)du=\int\limits_0^a f(u)du</math> | ||
+ | where the last step has used the evenness of <math>f</math> . Since <math>u</math> is just a dummy variable, we can replace it with <math>x</math> . Then | ||
+ | :<math>\int\limits_{-a}^a f(x)dx=\int\limits_0^a f(x)dx+\int\limits_0^a f(x)dx=2\int\limits_0^a f(x)dx</math> | ||
+ | |||
+ | ==Resources== | ||
* [https://mathresearch.utsa.edu/wikiFiles/MAT1193/The%20Definite%20Integral/Presentation11_Distance_Definite_Integral.pptx Distance Definite Integral] (Slides 23-38). PowerPoint file created by Professor Cynthia Roberts, UTSA. | * [https://mathresearch.utsa.edu/wikiFiles/MAT1193/The%20Definite%20Integral/Presentation11_Distance_Definite_Integral.pptx Distance Definite Integral] (Slides 23-38). PowerPoint file created by Professor Cynthia Roberts, UTSA. | ||
* [https://mathresearch.utsa.edu/wikiFiles/MAT1193/The%20Definite%20Integral/Presentation12_DefiniteIntegral%20&%20Antiderivatives.pptx Definite Integral & Antiderivatives]. PowerPoint file created by Professor Cynthia Roberts, UTSA. | * [https://mathresearch.utsa.edu/wikiFiles/MAT1193/The%20Definite%20Integral/Presentation12_DefiniteIntegral%20&%20Antiderivatives.pptx Definite Integral & Antiderivatives]. PowerPoint file created by Professor Cynthia Roberts, UTSA. | ||
+ | |||
+ | * [https://mathresearch.utsa.edu/wikiFiles/MAT1214/The%20Definite%20Integral/MAT1214-5.3TheDefiniteIntegralPwPt.pptx The Definite Integral] PowerPoint file created by Dr. Sara Shirinkam, UTSA. | ||
+ | |||
+ | * [https://mathresearch.utsa.edu/wikiFiles/MAT1214/The%20Definite%20Integral/MAT1214-5.3TheDefiniteIntegralNotes.pdf The Definite Integral Notes] created by Professor Eduardo Duenez, UTSA. | ||
+ | |||
+ | ==Licensing== | ||
+ | Content obtained and/or adapted from: | ||
+ | * [https://en.wikibooks.org/wiki/Calculus/Definite_integral Definite integral, Wikibooks: Calculus] under a CC BY-SA license |
Latest revision as of 10:25, 28 October 2021
Suppose we are given a function and would like to determine the area underneath its graph over an interval. We could guess, but how could we figure out the exact area? Below, using a few clever ideas, we actually define such an area and show that by using what is called the definite integral we can indeed determine the exact area underneath a curve.
Contents
Introduction
The rough idea of defining the area under the graph of is to approximate this area with a finite number of rectangles. Since we can easily work out the area of the rectangles, we get an estimate of the area under the graph. If we use a larger number of smaller-sized rectangles we expect greater accuracy with respect to the area under the curve and hence a better approximation. Somehow, it seems that we could use our old friend from differentiation, the limit, and "approach" an infinite number of rectangles to get the exact area. Let's look at such an idea more closely.
Suppose we have a function that is positive on the interval and we want to find the area under between and . Let's pick an integer and divide the interval into subintervals of equal width (see Figure 1). As the interval has width , each subinterval has width . We denote the endpoints of the subintervals by . This gives us
Now for each pick a sample point in the interval and consider the rectangle of height and width (see Figure 2). The area of this rectangle is . By adding up the area of all the rectangles for we get that the area is approximated by
A more convenient way to write this is with summation notation.
For each number we get a different approximation. As gets larger the width of the rectangles gets smaller which yields a better approximation (see Figure 3). In the limit of as tends to infinity we get the area .
Definition of the Definite Integral
Suppose is a continuous function on and . Then the definite integral of between and is
where are any sample points in the interval and for .
It is a fact that if is continuous on then this limit always exists and does not depend on the choice of the points . For instance they may be evenly spaced, or distributed ambiguously throughout the interval. The proof of this is technical and is beyond the scope of this section.
Notation
When considering the expression, (read "the integral from to of the of "), the function is called the integrand and the interval is the interval of integration. Also is called the lower limit and the upper limit of integration.
One important feature of this definition is that we also allow functions which take negative values. If for all then so . So the definite integral of will be strictly negative. More generally if takes on both positive and negative values then will be the area under the positive part of the graph of minus the area above the graph of the negative part of the graph (see Figure 4). For this reason we say that is the signed area under the graph.
Independence of Variable
It is important to notice that the variable did not play an important role in the definition of the integral. In fact we can replace it with any other letter, so the following are all equal:
Each of these is the signed area under the graph of between and . Such a variable is often referred to as a dummy variable or a bound variable.
Left and Right Handed Riemann Sums
The following methods are sometimes referred to as L-RAM and R-RAM, RAM standing for "Rectangular Approximation Method."
We could have decided to choose all our sample points to be on the right hand side of the interval (see Figure 5). Then for all and the approximation that we called for the area becomes
This is called the right-handed Riemann sum, and the integral is the limit
Alternatively we could have taken each sample point on the left hand side of the interval. In this case (see Figure 6) and the approximation becomes
Then the integral of is
The key point is that, as long as is continuous, these two definitions give the same answer for the integral.
Examples
Example 1
In this example we will calculate the area under the curve given by the graph of for between 0 and 1. First we fix an integer and divide the interval into subintervals of equal width. So each subinterval has width
To calculate the integral we will use the right-handed Riemann sum. (We could have used the left-handed sum instead, and this would give the same answer in the end). For the right-handed sum the sample points are
Notice that . Putting this into the formula for the approximation,
Now we use the formula
to get
To calculate the integral of between and we take the limit as tends to infinity,
Example 2
Next we show how to find the integral of the function between and . This time the interval has width so
Once again we will use the right-handed Riemann sum. So the sample points we choose are
Thus
We have to calculate each piece on the right hand side of this equation. For the first two,
For the third sum we have to use a formula
to get
Putting this together
Taking the limit as tend to infinity gives
Basic Properties of the Integral
From the definition of the integral we can deduce some basic properties. For all the following rules, suppose that and are continuous on .
The Constant Rule
Constant Rule:
When is positive, the height of the function at a point is times the height of the function . So the area under between and is times the area under . We can also give a proof using the definition of the integral, using the constant rule for limits,
Example
We saw in the previous section that
Using the constant rule we can use this to calculate that
- ,
- .
Example
We saw in the previous section that
We can use this and the constant rule to calculate that
There is a special case of this rule used for integrating constants:
If is constant then
When and this integral is the area of a rectangle of height and width which equals .
Example
The addition and subtraction rule
Addition and Subtraction Rules of Integration:
As with the constant rule, the addition rule follows from the addition rule for limits:
The subtraction rule can be proved in a similar way.
Example
From above and so
Example
The Comparison Rule
Comparison Rule:
- Suppose for all . Then
- Suppose for all . Then
- Suppose for all . Then
If then each of the rectangles in the Riemann sum to calculate the integral of will be above the axis, so the area will be non-negative. If then and by the first property we get the second property. Finally if then the area under the graph of will be greater than the area of rectangle with height and less than the area of the rectangle with height (see Figure 7). So
Linearity with respect to endpoints
Additivity with respect to endpoints:
Suppose . Then
Again suppose that is positive. Then this property should be interpreted as saying that the area under the graph of between and is the area between and plus the area between and (see Figure 8).
{{Calculus/Def|text= Extension of Additivity with respect to limits of integration
When we have that so
Also in defining the integral we assumed that . But the definition makes sense even when , in which case has changed sign. This gives
With these definitions,
whatever the order of .
Even and odd functions
Recall that a function is called odd if it satisfies and is called even if .
Suppose is a continuous odd function. Then for any ,
If is a continuous even function then for any ,
Suppose is an odd function and consider first just the integral from to . We make the substitution so . Notice that if then and if then . Hence
- .
Now as is odd, so the integral becomes
- .
Now we can replace the dummy variable with any other variable. So we can replace it with the letter to give
- .
Now we split the integral into two pieces
- .
The proof of the formula for even functions is similar.
Prove that if is a continuous even function then for any ,
- .
From the property of linearity of the endpoints we have
Make the substitution . when and when . Then
where the last step has used the evenness of . Since is just a dummy variable, we can replace it with . Then
Resources
- Distance Definite Integral (Slides 23-38). PowerPoint file created by Professor Cynthia Roberts, UTSA.
- Definite Integral & Antiderivatives. PowerPoint file created by Professor Cynthia Roberts, UTSA.
- The Definite Integral PowerPoint file created by Dr. Sara Shirinkam, UTSA.
- The Definite Integral Notes created by Professor Eduardo Duenez, UTSA.
Licensing
Content obtained and/or adapted from:
- Definite integral, Wikibooks: Calculus under a CC BY-SA license