Evaluate $\int_{-1}^{2}\left|x^{3}-x\right| d x$

Vedclass pdf generator app on play store
Vedclass iOS app on app store
(D) We note that $x^{3}-x \geq 0$ on $[-1,0]$,$x^{3}-x \leq 0$ on $[0,1]$,and $x^{3}-x \geq 0$ on $[1,2]$.
Using the property of definite integrals,we split the interval:
$\int_{-1}^{2} |x^{3}-x| dx = \int_{-1}^{0} (x^{3}-x) dx + \int_{0}^{1} -(x^{3}-x) dx + \int_{1}^{2} (x^{3}-x) dx$
$= \int_{-1}^{0} (x^{3}-x) dx + \int_{0}^{1} (x-x^{3}) dx + \int_{1}^{2} (x^{3}-x) dx$
$= \left[ \frac{x^{4}}{4} - \frac{x^{2}}{2} \right]_{-1}^{0} + \left[ \frac{x^{2}}{2} - \frac{x^{4}}{4} \right]_{0}^{1} + \left[ \frac{x^{4}}{4} - \frac{x^{2}}{2} \right]_{1}^{2}$
$= [0 - (\frac{1}{4} - \frac{1}{2})] + [(\frac{1}{2} - \frac{1}{4}) - 0] + [(4 - 2) - (\frac{1}{4} - \frac{1}{2})]$
$= -(-\frac{1}{4}) + (\frac{1}{4}) + (2 - (-\frac{1}{4}))$
$= \frac{1}{4} + \frac{1}{4} + 2 + \frac{1}{4} = \frac{3}{4} + 2 = \frac{11}{4}$

Explore More

Similar Questions

If $\int_0^1 {x \log \left( {1 + \frac{x}{2}} \right)} \,dx = a + b \log \frac{2}{3},$ then

$\int\limits_2^4 {\left[ {{{\log }_x}2 - \frac{{{{\left( {{{\log }_x}2} \right)}^2}}}{{\ln 2}}} \right]} dx =$

The value of $\int_0^{\frac{\pi}{2}}|\sin x-\cos x| d x$ is

Let $0 < \alpha < \beta < 1$. Then $\lim_{n \rightarrow \infty} \sum_{k=1}^{n} \int_{1/(k+\beta)}^{1/(k+\alpha)} \frac{dx}{1+x}$ is

$ \int_{0}^{1} \sqrt{\frac{1+x}{1-x}} \, dx = $

Vedclass Products

For Students

Vedclass Test Series

Mock tests in real JEE/NEET style with performance analysis. 5-day free trial.

Start Free Trial
For Teachers

Exam Paper Generator

Generate Set A/B/C/D exam papers from 7.5L+ questions in 2 minutes. 3 chapters free.

Try Free
For Institutes

Online Exam Module

Live online exams with unlimited students, 360° analytics & white-label branding.

See Demo