$f$ is defined piecewise like so: \begin{cases} 0 & t < 4 \\ t^2 -8t + 23 & t \geq 4 \\ \end{cases}
So using the stepwise function notation, $u_4(t) = u(t-4)$ (as in, the stepwise function shifted to the right by $4$), I find that $f = u_4(t) \cdot (t^2 -8t + 23) $
Now I want to use the formula for Laplace transforms of functions multiplied by stepwise functions:
$$\mathcal{L} (u_a(t) \cdot f(t)) = e^{-as} \mathcal L (f(t+a))$$
First I find $\mathcal L(f(t+a)):$
$\mathcal L f(t+5)=\mathcal L ((t+5)^2-8(t+5)+23) = \mathcal L(t^2+2t-8) = \frac2{s^3} + \frac2{s^2} - \frac8s$
So the final answer should be $e^{-4s} ( \frac2{s^3} + \frac2{s^2} - \frac8s)$...but apparently this is wrong. Can anyone see why?
Another way to do, only with the formal definition of the Laplace transform. Then
$\mathcal{L}\lbrace f\rbrace=\displaystyle\int_{0}^{4} 0dt+\int_{4}^{\infty}e^{-st}(t^{2}-8t+23)dt$.