For homework in my calculus class, I'm trying to show via u substitution that the following definite integral is equal to zero:
$$ \int_{0}^{2} (1-t) \cos(\pi t) \ dt $$
Here are the u substitution parameters I used:
- u = 1 - t
- du = -dt
- t = 1 - u
- When u is 0, t = 1
- When u is 2, t = -1
This is where I got stuck:
$$ -\int_{1}^{-1} u \ cos(\pi(1-u)) \ du $$
I checked the solution in the back of the book, and they had nearly the same intermediate equation (theirs lacks the leading negative sign). However, the next step confused me. I don't understand how they got from their intermediate equation to the following integral:
$$ \int_{1}^{-1} u [\cos(\pi)\cos(u) - \sin(\pi)\sin(u)] \ du $$
I expected this:
$$ \int_{1}^{-1} u [\cos(\pi)\cos(\pi u) + \sin(\pi)\sin(\pi u)] \ du $$
What step(s) am I missing in applying the cosine angle addition formula that allowed the textbook authors to arrive at their version of the integral?
Textbook: OpenStax Calculus Volume 1
Section: 5.5
Exercise: 311, Page 594
Looks like the answer is that the book is incorrect. Thanks to all who responded.