Evaluate : \(\int^4_1\{|\ x\ |+\ |3-x\ |\}dx\)
CBSE Class 12 Maths · Integrals
CBSE Class 12 Maths · Integrals
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\]
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.
\[|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\]
\[\int_1^4 \left(|x| + |3 - x|\right)dx = 10\]
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.
\[\int_1^4 \left(|x| + |3 - x|\right)dx = 10\]
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.
Answer: \[\int_1^4 \left(|x| + |3 - x|\right)dx = 10\]
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
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
Question: Evaluate: \[\int_0^5 \left(|x - 2| + |4 - x|\right)dx\]
Answer: \[\int_0^5 \left(|x-2|+|4-x|\right)dx = 15\]