Evaluate \(\int^2_{-1}\left|x^3-x\right|dx\)
CBSE Class 12 Maths · Integrals
CBSE Class 12 Maths · Integrals
Imagine a road that sometimes goes uphill and sometimes goes downhill. The absolute value sign is like saying we only care about the distance travelled, not the direction. So downhill distance counts just as much as uphill. To find the total, we split the journey at the flat points where the road is level. On each piece, we handle the math correctly based on whether we are going up or down. Adding all the pieces together gives the total distance, which works out to \( \frac{11}{4} \).
Answer: \[ \int_{-1}^{2} |x^3 - x|\,dx = \frac{11}{4} \]
When we integrate an absolute value function like \( |x^3 - x| \), we cannot just integrate directly, because \( |f(x)| \) changes its formula depending on whether \( f(x) \) is positive or negative. The key idea is to first find where the inside expression \( x^3 - x \) is zero, then determine its sign on each sub-interval. On intervals where \( x^3 - x \ge 0 \), we have \( |x^3 - x| = x^3 - x \). On intervals where \( x^3 - x < 0 \), we have \( |x^3 - x| = -(x^3 - x) \). We then split the definite integral at these zeros and integrate each piece with the correct sign, using the additivity property of definite integrals.
\[ \int_a^b f(x)\,dx = \int_a^c f(x)\,dx + \int_c^b f(x)\,dx \] and \[ \int x^n \, dx = \frac{x^{n+1}}{n+1} + C \]
\[ \int_{-1}^{2} |x^3 - x|\,dx = \frac{11}{4} \]
A very common mistake is to integrate \( x^3 - x \) directly over \( [-1, 2] \) without splitting at the zeros \( x = -1, 0, 1 \). Ignoring the absolute value lets the negative part of the function cancel out the positive part, giving a wrong (too small) answer instead of the true total value.
\[ \int_{-1}^{2} |x^3 - x|\,dx = \frac{11}{4} \]
One common mistake: Forgetting to negate \( x^3 - x \) on the interval \( [0, 1] \) where it is negative — students often integrate \( x^3 - x \) directly across the entire interval \( [-1, 2] \) without splitting, which causes cancellation of areas and gives an incorrect result.
Answer: \[ \int_{-1}^{2} |x^3 - x|\,dx = \frac{11}{4} \]
Question: Evaluate \[ \int_{-2}^{3} |x^2 - x - 2| \, dx \]
Solution: Step 1: Factor the expression inside the absolute value. \[ x^2 - x - 2 = (x-2)(x+1) \] So \( x^2 - x - 2 = 0 \) at \( x = -1 \) and \( x = 2 \). Step 2: Determine the sign of \( (x-2)(x+1) \) on each sub-interval within \( [-2, 3] \). On \( (-2, -1) \): both factors negative, so product is positive. On \( (-1, 2) \): \( (x+1) > 0 \) and \( (x-2) < 0 \), so product is negative. On \( (2, 3) \): both factors positive, so product is positive. Step 3: Write the absolute value piecewise. \[ |x^2 - x - 2| = \begin{cases} x^2 - x - 2 & x \in [-2, -1] \\ -(x^2 - x - 2) & x \in [-1, 2] \\ x^2 - x - 2 & x \in [2, 3] \end{cases} \] Step 4: Split the integral. \[ I = \int_{-2}^{-1} (x^2 - x - 2) \, dx + \int_{-1}^{2} -(x^2 - x - 2) \, dx + \int_{2}^{3} (x^2 - x - 2) \, dx \] Step 5: Evaluate the first integral \( I_1 \). \[ I_1 = \left[ \frac{x^3}{3} - \frac{x^2}{2} - 2x \right]_{-2}^{-1} \] At \( x = -1 \): \[ \frac{-1}{3} - \frac{1}{2} + 2 = \frac{-2 - 3 + 12}{6} = \frac{7}{6} \] At \( x = -2 \): \[ \frac{-8}{3} - \frac{4}{2} + 4 = \frac{-8}{3} - 2 + 4 = \frac{-8}{3} + 2 = \frac{-2}{3} \] So \( I_1 = \frac{7}{6} - \left(\frac{-2}{3}\right) = \frac{7}{6} + \frac{4}{6} = \frac{11}{6} \). Step 6: Evaluate the second integral \( I_2 \). \[ I_2 = \int_{-1}^{2} (-x^2 + x + 2) \, dx = \left[ -\frac{x^3}{3} + \frac{x^2}{2} + 2x \right]_{-1}^{2} \] At \( x = 2 \): \[ -\frac{8}{3} + 2 + 4 = -\frac{8}{3} + 6 = \frac{10}{3} \] At \( x = -1 \): \[ \frac{1}{3} + \frac{1}{2} - 2 = \frac{2 + 3 - 12}{6} = \frac{-7}{6} \] So \( I_2 = \frac{10}{3} - \frac{-7}{6} = \frac{20}{6} + \frac{7}{6} = \frac{27}{6} = \frac{9}{2} \). Step 7: Evaluate the third integral \( I_3 \). \[ I_3 = \left[ \frac{x^3}{3} - \frac{x^2}{2} - 2x \right]_{2}^{3} \] At \( x = 3 \): \[ 9 - \frac{9}{2} - 6 = 3 - \frac{9}{2} = \frac{-3}{2} \] At \( x = 2 \): \[ \frac{8}{3} - 2 - 4 = \frac{8}{3} - 6 = \frac{-10}{3} \] So \( I_3 = \frac{-3}{2} - \frac{-10}{3} = \frac{-9}{6} + \frac{20}{6} = \frac{11}{6} \). Step 8: Add all parts. \[ I = \frac{11}{6} + \frac{9}{2} + \frac{11}{6} = \frac{11}{6} + \frac{27}{6} + \frac{11}{6} = \frac{49}{6} \]
Answer: \( \dfrac{49}{6} \)
Question: Evaluate \[ \int_{0}^{3} |x^2 - 4x + 3| \, dx \]
Solution: Step 1: Factor the expression inside the absolute value. \[ x^2 - 4x + 3 = (x-1)(x-3) \] So \( x^2 - 4x + 3 = 0 \) at \( x = 1 \) and \( x = 3 \). Step 2: Determine the sign of \( (x-1)(x-3) \) on each sub-interval within \( [0, 3] \). On \( (0, 1) \): \( (x-1) < 0 \) and \( (x-3) < 0 \), product is positive. On \( (1, 3) \): \( (x-1) > 0 \) and \( (x-3) < 0 \), product is negative. Step 3: Write the absolute value piecewise. \[ |x^2 - 4x + 3| = \begin{cases} x^2 - 4x + 3 & x \in [0, 1] \\ -(x^2 - 4x + 3) & x \in [1, 3] \end{cases} \] Step 4: Split the integral. \[ I = \int_{0}^{1} (x^2 - 4x + 3) \, dx + \int_{1}^{3} -(x^2 - 4x + 3) \, dx \] Step 5: Evaluate the first integral \( I_1 \). \[ I_1 = \left[ \frac{x^3}{3} - 2x^2 + 3x \right]_{0}^{1} \] At \( x = 1 \): \[ \frac{1}{3} - 2 + 3 = \frac{1}{3} + 1 = \frac{4}{3} \] At \( x = 0 \): \( 0 \). So \( I_1 = \frac{4}{3} \). Step 6: Evaluate the second integral \( I_2 \). \[ I_2 = \int_{1}^{3} (-x^2 + 4x - 3) \, dx = \left[ -\frac{x^3}{3} + 2x^2 - 3x \right]_{1}^{3} \] At \( x = 3 \): \[ -9 + 18 - 9 = 0 \] At \( x = 1 \): \[ -\frac{1}{3} + 2 - 3 = -\frac{1}{3} - 1 = -\frac{4}{3} \] So \( I_2 = 0 - \left(-\frac{4}{3}\right) = \frac{4}{3} \). Step 7: Add all parts. \[ I = I_1 + I_2 = \frac{4}{3} + \frac{4}{3} = \frac{8}{3} \]
Answer: \( \dfrac{8}{3} \)
Question: Evaluate \( \int_{-1}^{3} |x^3 - 4x| \, dx \).
Answer: \[ \int_{-1}^{3} |x^3 - 4x| \, dx = 12 \]