Problem 172
Evaluate the integral: I = integral e^axcos²x dx
Evaluate the integral: $$ I = \int e^{ax}\cos^2x\,dx. $$
Explanation of Method
The power-reduction identity $\cos^2x=\tfrac{1+\cos2x}{2}$ splits the integral into a plain exponential term and an $e^{ax}\cos2x$ term, again resolved by Problem 170's general formula with $b=2$.
- Rewrite $\cos^2x$ using the power-reduction identity.
- Split the integral into two pieces.
- Apply the $\int e^{ax}\cos bx\,dx$ formula (Problem 170) with $b=2$.
- Combine the results.
Step 1 · Apply the power-reduction identity
Using $\cos^2x=\dfrac{1+\cos2x}{2}$:
$$ I = \frac12\int e^{ax}\,dx + \frac12\int e^{ax}\cos2x\,dx. $$
Step 2 · Evaluate the first piece
$$ \int e^{ax}\,dx = \frac{1}{a}e^{ax}. $$
Step 3 · Evaluate the second piece
From Problem 170's general formula, with $b=2$:
$$ \int e^{ax}\cos2x\,dx = \frac{1}{a^2+4}\left(ae^{ax}\cos2x + 2e^{ax}\sin2x\right). $$
Step 4 · Combine
$$ I = \frac{1}{2a}e^{ax} + \frac{1}{2(a^2+4)}\left(ae^{ax}\cos2x + 2e^{ax}\sin2x\right) + C. $$
Summary Table
| Piece | Value |
|---|---|
| $\tfrac12\int e^{ax}dx$ | $\tfrac{1}{2a}e^{ax}$ |
| $\tfrac12\int e^{ax}\cos2x\,dx$ | $\tfrac{1}{2(a^2+4)}(ae^{ax}\cos2x+2e^{ax}\sin2x)$ |
Additional Notes
- The integrand is defined for all real $x$ (assuming $a\neq0$).
- This is the mirror image of Problem 171, with only the sign in front of the $e^{ax}\cos2x$ piece flipped (plus here, minus there) — a direct consequence of the plus/minus sign difference between $\cos^2x$ and $\sin^2x$'s power-reduction identities.
- The result can be checked by differentiating the final expression and confirming, via the identity $1+\cos2x=2\cos^2x$, that it returns $e^{ax}\cos^2x$.
Result
The solution to the integral is:
$$
I = \frac{1}{2a}e^{ax} + \frac{ae^{ax}\cos2x + 2e^{ax}\sin2x}{2(a^2+4)} + C.
$$