Integration by substitution · Exercise-U-SUBSTITUTION-002

Step-by-step solved exercise: Integrals

Compute \(\displaystyle\int 2 x \cos {x^{2}}\,dx\).

Step by step with comments, a check and common mistakes.

Step-by-step solution

  1. Choose the substitution equal to the inner part of the cosine.

    \[\displaystyle u=x^{2}\]
  2. Compute the differential of u.

    \[\displaystyle du=2x\,dx\]
  3. Rewrite the integral in terms of u; the factor 2x is replaced by du.

    \[\displaystyle \int \cos u\,du\]
  4. Integrate the basic cosine form.

    \[\displaystyle \int \cos u\,du=\sin u+C\]
  5. Return to the variable x.

    \[\displaystyle \sin x^{2}+C\]

    Comment: Check: differentiating \(\displaystyle \sin x^{2}\) gives \(\displaystyle 2x\cos x^{2}\).

Answer

\(\displaystyle \sin {x^{2}} + C\)

🎯 Build my path to this exercise