Evaluate $\int e^{-3x} \cos^3x\,dx$

3.4k Views Asked by At

Evaluate $\int e^{-3x}\cos^3x\,dx$

My Attempt

\begin{align} & \int e^{-3x} \cos^3x\,dx=\cos^3x \cdot \frac{e^{-3x}}{-3}-\int3\cos^2x\sin x \cdot \frac{e^{-3x}}{-3} \, dx \\ = {} &\frac{-1}{3}\cos^3x \cdot e^{-3x}+\int\cos^2x\sin x \cdot e^{-3x} \, dx\\ = {} & \frac{-1}{3}\cos^3x\cdot e^{-3x}+\cos^3x\cdot e^{-3x} - \int\bigg[-2\cos x\sin x\cdot e^{-3x}-3\cos^2x\cdot e^{-3x}\bigg](-\cos x)\,dx\\ = {} & \frac{-1}{3}\cos^3x\cdot e^{-3x}+\cos^3x\cdot e^{-3x}+2\int \cos^2x\sin x \cdot e^{-3x} \, dx-3\int\cos^3x\cdot e^{-3x}\,dx \end{align}

How do I solve this integral ?

5

There are 5 best solutions below

0
On BEST ANSWER

I have a personal favorite approach to this sort of question that, though inefficient, makes things very straightforward and does not require any innovation with integration by parts or obscure trig identities. The trick is to use the exponential definition of $\cos$ to reduce to an integral of exponential functions, which is easy to deal with. Here this is the first step: $$ \int e^{-3x} cos^3(x) dx = \int e^{-3x} \bigg[\frac{e^{ix} + e^{-ix}}{2} \bigg]^3dx.$$

After this step, the rest is straightforward: expand the cube, distribute, integrate the exponentials and after everything has simplified out use the exponential definitions of $\sin$ and $\cos$ to go back to trig functions.

This approach has the advantage of working the same for almost all integrals of this form and not requiring much memorization, but has the downside of being a bit ugly.

0
On

Hint: try to use the trigonometric identity $$\cos^3(x)= \frac{1}{4}(3\cos(x)+\cos(3x))$$

0
On

Hint: $$\cos(x)\cos(y) = \dfrac{\cos(y + x) + \cos(y - x)}2\tag{1}$$ Now, using $(1)$, $$\begin{align} \int e^{-3x}\cdot\cos^3x\,\mathrm dx &= \int e^{-3x}\cdot\cos x\cdot\cos^2x\,\mathrm dx \\ &= \int e^{-3x}\cdot\cos x\cdot\dfrac{1 + \cos 2x}2\,\mathrm dx \\ &= \dfrac12\int e^{-3x}\cdot\cos x\,\mathrm dx + \dfrac12\int e^{-3x}\cos x\cos 2x\,\mathrm dx\\ &= \dfrac12\int e^{-3x}\cdot\cos x\,\mathrm dx + \dfrac12\int e^{-3x}\cdot\dfrac{\cos3x + \cos x}2\,\mathrm dx \\ &= \dfrac34\int e^{-3x}\cdot\cos x\,\mathrm dx + \dfrac14\int e^{-3x}\cos3x\,\mathrm dx \end{align}$$ From here onward, solve both integrals by parts.

0
On

$$\int e^{-3x}\cos^3x dx=\frac{1}{8}\int e^{-3x}(e^{ix}+e^{-ix})^3dx\\ =\frac{1}{8}\int e^{-3x}(e^{3ix}+3e^{ix}+3e^{-ix}+e^{-3ix})dx\\ =\frac{1}{8}e^{-3x}\left(\frac{e^{3ix}}{-3+3i}+\frac{e^{-3ix}}{-3-3i}+\frac{3e^{ix}}{-3+i}+\frac{3e^{-ix}}{-3-i}\right)\\ =-\frac{1}{8}e^{-3x}\left(\frac{3(e^{3ix}+e^{-3ix})+3i(e^{3ix}-e^{-3ix})}{18}+\frac{9(e^{3ix}+e^{-3ix})+3i(e^{ix}-e^{-ix})}{10}\right)\\ =-\frac{1}{8}e^{-3x}\left(\frac{\cos3x-\sin3x}{3}+\frac{9\cos x-3\sin x}{5}\right).\\ $$

0
On

$$\int e^{-3x}\cos^{3}x dx$$

For this type of integrals use the reduction formula $$\int \exp(\alpha \ x)cos^{n}(\beta\ x)dx=\frac{\beta\ n\ \sin(\beta\ x)+\alpha\ \cos(\beta \ x)}{\alpha^2+\beta^2\ n^2}+\frac{\beta^2\ (n-1)n\ \int\ \exp(\alpha \ x)\cos^{n-2} (\beta\ x)dx}{{\alpha^2+\beta^2\ n^2}}$$ where $\alpha=-3, \beta=1, n=3$

$$=-\frac16 e^{-3x}\cos^{3}(x)+\frac16 e^{-3x}\sin(x)\cos^{2}(x)+\frac13\int e^{-3x}\cos(x)dx$$

Then solve $\int e^{-3x}\cos(x)dx$ using Integration By Parts

Then we get $$\int e^{-3x}\cos(x)dx=-\frac{1}{10}e^{-3x}(3\cos(x)-\sin(x))$$

Finally, $$\int e^{-3x}\cos^{3}x dx=\frac{1}{120}e^{-3x}(9\sin(x)+5\sin(3x)-27\cos(x)-5\cos(3x))+C$$