calculus · worked example

Solve ∫ sin(x) dx

Method: standard integral. Verified step-by-step solution with our free AI math solver.
Problem

sin(x)dx\int \sin(x) \, dx

Step-by-step solution

  1. Recall: ddx(cosx)=(sinx)=sinx\frac{d}{dx}(-\cos x) = -(-\sin x) = \sin x.

  2. So cosx-\cos x is an antiderivative of sinx\sin x.

  3. Therefore sinxdx=cosx+C\int \sin x \, dx = -\cos x + C.

  4. Be careful with signs — the integral of sin\sin is negative cosine; the integral of cos\cos is positive sine.

Answer

cos(x)+C-\cos(x) + C

Want to solve a different problem? Open the integral solver →

Related worked examples

  • /solve/calculus/integral-of-x2-dx