We read your photo as:

Integral0^inf e2x cos(x) dx

Mathematics

ScanSolve AI Answer

Answer

e2x13(2cos⁡(3x)+3sin⁡(3x))+C\frac{e^{2x}}{13}(2\cos(3x) + 3\sin(3x)) + C

Step-by-step solution

4 steps

To solve the integral ∫e2xcos⁡(3x) dx\int e^{2x} \cos(3x) \, dx, we will use integration by parts twice. The formula for integration by parts is ∫u dv=uv−∫v du\int u \, dv = uv - \int v \, du.

  1. Apply integration by parts for the first time.

    Let I=∫e2xcos⁡(3x) dxI = \int e^{2x} \cos(3x) \, dx.
    Choose u=cos⁡(3x)u = \cos(3x) and dv=e2x dxdv = e^{2x} \, dx.
    Then, we find dudu and vv:
    du=−3sin⁡(3x) dxdu = -3\sin(3x) \, dx
    v=∫e2x dx=12e2xv = \int e^{2x} \, dx = \frac{1}{2}e^{2x}

    Substitute these into the integration by parts formula:

    I=cos⁡(3x)(12e2x)−∫(12e2x)(−3sin⁡(3x)) dxI = \cos(3x) \left(\frac{1}{2}e^{2x}\right) - \int \left(\frac{1}{2}e^{2x}\right) (-3\sin(3x)) \, dx I=12e2xcos⁡(3x)+32∫e2xsin⁡(3x) dxI = \frac{1}{2}e^{2x}\cos(3x) + \frac{3}{2}\int e^{2x}\sin(3x) \, dx
  2. Apply integration by parts again to the new integral ∫e2xsin⁡(3x) dx\int e^{2x}\sin(3x) \, dx.

    Let J=∫e2xsin⁡(3x) dxJ = \int e^{2x}\sin(3x) \, dx.
    Choose u=sin⁡(3x)u = \sin(3x) and dv=e2x dxdv = e^{2x} \, dx.
    Then, we find dudu and vv:
    du=3cos⁡(3x) dxdu = 3\cos(3x) \, dx
    v=∫e2x dx=12e2xv = \int e^{2x} \, dx = \frac{1}{2}e^{2x}

    Substitute these into the integration by parts formula:

    J=sin⁡(3x)(12e2x)−∫(12e2x)(3cos⁡(3x)) dxJ = \sin(3x) \left(\frac{1}{2}e^{2x}\right) - \int \left(\frac{1}{2}e^{2x}\right) (3\cos(3x)) \, dx J=12e2xsin⁡(3x)−32∫e2xcos⁡(3x) dxJ = \frac{1}{2}e^{2x}\sin(3x) - \frac{3}{2}\int e^{2x}\cos(3x) \, dx

    Notice that the integral on the right side is the original integral II. So, we can write:

    J=12e2xsin⁡(3x)−32IJ = \frac{1}{2}e^{2x}\sin(3x) - \frac{3}{2}I
  3. Substitute the expression for JJ back into the equation for II.

    I=12e2xcos⁡(3x)+32(12e2xsin⁡(3x)−32I)I = \frac{1}{2}e^{2x}\cos(3x) + \frac{3}{2}\left(\frac{1}{2}e^{2x}\sin(3x) - \frac{3}{2}I\right)

    Distribute the 32\frac{3}{2}:

    I=12e2xcos⁡(3x)+34e2xsin⁡(3x)−94II = \frac{1}{2}e^{2x}\cos(3x) + \frac{3}{4}e^{2x}\sin(3x) - \frac{9}{4}I
  4. Solve for II.

    Add 94I\frac{9}{4}I to both sides of the equation:

    I+94I=12e2xcos⁡(3x)+34e2xsin⁡(3x)I + \frac{9}{4}I = \frac{1}{2}e^{2x}\cos(3x) + \frac{3}{4}e^{2x}\sin(3x)

    Combine the terms with II:

    44I+94I=134I\frac{4}{4}I + \frac{9}{4}I = \frac{13}{4}I

    So,

    134I=12e2xcos⁡(3x)+34e2xsin⁡(3x)\frac{13}{4}I = \frac{1}{2}e^{2x}\cos(3x) + \frac{3}{4}e^{2x}\sin(3x)

    Multiply both sides by 413\frac{4}{13} to isolate II:

    I=413(12e2xcos⁡(3x)+34e2xsin⁡(3x))I = \frac{4}{13}\left(\frac{1}{2}e^{2x}\cos(3x) + \frac{3}{4}e^{2x}\sin(3x)\right) I=413⋅12e2xcos⁡(3x)+413⋅34e2xsin⁡(3x)I = \frac{4}{13} \cdot \frac{1}{2}e^{2x}\cos(3x) + \frac{4}{13} \cdot \frac{3}{4}e^{2x}\sin(3x) I=213e2xcos⁡(3x)+313e2xsin⁡(3x)I = \frac{2}{13}e^{2x}\cos(3x) + \frac{3}{13}e^{2x}\sin(3x)

    Finally, add the constant of integration CC:

    I=e2x13(2cos⁡(3x)+3sin⁡(3x))+CI = \frac{e^{2x}}{13}(2\cos(3x) + 3\sin(3x)) + C

    The final answer is e2x13(2cos⁡(3x)+3sin⁡(3x))+C\frac{e^{2x}}{13}(2\cos(3x) + 3\sin(3x)) + C.

Was this helpful?

Try one yourself

A new problem that tests the same skill.

Still stuck on this one?

Ask a follow-up, and the answer starts from this question.

Got a different question?Ask your own question