Definite integrals, areas and mean value¶
Exercises · Part 7 · Integrals · with worked solutions · Exercises, volume 7 (PDF) · Chapter 3: Integration techniques and applications
Exercise 1
Compute by parts
Solution
-
(a) With \(f = x\), \(g' = e^{2x}\), \(g = \frac{e^{2x}}{2}\):
\[ \int_0^1 x\,e^{2x}\,dx = \left[\frac{x\,e^{2x}}{2}\right]_0^1 - \frac12\int_0^1 e^{2x}\,dx = \frac{e^2}{2} - \left[\frac{e^{2x}}{4}\right]_0^1 = \frac{e^2}{2} - \frac{e^2 - 1}{4} = \frac{e^2 + 1}{4} \] -
(b) With \(f = \log x\), \(g' = x^2\), \(g = \frac{x^3}{3}\):
\[ \int_1^{e} x^2\log x\,dx = \left[\frac{x^3}{3}\log x\right]_1^{e} - \int_1^{e} \frac{x^2}{3}\,dx = \frac{e^3}{3} - \frac{e^3 - 1}{9} = \frac{2e^3 + 1}{9} \]
Exercise 2
Compute by substitution
Solution
-
(a) With \(t = x + 1\), \(x = t - 1\), \(dx = dt\), limits \(1\) and \(4\):
\[ \int_1^4 (t - 1)\sqrt{t}\,dt = \left[\frac25\,t^{5/2} - \frac23\,t^{3/2}\right]_1^4 = \left(\frac{64}{5} - \frac{16}{3}\right) - \left(\frac25 - \frac23\right) = \frac{116}{15} \] -
(b) With \(t = e^{x}\), \(dt = e^{x}\,dx\), limits \(1\) and \(3\):
\[ \int_1^3 \frac{dt}{(t+1)^2} = \left[-\frac{1}{t+1}\right]_1^3 = -\frac14 + \frac12 = \frac14 \] -
(c) \(\sin^3 x = (1 - \cos^2 x)\sin x\); with \(t = \cos x\), \(dt = -\sin x\,dx\), limits \(1\) and \(0\):
\[ \int_0^{\pi/2} \sin^3 x\,dx = \int_0^1 (1 - t^2)\,dt = 1 - \frac13 = \frac23 \]
Exercise 3
Compute
Solution
The denominator has roots \(-1\) and \(-2\): \(x^2 + 3x + 2 = (x+1)(x+2)\). From \(\frac{x}{(x+1)(x+2)} = \frac{A}{x+1} + \frac{B}{x+2}\) we get \(x = A(x+2) + B(x+1)\); with \(x = -1\): \(A = -1\); with \(x = -2\): \(B = 2\). Hence
Exercise 4
Compute the area of the bounded region between the graphs of \(y = x^3\) and \(y = x\).
Solution
The intersections solve \(x^3 = x\): \(x \in \{-1, 0, 1\}\). On \([-1, 0]\) we have \(x^3 \ge x\), on \([0, 1]\) we have \(x \ge x^3\). Hence
(the two parts are equal because both functions are odd).
Exercise 5
Find the measure of the set
Solution
\(x\,e^{-x} \ge 0\) on \([0,2]\), hence the measure is \(\int_0^2 x\,e^{-x}\,dx\). By parts, with \(f = x\), \(g' = e^{-x}\):
Exercise 6
Compute the area of the region between the graph of \(y = \log x\), the \(x\)-axis and the lines \(x = \frac1e\) and \(x = e\).
Solution
The logarithm is negative on \(\left[\frac1e, 1\right)\) and positive on \((1, e]\): the area is \(\int_{1/e}^{e} |\log x|\,dx\). With the antiderivative \(x\log x - x\):
The area is \(2 - \frac{2}{e}\).
Exercise 7
Compute the mean value of \(f(x) = \frac{1}{1+x^2}\) on \([-1, 1]\) and the points \(c \in [-1,1]\) at which \(f(c)\) equals the mean value.
Solution
From \(\frac{1}{1+c^2} = \frac{\pi}{4}\) we get \(c^2 = \frac{4}{\pi} - 1\), that is, \(c = \pm\sqrt{\frac4\pi - 1} \approx \pm 0.52\), both in \([-1,1]\).