integral of 2cos^2(x)
1) Let's compute the integral: ∫2·cos(x)2dx
We reduce the square using the identity cos(x)2 = 1 + cos(2x)2
ⅰ ∫2·cos(x)2dx = ∫(1 + cos(2x))dx
∫(1 + cos(2x))dx
For the math expression: cos(2x), since (sin(a))' = a'*cos(a), we try differentiating sin(2x)
2) Let's differentiate: ddx(sin(2x))
We differentiate using: ddx(sin(f)) = ddx(f)·cos(f) (where f = 2x)
ⓘ The derivative of sin(x) is cos(x): ddx(sin(2x)) = ddx(2x)·cos(2x)
ddx(2x)·cos(2x)
ⓘ A constant factor stays in front of the derivative, (k*u)' = k*u': ddx(2x) = 2
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:
ⅰ ∫(1 + cos(2x))dx = 12·sin(2x) + ∫1dx
12·sin(2x) + ∫1dx
ⓘ Multiplying a fraction by a term multiplies its numerator: 12·sin(2x) = 1·sin(2x)2 = sin(2x)2■The derivative of x is 1, so x is an antiderivative of 1: ∫1dx = x
sin(2x)2 + x
▶Indefinite integrals are defined up to an additive constant C, so this yields: x + sin(2x)2 + C