integral of-2sin^2(x)
Let's integrate: ∫(-2·sin(x)2)dx
We reduce the square using the identity sin(x)2 = 1 -cos(2x)2
-∫(1 -cos(2x))dx
For the math expression: -cos(2x), we know the derivative formula: ddx(sin(a)) = cos(a), so we try differentiating with sin
Let's perform the differentiation: ddx(sin(2x))
Apply the differentiation rule: ddx(sin(f)) = ddx(f)·cos(f) with f = 2x
ddx(2x)·cos(2x)
2·cos(2x)
You observe that the computed derivative and the original math expression are the same, except for a coefficient. So the integral is:
-(-12·sin(2x) + ∫(1)dx)
12·sin(2x) -∫(1)dx
ℹ12·sin(2x) = sin(2x)2‖-∫(1)dx = -x
sin(2x)2 -x
▶Indefinite integrals are defined up to an additive constant C, so this yields: sin(2x)2 -x + C