Compute the integral involving absolute value
\[2 \int\limits\limits_{0}^{3}\left| x^2-\left| x \right| -6\right|dx+\int\limits\limits_{3}^{4}\left| x^2-\left| x \right| -6\right|dx\]
because its an even function right?
i dont know how to deal with the absolute signs..
I'll get you started...drop the |x| in the middle (make it just x)...since \(x\ge0\)
how do u know that ?
look at your limits of integration
ah okay.. hm, then what happens when i drop it?
you get the integrand \[|x^2-x-6|\] find the roots of \[x^2-x-6\]
(x+2)(x-3), then?
that tells you what to do with the absolute value
the roots are -2 and 3 (ignore -2) is \[x^2-x-6\] positive or negative on (0,3)?
negative?
yes..so \[|x^2-x-6|=-(x^2-x-6)\] on (0,3)
oh, so thats how u decide the sign for the absolute value?
\[|x|=\left\{\begin{array}{ll}x & x\ge 0\\ -x& x<0 \\ \end{array}\right.\]
by definition
i see, how about this \[\int\limits_{0}^{4 \pi}\left| sinx \right|dx\]
again..find the zeros of \(\sin(x)\) on \((0,4\pi)\)
find out where the sine is positive and negative on the above interval
hm, sinx on 0 is 0, sinx on 4pi is >0
you can cheat a little with that one though \[\int\limits_{0}^{4 \pi}\left| sinx \right|dx=4\int\limits_{0}^{\pi}|\sin(x)|dx=4\int\limits_{0}^{\pi}\sin(x)dx\]
cheat? how come?
just use the periodic nature of the sine function
i see, okay got it(: thanks! :D
P.S. If in one period it's positive and one period it's negative, break the integral into two :) \[\int_{-1}^1|x|dx=\int_{-1}^0-xdx+\int_0^1xdx\](This is just an example)
Join our real-time social learning platform and learn together with your friends!