To determine the maximum and minimum values of the function \( f(x) = (x + 3)^2 (x - 2)^3 \) within the interval \([-4, 4]\), we calculate \( M - m \), where \( M \) represents the maximum value and \( m \) represents the minimum value.
The initial phase involves identifying the function's critical points by computing its derivative with respect to \( x \) and equating it to zero.
Applying the product rule for differentiation, with \( u(x) = (x + 3)^2 \) and \( v(x) = (x - 2)^3 \), we get:
The product rule yields:
\(f'(x) = u'(x) v(x) + u(x) v'(x) = 2(x + 3)(x - 2)^3 + 3(x + 3)^2(x - 2)^2\)
Setting \( f'(x) = 0 \) requires solving:
\(2(x + 3)(x - 2)^3 + 3(x + 3)^2(x - 2)^2 = 0\)
Factoring out the common term \((x + 3)(x - 2)^2\):
\((x + 3)(x - 2)^2 [2(x - 2) + 3(x + 3)] = 0\)
This simplifies to:
\((x + 3)(x - 2)^2 (5x + 9) = 0\)
The solutions for each factor are:
The function \( f(x) \) is then evaluated at these critical points and the interval's endpoints \( [-4, 4] \):
Based on these evaluations, \( M = 392 \) and \( m = -216 \). Consequently, \( M - m = 392 - (-216) = 608 \).
The final result is \(608\).