To solve this problem, we must find the intervals on which the particle is moving to the left and to the right. Since t^2 - 2t + 9 = (t - 1)^2 + 8, the particle is moving to the left for t < 1 and to the right for t > 1. Therefore, the total distance the particle moves is (x(-3) - x(1)) + (x(4) - x(1)) = 24 - 8 + 17 - 8 = 25.
We could also find the intervals on which the particle is moving left and right by finding the derivative of x(t), which is 2t - 2. This is clearly negative for t < 1 and positive for t > 1, but my method above uses no calculus.

Michael D.
08/15/23