Question
Question: Evaluate \(\int\limits_{-1}^{2}{|{{x}^{3}}-x|dx}\)...
Evaluate −1∫2∣x3−x∣dx
Solution
Hint: Pay attention to breaking the modulus, according to the interval given to us, which is (-1,2), we need to break the interval according to the values of x where the expression inside the modulus changes sign. The interval where it gives a negative value will have the expression integrated only after multiplication with -1 otherwise it will be integrated as it is, on opening the modulus. Thus, first find the values of x where the expression changes sign, and then break the interval, and integrate separately the functions, after breaking the modulus.
This question is a bit different from usual questions of definite integration. First, let’s see what the expression inside the integral will become on opening the modulus.
First case, let’s assume that we open the modulus using a minus sign, or the value that we get on evaluating x3−x is negative. Only in that case, would we multiply x3−x with −1, so that we get a positive value on evaluating the modulus.
Let’s find the limiting case first, or find the boundary, on the left hand side of which the expression x3−x will be negative, and on the right side of which, the expression x3−x will be positive.
To do so, let’s find the value of x at which the expression evaluates to a negative value.
⇒x3−x<0⇒x(x2−1)<0⇒(x−0)(x−1)(x+1)<0⇒x∈(−∞,−1)∪(0,1)
Therefore for every value of x less than −1, or between 0 and 1, x3−x will be negative, and we can open the modulus with a negative sign.
This also automatically means that at all the remaining values of x, the expression x3−x will evaluate to positive, and hence, we can open the modulus with a plus or a positive sign.
Next step, let’s think of the upper and lower limits of the integral.
The lower limit of the integral is -1, and the upper limit is 2.
However, to evaluate the integral we have to take it out of the modulus first.
We know that in the interval (-1,0), the expression x3−x will be positive, in the interval (0,1), the expression x3−x will be negative, and in the interval (1,2), the expression x3−x will be positive.
Thus, we can break the given integral into three different definite integrals, and our answer would be their sum, due to the property that :
a∫cf(x)dx=a∫bf(x)dx+b∫cf(x)dx provided that b lies between a and c.
Thus, breaking the above integral we get :
−1∫2∣x3−x∣dx=−1∫0∣x3−x∣dx+0∫1∣x3−x∣dx+1∫2∣x3−x∣dx
Now, let’s open the modulus for each interval, according to the value we get for the expression x3−x in each interval.
Doing so, we get :
−1∫2∣x3−x∣dx=−1∫0∣x3−x∣dx+0∫1∣x3−x∣dx+1∫2∣x3−x∣dx=−1∫0(x3−x)dx+0∫1−(x3−x)dx+1∫2(x3−x)dx=−1∫0(x3−x)dx+0∫1(x−x3)dx+1∫2(x3−x)dx
Now, integrating the expressions we get :