SOLVER7 Study. Nothing Else.
2023 Board Paper Q30(a)

Evaluate \(\int^1_{-1}|x^4 – x|dx.\)

CBSE Class 12 Maths · Integrals

Solution

👶 Simple Explanation

Simple Explanation

Imagine you are measuring distance walked — it does not matter if you go left or right, the distance is always positive. The absolute value sign works the same way. Sometimes the expression inside is positive, sometimes negative, depending on where you are on the number line. We find the special points where it switches sign, then split the problem into friendly pieces. Each piece is added up carefully to get the total area, which turns out to be exactly 1.

Answer: \[ \int_{-1}^{1} |x^4 - x|\, dx = 1. \]

📖 Definite Integral of an Absolute Value Function

Detailed Explanation

When an integrand contains an absolute value like \( |x^4 - x| \), we cannot integrate it directly, because the modulus behaves differently depending on whether the inside expression is positive or negative. The key idea is to find where the expression inside the modulus is zero and where it changes sign. We then break the interval of integration at those points. On each sub-interval we replace \( |x^4 - x| \) with either \( (x^4 - x) \) or \( -(x^4 - x) \) so that the value stays non-negative. Finally, we integrate each piece separately and add up the results using the Fundamental Theorem of Calculus.

Formula Used

\( |f(x)| = f(x) \) when \( f(x) \ge 0 \), and \( |f(x)| = -f(x) \) when \( f(x) < 0 \). Also \[ \int_a^b f(x)\, dx = \int_a^c f(x)\, dx + \int_c^b f(x)\, dx. \]

Solution

  1. Step 1: Factor the expression inside the modulus to find where it changes sign. \[ x^4 - x = x(x^3 - 1) = x(x-1)(x^2 + x + 1). \] The factor \( x^2 + x + 1 \) is always positive, so the sign is decided by \( x(x-1) \).
  2. Step 2: Determine the sign of \( x^4 - x \) on \( [-1, 1] \). The roots in this interval are \( x = 0 \) and \( x = 1 \). For \( -1 \le x < 0 \): \( x < 0 \) and \( x - 1 < 0 \), so \( x(x-1) > 0 \), meaning \( x^4 - x > 0 \). For \( 0 < x < 1 \): \( x > 0 \) and \( x - 1 < 0 \), so \( x(x-1) < 0 \), meaning \( x^4 - x < 0 \).
  3. Step 3: Split the integral at \( x = 0 \) and remove the modulus accordingly. \[ \int_{-1}^{1} |x^4 - x|\, dx = \int_{-1}^{0} (x^4 - x)\, dx + \int_{0}^{1} -(x^4 - x)\, dx. \] On the second interval we use the negative because \( x^4 - x \) is negative there.
  4. Step 4: Evaluate the first integral. \[ \int_{-1}^{0} (x^4 - x)\, dx = \left[ \frac{x^5}{5} - \frac{x^2}{2} \right]_{-1}^{0}. \] At \( x = 0 \) the value is \( 0 \). At \( x = -1 \): \( \frac{(-1)^5}{5} - \frac{(-1)^2}{2} = -\frac{1}{5} - \frac{1}{2} = -\frac{7}{10}. \) So the first integral equals \( 0 - \left(-\frac{7}{10}\right) = \frac{7}{10}. \)
  5. Step 5: Evaluate the second integral. \[ \int_{0}^{1} (x - x^4)\, dx = \left[ \frac{x^2}{2} - \frac{x^5}{5} \right]_{0}^{1}. \] At \( x = 1 \): \( \frac{1}{2} - \frac{1}{5} = \frac{5 - 2}{10} = \frac{3}{10}. \) At \( x = 0 \) the value is \( 0 \). So the second integral equals \( \frac{3}{10}. \)
  6. Step 6: Add the two results together. \[ \frac{7}{10} + \frac{3}{10} = \frac{10}{10} = 1. \]

Final Answer

\[ \int_{-1}^{1} |x^4 - x|\, dx = 1. \]

Common Mistake

A common mistake is to integrate \( x^4 - x \) directly over \( [-1, 1] \) without splitting at the sign change, ignoring the modulus. This gives an incorrect (and possibly negative) answer, whereas the integral of an absolute value must be non-negative.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Factor the expression inside the absolute value: \[ x^4 - x = x(x^3 - 1) = x(x-1)(x^2 + x + 1). \] Reason: Factoring reveals exactly where \( x^4 - x = 0 \), which tells us where the sign can change. The quadratic factor \( x^2 + x + 1 \) has discriminant \( 1 - 4 = -3 < 0 \) and a positive leading coefficient, so it is always positive and never affects the sign.
  2. Step 2: Identify the zeros of \( x^4 - x \) that lie inside \( [-1, 1] \). From the factored form, the roots are \( x = 0 \) and \( x = 1 \). The root \( x = 1 \) is an endpoint, so the only interior sign-change point is \( x = 0 \). Reason: We need to locate every point where the sign of the integrand flips, so we know where to split the integral.
  3. Step 3: Check the sign of \( x^4 - x \) on each sub-interval of \( [-1, 1] \). Since the sign is governed by \( x(x-1) \): on \( [-1, 0) \), both \( x < 0 \) and \( x - 1 < 0 \), so \( x(x-1) > 0 \), meaning \( x^4 - x > 0 \); on \( (0, 1] \), \( x > 0 \) and \( x - 1 < 0 \), so \( x(x-1) < 0 \), meaning \( x^4 - x < 0 \). Reason: Knowing the sign on each piece lets us remove the absolute value correctly without making errors in the integration.
  4. Step 4: Split the integral at \( x = 0 \) and remove the modulus using the sign information found above: \[ \int_{-1}^{1} |x^4 - x|\, dx = \int_{-1}^{0} (x^4 - x)\, dx + \int_{0}^{1} -(x^4 - x)\, dx. \] Reason: On \( [-1, 0] \) the expression is non-negative, so the absolute value equals the expression itself; on \( [0, 1] \) it is non-positive, so we negate it to make it non-negative before integrating.
  5. Step 5: Evaluate the first integral. The antiderivative of \( x^4 - x \) is \( \frac{x^5}{5} - \frac{x^2}{2} \). Applying the limits: \[ \int_{-1}^{0} (x^4 - x)\, dx = \left[\frac{x^5}{5} - \frac{x^2}{2}\right]_{-1}^{0} = \left(0 - 0\right) - \left(\frac{-1}{5} - \frac{1}{2}\right) = \frac{1}{5} + \frac{1}{2} = \frac{7}{10}. \] Reason: Using the Fundamental Theorem of Calculus, we substitute the upper and lower bounds and subtract.
  6. Step 6: Evaluate the second integral. Here we integrate \( -(x^4 - x) = -x^4 + x \), whose antiderivative is \( -\frac{x^5}{5} + \frac{x^2}{2} \). Applying the limits: \[ \int_{0}^{1} -(x^4 - x)\, dx = \left[-\frac{x^5}{5} + \frac{x^2}{2}\right]_{0}^{1} = \left(-\frac{1}{5} + \frac{1}{2}\right) - \left(0\right) = -\frac{1}{5} + \frac{1}{2} = \frac{3}{10}. \] Reason: Again applying the Fundamental Theorem on the second piece gives the contribution from \( [0, 1] \).
  7. Step 7: Add the two pieces together: \[ \frac{7}{10} + \frac{3}{10} = \frac{10}{10} = 1. \] Reason: The total value of the integral is the sum of the contributions from each sub-interval, giving us the final answer.

Final Answer

\[ \int_{-1}^{1} |x^4 - x|\, dx = 1. \]

Common Mistake

One common mistake: forgetting to negate \( x^4 - x \) on the sub-interval where it is negative (i.e., writing \( \int_{0}^{1}(x^4 - x)\\,dx \) instead of \( \int_{0}^{1}-(x^4 - x)\\,dx \)), which gives a wrong (and possibly negative) result instead of the correct value of 1.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Factor: \ \( x^4 - x = x(x-1)(x^2+x+1) \). Sign on \( [-1,0] \): positive; sign on \( [0,1] \): negative.
  2. Step 2: Split: \[ \int_{-1}^{1} |x^4 - x|\, dx = \int_{-1}^{0} (x^4 - x)\, dx + \int_{0}^{1} -(x^4 - x)\, dx \]
  3. Step 3: Evaluate each part: \[ \int_{-1}^{0} (x^4 - x)\, dx = \left[\frac{x^5}{5} - \frac{x^2}{2}\right]_{-1}^{0} = 0 - \left(-\frac{1}{5} - \frac{1}{2}\right) = \frac{7}{10} \] and \[ \int_{0}^{1} (x - x^4)\, dx = \left[\frac{x^2}{2} - \frac{x^5}{5}\right]_{0}^{1} = \frac{1}{2} - \frac{1}{5} = \frac{3}{10} \]
  4. Step 4: Total: \( \dfrac{7}{10} + \dfrac{3}{10} = 1 \)

Answer: \[ \int_{-1}^{1} |x^4 - x|\, dx = 1. \]

➕ More Examples

More Examples

Example 1

Question: Evaluate \( \int_{-1}^{2} |x^3 - x| \, dx \).

Solution: Step 1: Find zeros of \( f(x) = x^3 - x \) in \( [-1, 2] \). We factor: \[x^3 - x = x(x^2 - 1) = x(x-1)(x+1)\] So the zeros are \( x = -1, 0, 1 \). Step 2: Determine the sign of \( x^3 - x \) on each sub-interval. On \( (-1, 0) \): take \( x = -0.5 \), then \( (-0.5)(−1.5)(0.5) = 0.375 > 0 \). So \( x^3 - x > 0 \). On \( (0, 1) \): take \( x = 0.5 \), then \( (0.5)(-0.5)(1.5) = -0.375 < 0 \). So \( x^3 - x < 0 \). On \( (1, 2) \): take \( x = 1.5 \), then \( (1.5)(0.5)(2.5) = 1.875 > 0 \). So \( x^3 - x > 0 \). Step 3: Write the integral using the sign analysis. \[\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\] Step 4: Evaluate the antiderivative. Note that \[\int (x^3 - x) \, dx = \frac{x^4}{4} - \frac{x^2}{2} + C\] Let \( F(x) = \frac{x^4}{4} - \frac{x^2}{2} \). Compute \( F(-1) \): \[F(-1) = \frac{1}{4} - \frac{1}{2} = -\frac{1}{4}\] Compute \( F(0) \): \[F(0) = 0\] Compute \( F(1) \): \[F(1) = \frac{1}{4} - \frac{1}{2} = -\frac{1}{4}\] Compute \( F(2) \): \[F(2) = \frac{16}{4} - \frac{4}{2} = 4 - 2 = 2\] Step 5: Evaluate each piece. First piece: \[\int_{-1}^{0} (x^3 - x) \, dx = F(0) - F(-1) = 0 - \left(-\frac{1}{4}\right) = \frac{1}{4}\] Second piece: \[\int_{0}^{1} -(x^3 - x) \, dx = -\left[F(1) - F(0)\right] = -\left(-\frac{1}{4} - 0\right) = \frac{1}{4}\] Third piece: \[\int_{1}^{2} (x^3 - x) \, dx = F(2) - F(1) = 2 - \left(-\frac{1}{4}\right) = \frac{9}{4}\] Step 6: Add all pieces. \[\int_{-1}^{2} |x^3 - x| \, dx = \frac{1}{4} + \frac{1}{4} + \frac{9}{4} = \frac{11}{4}\]

Answer: \( \dfrac{11}{4} \)

Example 2

Question: Evaluate \( \int_{0}^{3} |x^2 - 2x| \, dx \).

Solution: Step 1: Find zeros of \( g(x) = x^2 - 2x \) in \( [0, 3] \). We factor: \[x^2 - 2x = x(x - 2)\] So the zeros in \( [0, 3] \) are \( x = 0 \) and \( x = 2 \). Step 2: Determine the sign of \( x^2 - 2x \) on each sub-interval. On \( (0, 2) \): take \( x = 1 \), then \( 1(1-2) = -1 < 0 \). So \( x^2 - 2x < 0 \). On \( (2, 3) \): take \( x = 2.5 \), then \( 2.5(0.5) = 1.25 > 0 \). So \( x^2 - 2x > 0 \). Step 3: Write the integral using the sign analysis. \[\int_{0}^{3} |x^2 - 2x| \, dx = \int_{0}^{2} -(x^2 - 2x) \, dx + \int_{2}^{3} (x^2 - 2x) \, dx\] Step 4: Evaluate the antiderivative. Note that \[\int (x^2 - 2x) \, dx = \frac{x^3}{3} - x^2 + C\] Let \( G(x) = \frac{x^3}{3} - x^2 \). Compute \( G(0) \): \[G(0) = 0\] Compute \( G(2) \): \[G(2) = \frac{8}{3} - 4 = \frac{8}{3} - \frac{12}{3} = -\frac{4}{3}\] Compute \( G(3) \): \[G(3) = \frac{27}{3} - 9 = 9 - 9 = 0\] Step 5: Evaluate each piece. First piece: \[\int_{0}^{2} -(x^2 - 2x) \, dx = -\left[G(2) - G(0)\right] = -\left(-\frac{4}{3} - 0\right) = \frac{4}{3}\] Second piece: \[\int_{2}^{3} (x^2 - 2x) \, dx = G(3) - G(2) = 0 - \left(-\frac{4}{3}\right) = \frac{4}{3}\] Step 6: Add all pieces. \[\int_{0}^{3} |x^2 - 2x| \, dx = \frac{4}{3} + \frac{4}{3} = \frac{8}{3}\]

Answer: \( \dfrac{8}{3} \)

🎯 Try a Similar Question

Try a Similar Question

Question: Evaluate \[\int_{-1}^{1} |x^3 - x|\, dx.\]

Solution

  1. Step 1: Factor the expression inside the absolute value: Let \( f(x) = x^3 - x = x(x^2 - 1) = x(x-1)(x+1) \). We need to find the zeros of \( f(x) \) in \( [-1, 1] \). Setting \( f(x) = 0 \): \( x = -1, 0, 1 \).
  2. Step 2: Determine the sign of f(x) on each sub-interval: On \( (-1, 0) \): choose \( x = -0.5 \). Then \( f(-0.5) = (-0.5)(-1.5)(0.5) = 0.375 > 0 \). So \( f(x) > 0 \) on \( (-1, 0) \). On \( (0, 1) \): choose \( x = 0.5 \). Then \( f(0.5) = (0.5)(-0.5)(1.5) = -0.375 < 0 \). So \( f(x) < 0 \) on \( (0, 1) \).
  3. Step 3: Remove the absolute value by splitting the integral: Using the sign analysis: \[\int_{-1}^{1} |x^3 - x|\, dx = \int_{-1}^{0} (x^3 - x)\, dx + \int_{0}^{1} -(x^3 - x)\, dx\] which simplifies to \[\int_{-1}^{0} (x^3 - x)\, dx + \int_{0}^{1} (x - x^3)\, dx.\]
  4. Step 4: Evaluate the first integral: \[\int_{-1}^{0} (x^3 - x)\, dx = \left[\frac{x^4}{4} - \frac{x^2}{2}\right]_{-1}^{0}\] At \( x = 0 \): the expression equals \( 0 \). At \( x = -1 \): the expression equals \( \frac{1}{4} - \frac{1}{2} = -\frac{1}{4} \). So the first integral equals \( 0 - \left(-\frac{1}{4}\right) = \frac{1}{4} \).
  5. Step 5: Evaluate the second integral: \[\int_{0}^{1} (x - x^3)\, dx = \left[\frac{x^2}{2} - \frac{x^4}{4}\right]_{0}^{1}\] At \( x = 1 \): the expression equals \( \frac{1}{2} - \frac{1}{4} = \frac{1}{4} \). At \( x = 0 \): the expression equals \( 0 \). So the second integral equals \( \frac{1}{4} - 0 = \frac{1}{4} \).
  6. Step 6: Add the two results: \[\int_{-1}^{1} |x^3 - x|\, dx = \frac{1}{4} + \frac{1}{4} = \frac{1}{2}.\]

Answer: \[\int_{-1}^{1} |x^3 - x|\, dx = \frac{1}{2}\]

Everything you get with Solver7

More questions in Integrals

Chapter 7 Examples Q1(i) 65/2/2 2023 / Section A Q1 Chapter 7 Examples Q1(ii) 65/2/1 2022 / Section A Q2(a) Chapter 7 Examples Q1(iii) 65/2/1 2022 / Section A Q2(b) Chapter 7 Examples Q2(i) Chapter 7 Examples Q2(ii) 65/1/1 2023 / Section A Q5 Chapter 7 Examples Q2(iii) 65/1/1 2023 / Section A Q6 65/1/1 2024 / Section A Q6 65/2/1 2024 / Section A Q6 65/3/1 2023 / Section A Q6 65/3/1 2024 / Section A Q6 Chapter 7 Examples Q3(i) 65/3/1 2023 / Section A Q7 Chapter 7 Examples Q3(ii) 65(B) 2026 / Section A Q8 65/1/1 2026 / Section A Q8 65/4/1 2022 / Section A Q6 65/4/1 2023 / Section A Q8 65/4/2 2024 / Section A Q8 Chapter 7 Examples Q3(iii) 65(B) 2026 / Section A Q9 65/1/1 2026 / Section A Q9 65/2/1 2022 / Section B Q8(a) 65/2/2 2023 / Section A Q9 65/4/1 2022 / Section B Q7 65/4/1 2023 / Section A Q9 65/4/1 2026 / Section A Q9 Chapter 7 Examples Q4 65/2/1 2022 / Section B Q8(b) 65/3/1 2026 / Section A Q10 65/4/1 2022 / Section B Q8(a) 65/4/1 2026 / Section A Q10 65/5/1 2026 / Section A Q10 Chapter 7 Examples Q5(i) 65/3/1 2026 / Section A Q11 65/4/1 2022 / Section B Q8(b) 65/5/1 2026 / Section A Q11 Chapter 7 Examples Q5(ii) 65/2/3 2026 / Section A Q12 Chapter 7 Examples Q5(iii) Chapter 7 Examples Q5(iv) Chapter 7 Examples Q6(i) 65/2/1 2022 / Section C Q12 Chapter 7 Examples Q6(ii) Chapter 7 Examples Q6(iii) Chapter 7 Examples Q7(i) 65/4/1 2022 / Section C Q13 Chapter 7 Examples Q7(ii) Chapter 7 Examples Q7(iii) Chapter 7 Examples Q8(i) Chapter 7 Examples Q8(ii) Chapter 7 Examples Q9(i) Chapter 7 Examples Q9(ii) 65/1/1 2024 / Section B Q23(a) 65/3/1 2024 / Section B Q23(a) Chapter 7 Examples Q9(iii)