Question 1

The graphs of the functions \(f\) and \(g\) are shown in the figure for \(0 \le x \le \frac{\pi}{2}\). It is known that:
\[g(x) = 2 + \sin x\]for \(x \ge 0\). The twice-differentiable function \(f\), which is not explicitly given, satisfies \(f\left(\frac{\pi}{2}\right) = 3\) and
\[\int_0^{\frac{\pi}{2}} f(x)\,dx = 6.\](a) Find the area of the shaded region enclosed by the graphs of \(f\) and \(g\).
(b) Evaluate the improper integral\[\int_0^{\infty} (g(x))^2\,dx,\]or show that the integral diverges.
(c) Let \(h(x)\) be the function defined by\[h(x) = xf'(x).\]Find the value of\[\int_0^{\frac{\pi}{2}} h(x)\,dx.\]
Main Solution
Answer Key
(a)
The area enclosed between two curves is given by (here \(f \ge g\) on \(\left[0, \frac{\pi}{2}\right]\)):
\[A = \int_0^{\frac{\pi}{2}} (f(x) - g(x))\,dx = \int_0^{\frac{\pi}{2}} f(x)\,dx - \int_0^{\frac{\pi}{2}} g(x)\,dx.\]Step 1: Compute \(\int_0^{\frac{\pi}{2}} g(x)\,dx\)
\[\int_0^{\frac{\pi}{2}} (2 + \sin x)\,dx = \int_0^{\frac{\pi}{2}} 2\,dx + \int_0^{\frac{\pi}{2}} \sin x\,dx = 2 \times \frac{\pi}{2} - \cos x\Big|_0^{\frac{\pi}{2}} = \pi + 1.\]Step 2:
\[A = 6 - (\pi + 1) = \boxed{5 - \pi} \approx 1.858\](b)
We need to evaluate
\[I = \int_0^{\infty} (2 + \sin x)^2\,dx.\]Since \(\sin x \ge -1\), \(2 + \sin x \ge 1\), so \((2 + \sin x)^2 \ge 1\) for all \(x\). Then
\[\int_0^{b} (2 + \sin x)^2\,dx \ge \int_0^{b} 1\,dx = b \to \infty \text{ as } b \to \infty.\]By comparison, the improper integral diverges.
(c)
We need to evaluate
\[I = \int_0^{\frac{\pi}{2}} xf'(x)\,dx.\]Using integration by parts where:
- \(u = x \Rightarrow du = dx.\)
- \(dv = f'(x)dx \Rightarrow v = f(x).\)
Since \(f(\pi/2) = 3\) and \(\int_0^{\frac{\pi}{2}} f(x)\,dx = 6\), we get:
\[I = \left(\frac{\pi}{2} \cdot 3 - 0 \cdot f(0)\right) - 6 = \frac{3\pi}{2} - 6 \approx -1.288.\]Answer images

