calculus · worked example

Solve ∫ cos(x) dx

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

cos(x)dx\int \cos(x) \, dx

Step-by-step solution

  1. Recall: ddxsinx=cosx\frac{d}{dx}\sin x = \cos x.

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

  3. Therefore cosxdx=sinx+C\int \cos x \, dx = \sin x + C.

  4. Note: integral of cos\cos is +sin+\sin (positive); contrast with integral of sin\sin, which is cos-\cos (negative).

Answer

sin(x)+C\sin(x) + C

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

Related worked examples

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