Please help, It's calculus work. The screenshot below should answer my question.
80 Points
![Please help Its calculus work The screenshot below should answer my question 80 Points class=](https://us-static.z-dn.net/files/dee/4f2eed4c23dc5ea57296bfb62cc6249a.png)
a) In order for [tex]f[/tex] to be continuous at [tex]x=1[/tex], we need to have
[tex]\displaystyle\lim_{x\to1^-}f(x)=\lim_{x\to1^+}f(x)=f(1)[/tex]
By definition of [tex]f[/tex], we know [tex]f(1)=10-2-1^2=7[/tex]. Meanwhile, the limits are
[tex]\displaystyle\lim_{x\to1^-}f(x)=\lim_{x\to1}10-2x-x^2=7[/tex]
[tex]\displaystyle\lim_{x\to1^+}f(x)=\lim_{x\to1}3+4e^{x-1}=7[/tex]
so [tex]f[/tex] is indeed continuous at [tex]x=1[/tex].
b) We use the first derivative test (FDT) here, but when we compute the derivative of a piecewise function, we have to be careful at the points where the pieces "split off", because it's possible that the derivative does not exist at these points, yet an extreme value can still occur there. (Consider, for example, [tex]|x|[/tex] at [tex]x=0[/tex].)
In this case,
[tex]f'(x)=\begin{cases}-2-2x&\text{for }x<1\\?&\text{for }x=1\\4e^{x-1}&\text{for }x>1\end{cases}[/tex]
We find the critical points for each piece over their respective domains:
On the first piece:
[tex]-2-2x=0\implies x=-1[/tex]
which does fall in [-2, 2]. The FDT shows [tex]f'(x)<0[/tex] for [tex]x[/tex] less than and near -1, and [tex]f'(x)>0[/tex] for [tex]x[/tex] greater than and near -1, so [tex]f(-1)=11[/tex] is a local maximum.
On the second piece:
[tex]4e^{x-1}\neq0\text{ for all }x[/tex]
so it does not contribute any critical points.
Where the pieces meet:
By checking the conditions for continuity mentioned in part (a), we can determine that [tex]f'(1)[/tex] does not exist, but that doesn't rule out [tex]x=1[/tex] as a potential critical point.
We have
[tex]\displaystyle\lim_{x\to1}-2-2x=-4[/tex]
so [tex]f'(x)<0[/tex] for [tex]x[/tex] less than and near 1, and
[tex]\displaystyle\lim_{x\to1}4e^{x-1}=4[/tex]
so [tex]f'(x)>0[/tex] for [tex]x[/tex] greater than and near 1. So the FDT tells us that [tex]f(1)=7[/tex] is a local minimum.
Finally, at the endpoints of the domain we're concerned with, [-2, 2]:
We have [tex]f(-2)=10[/tex] and [tex]f(2)=3+4e[/tex].
So, on [-2, 2], [tex]f[/tex] attains an absolute minimum of [tex]f(1)=7[/tex] and an absolute maximum of [tex]f(2)=3+4e\approx13.9[/tex].