Worked solution
a. Using the product rule to find the derivative of \( f(x) = x^2 e^{-x} \):
\( f'(x) = 2x e^{-x} - x^2 e^{-x} = x(2 - x) e^{-x} \).
To find the stationary points, set \( f'(x) = 0 \).
Since \( e^{-x} > 0 \), this gives \( x = 0 \) or \( x = 2 \).
For \( 0 < x < 2 \), \( f'(x) > 0 \), and for \( x > 2 \), \( f'(x) < 0 \). Thus, a local maximum occurs at \( x = 2 \).
Evaluating \( f(2) \):
\( f(2) = 2^2 e^{-2} = 4e^{-2} \).
So, the coordinates of the local maximum are \( (2, 4e^{-2}) \).
b. Using the product rule on \( f'(x) = (2x - x^2)e^{-x} \) to find the second derivative:
\( f''(x) = (2 - 2x)e^{-x} - (2x - x^2)e^{-x} = (x^2 - 4x + 2)e^{-x} \).
For points of inflexion, set \( f''(x) = 0 \).
Since \( e^{-x} \neq 0 \), we solve \( x^2 - 4x + 2 = 0 \).
Using the quadratic formula:
\( x = \frac{4 \pm \sqrt{(-4)^2 - 4(1)(2)}}{2} = \frac{4 \pm \sqrt{8}}{2} = 2 \pm \sqrt{2} \).
Both values are positive, so they lie in the domain \( x \ge 0 \). Since \( f''(x) \) changes sign at these points, the \( x \)-coordinates of the points of inflexion are \( x = 2 - \sqrt{2} \) and \( x = 2 + \sqrt{2} \).
c. The area of the region is given by \( I = \int_0^2 x^2 e^{-x} \, dx \).
We use integration by parts: \( \int u \, dv = uv - \int v \, du \).
Let \( u = x^2 \) and \( dv = e^{-x} \, dx \), which gives \( du = 2x \, dx \) and \( v = -e^{-x} \).
\( \int x^2 e^{-x} \, dx = -x^2 e^{-x} + 2 \int x e^{-x} \, dx \).
Apply integration by parts again to the remaining integral:
Let \( u = x \) and \( dv = e^{-x} \, dx \), which gives \( du = dx \) and \( v = -e^{-x} \).
\( \int x e^{-x} \, dx = -x e^{-x} - \int -e^{-x} \, dx = -x e^{-x} - e^{-x} \).
Substituting this back, the antiderivative of \( f(x) \) is:
\( -x^2 e^{-x} + 2(-x e^{-x} - e^{-x}) = -e^{-x}(x^2 + 2x + 2) \).
Now apply the limits from 0 to 2:
\( \left[ -e^{-x}(x^2 + 2x + 2) \right]_0^2 = -e^{-2}(2^2 + 2(2) + 2) - (-e^0(0^2 + 2(0) + 2)) \)
\( = -e^{-2}(10) - (-2) = 2 - 10e^{-2} \).
Marking scheme
a.
- M1 for attempting product rule to find \( f'(x) \)
- A1 for correct derivative \( f'(x) = x(2 - x)e^{-x} \)
- M1 for setting \( f'(x) = 0 \) and identifying \( x = 2 \) as the local maximum
- A1 for \( (2, 4e^{-2}) \)
b.
- M1 for attempting to find \( f''(x) \) using product rule
- A1 for correct \( f''(x) = (x^2 - 4x + 2)e^{-x} \)
- M1 for setting \( f''(x) = 0 \) and attempting to solve the quadratic equation
- A1 for \( x = 2 - \sqrt{2} \) and \( x = 2 + \sqrt{2} \)
c.
- M1 for setting up the area integral \( \int_0^2 x^2 e^{-x} \, dx \)
- M1 for first integration by parts step, finding \( -x^2 e^{-x} + 2 \int x e^{-x} \, dx \)
- A1 for correct terms
- M1 for second integration by parts step, finding \( \int x e^{-x} \, dx = -e^{-x}(x + 1) \)
- A1 for correct complete antiderivative \( -e^{-x}(x^2 + 2x + 2) \)
- M1 for substituting limits \( 0 \) and \( 2 \)
- A1 for \( 2 - 10e^{-2} \)