2.1 Einführung zur Integralrechnung

Aus Online Mathematik Brückenkurs 2

Wechseln zu: Navigation, Suche
       Theorie          Übungen      

Inhalt:

  • Definition of a definite integral (overview).
  • The fundamental theorem of calculus.
  • Indefinite integral (antiderivative) for \displaystyle x^\alpha, \displaystyle 1/x, \displaystyle e^x, \displaystyle \cos x and \displaystyle \sin x.
  • Indefinite integral (antiderivative) for sum and difference.

Lernziele:

Nach diesem Abschnitt sollst Du folgendes können to :

  • Interpret definite 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 definite integral, for example, density / mass, speed / displacement, power / charge , etc.
  • Determine an indefinite integral, or antiderivative, for \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 under the graph of a function.
  • Calculate the area between the graphs of two functions.
  • Recognise that not all functions have indefinite integrals that can be written as a closed analytical expression; be aware of examples such as \displaystyle e^{x^2} , \displaystyle (\sin x)/x, \displaystyle \sin \sin x, etc.

Area under the curve of a function

We have previously found that the gradient 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. Of course, it is dependent on the curve's 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:


2.1 - Figure - v-t-diagram with constant speed 5 2.1 - Figure - v-t-diagram with constant speed 4 and 6 2.1 - Figure - v-t-diagram with speed v(t) = t
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\times 6 = 30\,\mbox{m},\quad
 s(6) = 4\times 3 + 6\times 3 = 30\,\mbox{m},\quad
 s(6) = \frac{6\times 6}{2} = 18\,\mbox{m}\,\mbox{.}

In each cases, you see that the distance travelled by the object is matched by the area under the curve.

More examples of what the area under a curve can symbolise are shown below.

Beispiel 1


[Image]

[Image]

[Image]

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 the definite integral.

In order to describe the area under the curve of a function in symbolic form one introduces the integral sign \displaystyle \,\smallint\, :

The definite 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.

Beispiel 2

The area under 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
\displaystyle \int_{a}^{\,b} f(x)\, dx + \int_{b}^{\,c} f(x)\, dx
 = \int_{a}^{\,c} f(x)\, dx\,\mbox{.}

[Image]

Beispiel 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 definite integral
\displaystyle s(10) = \int_{0}^{10} v(t)\, dt\,\mbox{.}

Note . We assume that speed and distance are measured using the same units of length.

[Image]

Beispiel 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.

Beispiel 5

Calculate the integrals

  1. \displaystyle \int_{0}^{4} 3 \, dx

    The definite integral can be interpreted as area under the curve (the line) \displaystyle y=3 going from \displaystyle x = 0 to \displaystyle x = 4, i.e. a rectangle with the base 4 and height 3,
    \displaystyle \int_{0}^{4} 3 \, dx = 4 \times 3 = 12\,\mbox{.}

[Image]

  1. \displaystyle \int_{2}^{5} \Bigl(\frac{x}{2} -1 \Bigr) \, dx

    The integral can be interpreted as the area under the line \displaystyle y=x/2-1 going from \displaystyle x = 2 to \displaystyle x = 5, i.e. a triangle with a base 3 and a height 1.5
    \displaystyle \int_{2}^{5} \Bigl(\frac{x}{2} -1 \Bigr) \, dx = \frac{3 \times 1\textrm{.}5}{2} = 2\textrm{.}25\,\mbox{.}
2.1 - Figure - The area under the graph of y = x/2 - 1 from x = 2 to x = 5
  1. \displaystyle \int_{0}^{a} kx \, dx\,\mbox{}\quad where \displaystyle k>0\,.

    The integral can be interpreted as the area under the line \displaystyle y=kx going from \displaystyle x = 0 to \displaystyle x = a, that is a triangle with a base \displaystyle a and a height \displaystyle ka
    \displaystyle \int_{0}^{\,a} kx\,dx = \frac{a \times ka}{2} = \frac{ka^2}{2}\,\mbox{.}
2.1 - Figure - The area under the graph of y = kx from x = 0 to x = a


The antiderivative and the indefinite integral

The function \displaystyle F is an antiderivative (or primitive function) for \displaystyle f if \displaystyle F'(x) = f(x) in any interval. If \displaystyle F(x) is an antiderivative 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 antiderivatives of \displaystyle f(x); the expression \displaystyle F(x) + C is known as the indefinite integral of \displaystyle f, and is written

\displaystyle \int f(x)\, dx\,\mbox{.}

Exempel 6

  1. \displaystyle F(x) = x^3 + \cos x - 5 is an antiderivative 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{.}
    
  2. \displaystyle G(t) = e^{3t + 1} + \ln t is an antiderivative 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}\times 3+\frac{1}{t} = g(t)\,\mbox{.}
    
  3. \displaystyle F(x) = \frac{1}{4}x^4 - x + C\,, where \displaystyle C is an arbitrary constant, gives the indefinite integral of \displaystyle f(x) = x^3 - 1.


The relationship between definite and indefinite integrals

We have previously found that the area under the curve of a function, i.e. its definite integral, is dependent on the form of the curve. It turns out that this dependence makes use of the antiderivative, which also allows us, in certain circumstances, 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 \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:

[Image]

\displaystyle A(x) = \int_{a}^{\,x} f(t) \, dt\,\mbox{.}

We shall now show that \displaystyle A is in fact an antiderivative of \displaystyle f.

2.1 - Figure - The area under the graph of y = f(x) from t = a to t = x + h

The total area under 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\, 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 an antiderivative of \displaystyle f(x).


Evaluating integrals

In order to use antiderivatives to calculate a definite integral, we note first that if \displaystyle F is an antiderivative 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 a definite integral is performed in two steps. First one determines an antiderivative, 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{.}


Beispiel 7

The area bounded by the curve \displaystyle y=2x - x^2 and the x-axis can be calculated by using the integral

\displaystyle \int_{0}^{2} (2x-x^2) \, dx\,\mbox{.}

Since \displaystyle x^2-x^3/3 is an antiderivative of the integrand, the integral's value is

\displaystyle \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*}

The area is\displaystyle \frac{4}{3} u.a.

[Image]

Note: The value of the integral contains no unit. In practical applications, however, the area may have a unit.


Antidifferentiation

To differentiate common functions is not an insurmountable problem: there are general methods for doing this. To perform the reverse operation - that is, find an antiderivative (or an indefinite integral) for a given function - is much more difficult, however, 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 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*}

Beispiel 8

  1. \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
  2. \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} \, \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(}
  3. \displaystyle \int \frac{2}{3x} \,dx = \int \frac{2}{3} \, \frac{1}{x} \, dx = \tfrac{2}{3} \ln |x| + C
  4. \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.

Beispiel 9

  1. \displaystyle \int e^{3x} \, dx = \frac{e^{3x}}{3} + C
  2. \displaystyle \int \sin 5x \, dx = - \frac{ \cos 5x}{5} + C
  3. \displaystyle \int (2x +1)^4 \, dx = \frac{(2x+1)^5}{5 \times 2} + C

Beispiel 10

  1. \displaystyle \int \sin kx \, dx = - \frac{\cos kx}{k} + C
  2. \displaystyle \int \cos kx \, dx = \frac{\sin kx }{k} + C
  3. \displaystyle \int e^{kx} \, dx = \displaystyle \frac{e^{kx}}{k} + C

Note that this way to compensate for the inner derivative only works 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:

  1. \displaystyle \int_{b}^{\,a} f(x) \, dx = - \int_{a}^{\,b} f(x) \, dx\,\mbox{,}\vphantom{\Biggl(}
  2. \displaystyle \int_{a}^{\,b} f(x) \, dx + \int_{a}^{\,b} g(x) \, dx = \int_{a}^{\,b} (f(x) + g(x)) \, dx\,\mbox{,}\vphantom{\Biggl(}
  3. \displaystyle \int_{a}^{\,b} k \, f(x)\, dx = k \int_{a}^{\,b} f(x)\, dx\,\mbox{,}\vphantom{\Biggl(}
  4. \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*} 2.1 - Figure - The areas A₁ and A₂ between y = f(x) and the x-axis

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 a definite integral can be negative, while an area always has a positive value.


Beispiel 11

  1. \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}\times 4-2^3+2^2+3\times 2\bigr) - \bigl(\tfrac{1}{4}\times 1^4 - 1^3 + 1^2 + 3\times 1\bigr)\vphantom{\Biggr)^2}
    \displaystyle \qquad{}=6-3-\tfrac{1}{4} = \tfrac{11}{4}

    [Image]

    The diagram on the left shows the area under the graph for f(x) = x³ - 3x² + 2x + 1 and the middle diagram shows the area under the graph for g(x) = 2. In the diagram on the right these areas are summed and give the area under the graph for f(x) + g(x).


  1. \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}\times 3 - \tfrac{3}{2}\times 1 = 3

    [Image]

    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).


  1. \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


  1. \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

    [Image]

    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 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{.}

[Image]

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 under the graph f (figure in the middle) and the area under 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:

[Image]

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).

Beispiel 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

\displaystyle \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*}

[Image]

Beispiel 13

Calculate the area of the finite region 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
\displaystyle \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*}

[Image]

Beispiel 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

\displaystyle A_1 = \int_{a}^{\,b} (2 - \frac{1}{x^2}) \, dx
 \quad\text{and}\quad A_2 = \int_{b}^{\,c} (2- x) \, dx\,\mbox{.}

We first determine the points of intersection \displaystyle x=a, \displaystyle x=b and \displaystyle x=c:

[Image]

  • 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.}