integral from 0 to pi/4 of 4sin^2(x)
1) Let's compute the integral: ∫0π44·sin(x)2dx
We reduce the square using the identity sin(x)2 = 1 -cos(2x)2
ⅰ ∫4·sin(x)2dx = ∫(2 -2·cos(2x))dx
∫(2 -2·cos(2x))dx
For the math expression: -2·cos(2x), since (sin(a))' = a'*cos(a), we try differentiating sin(2x)
2) Let's perform the differentiation: 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)
The computed derivative matches the original math expression up to a constant factor. Therefore, the integral is:
ⅰ ∫(2 -2·cos(2x))dx = -sin(2x) + ∫2dx
-sin(2x) + ∫2dx
ⓘ The derivative of 2x is 2, so 2x is an antiderivative of 2: ∫2dx = 2x
▷ -sin(2x) + 2x
3) Let's evaluate for the interval [0, π4]: (2·π4 -sin(2·π4)) -(2·0 -sin(2·0))
ⓘ Multiplying a fraction by a number multiplies its numerator: 2·π4 = 2π4■A fraction is simplified by dividing the numerator and the denominator by the same number: 2π4 = π2■A minus sign before a parenthesis changes the sign of each of its terms: -(2·0 -sin(2·0)) = -2·0 + sin(2·0)
π2 -sin(π2) -2·0 + sin(2·0)
ⓘ The sine is the y-coordinate (vertical axis) of the point reached on the unit circle after a rotation of π2 radians from the horizontal axis pointing to the right, this is a remarkable value: -sin(π2) = -1■A product with a zero factor is zero: -2·0 = 0, 2·0 = 0
π2 -1 + 0 + sin(0)
ⓘ Adding 0 changes nothing: 0 + sin(0) = sin(0)■The sine is the y-coordinate (vertical axis) of the point reached on the unit circle after a rotation of 0 radians from the horizontal axis pointing to the right, this is a remarkable value: sin(0) = 0
π2 -1 + 0
ⓘ Adding 0 changes nothing: -1 + 0 = -1
▶Integral:   π2 -1
4) The numeric value of: π2 -1 is:
≈ 3.14162 -1
≈ 1.5708 -1
▷ ≈ 0.5708