Find ∫sin⁡3xcos⁡x dx\displaystyle \int \sin 3x \cos x\, dx. Find ∫e2xcos⁡3x dx\displaystyle \int e^{2x} \cos 3x\, dx.

Work through it with AI →

It won't just hand you the answer — it asks where you're stuck.How the checker works

Worked solution

5(a)

1. Express the product of sine and cosine as a sum using the factor formula.

sin⁡3xcos⁡x=12[sin⁡(3x+x)+sin⁡(3x−x)]\sin 3x \cos x = \frac{1}{2}[\sin(3x + x) + \sin(3x - x)]
=12(sin⁡4x+sin⁡2x)= \frac{1}{2}(\sin 4x + \sin 2x)

2. Integrate the resulting terms using standard integration rules.

∫12(sin⁡4x+sin⁡2x) dx=12(−14cos⁡4x−12cos⁡2x)+C\int \frac{1}{2}(\sin 4x + \sin 2x) \, dx = \frac{1}{2} \left( -\frac{1}{4}\cos 4x - \frac{1}{2}\cos 2x \right) + C
=−18cos⁡4x−14cos⁡2x+C= -\frac{1}{8}\cos 4x - \frac{1}{4}\cos 2x + C

Answer

−18cos⁡4x−14cos⁡2x+C-\frac{1}{8}\cos 4x - \frac{1}{4}\cos 2x + C

5(b)

1. Apply integration by parts to the original integral by choosing $u = e^{2x}$ and $\frac{dv}{dx} = \cos 3x$.

Let I=∫e2xcos⁡3x dxI = \displaystyle \int e^{2x} \cos 3x \, dx.

Using the integration by parts formula ∫udvdx dx=uv−∫vdudx dx\int u \frac{dv}{dx} \, dx = uv - \int v \frac{du}{dx} \, dx:
Let u=e2x  ⟹  dudx=2e2xu = e^{2x} \implies \frac{du}{dx} = 2e^{2x}
Let dvdx=cos⁡3x  ⟹  v=13sin⁡3x\frac{dv}{dx} = \cos 3x \implies v = \frac{1}{3}\sin 3x

I=13e2xsin⁡3x−∫23e2xsin⁡3x dxI = \frac{1}{3}e^{2x}\sin 3x - \int \frac{2}{3}e^{2x}\sin 3x \, dx

2. Apply integration by parts a second time to the new integral $\int e^{2x}\sin 3x \, dx$.

For ∫e2xsin⁡3x dx\int e^{2x}\sin 3x \, dx:
Let u=e2x  ⟹  dudx=2e2xu = e^{2x} \implies \frac{du}{dx} = 2e^{2x}
Let dvdx=sin⁡3x  ⟹  v=−13cos⁡3x\frac{dv}{dx} = \sin 3x \implies v = -\frac{1}{3}\cos 3x

∫e2xsin⁡3x dx=−13e2xcos⁡3x−∫(−13cos⁡3x)(2e2x) dx\int e^{2x}\sin 3x \, dx = -\frac{1}{3}e^{2x}\cos 3x - \int \left(-\frac{1}{3}\cos 3x\right)(2e^{2x}) \, dx
=−13e2xcos⁡3x+23∫e2xcos⁡3x dx= -\frac{1}{3}e^{2x}\cos 3x + \frac{2}{3} \int e^{2x}\cos 3x \, dx
=−13e2xcos⁡3x+23I= -\frac{1}{3}e^{2x}\cos 3x + \frac{2}{3} I

3. Substitute the result back into the original expression to form an algebraic equation in terms of $I$.

Substitute this back into the initial expansion for II:
I=13e2xsin⁡3x−23(−13e2xcos⁡3x+23I)I = \frac{1}{3}e^{2x}\sin 3x - \frac{2}{3} \left( -\frac{1}{3}e^{2x}\cos 3x + \frac{2}{3} I \right)
I=13e2xsin⁡3x+29e2xcos⁡3x−49II = \frac{1}{3}e^{2x}\sin 3x + \frac{2}{9}e^{2x}\cos 3x - \frac{4}{9}I

4. Rearrange to solve for $I$ and include the arbitrary constant of integration $C$.

I+49I=13e2xsin⁡3x+29e2xcos⁡3xI + \frac{4}{9}I = \frac{1}{3}e^{2x}\sin 3x + \frac{2}{9}e^{2x}\cos 3x
139I=13e2xsin⁡3x+29e2xcos⁡3x\frac{13}{9}I = \frac{1}{3}e^{2x}\sin 3x + \frac{2}{9}e^{2x}\cos 3x
I=913(13e2xsin⁡3x+29e2xcos⁡3x)+CI = \frac{9}{13} \left( \frac{1}{3}e^{2x}\sin 3x + \frac{2}{9}e^{2x}\cos 3x \right) + C
I=313e2xsin⁡3x+213e2xcos⁡3x+CI = \frac{3}{13}e^{2x}\sin 3x + \frac{2}{13}e^{2x}\cos 3x + C

Answer

e2x13(3sin⁡3x+2cos⁡3x)+C\displaystyle \frac{e^{2x}}{13} (3\sin 3x + 2\cos 3x) + C or 313e2xsin⁡3x+213e2xcos⁡3x+C\displaystyle \frac{3}{13}e^{2x}\sin 3x + \frac{2}{13}e^{2x}\cos 3x + C

AI analysis — may contain mistakes.

Worked this one out on paper? Snap your steps and Gigle's AI math checker will circle the step where it went wrong.

More questions on this topic

  1. 1Differentiate ex2+2x\mathrm{e}^{x^2+2x} with respect to xx and hence find the exact value of ∫01(x+1)ex2+2x  dx\int_{0}^{1} (x+1)\mathrm{e}^{x^2+2x} \; \mathrm{d}x…
  2. 25 (a) Solve the following integral. ∫1−2x3+2x−x2 dx.\displaystyle\int \frac{1-2x}{\sqrt{3+2x-x^2}}\,\mathrm{d}x. ∫xln⁡(2−x2) dx\displaystyle\int x\ln\left(2-x^2\right)\,\mathrm{d}x…
  3. 3[Cambridge/9709/2010] The diagram shows parts of the curves y=9−x3y = 9 - x^3 and y=8x3y = \frac{8}{x^3} and their points o…
  4. 4Show that cos⁡3θ=4cos⁡3θ−3cos⁡θ\cos 3\theta = 4\cos^{3}\theta - 3\cos\theta. Hence, or otherwise, evaluate ∫0π/6sin⁡2θ cos⁡3θ dθ\displaystyle \int_{0}^{\pi/6} \sin 2\theta\,\cos 3\theta\, d\theta…
  5. 5Find ∫3ex5−0.3ex dx\displaystyle \int \frac{3e^x}{5 - 0.3e^x} \, dx ∫cos⁡(ln⁡x) dx\displaystyle \int \cos(\ln x) \, dx, where x>0x > 0 the exact…