Maximize the function $f(x) = (1-x)(1+x)^3.$
I took the first derivative of $f(x)$ and got $(1+x)^2 (2-4x)$
From there I got $2$ critical points of: $-1, \frac{1}{2}$
Then $I$ took the second derivative of $f(x)$ ($-12x^2 -12x$) and plugged in the critical points to get $0$ and $-6$.
I know I am doing it wrong can anybody help. The right answer is $\frac{27}{16}$.
You're on the right track.
Note that, when $x=\dfrac12, \;f(x)=(1-x)(1+x)^3=\dfrac12\dfrac{27}{8}=\dfrac{27}{16}$,
and $f'(x)=(1+x)^2(2-4x)=0$ and $f''(x)=-12x^2-12x<0$, so that's a maximum.