1 problem found
The function \(\f\) is defined by $$ \f(x)= \vert x-1 \vert\;, $$ where the domain is \({\bf R}\,\), the set of all real numbers. The function \(\g_n =\f^n\), with domain \({\bf R}\,\), so for example \(\g_3(x) = \f(\f(\f(x)))\,\). In separate diagrams, sketch graphs of \(\g_1\,\), \(\g_2\,\), \(\g_3\,\) and \(\g_4\,\). The function \(\h\) is defined by \[ \h(x) = |\sin {{{\pi}x} \over 2}|, \] where the domain is \({\bf R}\,\). Show that if \(n\) is even, \[ \int_0^n\,\big( \h(x)-\g_n(x)\big)\,\d x = \frac{2n}{\pi} -\frac{n}2\;. \]
Solution: