Part (a)2 PTS
Evaluate $g(-2)$ and $g(6)$ using signed areas.
**$g(-2)$:** $g(-2)=\displaystyle\int_{0}^{-2} f(t)\,dt=-\int_{-2}^{0} f(t)\,dt.$ On $[-2,0]$ the graph is the segment from $(-2,0)$ to $(0,3)$, a triangle above the axis with base $2$ and height $3$, area $\tfrac12(2)(3)=3$. So $\int_{-2}^{0}f=3$ and
$$g(-2)=-3.$$
**$g(6)$:** $g(6)=\displaystyle\int_{0}^{6} f(t)\,dt$. Split into $[0,4]$ (lower semicircle, signed area negative) and $[4,6]$ (triangle above axis).
- $[0,4]$: the lower half-disk of radius $2$ has area $\tfrac12\pi(2)^2=2\pi$, but it is below the axis, so its signed area is $-2\pi$.
- $[4,6]$: triangle from $(4,0)$ to $(6,2)$, base $2$, height $2$, area $\tfrac12(2)(2)=2$ (above axis).
Thus
$$g(6)=-2\pi+2=2-2\pi.$$
<span class="math-block">\[g(-2)=-\int_{-2}^{0} f=-\tfrac12(2)(3)=-3\]</span>
<span class="math-block">\[\int_{0}^{4} f=-\tfrac12\pi(2)^2=-2\pi\]</span>
<span class="math-block">\[\int_{4}^{6} f=\tfrac12(2)(2)=2\]</span>
<span class="math-block">\[g(6)=-2\pi+2=2-2\pi\]</span>
2 points: 1 for $g(-2)=-3$ (note the reversed limits give a sign flip); 1 for $g(6)=2-2\pi$ (semicircle area $2\pi$ taken as negative, plus triangle $2$). Forgetting the sign flip on $g(-2)$, or using $\pi r^2$ instead of $\tfrac12\pi r^2$ for the half-disk, loses a point.
Part (b)2 PTS
Find $g'(2)$ and $g''(2)$ with justification.
By the Fundamental Theorem of Calculus, $g'(x)=f(x)$. The point $(2,-2)$ is the bottom of the lower semicircle, so
$$g'(2)=f(2)=-2.$$
Also $g''(x)=f'(x)$. At $x=2$ the semicircle has a horizontal tangent (the lowest point of the arc), so $f'(2)=0$, giving
$$g''(2)=f'(2)=0.$$
<span class="math-block">\[g'(x)=f(x)\ \text{(FTC)} \Rightarrow g'(2)=f(2)=-2\]</span>
<span class="math-block">\[g''(x)=f'(x) \Rightarrow g''(2)=f'(2)=0\ \text{(bottom of semicircle: horizontal tangent)}\]</span>
2 points: 1 for $g'(2)=f(2)=-2$ via FTC; 1 for $g''(2)=f'(2)=0$ because the semicircle's tangent at its lowest point is horizontal. Confusing $g''$ with $f$ (instead of $f'$) loses the second point.
Part (c)3 PTS
Locate relative extrema of $g$ and inflection points of $g$, with justification.
Since $g'=f$, extrema of $g$ occur where $f$ changes sign. Reading the graph: $f>0$ on $(-2,0)$, $f<0$ on $(0,4)$, $f>0$ on $(4,8)$.
- At $x=0$, $f$ changes from $+$ to $-$, so $g$ has a **relative maximum at $x=0$**.
- At $x=4$, $f$ changes from $-$ to $+$, so $g$ has a **relative minimum at $x=4$**.
Inflection points of $g$ occur where $g''=f'$ changes sign, i.e. where the slope of $f$ changes sign:
- At $x=0$: just left, $f$ is the line of slope $\tfrac32$ ($f'>0$); just right, the semicircle has $f'<0$. Sign change $+\to-$, so $g$ has an inflection point at $x=0$.
- At $x=2$: along the semicircle $f'<0$ for $x<2$ and $f'>0$ for $x>2$ (it bottoms out at $x=2$). Sign change $-\to+$, inflection at $x=2$.
- At $x=6$: just left, segment $(4,6)$ has slope $+1$; just right, segment $(6,8)$ has slope $-1$. Sign change $+\to-$, inflection at $x=6$.
(At $x=4$, $f'$ goes from $+\infty$-like along the semicircle to $+1$ on the next segment — it stays positive, so there is **no** inflection at $x=4$.)
So: relative max at $x=0$, relative min at $x=4$; inflection points at $x=0,\ 2,\ 6$.
<span class="math-block">\[g'=f:\ f:+\,(-2,0),\ -\,(0,4),\ +\,(4,8)\]</span>
<span class="math-block">\[x=0:\ f:+\to- \Rightarrow \text{rel. max of } g\]</span>
<span class="math-block">\[x=4:\ f:-\to+ \Rightarrow \text{rel. min of } g\]</span>
<span class="math-block">\[g''=f' \text{ sign change at } x=0,\,2,\,6 \Rightarrow \text{inflection of } g\]</span>
3 points: 1 for relative max at $x=0$ (with $f$ sign-change justification); 1 for relative min at $x=4$; 1 for the complete inflection set $x=0,2,6$ justified by $g''=f'$ sign changes (and correctly excluding $x=4$). Listing extrema without the sign-change reasoning, or missing $x=2$ in the inflection set, costs the relevant point.
Part (d)2 PTS
Find the absolute minimum of $g$ on $[-2,8]$ and where it occurs.
On a closed interval the absolute minimum of $g$ occurs at an endpoint or an interior critical point (where $g'=f=0$ with $f$ changing $-\to+$). The interior candidate from part (c) is the relative minimum $x=4$; compare with the endpoints $x=-2$ and $x=8$.
Compute the values (using signed areas as in part (a)):
- $g(-2)=-3$.
- $g(4)=\displaystyle\int_0^4 f=-2\pi$ (the full lower semicircle).
- $g(8)=g(6)+\displaystyle\int_6^8 f=(2-2\pi)+\tfrac12(2)(2)=4-2\pi$.
Numerically $-2\pi\approx-6.283$, $4-2\pi\approx-2.283$, and $-3$. The smallest is $-2\pi$.
Therefore the absolute minimum value of $g$ on $[-2,8]$ is
$$g(4)=-2\pi,\quad\text{occurring at } x=4.$$
<span class="math-block">\[g(-2)=-3,\quad g(4)=\int_0^4 f=-2\pi,\quad g(8)=(2-2\pi)+2=4-2\pi\]</span>
<span class="math-block">\[-2\pi\approx-6.283 < 4-2\pi\approx-2.283 < -3? \Rightarrow \min = -2\pi\]</span>
<span class="math-block">\[\text{absolute min } g(4)=-2\pi \text{ at } x=4\]</span>
2 points: 1 for identifying and evaluating all candidates ($x=-2,4,8$) with correct values $-3,\,-2\pi,\,4-2\pi$; 1 for selecting the absolute minimum $g(4)=-2\pi$ at $x=4$. Omitting an endpoint candidate, or comparing $g'$ values instead of $g$ values, loses a point.