Skip to content
Exercise 7.10 · Q18

Q.By using the properties of definite integrals, evaluate the integral ∫04∣x−1∣ dx\int_{0}^{4}|x-1|\,dx

Punjab PsebTextbookSubjective· 3mImportance★★★★★
67% · 251/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 →

The integral ∫04∣x−1∣ dx\int_{0}^{4}|x-1|\,dx is split at the point where the absolute value changes sign (x=1x=1), turning it into the sum of two simple polynomial integrals. The final value is 55.

The absolute value function is the classic case for using the split property of definite integrals. The core idea is simple: an absolute value creates a piecewise function — it behaves one way on one interval and another way on the next. You cannot integrate ∣x−1∣|x-1| directly as a single expression because its rule changes at x=1x=1.

The property we use is:

∫abf(x) dx=∫acf(x) dx+∫cbf(x) dx\int_a^b f(x)\,dx = \int_a^c f(x)\,dx + \int_c^b f(x)\,dx

where cc is any point between aa and bb. We choose cc to be the point where the expression inside the absolute value is zero — that's where the "kink" happens.

Split property for absolute values:

∫ab∣x−k∣ dx=∫ak(k−x) dx+∫kb(x−k) dx\int_a^b |x - k|\,dx = \int_a^k (k - x)\,dx + \int_k^b (x - k)\,dx

This works because ∣x−k∣=k−x|x-k| = k-x when x≤kx \le k, and ∣x−k∣=x−k|x-k| = x-k when x≥kx \ge k.

Let's walk through it.

  1. Find the split point. Set x−1=0  ⟹  x=1x-1 = 0 \implies x = 1. This point lies inside [0,4][0,4], so we break the integral at x=1x=1:

∫04∣x−1∣ dx=∫01∣x−1∣ dx+∫14∣x−1∣ dx\int_{0}^{4}|x-1|\,dx = \int_{0}^{1}|x-1|\,dx + \int_{1}^{4}|x-1|\,dx

  1. Remove the absolute value on each piece.

    • On [0,1][0,1], x−1≤0x-1 \le 0, so ∣x−1∣=−(x−1)=1−x|x-1| = -(x-1) = 1-x.
    • On [1,4][1,4], x−1≥0x-1 \ge 0, so ∣x−1∣=x−1|x-1| = x-1.

    Therefore:

∫04∣x−1∣ dx=∫01(1−x) dx+∫14(x−1) dx\int_{0}^{4}|x-1|\,dx = \int_{0}^{1}(1-x)\,dx + \int_{1}^{4}(x-1)\,dx

  1. Integrate each part.
    • First integral:

∫01(1−x) dx=[x−x22]01=(1−12)−(0−0)=12\int_{0}^{1}(1-x)\,dx = \left[ x - \frac{x^2}{2} \right]_{0}^{1} = \left(1 - \frac{1}{2}\right) - (0 - 0) = \frac{1}{2}

  • Second integral:

∫14(x−1) dx=[x22−x]14\int_{1}^{4}(x-1)\,dx = \left[ \frac{x^2}{2} - x \right]_{1}^{4}

 Evaluate at $x=4$: $\frac{16}{2} - 4 = 8 - 4 = 4$ …

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.