2.1 Introduction to integrals
From Förberedande kurs i matematik 2
m (Robot: Automated text replacement (-{{:2.1 - Figur - v-t-diagram med konstant fart 5}} +{{:2.1 - Figure - v-t-diagram with constant speed 5}})) |
|||
(40 intermediate revisions not shown.) | |||
Line 2: | Line 2: | ||
{| border="0" cellspacing="0" cellpadding="0" height="30" width="100%" | {| border="0" cellspacing="0" cellpadding="0" height="30" width="100%" | ||
| style="border-bottom:1px solid #797979" width="5px" | | | style="border-bottom:1px solid #797979" width="5px" | | ||
- | {{ | + | {{Selected tab|[[2.1 Introduction to integrals|Theory]]}} |
- | {{ | + | {{Not selected tab|[[2.1 Exercises|Exercises]]}} |
| style="border-bottom:1px solid #797979" width="100%"| | | style="border-bottom:1px solid #797979" width="100%"| | ||
|} | |} | ||
{{Info| | {{Info| | ||
- | ''' | + | '''Contents:''' |
- | * | + | * Definition of an integral (overview). |
- | * | + | * The fundamental theorem of integral calculus. |
- | * | + | * Primitive function for <math>x^\alpha</math>, <math>1/x</math>, <math>e^x</math>, <math>\cos x</math> and <math>\sin x</math>. |
- | * | + | * Primitive function for sum and difference. |
}} | }} | ||
{{Info| | {{Info| | ||
- | ''' | + | '''Learning outcomes:''' |
- | + | After this section, you will have learned to : | |
- | * | + | * Interpret integrals as signed areas, that is, "the area above the <math>x</math>-axis" minus "the area below the <math>x</math>-axis". |
- | * | + | * Understand other interpretations of the integral, for example, density / mass, speed / displacement, power / charge , etc. |
- | * | + | * Determine primitive function <math>x^\alpha</math>, <math>1/x</math>, <math>e^{kx}</math>, <math>\cos kx</math>, <math>\sin kx</math> and the sum / difference of such terms. |
- | * | + | *Calculate the area below the curve of a function. |
- | * | + | * Calculate the area between two curves of two functions. |
- | * | + | * Recognise that all functions do not have primitive functions that can be written as a closed analytical expression, such as <math>e^{x^2} </math>, <math>(\sin x)/x</math>, <math>\sin \sin x</math>, etc. |
}} | }} | ||
- | == Area | + | == Area below the curve of a function == |
- | + | We previously have found that the slope of a curve of a function is interesting. It gives us information about how the function changes and has great significance in many applications. In a similar way the area between the curve of a function and the ''x''-axis is of importance. It of course is dependent on the curves appearance and thus closely related to the function in question. It is easy to see that this area has practical significance in many different contexts. | |
- | + | If an object is moving, we can illustrate its speed ''v'' plotted against time ''t'' in a ''v,t''-diagram. We can see in the figure below three different hypothetical examples: | |
{| width="100%" align="center" | {| width="100%" align="center" | ||
| width="2.5%" | | | width="2.5%" | | ||
- | | width="30%" |{{:2.1 - | + | | width="30%" |{{:2.1 - Figure - v-t-diagram with constant speed 5}} |
| width="2.5%" | | | width="2.5%" | | ||
- | | width="30%" |{{:2.1 - | + | | width="30%" |{{:2.1 - Figure - v-t-diagram with constant speed 4 and 6}} |
| width="2.5%" | | | width="2.5%" | | ||
- | | width="30%" |{{:2.1 - | + | | width="30%" |{{:2.1 - Figure - v-t-diagram with speed v(t) = t}} |
| width="2.5%" | | | width="2.5%" | | ||
|- | |- | ||
|| | || | ||
- | | valign="top" |<small> | + | | valign="top" |<small> The object moves at a constant speed of 5.</small> |
|| | || | ||
- | | valign="top" |<small> | + | | valign="top" |<small> The object moves at a steady speed of 4 when an impact at ''t'' = 3 suddenly increases the speed to 6.</small> |
|| | || | ||
- | | valign="top" |<small> | + | | valign="top" |<small>The object is sliding down a sloping plane and has a linearly increasing speed. </small> |
|| | || | ||
|} | |} | ||
- | + | The distance travelled is in each case | |
- | {{ | + | {{Displayed math||<math>s(6) = 5\cdot 6 = 30\,\mbox{m},\quad |
s(6) = 4\cdot 3 + 6\cdot 3 = 30\,\mbox{m},\quad | s(6) = 4\cdot 3 + 6\cdot 3 = 30\,\mbox{m},\quad | ||
s(6) = \frac{6\cdot 6}{2} = 18\,\mbox{m}\,\mbox{.}</math>}} | s(6) = \frac{6\cdot 6}{2} = 18\,\mbox{m}\,\mbox{.}</math>}} | ||
- | + | In each cases, you see that the distance travelled by the object is matched by the area below the curve. | |
- | + | More examples of what the area below a curve can symbolise are shown below. | |
<div class="exempel"> | <div class="exempel"> | ||
- | ''' | + | ''' Example 1''' |
{| width="100%" align="center" | {| width="100%" align="center" | ||
| width="2.5%" | | | width="2.5%" | | ||
- | | width="30%" |{{:2.1 - | + | | width="30%" |{{:2.1 - Figure - Power-time-diagram}} |
| width="2.5%" | | | width="2.5%" | | ||
- | | width="30%" |{{:2.1 - | + | | width="30%" |{{:2.1 - Figure - Force-distance-diagram}} |
| width="2.5%" | | | width="2.5%" | | ||
- | | width="30%" |{{:2.1 - | + | | width="30%" |{{:2.1 - Figure - Current-time-diagram}} |
| width="2.5%" | | | width="2.5%" | | ||
|- | |- | ||
|| | || | ||
- | | valign="top" |<small> | + | | valign="top" |<small> A solar cell which has been exposed to light of power p will have received energy that is proportional to the area under the above graph. </small> |
|| | || | ||
- | | valign="top" |<small> | + | | valign="top" |<small>The force ''F'' applied to an object along the direction of its motion does work that is proportional to the area under the above graph. </small> |
|| | || | ||
- | | valign="top" |<small> | + | | valign="top" |<small> A capacitor that is charged by a current ''i'' will receive a charge which is proportional to the area under the above graph. </small> |
|| | || | ||
|} | |} | ||
Line 89: | Line 89: | ||
- | == | + | == The notation for an integral. == |
- | + | In order to describe the area below the curve of a function in symbolic form one introduces the ''integral sign'' <math>\,\smallint\,</math> : | |
<div class="tips"> | <div class="tips"> | ||
- | + | The integral of a positive function <math>f(x)</math> from <math>a</math> to <math>b</math> is understood to mean the area between the curve <math>y=f(x)</math> and the interval of the ''x''-axis between <math>x=a</math> and <math>x=b</math> , and is written with the notation | |
- | {{ | + | {{Displayed math||<math>\int_{a}^{\,b} f(x)\, dx\,\mbox{.}</math>}} |
- | + | The numbers <math>a</math> and <math>b</math> are called the lower and upper limits of integration respectively, <math>f(x)</math> is called the integrand and <math>x</math> the variable of integration. | |
</div> | </div> | ||
<div class="exempel"> | <div class="exempel"> | ||
- | ''' | + | ''' Example 2''' |
{| width="100%" | {| width="100%" | ||
- | | width="95%" | | + | | width="95%" | The area below the curve <math>y=f(x)</math> from <math>x=a</math> to <math>x=c</math> is equal to the area from <math>x=a</math> to <math>x=b</math> plus the area from <math>x=b</math> to <math>x=c</math>. This means that |
- | {{ | + | {{Displayed math||<math>\int_{a}^{\,b} f(x)\, dx + \int_{b}^{\,c} f(x)\, dx |
= \int_{a}^{\,c} f(x)\, dx\,\mbox{.}</math>}} | = \int_{a}^{\,c} f(x)\, dx\,\mbox{.}</math>}} | ||
| width="5%" | | | width="5%" | | ||
- | ||{{:2.1 - | + | ||{{:2.1 - Figure - The area under the graph of y = f(x) from a to b and c}} |
|} | |} | ||
Line 118: | Line 118: | ||
<div class="exempel"> | <div class="exempel"> | ||
- | ''' | + | ''' Example 3''' |
{| width="100%" | {| width="100%" | ||
- | | width="95%" | | + | | width="95%" | For an object, whose speed is changing according to the function <math>v(t)</math> the distance travelled after 10 s is characterised by the integral |
- | {{ | + | {{Displayed math||<math>s(10) = \int_{0}^{10} v(t)\, dt\,\mbox{.}</math>}} |
- | '' | + | ''Note .'' We assume that speed and distance are measured using the same units of length. |
+ | |||
| width="5%" | | | width="5%" | | ||
- | ||{{:2.1 - | + | ||{{:2.1 - Figure - The area s(10) in a v-t-diagram}} |
|} | |} | ||
Line 131: | Line 132: | ||
<div class="exempel"> | <div class="exempel"> | ||
- | ''' | + | ''' Example 4''' |
- | + | Water is flowing into a tank at a rate of <math>f(t)</math> litre/s at the time <math>t</math>. The integral | |
- | {{ | + | {{Displayed math||<math>\int_{9}^{10} f(t)\, dt</math>}} |
- | + | specifies the amount in litres which flows into the tank during the tenth second. | |
</div> | </div> | ||
<div class="exempel"> | <div class="exempel"> | ||
- | ''' | + | ''' Example 5''' |
- | + | Calculate the integrals | |
{| width="100%" | {| width="100%" | ||
Line 150: | Line 151: | ||
<ol type="a"> | <ol type="a"> | ||
<li> <math>\int_{0}^{4} 3 \, dx</math><br> <br> | <li> <math>\int_{0}^{4} 3 \, dx</math><br> <br> | ||
- | + | The integral can be interpreted as area below the curve (the line) <math>y=3</math> | |
- | + | going from <math>x = 0</math> to <math>x = 4</math>, | |
- | + | i.e. a rectangle with the base 4 and height 3, <br> | |
<center><math>\int_{0}^{4} 3 \, dx = 4 \cdot 3 = 12\,\mbox{.}</math></center></li> | <center><math>\int_{0}^{4} 3 \, dx = 4 \cdot 3 = 12\,\mbox{.}</math></center></li> | ||
</ol> | </ol> | ||
| width="5%" | | | width="5%" | | ||
- | ||{{:2.1 - | + | ||{{:2.1 - Figure - The area under the graph of y = 3 from x = 0 to x = 4}} |
|} | |} | ||
Line 163: | Line 164: | ||
<ol type="a" start=2> | <ol type="a" start=2> | ||
<li><math>\int_{2}^{5} \Bigl(\frac{x}{2} -1 \Bigr) \, dx</math> <br><br> | <li><math>\int_{2}^{5} \Bigl(\frac{x}{2} -1 \Bigr) \, dx</math> <br><br> | ||
- | + | The integral can be interpreted as the area below the line <math>y=x/2-1</math> going from | |
- | <math>x = 2</math> | + | <math>x = 2</math> to <math>x = 5</math>, |
- | + | i.e. a triangle with a base 3 and a height 1.5 <br> | |
<center><math>\int_{2}^{5} \Bigl(\frac{x}{2} -1 \Bigr) \, dx | <center><math>\int_{2}^{5} \Bigl(\frac{x}{2} -1 \Bigr) \, dx | ||
- | = \frac{3 \cdot 1{ | + | = \frac{3 \cdot 1\textrm{.}5}{2} = 2\textrm{.}25\,\mbox{.}</math></center></li> |
</ol> | </ol> | ||
| width="5%" | | | width="5%" | | ||
- | ||{{:2.1 - | + | ||{{:2.1 - Figure - The area under the graph of y = x/2 - 1 from x = 2 to x = 5}} |
|} | |} | ||
Line 176: | Line 177: | ||
| width="95%" | | | width="95%" | | ||
<ol type="a" start=3> | <ol type="a" start=3> | ||
- | <li><math>\int_{0}^{a} kx \, dx\,\mbox{}\quad</math> | + | <li><math>\int_{0}^{a} kx \, dx\,\mbox{}\quad</math> where |
<math>k>0\,</math>.<br><br> | <math>k>0\,</math>.<br><br> | ||
- | + | The integral can be interpreted as the area below the line <math>y=kx</math> going from | |
- | <math>x = 0</math> | + | <math>x = 0</math> to <math>x = a</math>, that is a triangle with a base <math>a</math> and a height <math>ka</math><br> |
- | + | ||
<center><math>\int_{0}^{\,a} kx\,dx = \frac{a \cdot ka}{2} | <center><math>\int_{0}^{\,a} kx\,dx = \frac{a \cdot ka}{2} | ||
= \frac{ka^2}{2}\,\mbox{.}</math></center></li> | = \frac{ka^2}{2}\,\mbox{.}</math></center></li> | ||
</ol> | </ol> | ||
| width="5%" | | | width="5%" | | ||
- | ||{{:2.1 - | + | ||{{:2.1 - Figure - The area under the graph of y = kx from x = 0 to x = a}} |
|} | |} | ||
Line 191: | Line 191: | ||
- | == | + | == The primitive function == |
- | + | The function <math>F</math> is a ''primitive'' function for <math>f</math> if <math>F'(x) = f(x)</math> in any interval. If <math>F(x)</math> is a primitive function for <math>f(x)</math>, it is clear that <math>F(x) + C</math> is as well, for any constant <math>C</math>. In addition, it can be shown that <math>F(x) + C</math> gives all possible primitive functions of <math>f(x)</math>. | |
<div class="exempel"> | <div class="exempel"> | ||
'''Exempel 6''' | '''Exempel 6''' | ||
<ol type="a"> | <ol type="a"> | ||
- | <li><math>F(x) = x^3 + \cos x - 5</math> | + | <li><math>F(x) = x^3 + \cos x - 5</math> is a primitive function of |
- | <math>f(x) = 3x^2 - \sin x</math>, | + | <math>f(x) = 3x^2 - \sin x</math>, because |
- | {{ | + | {{Displayed math||<math>F'(x) = D\,(x^3+\cos x-5) = 3x^2-\sin x-0 |
= f(x)\,\mbox{.}</math>}}</li> | = f(x)\,\mbox{.}</math>}}</li> | ||
- | <li><math>G(t) = e^{3t + 1} + \ln t</math> | + | <li><math>G(t) = e^{3t + 1} + \ln t</math> is a primitive function of <math>g(t)= 3 e^{3t + 1} + 1/t</math>, because |
- | + | {{Displayed math||<math>G'(t) = D\,\bigl(e^{3t+1}+\ln t\bigr) | |
- | {{ | + | |
= e^{3t+1}\cdot 3+\frac{1}{t} = g(t)\,\mbox{.}</math>}}</li> | = e^{3t+1}\cdot 3+\frac{1}{t} = g(t)\,\mbox{.}</math>}}</li> | ||
- | <li><math>F(x) = \frac{1}{4}x^4 - x + C\,</math>, | + | <li><math>F(x) = \frac{1}{4}x^4 - x + C\,</math>, where <math>C</math> is an arbitrary constant, gives all the primitive functions of <math>f(x) = x^3 - 1</math>.</li> |
- | + | ||
- | + | ||
</ol> | </ol> | ||
Line 214: | Line 211: | ||
- | == | + | == The relationship between an integral and its primitive function== |
- | + | We have previously found that the area below the curve of a function, i.e. integral of a function, is dependent on the form of the curve. It turns out that this dependence makes use of the primitive function, which also gives rise to the ability to calculate such an area exactly. | |
- | + | Suppose that <math>f</math> is a continuous function in an interval. The value of the integral <math>\ \int_{a}^{b} f(x) \, dx\ </math>then is dependent on the limits of integration <math>a</math> and <math>b</math>, but if one lets <math>a</math> have a fixed value and lets <math>x</math> be the upper limit, the integral will depend only on the upper limit. To clarify this, we prefer to use <math>t</math> as the variable of integration: | |
- | <center>{{:2.1 - | + | <center>{{:2.1 - Figure - The area under the graph of y = f(x) from t = a to t = x}}</center> |
- | {{ | + | {{Displayed math||<math>A(x) = \int_{a}^{\,x} f(t) \, dt\,\mbox{.}</math>}} |
- | + | We shall now show that <math>A</math> is in fact a primitive function of <math>f</math>. | |
- | <center>{{:2.1 - | + | <center>{{:2.1 - Figure - The area under the graph of y = f(x) from t = a to t = x + h}}</center> |
- | + | The total area below the curve from <math>t=a</math> to <math>t=x+h</math> can be written as <math>A(x+h)</math> and is approximately equal to the area up to <math>t=x</math> plus the area of the column between <math>t=x</math> and <math>t=x+h</math>, i.e. . | |
- | {{ | + | {{Displayed math||<math>A(x+h)\approx A(x)+h\cdot f(c)</math>}} |
- | + | where <math>c</math> is a number between <math>x</math> and <math>x+h</math>. This expression can be rewriten as | |
- | {{ | + | {{Displayed math||<math>\frac{A(x+h)-A(x)}{h} = f(c)\,\mbox{.}</math>}} |
- | + | If we let <math>h \rightarrow 0</math> the the left-hand side tends towards <math>A'(x)</math> and the right-hand side tends towards <math>f(x)</math> , i.e. . | |
- | {{ | + | {{Displayed math||<math>A'(x) = f(x)\,\mbox{.}</math>}} |
- | + | Thus the function <math>A(x)</math> is a primitive function of <math>f(x)</math>. | |
- | == | + | == Evaluating integrals == |
- | + | In order to use primitive functions in the calculation of a definite integral, we note first that if <math>F</math> is a primitive function of <math>f</math> then | |
- | {{ | + | {{Displayed math||<math>\int_{a}^{\,b} f(t) \, dt = F(b) + C</math>}} |
- | + | where the constant <math>C</math> must be chosen so that the right-hand side is zero when <math>b=a</math>, i.e. | |
- | {{ | + | {{Displayed math||<math>\int_{a}^{\,a} f(t) \, dt = F(a) + C = 0</math>}} |
- | + | which gives that <math>C=-F(a)</math>. If we summarise, we have that | |
- | {{ | + | {{Displayed math||<math>\int_{a}^{\,b} f(t) \, dt |
= F(b) - F(a)\,\mbox{.}</math>}} | = F(b) - F(a)\,\mbox{.}</math>}} | ||
- | + | We can, of course, just as easily, choose <math>x</math> as the variable of integration and write | |
- | {{ | + | {{Displayed math||<math>\int_{a}^{\,b} f(x) \, dx |
= F(b) - F(a)\,\mbox{.}</math>}} | = F(b) - F(a)\,\mbox{.}</math>}} | ||
- | + | Evaluating an integral is performed in two steps. First one determines a primitive function, and then inserts the limits of integration. The usual way of writing this is as follows, | |
- | {{ | + | {{Displayed math||<math>\int_{a}^{\,b} f(x) \, dx |
= \Bigl[\,F(x)\,\Bigr]_{a}^{b} = F(b) - F(a)\,\mbox{.}</math>}} | = \Bigl[\,F(x)\,\Bigr]_{a}^{b} = F(b) - F(a)\,\mbox{.}</math>}} | ||
<div class="exempel"> | <div class="exempel"> | ||
- | ''' | + | ''' Example 7''' |
+ | The area bounded by the curve <math>y=2x - x^2</math> and the ''x''-axis can be calculated by using the integral | ||
{| width="100%" | {| width="100%" | ||
- | | width=" | + | | width="95%" | |
- | + | {{Displayed math||<math>\int_{0}^{2} (2x-x^2) \, dx\,\mbox{.}</math>}} | |
- | + | Since <math>x^2-x^3/3</math> is a primitive function of the integrand the integrals value is | |
- | + | {{Displayed math||<math>\begin{align*}\int_{0}^{2} (2x-x^2) \, dx &= \Bigl[\,x^2 - {\textstyle\frac{1}{3}}x^3\, \Bigr]_{0}^{2}\\[4pt] &= \bigl( 2^2 - \tfrac{1}{3}2^3\bigr) - \bigl(0^2-\tfrac{1}{3}0^3\bigr)\\[4pt] &= 4 - \tfrac{8}{3} = \tfrac{4}{3}\,\mbox{.}\end{align*}</math>}} | |
- | + | ||
- | {{ | + | |
- | + | The area is<math>\frac{4}{3}</math> u.a. | |
- | ||{{:2.1 - | + | | width="5%" | |
+ | ||{{:2.1 - Figure - The area under the graph of y = 2x - x² from x = 0 to x = 2}} | ||
|} | |} | ||
- | '' | + | ''Note:'' The value of the integral contains no unit. In practical applications, however, the area may have a unit. If the area in a figure without units is to be obtained one sometimes writes u.a. (units of area) after the value. |
- | + | ||
</div> | </div> | ||
- | == | + | == Antidifferentiation == |
- | + | To differentiate the common functions is not an insurmountable problem, there are general methods for doing this. To perform the reverse operation, that is, find a primitive function for a given function, however, is much more difficult and in some cases impossible! There is no systematic method that works everywhere, but by exploiting the usual rules of differentiation "in the opposite direction" and also by learning a number of special techniques and tricks one can tackle a large number of the functions that turn up. | |
- | + | The symbol <math>\,\int f(x) \,dx\ </math> is called the ''indefinite'' integral of <math>f(x)</math> and is used to denote an arbitrary primitive function for <math>f(x)</math>. The usual rules of differentiation give | |
- | {{ | + | {{Displayed math||<math>\begin{align*}\int x^n \, dx &= \frac{x^{n+1}}{n+1} + C \quad \text{where }\ n \ne -1\\[6pt] \int x^{-1} \, dx &= \ln |x| + C\\[6pt] \int e^x \, dx &= e^x + C\\[6pt] \int \cos x \, dx &= \sin x + C\\[6pt] \int \sin x \, dx &= -\cos x + C \end{align*}</math>}} |
<div class="exempel"> | <div class="exempel"> | ||
- | ''' | + | ''' Example 8''' |
<ol type="a"> | <ol type="a"> | ||
<li><math>\int (x^4 - 2x^3 + 4x - 7)\,dx | <li><math>\int (x^4 - 2x^3 + 4x - 7)\,dx | ||
Line 323: | Line 319: | ||
- | == | + | == Compensating for the ”inner derivative”== |
- | + | When differentiating a composite function one makes use of the ''chain rule'', which means that one must '''multiply''' by the ''inner derivative''. If the inner function is linear, then the inner derivative is a constant. Thus when integrating such a composite function, one must '''divide''' by the inner derivative as a sort of compensation. | |
<div class="exempel"> | <div class="exempel"> | ||
- | ''' | + | ''' Example 9''' |
<ol type="a"> | <ol type="a"> | ||
Line 339: | Line 335: | ||
<div class="exempel"> | <div class="exempel"> | ||
- | ''' | + | ''' Example 10''' |
<ol type="a"> | <ol type="a"> | ||
<li><math>\int \sin kx \, dx = - \frac{\cos kx}{k} + C</math></li> | <li><math>\int \sin kx \, dx = - \frac{\cos kx}{k} + C</math></li> | ||
Line 348: | Line 344: | ||
</div> | </div> | ||
- | + | Note that this way to compensate for the inner derivative only work if the inner derivative is a constant. | |
- | == | + | == Rules for evaluating integrals == |
- | + | Using the way integration has been defined here, it is easy to show the following properties of integration: | |
# <math>\int_{b}^{\,a} f(x) \, dx = - \int_{a}^{\,b} f(x) \, dx\,\mbox{,}\vphantom{\Biggl(}</math> | # <math>\int_{b}^{\,a} f(x) \, dx = - \int_{a}^{\,b} f(x) \, dx\,\mbox{,}\vphantom{\Biggl(}</math> | ||
Line 360: | Line 356: | ||
# <math>\int_{a}^{\,b} f(x) \, dx + \int_{b}^{\,c} f(x)\, dx = \int_{a}^{\,c} f(x)\, dx\,\mbox{.}</math> | # <math>\int_{a}^{\,b} f(x) \, dx + \int_{b}^{\,c} f(x)\, dx = \int_{a}^{\,c} f(x)\, dx\,\mbox{.}</math> | ||
- | + | Moreover, areas below the ''x''-axis are subtracted, that is, if the curve of the function lies below the ''x''-axis in a region, the integral has a negative value in this region: | |
- | + | {| align="center" | |
- | + | ||<math>\begin{align*}A_1 &= \int_{a}^{\,b} f(x)\, dx,\\[6pt] A_2 &= -\int_{b}^{\,c} f(x)\, dx\,\mbox{.} \end{align*}</math> | |
- | + | | width="10%" | | |
- | + | ||{{:2.1 - Figure - The areas A₁ and A₂ between y = f(x) and the x-axis}} | |
+ | |} | ||
- | + | The total area is <math>\ A_1 + A_2 = \int_{a}^{\,b} f(x)\, dx - \int_{b}^{\,c} f(x)\, dx\,</math>. | |
- | '' | + | ''Note .'' The value of an '''integral''' can be negative, while an '''area''' always has a positive value. |
<div class="exempel"> | <div class="exempel"> | ||
- | ''' | + | ''' Example 11''' |
<ol type="a"> | <ol type="a"> | ||
<li><math>\int_{1}^{2} (x^3 - 3x^2 + 2x + 1) \, dx + \int_{1}^{2} 2 \, dx | <li><math>\int_{1}^{2} (x^3 - 3x^2 + 2x + 1) \, dx + \int_{1}^{2} 2 \, dx | ||
Line 382: | Line 379: | ||
- \bigl(\tfrac{1}{4}\cdot 1^4 - 1^3 + 1^2 | - \bigl(\tfrac{1}{4}\cdot 1^4 - 1^3 + 1^2 | ||
+ 3\cdot 1\bigr)\vphantom{\Biggr)^2}</math><br> | + 3\cdot 1\bigr)\vphantom{\Biggr)^2}</math><br> | ||
- | <math>\qquad{}=6-3-\tfrac{1}{4} = \tfrac{11}{4}</math></li> | + | <math>\qquad{}=6-3-\tfrac{1}{4} = \tfrac{11}{4}</math><br/> |
+ | {| | ||
+ | | align="center" |{{:2.1 - Figure - The area of y = x³ - 3x² + 2x + 1, y = 2 and y = x³ - 3x² + 2x + 3}} | ||
+ | |- | ||
+ | ||<small> The left diagram shows the area below the graph for ''f''(''x'') = ''x''³ - 3''x''² + 2''x'' + 1 and the middle diagram shows the area below the graph for ''g''(''x'') = 2. In the diagram on the right these areas are summed and give the area below the graph for ''f''(''x'') + ''g''(''x'').</small> | ||
+ | |} | ||
+ | </li> | ||
</ol> | </ol> | ||
- | <center>{{:2.1 - Figur - Area för y = x³ - 3x² + 2x + 1, y = 2 och y = x³ - 3x² + 2x + 3}}</center> | ||
<ol type="a" start=2> | <ol type="a" start=2> | ||
- | <li><math>\int_{1}^{3} (x^2 - | + | <li><math>\int_{1}^{3} (x^2/2 - 2x) \, dx + \int_{1}^{3} (2x - x^2/2 + 3/2) \, dx |
- | =\int_{1}^{3} 3 \, dx = \Bigl[\, | + | = \int_{1}^{3} 3/2 \, dx</math><br/> |
- | = 3\cdot 3 - 3\cdot 1 = | + | <math>\qquad{} = \Bigl[\,\tfrac{3}{2}x\,\Bigr]_{1}^{3} |
+ | = \tfrac{3}{2}\cdot 3 - \tfrac{3}{2}\cdot 1 = 3</math><br/> | ||
+ | {| | ||
+ | | align="center" |{{:2.1 - Figure - The area of y = x²/2 - 2x, y = 2x - x²/2 + 3/2 and y = 3/2}} | ||
+ | |- | ||
+ | ||<small>The graph to ''f''(''x'') = ''x''²/2 - 2''x'' (diagram on the left) and the graph to ''g''(''x'') = 2''x'' - ''x''²/2 + 3/2 (diagram in the middle) are inverted with respect to each other about the line ''y'' = 3/4 (dotted line in the diagrams). This means the sum ''f''(''x'') + ''g''(''x'') is equal to 3/2. and is a constant. Thus the sum of the integrals is equal to the area of a rectangle with base 2 and height 3/2 (diagram on the right). </small> | ||
+ | |} | ||
+ | |||
+ | </li> | ||
</ol> | </ol> | ||
- | <center>{{:2.1 - Figur - Area för y = x² - 4x, y = 4x - x² + 3 och y = 3}}</center> | ||
<ol type="a" start=3> | <ol type="a" start=3> | ||
Line 407: | Line 416: | ||
= 2 - \tfrac{2}{3}\ln 2 </math></li> | = 2 - \tfrac{2}{3}\ln 2 </math></li> | ||
</ol> | </ol> | ||
+ | |||
<ol type="a" start=4> | <ol type="a" start=4> | ||
Line 412: | Line 422: | ||
= \Bigl[\,\frac{x^3}{3} - x\,\Bigl]_{-1}^{2} | = \Bigl[\,\frac{x^3}{3} - x\,\Bigl]_{-1}^{2} | ||
= \bigl(\tfrac{8}{3} - 2\bigr) - \bigl(\tfrac{-1}{3} + 1 \bigr) | = \bigl(\tfrac{8}{3} - 2\bigr) - \bigl(\tfrac{-1}{3} + 1 \bigr) | ||
- | = 0</math></li> | + | = 0</math><br/> |
+ | {| | ||
+ | | align="center" |{{:2.1 - Figure - The area of y = x² - 1}} | ||
+ | |- | ||
+ | ||<small> The figure shows the graph of ''f''(''x'') = ''x''² - 1 and the calculation above shows that the shaded area below the ''x''-axis is equal to the shaded area above the ''x''-axis.</small> | ||
+ | |} | ||
+ | </li> | ||
</ol> | </ol> | ||
- | |||
- | <center>{{:2.1 - Figur - Area för y = x² - 1}}</center> | ||
- | |||
- | {|width="80%" align="center" | ||
- | ||<small>Beräkningen ovan visar att den skuggade arean under ''x''-axeln är lika stor som den skuggade arean ovanför ''x''-axeln.</small> | ||
- | |} | ||
</div> | </div> | ||
- | == Area | + | == Area between curves == |
- | + | If <math>f(x) \ge g(x)</math> in an interval <math>a\le x\le b</math> then the area between the curves of the function is given by | |
- | {{ | + | {{Displayed math||<math>\int_{a}^{b} f(x) \, dx |
- \int_{a}^{b} g(x) \, dx\,\mbox{,}</math>}} | - \int_{a}^{b} g(x) \, dx\,\mbox{,}</math>}} | ||
- | + | which can be simplified to | |
- | {{ | + | {{Displayed math||<math>\int_{a}^{b} (f(x) - g(x)) \, dx\,\mbox{.}</math>}} |
- | <center>{{:2.1 - | + | <center>{{:2.1 - Figure - The area between y = f(x) and y = g(x)}}</center> |
+ | {| width="90%" align="center" | ||
+ | ||<small>If ''f''(''x'') and ''g''(''x'') take positive values and ''f''(''x'') is greater than ''g''(''x''), the area between the graphs of ''f'' and ''g'' (the figure on the left) can be obtained as the difference between the area below the graph ''f'' (figure in the middle) and the area below the graph ''g'' (the figure on the right).</small> | ||
+ | |} | ||
- | + | Note that it does not matter whether <math>f(x) < 0</math> or <math>g(x) < 0</math> as long as <math>f(x) \ge g(x)</math>. The value of the area between the curves is independent of whether the curves are above or below the ''x''-axis, as the following figures illustrate: | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
+ | <center>{{:2.1 - Figure - An area shifted in the y-direction}}</center> | ||
+ | {| width="90%" align="center" | ||
+ | ||<small>The area between the two graphs is not affected if the graphs are moved in the ''y''-direction. The area between the graphs of f(x) and g(x) (figure on the left) is equal to the area between the graphs of f(x) - 3 and g(x) - 3 (the figure in the middle), as well as the area between the graphs of f(x) - 6 and g(x) - 6 (figure on the right).</small> | ||
+ | |} | ||
<div class="exempel"> | <div class="exempel"> | ||
- | ''' | + | ''' Example 12''' |
- | + | Calculate the area bounded by the curves <math>y=e^x + 1</math> and <math>y=1 - x^2/2</math> and the lines <math>x = –1</math> and <math>x = 1</math>. | |
- | + | ||
- | + | ||
<br> | <br> | ||
<br> | <br> | ||
- | + | Since <math>e^x + 1 > 1 - x^2/2</math> in the whole interval the area in question is given by | |
- | + | {| width="100%" | |
- | {{ | + | | width="95%" | |
- | ||{{:2.1 - | + | {{Displayed math||<math>\begin{align*} &\int_{-1}^{1} (e^x + 1) \, dx - \int_{-1}^{1} \Bigl( 1- \frac{x^2}{2}\Bigr) \, dx \vphantom{\Biggl(}\\ &\qquad{}= \int_{-1}^{1} \Bigl( e^x + \frac{x^2}{2} \Bigr) \, dx \vphantom{\Biggl(}\\ &\qquad{}= \Bigl[\,e^x + \frac{x^3}{6}\,\Bigr]_{-1}^{1} \vphantom{\Biggl(}\\ &\qquad{}= \Bigl( e^1 + \frac{1^3}{6} \Bigr) - \Bigl( e^{-1} + \frac{(-1)^3}{6} \Bigr)\vphantom{\Biggl(}\\ &\qquad{}= e - \frac{1}{e} + \frac{1}{3} \ \text{u.a.}\end{align*}</math>}} |
+ | | width="5%" | | ||
+ | ||{{:2.1 - Figure - The area between y = e^x - 1 and y = 1 - x²/2}} | ||
|} | |} | ||
Line 462: | Line 475: | ||
<div class="exempel"> | <div class="exempel"> | ||
- | ''' | + | ''' Example 13''' |
- | + | Calculate the area of the finite area bounded by the curves <math>y= x^2</math> and <math>y= \sqrt[\scriptstyle 3]{x}</math>. | |
<br> | <br> | ||
<br> | <br> | ||
- | {| width="100%" | ||
- | | width="100%" | | ||
- | Kurvorna skär varandra i punkter där deras ''y''-värden är lika | ||
- | + | The curves intersect at the points where their ''y''-values are equal | |
- | + | {{Displayed math||<math>\begin{align*} &x^2 = x^{1/3} \quad \Leftrightarrow \quad x^6 = x\quad \Leftrightarrow \quad x(x^5 - 1) = 0\\ &\quad \Leftrightarrow \quad x=0 \quad \text{or}\quad x=1\,\mbox{.}\end{align*}</math>}} | |
- | {{ | + | {| width="100%" |
- | ||{{:2.1 - | + | | width="95%" | Between <math>x=0</math> and <math>x=1</math>, <math>\sqrt[\scriptstyle 3]{x}>x^2</math> is true, thus the area is |
+ | |||
+ | {{Displayed math||<math>\begin{align*}\int_{0}^{1} \bigl( x^{1/3} - x^2 \bigr) \, dx &= \Bigl[\,\frac{ x^{4/3}}{4/3} - \frac{x^3}{3}\,\Bigr]_{0}^{1}\\ | ||
+ | &{}= \Bigl[\,\frac{3x^{4/3}}{4} - \frac{x^3}{3}\, \Bigr]_{0}^{1}\\[4pt] | ||
+ | &{}= \tfrac{3}{4} - \tfrac{1}{3} - (0-0)\\[4pt] | ||
+ | &{}= \tfrac{5}{12}\ \text{u.a.}\end{align*}</math>}} | ||
+ | | width="5%" | | ||
+ | ||{{:2.1 - Figure - The area between y = ∛x och y = x²}} | ||
|} | |} | ||
Line 482: | Line 499: | ||
<div class="exempel"> | <div class="exempel"> | ||
- | ''' | + | ''' Example 14''' |
- | + | Calculate the area of the region bounded by the curve <math>y=\frac{1}{x^2}</math>and the lines <math>y=x</math> and <math>y = 2</math>. | |
<br> | <br> | ||
<br> | <br> | ||
{| width="100%" | {| width="100%" | ||
- | | width=" | + | | width="95%" | |
- | + | ||
+ | In the figure on the right, the curve and the two lines have been sketched and then we see that the region can be divided into two sub-regions, each of which is located between two curves. The total area is the sum of the integrals | ||
- | {{ | + | {{Displayed math||<math>A_1 = \int_{a}^{\,b} (2 - \frac{1}{x^2}) \, dx |
\quad\text{och}\quad A_2 = \int_{b}^{\,c} (2- x) \, dx\,\mbox{.}</math>}} | \quad\text{och}\quad A_2 = \int_{b}^{\,c} (2- x) \, dx\,\mbox{.}</math>}} | ||
- | + | We first determine the points of intersection <math>x=a</math>, <math>x=b</math> and <math>x=c</math>: | |
- | ||{{:2.1 - | + | | width="5%" | |
+ | ||{{:2.1 - Figure - The area bounded by y = 1/x², y = x and y = 2}} | ||
|} | |} | ||
- | * | + | * The point of intersection <math>x=a</math> is obtained from the equation |
- | {{ | + | {{Displayed math||<math>\frac{1}{x^2} = 2 |
\quad \Leftrightarrow \quad x^2 = \frac{1}{2} | \quad \Leftrightarrow \quad x^2 = \frac{1}{2} | ||
\quad \Leftrightarrow \quad x = \pm \frac{1}{\sqrt{2}}\,\mbox{.}</math>}} | \quad \Leftrightarrow \quad x = \pm \frac{1}{\sqrt{2}}\,\mbox{.}</math>}} | ||
- | :( | + | :(The negative root, however, is not relevant.) |
- | * | + | * The point of intersection <math>x=b</math> is obtained from the equation |
- | {{ | + | {{Displayed math||<math>\frac{1}{x^2} = x |
\quad \Leftrightarrow \quad x^3 = 1 | \quad \Leftrightarrow \quad x^3 = 1 | ||
\quad \Leftrightarrow \quad x=1\,\mbox{.}</math>}} | \quad \Leftrightarrow \quad x=1\,\mbox{.}</math>}} | ||
- | * | + | *The point of intersection <math>x=c</math> is obtained from the equation <math>x = 2</math>. |
- | + | The integrals are therefore | |
- | {{ | + | {{Displayed math||<math>\begin{align*} A_1 &= \int_{1/\sqrt{2}}^{1} \Bigl(2 - \frac{1}{x^2}\Bigr) \, dx = \int_{1/\sqrt{2}}^{1} \bigl(2 - x ^{-2}\bigr) \, dx = \Bigl[\,2x-\frac{x^{-1}}{-1}\,\Bigr]_{1/\sqrt{2}}^{1}\\[4pt] &= \Bigl[\,2x + \frac{1}{x}\,\Bigr]_{1/\sqrt{2}}^{1} = (2+ 1) - \Bigl( \frac{2}{\sqrt{2}} + \sqrt{2}\,\Bigr) = 3 - 2\sqrt{2}\,\mbox{,}\\[4pt] A_2 &= \int_{1}^{2} (2 - x) \, dx = \Bigl[\,2x - \frac{x^2}{2}\,\Bigr]_{1}^{2} = (4-2) - \Bigl(2- \frac{1}{2}\Bigr) = \frac{1}{2}\,\mbox{.} |
\end{align*}</math>}} | \end{align*}</math>}} | ||
- | + | The total area is | |
- | {{ | + | {{Displayed math||<math> A_1 + A_2 = 3 - 2\sqrt{2} + \tfrac{1}{2} = \tfrac{7}{2} - 2\sqrt{2}\ \text{u.a.}</math>}} |
</div> | </div> |
Current revision
Theory | Exercises |
Contents:
- Definition of an integral (overview).
- The fundamental theorem of integral calculus.
- Primitive function for \displaystyle x^\alpha, \displaystyle 1/x, \displaystyle e^x, \displaystyle \cos x and \displaystyle \sin x.
- Primitive function for sum and difference.
Learning outcomes:
After this section, you will have learned to :
- Interpret integrals as signed areas, that is, "the area above the \displaystyle x-axis" minus "the area below the \displaystyle x-axis".
- Understand other interpretations of the integral, for example, density / mass, speed / displacement, power / charge , etc.
- Determine primitive function \displaystyle x^\alpha, \displaystyle 1/x, \displaystyle e^{kx}, \displaystyle \cos kx, \displaystyle \sin kx and the sum / difference of such terms.
- Calculate the area below the curve of a function.
- Calculate the area between two curves of two functions.
- Recognise that all functions do not have primitive functions that can be written as a closed analytical expression, such as \displaystyle e^{x^2} , \displaystyle (\sin x)/x, \displaystyle \sin \sin x, etc.
Area below the curve of a function
We previously have found that the slope of a curve of a function is interesting. It gives us information about how the function changes and has great significance in many applications. In a similar way the area between the curve of a function and the x-axis is of importance. It of course is dependent on the curves appearance and thus closely related to the function in question. It is easy to see that this area has practical significance in many different contexts.
If an object is moving, we can illustrate its speed v plotted against time t in a v,t-diagram. We can see in the figure below three different hypothetical examples:
|
|
| ||||
The object moves at a constant speed of 5. | The object moves at a steady speed of 4 when an impact at t = 3 suddenly increases the speed to 6. | The object is sliding down a sloping plane and has a linearly increasing speed. |
The distance travelled is in each case
\displaystyle s(6) = 5\cdot 6 = 30\,\mbox{m},\quad
s(6) = 4\cdot 3 + 6\cdot 3 = 30\,\mbox{m},\quad s(6) = \frac{6\cdot 6}{2} = 18\,\mbox{m}\,\mbox{.} |
In each cases, you see that the distance travelled by the object is matched by the area below the curve.
More examples of what the area below a curve can symbolise are shown below.
Example 1
|
|
| ||||
A solar cell which has been exposed to light of power p will have received energy that is proportional to the area under the above graph. | The force F applied to an object along the direction of its motion does work that is proportional to the area under the above graph. | A capacitor that is charged by a current i will receive a charge which is proportional to the area under the above graph. |
The notation for an integral.
In order to describe the area below the curve of a function in symbolic form one introduces the integral sign \displaystyle \,\smallint\, :
The integral of a positive function \displaystyle f(x) from \displaystyle a to \displaystyle b is understood to mean the area between the curve \displaystyle y=f(x) and the interval of the x-axis between \displaystyle x=a and \displaystyle x=b , and is written with the notation
\displaystyle \int_{a}^{\,b} f(x)\, dx\,\mbox{.} |
The numbers \displaystyle a and \displaystyle b are called the lower and upper limits of integration respectively, \displaystyle f(x) is called the integrand and \displaystyle x the variable of integration.
Example 2
The area below the curve \displaystyle y=f(x) from \displaystyle x=a to \displaystyle x=c is equal to the area from \displaystyle x=a to \displaystyle x=b plus the area from \displaystyle x=b to \displaystyle x=c. This means that
|
|
Example 3
For an object, whose speed is changing according to the function \displaystyle v(t) the distance travelled after 10 s is characterised by the integral
Note . We assume that speed and distance are measured using the same units of length. |
|
Example 4
Water is flowing into a tank at a rate of \displaystyle f(t) litre/s at the time \displaystyle t. The integral
\displaystyle \int_{9}^{10} f(t)\, dt |
specifies the amount in litres which flows into the tank during the tenth second.
Example 5
Calculate the integrals
|
|
|
|
|
|
The primitive function
The function \displaystyle F is a primitive function for \displaystyle f if \displaystyle F'(x) = f(x) in any interval. If \displaystyle F(x) is a primitive function for \displaystyle f(x), it is clear that \displaystyle F(x) + C is as well, for any constant \displaystyle C. In addition, it can be shown that \displaystyle F(x) + C gives all possible primitive functions of \displaystyle f(x).
Exempel 6
- \displaystyle F(x) = x^3 + \cos x - 5 is a primitive function of
\displaystyle f(x) = 3x^2 - \sin x, because
\displaystyle F'(x) = D\,(x^3+\cos x-5) = 3x^2-\sin x-0 = f(x)\,\mbox{.}
- \displaystyle G(t) = e^{3t + 1} + \ln t is a primitive function of \displaystyle g(t)= 3 e^{3t + 1} + 1/t, because
\displaystyle G'(t) = D\,\bigl(e^{3t+1}+\ln t\bigr) = e^{3t+1}\cdot 3+\frac{1}{t} = g(t)\,\mbox{.}
- \displaystyle F(x) = \frac{1}{4}x^4 - x + C\,, where \displaystyle C is an arbitrary constant, gives all the primitive functions of \displaystyle f(x) = x^3 - 1.
The relationship between an integral and its primitive function
We have previously found that the area below the curve of a function, i.e. integral of a function, is dependent on the form of the curve. It turns out that this dependence makes use of the primitive function, which also gives rise to the ability to calculate such an area exactly.
Suppose that \displaystyle f is a continuous function in an interval. The value of the integral \displaystyle \ \int_{a}^{b} f(x) \, dx\ then is dependent on the limits of integration \displaystyle a and \displaystyle b, but if one lets \displaystyle a have a fixed value and lets \displaystyle x be the upper limit, the integral will depend only on the upper limit. To clarify this, we prefer to use \displaystyle t as the variable of integration:
\displaystyle A(x) = \int_{a}^{\,x} f(t) \, dt\,\mbox{.} |
We shall now show that \displaystyle A is in fact a primitive function of \displaystyle f.
The total area below the curve from \displaystyle t=a to \displaystyle t=x+h can be written as \displaystyle A(x+h) and is approximately equal to the area up to \displaystyle t=x plus the area of the column between \displaystyle t=x and \displaystyle t=x+h, i.e. .
\displaystyle A(x+h)\approx A(x)+h\cdot f(c) |
where \displaystyle c is a number between \displaystyle x and \displaystyle x+h. This expression can be rewriten as
\displaystyle \frac{A(x+h)-A(x)}{h} = f(c)\,\mbox{.} |
If we let \displaystyle h \rightarrow 0 the the left-hand side tends towards \displaystyle A'(x) and the right-hand side tends towards \displaystyle f(x) , i.e. .
\displaystyle A'(x) = f(x)\,\mbox{.} |
Thus the function \displaystyle A(x) is a primitive function of \displaystyle f(x).
Evaluating integrals
In order to use primitive functions in the calculation of a definite integral, we note first that if \displaystyle F is a primitive function of \displaystyle f then
\displaystyle \int_{a}^{\,b} f(t) \, dt = F(b) + C |
where the constant \displaystyle C must be chosen so that the right-hand side is zero when \displaystyle b=a, i.e.
\displaystyle \int_{a}^{\,a} f(t) \, dt = F(a) + C = 0 |
which gives that \displaystyle C=-F(a). If we summarise, we have that
\displaystyle \int_{a}^{\,b} f(t) \, dt
= F(b) - F(a)\,\mbox{.} |
We can, of course, just as easily, choose \displaystyle x as the variable of integration and write
\displaystyle \int_{a}^{\,b} f(x) \, dx
= F(b) - F(a)\,\mbox{.} |
Evaluating an integral is performed in two steps. First one determines a primitive function, and then inserts the limits of integration. The usual way of writing this is as follows,
\displaystyle \int_{a}^{\,b} f(x) \, dx
= \Bigl[\,F(x)\,\Bigr]_{a}^{b} = F(b) - F(a)\,\mbox{.} |
Example 7
The area bounded by the curve \displaystyle y=2x - x^2 and the x-axis can be calculated by using the integral
Since \displaystyle x^2-x^3/3 is a primitive function of the integrand the integrals value is
The area is\displaystyle \frac{4}{3} u.a. |
|
Note: The value of the integral contains no unit. In practical applications, however, the area may have a unit. If the area in a figure without units is to be obtained one sometimes writes u.a. (units of area) after the value.
Antidifferentiation
To differentiate the common functions is not an insurmountable problem, there are general methods for doing this. To perform the reverse operation, that is, find a primitive function for a given function, however, is much more difficult and in some cases impossible! There is no systematic method that works everywhere, but by exploiting the usual rules of differentiation "in the opposite direction" and also by learning a number of special techniques and tricks one can tackle a large number of the functions that turn up.
The symbol \displaystyle \,\int f(x) \,dx\ is called the indefinite integral of \displaystyle f(x) and is used to denote an arbitrary primitive function for \displaystyle f(x). The usual rules of differentiation give
\displaystyle \begin{align*}\int x^n \, dx &= \frac{x^{n+1}}{n+1} + C \quad \text{where }\ n \ne -1\\[6pt] \int x^{-1} \, dx &= \ln |x| + C\\[6pt] \int e^x \, dx &= e^x + C\\[6pt] \int \cos x \, dx &= \sin x + C\\[6pt] \int \sin x \, dx &= -\cos x + C \end{align*} |
Example 8
- \displaystyle \int (x^4 - 2x^3 + 4x - 7)\,dx
= \frac{x^5}{5} - \frac{2x^4}{4}
+ \frac{4x^2}{2} - 7x + C
\displaystyle \phantom{\int (x^4 - 2x^3 + 4x - 7)\,dx}{} = \frac{x^5}{5} - \frac{x^4}{2} + 2x^2 - 7x + C - \displaystyle \int \Bigl(\frac{3}{x^2} -\frac{1}{2x^3} \Bigr) dx
= \int \Bigl( 3x^{-2} - \frac{1}{2} x^{-3} \Bigr) dx
= \frac{3x^{-1}}{-1} - \frac{1}{2} \cdot \frac{x^{-2}}{(-2)} + C
\displaystyle \phantom{\int \Bigl(\frac{3}{x^2} -\frac{1}{2x^3} \Bigr) dx}{} = - 3x^{-1} + \tfrac{1}{4}x^{-2} + C = -\frac{3}{x} + \frac{1}{4x^2} + C\vphantom{\Biggl(} - \displaystyle \int \frac{2}{3x} \,dx = \int \frac{2}{3} \cdot \frac{1}{x} \, dx = \tfrac{2}{3} \ln |x| + C
- \displaystyle \int ( e^x - \cos x - \sin x ) \, dx = e^x - \sin x + \cos x +C
Compensating for the ”inner derivative”
When differentiating a composite function one makes use of the chain rule, which means that one must multiply by the inner derivative. If the inner function is linear, then the inner derivative is a constant. Thus when integrating such a composite function, one must divide by the inner derivative as a sort of compensation.
Example 9
- \displaystyle \int e^{3x} \, dx = \frac{e^{3x}}{3} + C
- \displaystyle \int \sin 5x \, dx = - \frac{ \cos 5x}{5} + C
- \displaystyle \int (2x +1)^4 \, dx = \frac{(2x+1)^5}{5 \cdot 2} + C
Example 10
- \displaystyle \int \sin kx \, dx = - \frac{\cos kx}{k} + C
- \displaystyle \int \cos kx \, dx = \frac{\sin kx }{k} + C
- \displaystyle \int e^{kx} \, dx = \displaystyle \frac{e^{kx}}{k} + C
Note that this way to compensate for the inner derivative only work if the inner derivative is a constant.
Rules for evaluating integrals
Using the way integration has been defined here, it is easy to show the following properties of integration:
- \displaystyle \int_{b}^{\,a} f(x) \, dx = - \int_{a}^{\,b} f(x) \, dx\,\mbox{,}\vphantom{\Biggl(}
- \displaystyle \int_{a}^{\,b} f(x) \, dx + \int_{a}^{\,b} g(x) \, dx = \int_{a}^{\,b} (f(x) + g(x)) \, dx\,\mbox{,}\vphantom{\Biggl(}
- \displaystyle \int_{a}^{\,b} k \cdot f(x)\, dx = k \int_{a}^{\,b} f(x)\, dx\,\mbox{,}\vphantom{\Biggl(}
- \displaystyle \int_{a}^{\,b} f(x) \, dx + \int_{b}^{\,c} f(x)\, dx = \int_{a}^{\,c} f(x)\, dx\,\mbox{.}
Moreover, areas below the x-axis are subtracted, that is, if the curve of the function lies below the x-axis in a region, the integral has a negative value in this region:
\displaystyle \begin{align*}A_1 &= \int_{a}^{\,b} f(x)\, dx,\\[6pt] A_2 &= -\int_{b}^{\,c} f(x)\, dx\,\mbox{.} \end{align*} |
|
The total area is \displaystyle \ A_1 + A_2 = \int_{a}^{\,b} f(x)\, dx - \int_{b}^{\,c} f(x)\, dx\,.
Note . The value of an integral can be negative, while an area always has a positive value.
Example 11
- \displaystyle \int_{1}^{2} (x^3 - 3x^2 + 2x + 1) \, dx + \int_{1}^{2} 2 \, dx
=\int_{1}^{2} (x^3 - 3x^2 + 2x + 1+2) \, dx
\displaystyle \qquad{}= \Bigl[\,\tfrac{1}{4}x^4 - x^3 + x^2 + 3x\,\Bigr]_{1}^{2} \vphantom{\Biggr)^2}
\displaystyle \qquad{}= \bigl(\tfrac{1}{4}\cdot 4-2^3+2^2+3\cdot 2\bigr) - \bigl(\tfrac{1}{4}\cdot 1^4 - 1^3 + 1^2 + 3\cdot 1\bigr)\vphantom{\Biggr)^2}
\displaystyle \qquad{}=6-3-\tfrac{1}{4} = \tfrac{11}{4}
The left diagram shows the area below the graph for f(x) = x³ - 3x² + 2x + 1 and the middle diagram shows the area below the graph for g(x) = 2. In the diagram on the right these areas are summed and give the area below the graph for f(x) + g(x).
- \displaystyle \int_{1}^{3} (x^2/2 - 2x) \, dx + \int_{1}^{3} (2x - x^2/2 + 3/2) \, dx
= \int_{1}^{3} 3/2 \, dx
\displaystyle \qquad{} = \Bigl[\,\tfrac{3}{2}x\,\Bigr]_{1}^{3} = \tfrac{3}{2}\cdot 3 - \tfrac{3}{2}\cdot 1 = 3
The graph to f(x) = x²/2 - 2x (diagram on the left) and the graph to g(x) = 2x - x²/2 + 3/2 (diagram in the middle) are inverted with respect to each other about the line y = 3/4 (dotted line in the diagrams). This means the sum f(x) + g(x) is equal to 3/2. and is a constant. Thus the sum of the integrals is equal to the area of a rectangle with base 2 and height 3/2 (diagram on the right).
- \displaystyle \int_{1}^{2} \frac{4x^2 - 2}{3x} \, dx
= \int_{1}^{2} \frac{2(2x^2-1)}{3x} \, dx
= \frac{2}{3} \int_{1}^{2} \frac{2x^2 - 1}{x} \, dx
\vphantom{\Biggl(}
\displaystyle \qquad{}= \frac{2}{3} \int_{1}^{2} \Bigl(2x - \frac{1}{x}\Bigr) \, dx = \frac{2}{3} \Bigl[\,x^2 - \ln x\,\Bigr]_{1}^{2} \vphantom{\Biggl(}
\displaystyle \qquad{}= \frac {2}{3}\Bigl((4- \ln 2) - (1 - \ln 1)\Bigr) = \tfrac{2}{3}(3 - \ln 2) = 2 - \tfrac{2}{3}\ln 2
- \displaystyle \int_{-1}^{2} (x^2 - 1) \, dx
= \Bigl[\,\frac{x^3}{3} - x\,\Bigl]_{-1}^{2}
= \bigl(\tfrac{8}{3} - 2\bigr) - \bigl(\tfrac{-1}{3} + 1 \bigr)
= 0
The figure shows the graph of f(x) = x² - 1 and the calculation above shows that the shaded area below the x-axis is equal to the shaded area above the x-axis.
Area between curves
If \displaystyle f(x) \ge g(x) in an interval \displaystyle a\le x\le b then the area between the curves of the function is given by
\displaystyle \int_{a}^{b} f(x) \, dx
- \int_{a}^{b} g(x) \, dx\,\mbox{,} |
which can be simplified to
\displaystyle \int_{a}^{b} (f(x) - g(x)) \, dx\,\mbox{.} |
If f(x) and g(x) take positive values and f(x) is greater than g(x), the area between the graphs of f and g (the figure on the left) can be obtained as the difference between the area below the graph f (figure in the middle) and the area below the graph g (the figure on the right). |
Note that it does not matter whether \displaystyle f(x) < 0 or \displaystyle g(x) < 0 as long as \displaystyle f(x) \ge g(x). The value of the area between the curves is independent of whether the curves are above or below the x-axis, as the following figures illustrate:
The area between the two graphs is not affected if the graphs are moved in the y-direction. The area between the graphs of f(x) and g(x) (figure on the left) is equal to the area between the graphs of f(x) - 3 and g(x) - 3 (the figure in the middle), as well as the area between the graphs of f(x) - 6 and g(x) - 6 (figure on the right). |
Example 12
Calculate the area bounded by the curves \displaystyle y=e^x + 1 and \displaystyle y=1 - x^2/2 and the lines \displaystyle x = –1 and \displaystyle x = 1.
Since \displaystyle e^x + 1 > 1 - x^2/2 in the whole interval the area in question is given by
|
|
Example 13
Calculate the area of the finite area bounded by the curves \displaystyle y= x^2 and \displaystyle y= \sqrt[\scriptstyle 3]{x}.
The curves intersect at the points where their y-values are equal
\displaystyle \begin{align*} &x^2 = x^{1/3} \quad \Leftrightarrow \quad x^6 = x\quad \Leftrightarrow \quad x(x^5 - 1) = 0\\ &\quad \Leftrightarrow \quad x=0 \quad \text{or}\quad x=1\,\mbox{.}\end{align*} |
Between \displaystyle x=0 and \displaystyle x=1, \displaystyle \sqrt[\scriptstyle 3]{x}>x^2 is true, thus the area is
|
|
Example 14
Calculate the area of the region bounded by the curve \displaystyle y=\frac{1}{x^2}and the lines \displaystyle y=x and \displaystyle y = 2.
In the figure on the right, the curve and the two lines have been sketched and then we see that the region can be divided into two sub-regions, each of which is located between two curves. The total area is the sum of the integrals
We first determine the points of intersection \displaystyle x=a, \displaystyle x=b and \displaystyle x=c: |
|
- The point of intersection \displaystyle x=a is obtained from the equation
\displaystyle \frac{1}{x^2} = 2
\quad \Leftrightarrow \quad x^2 = \frac{1}{2} \quad \Leftrightarrow \quad x = \pm \frac{1}{\sqrt{2}}\,\mbox{.} |
- (The negative root, however, is not relevant.)
- The point of intersection \displaystyle x=b is obtained from the equation
\displaystyle \frac{1}{x^2} = x
\quad \Leftrightarrow \quad x^3 = 1 \quad \Leftrightarrow \quad x=1\,\mbox{.} |
- The point of intersection \displaystyle x=c is obtained from the equation \displaystyle x = 2.
The integrals are therefore
\displaystyle \begin{align*} A_1 &= \int_{1/\sqrt{2}}^{1} \Bigl(2 - \frac{1}{x^2}\Bigr) \, dx = \int_{1/\sqrt{2}}^{1} \bigl(2 - x ^{-2}\bigr) \, dx = \Bigl[\,2x-\frac{x^{-1}}{-1}\,\Bigr]_{1/\sqrt{2}}^{1}\\[4pt] &= \Bigl[\,2x + \frac{1}{x}\,\Bigr]_{1/\sqrt{2}}^{1} = (2+ 1) - \Bigl( \frac{2}{\sqrt{2}} + \sqrt{2}\,\Bigr) = 3 - 2\sqrt{2}\,\mbox{,}\\[4pt] A_2 &= \int_{1}^{2} (2 - x) \, dx = \Bigl[\,2x - \frac{x^2}{2}\,\Bigr]_{1}^{2} = (4-2) - \Bigl(2- \frac{1}{2}\Bigr) = \frac{1}{2}\,\mbox{.}
\end{align*} |
The total area is
\displaystyle A_1 + A_2 = 3 - 2\sqrt{2} + \tfrac{1}{2} = \tfrac{7}{2} - 2\sqrt{2}\ \text{u.a.} |