integrate cos(2x)
Let's integrate: ∫(cos(2x))dx
For the math expression: cos(2x), we know the derivative formula: (sin(a))' = cos(a), so we try differentiating with sin
Let's perform the differentiation: (sin(2x))'
We differentiate using: (sin(f))' = (f)'·cos(f) (where f = 2x)
(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)
sin(2x)2
Indefinite integrals are defined up to an additive constant C, so this yields: sin(2x)2 + C
Result:   sin(2x)2 + C, with C being any constant