Skip to content
Question of 373

Q.Evaluate the following definite integral:
\int_{1}^{4} (|x-1| + |x+2| + |x-3|) dx.

Uttarakhand UbseUttarakhand Board Intermediate (Class 12) 2026Subjective· 4mImportance★★★★★
0% · 0/373 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

∫14(∣x−1∣+∣x+2∣+∣x−3∣)dx=412\displaystyle\int_1^4\big(|x-1|+|x+2|+|x-3|\big)dx=\dfrac{41}{2}.

Concept. To integrate a modulus, split the interval at the points where each expression changes sign, and replace ∣u∣|u| by uu or −u-u accordingly.

Sign analysis on [1,4][1,4].

  • ∣x−1∣|x-1|: x≥1⇒x−1≥0x\ge1\Rightarrow x-1\ge0, so ∣x−1∣=x−1|x-1|=x-1 throughout.
  • ∣x+2∣|x+2|: x+2>0x+2>0 throughout, so ∣x+2∣=x+2|x+2|=x+2.
  • ∣x−3∣|x-3|: negative on [1,3][1,3], so =3−x=3-x; non-negative on [3,4][3,4], so =x−3=x-3.

Integrate each part.

  • ∫14(x−1) dx=[x22−x]14=(8−4)−(12−1)=4+12=92\displaystyle\int_1^4(x-1)\,dx=\left[\dfrac{x^2}{2}-x\right]_1^4=(8-4)-\left(\tfrac12-1\right)=4+\tfrac12=\tfrac{9}{2}.
  • ∫14(x+2) dx=[x22+2x]14=(8+8)−(12+2)=16−52=272\displaystyle\int_1^4(x+2)\,dx=\left[\dfrac{x^2}{2}+2x\right]_1^4=(8+8)-\left(\tfrac12+2\right)=16-\tfrac52=\tfrac{27}{2}.
  • ∫13(3−x) dx=[3x−x22]13=(9−92)−(3−12)=92−52=2\displaystyle\int_1^3(3-x)\,dx=\left[3x-\dfrac{x^2}{2}\right]_1^3=\left(9-\tfrac92\right)-\left(3-\tfrac12\right)=\tfrac92-\tfrac52=2.
  • ∫34(x−3) dx=[x22−3x]34=(8−12)−(92−9)=−4+92=12\displaystyle\int_3^4(x-3)\,dx=\left[\dfrac{x^2}{2}-3x\right]_3^4=(8-12)-\left(\tfrac92-9\right)=-4+\tfrac92=\tfrac12.

Add: 92+272+2+12=9+27+4+12=412\dfrac92+\dfrac{27}{2}+2+\dfrac12=\dfrac{9+27+4+1}{2}=\dfrac{41}{2}.

…

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.