SOLVER7 Study. Nothing Else.
2022 Board Paper Q8(b)

Evaluate : \(\int^4_1\{|\ x\ |+\ |3-x\ |\}dx\)

CBSE Class 12 Maths · Integrals

Solution

👶 Simple Explanation

Simple Explanation

Imagine a number line where some parts behave differently. The two modulus pieces are like two moody children — one is always happy on our stretch, but the other changes mood at a certain point. We split the problem at that mood-change point, like cutting a road trip into two calmer segments. Each segment then becomes a simple addition or subtraction problem. Adding the areas of both segments gives us our final answer of 10.

Answer: \[\int_1^4 \left(|x| + |3 - x|\right)dx = 10\]

📖 Definite Integral with Absolute Value Functions

Detailed Explanation

When an integrand contains absolute value (modulus) expressions, we cannot integrate directly because the definition of \(|x|\) changes depending on the sign of \(x\). Recall that \(|x| = x\) when \(x \ge 0\) and \(|x| = -x\) when \(x < 0\). Over the interval \([1, 4]\), the term \(|x|\) is always positive (since \(x \ge 1 > 0\)), so \(|x| = x\) throughout. But the term \(|3 - x|\) changes sign at \(x = 3\): it equals \(3 - x\) when \(x \le 3\) and \(x - 3\) when \(x > 3\). So we split the integral at \(x = 3\) using the property \(\int_a^b f(x)\,dx = \int_a^c f(x)\,dx + \int_c^b f(x)\,dx\), and use the correct expression for the modulus in each part.

Formula Used

\[|x| = \begin{cases} x & x \ge 0 \\ -x & x < 0 \end{cases}\] \[\int_a^b f(x)\,dx = \int_a^c f(x)\,dx + \int_c^b f(x)\,dx\]

Solution

  1. Step 1: Analyse each modulus over the interval \([1, 4]\). Since \(x \ge 1 > 0\) throughout, we have \(|x| = x\). For the second term, \(|3 - x|\) depends on whether \(x\) is less than or greater than \(3\), so the critical point is \(x = 3\).
  2. Step 2: Write \(|3 - x|\) piecewise: for \(1 \le x \le 3\), we have \(3 - x \ge 0\), so \(|3 - x| = 3 - x\). For \(3 \le x \le 4\), we have \(3 - x \le 0\), so \(|3 - x| = -(3 - x) = x - 3\).
  3. Step 3: Split the integral at \(x = 3\): \[\int_1^4 \left(|x| + |3 - x|\right)dx = \int_1^3 \left(x + (3 - x)\right)dx + \int_3^4 \left(x + (x - 3)\right)dx\]
  4. Step 4: Simplify the integrands. In the first integral, \(x + (3 - x) = 3\). In the second integral, \(x + (x - 3) = 2x - 3\). So \[\int_1^3 3\,dx + \int_3^4 (2x - 3)\,dx\]
  5. Step 5: Evaluate the first integral: \[\int_1^3 3\,dx = \left[3x\right]_1^3 = 3(3) - 3(1) = 9 - 3 = 6\]
  6. Step 6: Evaluate the second integral: \[\int_3^4 (2x - 3)\,dx = \left[x^2 - 3x\right]_3^4\] At \(x = 4\): \(16 - 12 = 4\). At \(x = 3\): \(9 - 9 = 0\). So the value is \(4 - 0 = 4\).
  7. Step 7: Add both parts to get the final value: \[6 + 4 = 10\]

Final Answer

\[\int_1^4 \left(|x| + |3 - x|\right)dx = 10\]

Common Mistake

A common mistake is treating \(|3 - x|\) as simply \(3 - x\) over the whole interval \([1, 4]\) and not splitting at \(x = 3\). This ignores that \(3 - x\) becomes negative for \(x > 3\), giving a wrong (too small) answer.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Examine the first modulus term \(|x|\) over the interval \([1, 4]\). Since every value of \(x\) in this interval satisfies \(x \ge 1 > 0\), we conclude \(|x| = x\) throughout the entire interval. — Reason: The modulus \(|x|\) equals \(x\) when \(x\) is non-negative, so no splitting is needed for this term.
  2. Step 2: Identify the critical point for the second modulus term \(|3 - x|\). The expression inside the modulus, namely \(3 - x\), equals zero when \(x = 3\). So \(x = 3\) is the point where \(|3 - x|\) changes its algebraic form. Write \(|3 - x|\) piecewise: \[|3 - x| = \begin{cases} 3 - x & 1 \le x \le 3 \\ x - 3 & 3 \le x \le 4 \end{cases}\] — Reason: When \(x \le 3\), the quantity \(3 - x \ge 0\), so the modulus leaves it unchanged. When \(x \ge 3\), the quantity \(3 - x \le 0\), so the modulus flips the sign.
  3. Step 3: Split the original integral at \(x = 3\) using the interval-splitting property: \[\int_1^4 \left(|x| + |3 - x|\right) dx = \int_1^3 \left(x + (3 - x)\right) dx + \int_3^4 \left(x + (x - 3)\right) dx\] — Reason: By breaking the integral at the critical point \(x = 3\), each piece now has a simple polynomial integrand with no modulus signs.
  4. Step 4: Simplify the integrand in each piece. In the first integral, \(x + (3 - x) = 3\). In the second integral, \(x + (x - 3) = 2x - 3\). So the expression becomes: \[\int_1^3 3 \, dx + \int_3^4 (2x - 3) \, dx\] — Reason: Algebraic simplification removes all variable cancellations and gives standard polynomial integrands that are straightforward to integrate.
  5. Step 5: Evaluate the first integral: \[\int_1^3 3 \, dx = \Big[3x\Big]_1^3 = 3(3) - 3(1) = 9 - 3 = 6\] — Reason: The antiderivative of the constant 3 is \(3x\); applying the limits of integration gives the exact value of this piece.
  6. Step 6: Evaluate the second integral: \[\int_3^4 (2x - 3) \, dx = \Big[x^2 - 3x\Big]_3^4\] Substituting the upper limit: \(4^2 - 3(4) = 16 - 12 = 4\). Substituting the lower limit: \(3^2 - 3(3) = 9 - 9 = 0\). So the second integral equals \(4 - 0 = 4\). — Reason: The antiderivative of \(2x - 3\) is \(x^2 - 3x\); evaluating at both limits and subtracting gives the value of this piece.
  7. Step 7: Add the two results together: \(6 + 4 = 10\). Therefore: \[\int_1^4 \left(|x| + |3 - x|\right) dx = 10\] — Reason: The total integral equals the sum of the two sub-integrals obtained after splitting, so combining them gives the final answer.

Final Answer

\[\int_1^4 \left(|x| + |3 - x|\right)dx = 10\]

Common Mistake

One common mistake: Students forget to check whether \(|x|\) itself needs splitting and incorrectly write \(|x| = -x\) for part of the interval, even though \(x \ge 1 > 0\) throughout \([1, 4]\), making \(|x| = x\) everywhere here.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: On \([1,4]\): \(|x| = x\). Critical point of \(|3-x|\) at \(x=3\): \(|3-x| = 3-x\) for \(x \le 3\) and \(|3-x| = x-3\) for \(x \ge 3\).
  2. Step 2: Split: \[\int_1^4 \left(|x|+|3-x|\right)dx = \int_1^3 \left(x+(3-x)\right)dx + \int_3^4 \left(x+(x-3)\right)dx = \int_1^3 3\,dx + \int_3^4 (2x-3)\,dx\]
  3. Step 3: Evaluate: \(\int_1^3 3\,dx = \left[3x\right]_1^3 = 9-3 = 6\) and \(\int_3^4(2x-3)\,dx = \left[x^2-3x\right]_3^4 = (16-12)-(9-9) = 4\).
  4. Step 4: Total: \(6 + 4 = 10\).

Answer: \[\int_1^4 \left(|x| + |3 - x|\right)dx = 10\]

➕ More Examples

More Examples

Example 1

Question: Evaluate \[ \int_0^5 \left( |x - 2| + |4 - x| \right) dx \]

Solution: We need to find the critical points of \( |x - 2| \) and \( |4 - x| \) on \( [0, 5] \). For \( |x - 2| \): zero at \( x = 2 \). For \( |4 - x| \): zero at \( x = 4 \). So we split the interval \( [0, 5] \) at \( x = 2 \) and \( x = 4 \). On \( [0, 2] \): \( x - 2 < 0 \) so \( |x-2| = -(x-2) = 2-x \), and \( 4 - x > 0 \) so \( |4-x| = 4-x \). On \( [2, 4] \): \( x - 2 \ge 0 \) so \( |x-2| = x-2 \), and \( 4 - x \ge 0 \) so \( |4-x| = 4-x \). On \( [4, 5] \): \( x - 2 > 0 \) so \( |x-2| = x-2 \), and \( 4 - x < 0 \) so \( |4-x| = x-4 \). Now we write the integral as a sum of three parts: \[ I = \int_0^2 \left[(2-x)+(4-x)\right] dx + \int_2^4 \left[(x-2)+(4-x)\right] dx + \int_4^5 \left[(x-2)+(x-4)\right] dx \] Simplify the integrands: On \( [0,2] \): \( (2-x)+(4-x) = 6 - 2x \) On \( [2,4] \): \( (x-2)+(4-x) = 2 \) On \( [4,5] \): \( (x-2)+(x-4) = 2x - 6 \) Evaluate each integral: \[ I_1 = \int_0^2 (6-2x)\,dx = \left[6x - x^2\right]_0^2 = (12 - 4) - 0 = 8 \] \[ I_2 = \int_2^4 2\,dx = \left[2x\right]_2^4 = 8 - 4 = 4 \] \[ I_3 = \int_4^5 (2x-6)\,dx = \left[x^2 - 6x\right]_4^5 = (25-30)-(16-24) = (-5)-(-8) = 3 \] Therefore, \[ I = I_1 + I_2 + I_3 = 8 + 4 + 3 = 15 \]

Answer: 15

Example 2

Question: Evaluate \[ \int_1^6 \left( |x - 3| + |x - 5| \right) dx \]

Solution: We find the critical points of \( |x-3| \) and \( |x-5| \) on \( [1, 6] \). For \( |x-3| \): zero at \( x = 3 \). For \( |x-5| \): zero at \( x = 5 \). So we split \( [1, 6] \) at \( x = 3 \) and \( x = 5 \). On \( [1, 3] \): \( x - 3 < 0 \) so \( |x-3| = 3-x \), and \( x - 5 < 0 \) so \( |x-5| = 5-x \). On \( [3, 5] \): \( x - 3 \ge 0 \) so \( |x-3| = x-3 \), and \( x - 5 \le 0 \) so \( |x-5| = 5-x \). On \( [5, 6] \): \( x - 3 > 0 \) so \( |x-3| = x-3 \), and \( x - 5 \ge 0 \) so \( |x-5| = x-5 \). Write the integral as: \[ I = \int_1^3 \left[(3-x)+(5-x)\right] dx + \int_3^5 \left[(x-3)+(5-x)\right] dx + \int_5^6 \left[(x-3)+(x-5)\right] dx \] Simplify the integrands: On \( [1,3] \): \( (3-x)+(5-x) = 8 - 2x \) On \( [3,5] \): \( (x-3)+(5-x) = 2 \) On \( [5,6] \): \( (x-3)+(x-5) = 2x - 8 \) Evaluate each integral: \[ I_1 = \int_1^3 (8-2x)\,dx = \left[8x - x^2\right]_1^3 = (24 - 9) - (8 - 1) = 15 - 7 = 8 \] \[ I_2 = \int_3^5 2\,dx = \left[2x\right]_3^5 = 10 - 6 = 4 \] \[ I_3 = \int_5^6 (2x-8)\,dx = \left[x^2 - 8x\right]_5^6 = (36 - 48) - (25 - 40) = (-12) - (-15) = 3 \] Therefore, \[ I = I_1 + I_2 + I_3 = 8 + 4 + 3 = 15 \]

Answer: 15

🎯 Try a Similar Question

Try a Similar Question

Question: Evaluate: \[\int_0^5 \left(|x - 2| + |4 - x|\right)dx\]

Solution

  1. Step 1: Identify the critical points: Find where each expression inside the modulus equals zero. For \(|x - 2|\): set \(x - 2 = 0\), giving \(x = 2\). For \(|4 - x|\): set \(4 - x = 0\), giving \(x = 4\). Both critical points \(x = 2\) and \(x = 4\) lie in the interval \([0, 5]\), so we split the integral at these points.
  2. Step 2: Determine the sign of each expression on each sub-interval: On \([0, 2]\): \(x - 2 \le 0\) so \(|x-2| = 2 - x\); and \(4 - x \ge 0\) so \(|4-x| = 4 - x\). On \([2, 4]\): \(x - 2 \ge 0\) so \(|x-2| = x - 2\); and \(4 - x \ge 0\) so \(|4-x| = 4 - x\). On \([4, 5]\): \(x - 2 \ge 0\) so \(|x-2| = x - 2\); and \(4 - x \le 0\) so \(|4-x| = x - 4\).
  3. Step 3: Split the integral: \[\int_0^5 \left(|x-2|+|4-x|\right)dx = \int_0^2 \left(2-x+4-x\right)dx + \int_2^4 \left(x-2+4-x\right)dx + \int_4^5 \left(x-2+x-4\right)dx\] Simplifying each integrand: On \([0,2]\): \((2-x)+(4-x) = 6-2x\) On \([2,4]\): \((x-2)+(4-x) = 2\) On \([4,5]\): \((x-2)+(x-4) = 2x-6\)
  4. Step 4: Evaluate the first integral: \[I_1 = \int_0^2 (6 - 2x)\,dx = \left[6x - x^2\right]_0^2\] Substituting the limits: \[I_1 = \left(6(2) - (2)^2\right) - \left(6(0) - (0)^2\right) = (12 - 4) - 0 = 8\]
  5. Step 5: Evaluate the second integral: \[I_2 = \int_2^4 2\,dx = \left[2x\right]_2^4\] Substituting the limits: \[I_2 = 2(4) - 2(2) = 8 - 4 = 4\]
  6. Step 6: Evaluate the third integral: \[I_3 = \int_4^5 (2x - 6)\,dx = \left[x^2 - 6x\right]_4^5\] Substituting the limits: \[I_3 = \left((5)^2 - 6(5)\right) - \left((4)^2 - 6(4)\right) = (25 - 30) - (16 - 24) = (-5) - (-8) = 3\]
  7. Step 7: Add all three results: \[\int_0^5 \left(|x-2|+|4-x|\right)dx = I_1 + I_2 + I_3 = 8 + 4 + 3 = 15\]

Answer: \[\int_0^5 \left(|x-2|+|4-x|\right)dx = 15\]

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/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) 65(B) 2026 / Section B Q23