# Integral of sin x cos x

In this paper, we will discuss how to do the following indefinite integral problem, ∫ sin (x) cos (x) dx

Judging from the integrity of sin (x) cos (x), we use the substitution method. Since the derivative of sin (x) is cos (x), then we can assume u = sin (x):

If u = sin (x) then du = cos (x) dx so we get:

∫ sin (x) cos (x) dx
= ∫ u du
= ½ u² + C
= ½ sin² (x) + C

We can also assume u = cos (x) since the derivatives of cos (x) are -sin (x):

If u = cos (x) then du = -sin (x) dx, so we get:

∫ sin (x) cos (x) dx

= ∫ -u du
= -½ u² + C
= -½ cos² (x) + C

In addition to substitution, we can also use the double-angle formula in trigonometry, that is, by using sin (2x) = 2sin (x) cos (x), so we get:

∫ sin (x) cos (x) dx
= ∫ ½ sin (2x) dx
= ½∫ sin (2x) dx
= -¼ cos (2x) + C.

In conclusion, ∫ sin (x) cos (x) dx has 3 ways of completion. The answer of these three ways is the equivalent form. Hopefully writing how to do the Integral problem of sin x cos x dx useful for the reader.