given
6∫0π ∣sin3x+sin2x+sinx∣dx
sin 3x + sin x = 2sin 2x cos x
So the integrand becomes:
sin 2x(2cos x + 1)
Analysing the sign of modulus by finding zeros
(sin2x=0⇒x=0,2π,π) (2cosx+1=0⇒x=32π)
Split intervals:
- ((0, 2π)): positive
- ((2π, 32π)): negative
- ((32π,π)): positive
So:
∫0π∣f(x)∣dx=∫0π/2f(x)dx−∫π/22π/3f(x)dx+∫2π/3πf(x)dx
Let:
F(x)=−34cos3x−cos2x
Evaluate:
- (∫0π/2 = 37)
- (∫π/22π/3 = -121)
- (∫2π/3π =125)
So total on calculation
∫0π∣f(x)∣dx=37+121+125=617
6 617 = 17
17 is the answer