Calculus · real student question

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

Question

Evaluate

(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 pulls out constants, so the problem becomes two independent standard forms:

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

  2. Integrate the exponential, dividing by the inner derivative. Because ddxe2x=2e2x\frac{d}{dx}e^{2x}=2e^{2x}, undoing the chain rule means dividing by 22:

    e2xdx=e2x2    4e2xdx=4e2x2=2e2x\int e^{2x}dx=\frac{e^{2x}}{2}\;\Longrightarrow\; 4\int e^{2x}dx=4\cdot\frac{e^{2x}}{2}=2e^{2x}

    Skipping that division is the single most common mistake with ekxe^{kx}.

  3. Integrate the sine, and track the two sign flips. The antiderivative of sin2x\sin 2x is cos2x2-\tfrac{\cos 2x}{2}, and it enters with a minus sign in front:

    sin2xdx=(cos2x2)=+cos2x2-\int\sin 2x\,dx=-\left(-\frac{\cos 2x}{2}\right)=+\frac{\cos 2x}{2}

    Two negatives make the cosine term positive — this is the detail worth pausing on.

  4. Assemble the answer with a single constant.

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

    One CC suffices; the arbitrary constants from the two pieces merge into it.

  5. Differentiate to verify.

    ddx(2e2x+12cos2x+C)=22e2x+12(2sin2x)=4e2xsin2x  \frac{d}{dx}\left(2e^{2x}+\frac{1}{2}\cos 2x+C\right)=2\cdot 2e^{2x}+\frac{1}{2}\left(-2\sin 2x\right)=4e^{2x}-\sin 2x\;\checkmark

    Differentiating the result is always available as a check for an indefinite integral, and it takes seconds compared with the integration itself.

Answer

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

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