Calculus · real student question

Find the integral of 4e^(2x) - sin(2x) with respect to x.

Question

Find

(4e2xsin2x)dx\int\left(4e^{2x}-\sin 2x\right)dx

Step-by-step solution

  1. Split the integral by linearity. Integration distributes over sums and differences and lets constants come out front:

    (4e2xsin2x)dx=4e2xdxsin2xdx\int\left(4e^{2x}-\sin 2x\right)dx=4\int e^{2x}\,dx-\int\sin 2x\,dx

    Each piece is now a standard form with a linear inner function 2x2x.

  2. Remember the reversed chain rule for a linear inside. Differentiating e2xe^{2x} produces an extra factor 22, so integrating must divide by it:

    eaxdx=1aeax+C,sinaxdx=1acosax+C\int e^{ax}dx=\frac{1}{a}e^{ax}+C,\qquad \int\sin ax\,dx=-\frac{1}{a}\cos ax+C

    This division is the step most often forgotten, and it changes the answer by a factor of two here.

  3. Integrate the exponential term.

    4e2xdx=412e2x=2e2x4\int e^{2x}dx=4\cdot\frac12 e^{2x}=2e^{2x}

  4. Integrate the sine term, tracking two minus signs. The rule contributes one minus and the original expression another:

    sin2xdx=(12cos2x)=+12cos2x-\int\sin 2x\,dx=-\left(-\frac12\cos 2x\right)=+\frac12\cos 2x

    The result is +12cos2x+\tfrac12\cos 2x, not 12cos2x-\tfrac12\cos 2x.

  5. Combine and add the constant of integration.

    (4e2xsin2x)dx=2e2x+12cos2x+C\int\left(4e^{2x}-\sin 2x\right)dx=2e^{2x}+\frac12\cos 2x+C

  6. Check by differentiating back. ddx(2e2x)=4e2x\frac{d}{dx}\left(2e^{2x}\right)=4e^{2x} and ddx(12cos2x)=sin2x\frac{d}{dx}\left(\tfrac12\cos 2x\right)=-\sin 2x, which reproduces the integrand exactly. Numerically at x=0.6x=0.6 the derivative of the answer is 12.3484312.34843 and the integrand is 12.3484312.34843 ✓.

Answer

2e2x+12cos2x+C2e^{2x}+\frac{1}{2}\cos 2x+C

Need to solve a different problem like this? Open the solver →