Doug C. answered 01/31/21
Math Tutor with Reputation to make difficult concepts understandable
The total distance travelled is different than the change in position from t = 0 to t = 7.
If you find the first derivative of x(t) and set it equal to zero you will find that the velocity of the particle is 0 when t = 5, and that it is travelling in the negative direction from t = 0 to t = 5 and in the positive direction from t = 5 to t = 7.
So, you have to find |x(5) - x(0)| to get the distance travelled in the negative direction.
Then determine |x(7) - x(5)| to get the distance travelled in the positive direction.
Add those two values together to get total distance travelled.
This is the same as:∫07 | v(x)|dx, where you have to break this into two separate integrals to evaluate manually.
Visit:
desmos.com/calculator/fpwmqozifu
to confirm.