Integrating x^2 sin x: Find Exact Value of Abs(-pi/2 to pi/2)

Join the discussion
Registration is free. Start your own thread to ask a follow-up.
1 reply · 2K views
madhamster
Messages
1
Reaction score
0
The question asks me to integrate x^2 sin x dx and then use it to find the exact value of the integration of abs ( x^2 sin x dx) with upper limit of pi/2 and lower limit of -pi/2.

I have found the integration of x^2 sin x dx which is -x^2 cosx + 2xsinX + 2 cosx + C

but after putting in the upper limits and lower limits i get the answer 2pi, where have i gone wrong because my first part is correct but the second part is different from the answer given.
 
Physics news on Phys.org
For what values of x is x2 sin x positive and for what values of x is it negative? Remember that |a|= a if a is positive and |a|= -a if a is negative. You cannot just evaluate x2 cosx + 2xsinX + 2 cosx + C at -pi/2 and pi/2.