For \(a\in\mathbb R\), let
\(f_a(x)=(x^2-ax+a)e^x\).
a) For \(a=4\), the graph and the coordinate axes enclose a region in the first quadrant. Find its area.
b) Determine the number, coordinates, and classifications of the local extrema of \(f_a\) in terms of \(a\).
c) For \(a\ne2\), one local extremum is not on the y-axis. Find an equation for the locus of these extrema.
Hints
- For part a, identify the intercepts and integrate over the bounded interval.
- Factor the first derivative to find the critical numbers.
- Use a sign chart to classify the critical points for the different parameter cases.
- Eliminate the parameter from the coordinates of the off-axis extremum.
Solution
1. For \(a=4\),
\(f_4(x)=(x-2)^2e^x\).
The bounded region extends from \(x=0\) to \(x=2\). Two applications of integration by parts give the antiderivative
\(F(x)=(x^2-6x+10)e^x\).
Therefore, the area is
\(F(2)-F(0)=2e^2-10\approx4.778\)
square units.
2. Differentiate and factor:
\(f_a'(x)=x(x-a+2)e^x\).
The critical numbers are \(x=0\) and \(x=a-2\). When \(a=2\), these coincide, and the derivative does not change sign; \((0, 2)\) is a stationary inflection point, so there are no local extrema.
When \(a>2\), the local maximum is
\(E_1=(0, a)\),
and the local minimum is
\(E_2=\left(a-2, (4-a)e^{a-2}\right)\).
When \(a<2\), \(E_1\) is the local minimum and \(E_2\) is the local maximum.
3. For the extremum not on the y-axis, let \(x=a-2\), so \(a=x+2\). Then
\(y=(4-a)e^{a-2}=(2-x)e^x\).
Because \(a\ne2\), the locus is
\(y=(2-x)e^x\), with \(x\ne0\).
Answer
a) \(2e^2-10\approx4.778\) square units
b) If \(a=2\), there are no local extrema; \((0, 2)\) is a stationary inflection point. If \(a>2\), \((0, a)\) is a local maximum and \(\left(a-2, (4-a)e^{a-2}\right)\) is a local minimum. If \(a<2\), the classifications are reversed.
c) \(y=(2-x)e^x\), with \(x\ne0\)