Integral of sin(x)·cos(x)

∫sin⁡(x)cos⁡(x) dx\int \sin\left(x\right) \cos\left(x\right)\,dx = −cos⁡2(x)2+C- \frac{\cos^{2}{\left(x \right)}}{2} + C

Answer

Indefinite integral
−cos⁡2(x)2+C- \frac{\cos^{2}{\left(x \right)}}{2} + C

Checked numerically before it is shown

Step-by-step solution

Solve by

Substitution

  1. Substitution

    Substitute u=cos⁡(x)u = \cos{\left(x \right)}, so du=−sin⁡(x) dxdu = - \sin{\left(x \right)}\,dx.

  2. Change the variable

    Rewrite the integral in the new variable:

    ∫sin⁡(x)cos⁡(x) dx=∫−u du\int \sin{\left(x \right)} \cos{\left(x \right)}\,dx = \int - u\,du
  3. Constant multiple rule

    Take the constant factor out of the integral:

    ∫−u du=−∫u du\int - u\,du = -\int u\,du
  4. Power rule

    Power rule for integrals:

    ∫u du=u22\int u\,du = \frac{u^{2}}{2}
  5. Substitute back

    Substitute back u=cos⁡(x)u = \cos{\left(x \right)}.

  6. Constant of integration

    Add the constant of integration:

    ∫sin⁡(x)cos⁡(x) dx=−cos⁡2(x)2+C\int \sin{\left(x \right)} \cos{\left(x \right)}\,dx = - \frac{\cos^{2}{\left(x \right)}}{2} + C

Change the problem in the solver Integral calculator

Related solved examples