Evaluate the integral of (e^2x)*sin^3 x dx

I let u = e^2x, du = (1/2)e^2x dx
v= (-1/3)cos^3 x , dv =sin^3 x dx

When I used integration by parts and solved it all out I got:

(37/36)intgral of (e^2x)*sin^3 x dx =
(-1/3)(e^2x)*cos^3 x + (1/18)(e^2x)*sin^3 x

However, the answer provided in the book is (1/13)e^2x (2sin^3 x - 3cos^3 x)

So, I don't what know what I did wrong and got a weird answer?

Let

u = sin^3(x)
du = 3 sin^2(x) cos(x) dx
dv = e^(2x)
v = 1/2 e^(2x)

∫u dv = uv - ∫v du
= 1/2 e^(2x) sin^3(x) - 3/2 ∫e^(2x) sin^2(x) cosx dx
= 1/2 e^(2x) sin^3(x) - 3/2 ∫e^(2x)cosx dx - 3/2 ∫e^(2x) cos^3(x) dx

Pull the same trick again, and you will have 3/4 of the original integral on the right hand side, and you can eliminate it.

check all my fractions, and I assume you can integrate e^(2x) cosx dx using integration by parts.

To evaluate the integral ∫(e^2x)sin^3(x)dx, you attempted to use the method of integration by parts. However, it seems that there might have been some mistakes in your calculations. Let's go through the correct process step by step.

Start by assigning u and dv:
u = e^2x
dv = sin^3(x)dx

Differentiate u to get du:
du/dx = 2e^2x dx
=> du = 2e^2x dx

Integrate dv to get v:
To integrate sin^3(x)dx, we can rewrite it as sin^2(x) * sin(x)dx.
By applying a trigonometric identity, sin^2(x) = 1 - cos^2(x).

∫sin^2(x) * sin(x)dx = ∫(1-cos^2(x)) * sin(x)dx
= ∫(sin(x) - sin(x) * cos^2(x)) dx

Now, let's integrate each term separately:
∫sin(x) dx = -cos(x) + C1 (integration constant)

For the second term, use the substitution u = cos(x), where du = -sin(x)dx:
∫-sin(x) * cos^2(x) dx = -∫u^2 du
= -u^3/3 + C2
= -cos^3(x)/3 + C2

Combining the results, we have:
v = -cos(x) - cos^3(x)/3 + C2

Now we can apply the integration by parts formula:
∫(e^2x)sin^3(x)dx = u * v - ∫v * du

Substituting the values:
∫(e^2x)sin^3(x)dx = (e^2x)(-cos(x) - cos^3(x)/3) - ∫(-cos(x) - cos^3(x)/3) * (2e^2x)dx

Simplifying the expression:
∫(e^2x)sin^3(x)dx = -e^2x cos(x) - e^2x cos^3(x)/3 + 2∫e^2x cos(x)dx + 2/3∫e^2x cos^3(x)dx

Integrating the last two terms can be achieved using integration by parts again.

For the third term in the expression, assign u = e^2x and dv = cos(x)dx:
du = 2e^2x dx
v = sin(x)

Using the integration by parts formula, we have:
∫e^2x cos(x)dx = (e^2x)(sin(x)) - ∫(sin(x)) * (2e^2x)dx
= e^2x sin(x) - 2∫e^2x sin(x)dx

For the fourth term in the expression, assign u = e^2x and dv = cos^3(x)dx:
du = 2e^2x dx
v = (sin(x))^2 dx = (1 - cos^2(x))sin(x) dx = sin(x) - sin(x)cos^2(x)

Again, using integration by parts:
∫e^2x cos^3(x)dx = (e^2x)((sin(x) - sin(x)cos^2(x))) - ∫((sin(x) - sin(x)cos^2(x))) * (2e^2x)dx
= (e^2x)(sin(x) - sin(x)cos^2(x)) - 2∫e^2x sin(x)dx + 2∫e^2x sin(x)cos^2(x)dx

Putting everything together, we obtain:
∫(e^2x)sin^3(x)dx = -e^2x cos(x) - e^2x cos^3(x)/3 + 2(e^2x sin(x) - 2∫e^2x sin(x)dx) + 2/3[(e^2x)(sin(x) - sin(x)cos^2(x)) - 2∫e^2x sin(x)dx + 2∫e^2x sin(x)cos^2(x)dx]

The integrals of e^2x sin(x)dx and e^2x sin(x)cos^2(x)dx can be evaluated using the substitution method or integration by parts, if necessary.

Solving this integral step by step can be quite lengthy, so using an integration software or calculator could be a more efficient option to obtain the final result.