Question:

\(\int _{0}^{4}|x-2|dx=\)

Show Hint

Split the integral at x = 2 where the expression changes sign.
Updated On: Nov 19, 2026
  • 0
  • 4
  • 8
  • 2
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

Step 1: Understanding the Concept
\(|x-2|=2-x\) for \(x<2\) and \(x-2\) for \(x\ge2\).

Step 2: Split
\(\int_0^2(2-x)dx+\int_2^4(x-2)dx\)

Step 3: Calculation
\(\left[2x-\dfrac{x^2}{2}\right]_0^2=2\) and \(\left[\dfrac{x^2}{2}-2x\right]_2^4=0-(-2)=2\). Total \(=4\).

Final Answer:
The integral equals 4. \[ \boxed{\text{(B) }4} \]
Was this answer helpful?
0
0