SOLVER7 Study. Nothing Else.
Exercise 7.10 Q18

By using the properties of definite integrals, evaluate the integrals in Exercises 1 to 19.\(\int^4_0|x-1|dx\)

CBSE Class 12 Maths · Integrals

Solution

👶 Simple Explanation

Simple Explanation

Think of a number line with a marker at 1. The expression |x-1| measures how far any point is from that marker. Walking left of 1 gives one rule; walking right gives another. We split the journey at that marker and add up both distances separately. The total area under the distance curve from 0 to 4 turns out to be 5.

Answer: \[ \int_0^4 |x-1|\, dx = 5 \]

📖 Evaluating an Integral of an Absolute Value Function

Detailed Explanation

The function inside the integral is \( |x-1| \), an absolute value. An absolute value function is defined piecewise, so we cannot integrate it directly over the whole interval. We must find where the inside expression \( x-1 \) changes sign. It equals zero at \( x = 1 \). For \( x < 1 \), we have \( x - 1 < 0 \), so \( |x-1| = -(x-1) = 1 - x \). For \( x \ge 1 \), we have \( x - 1 \ge 0 \), so \( |x-1| = x - 1 \). Since \( x = 1 \) lies inside our limits \( 0 \) to \( 4 \), we use the additivity property of definite integrals to split the integral at \( x = 1 \) and integrate each piece with the correct formula.

Formula Used

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

Solution

  1. Step 1: Identify where the expression inside the modulus changes sign. Setting \( x - 1 = 0 \) gives \( x = 1 \). Since \( 1 \) lies between the limits \( 0 \) and \( 4 \), we split the interval there.
  2. Step 2: Write the modulus as a piecewise function. On \( [0,1] \), \( x - 1 \le 0 \), so \( |x-1| = 1 - x \). On \( [1,4] \), \( x - 1 \ge 0 \), so \( |x-1| = x - 1 \).
  3. Step 3: Split the integral using the additivity property: \[ \int_0^4 |x-1|\, dx = \int_0^1 (1 - x)\, dx + \int_1^4 (x - 1)\, dx \]
  4. Step 4: Evaluate the first integral. \[ \int_0^1 (1 - x)\, dx = \left[ x - \frac{x^2}{2} \right]_0^1 \] Substituting the limits: \[ \left( 1 - \frac{1}{2} \right) - (0 - 0) = \frac{1}{2} \]
  5. Step 5: Evaluate the second integral. \[ \int_1^4 (x - 1)\, dx = \left[ \frac{x^2}{2} - x \right]_1^4 \] Substituting the limits: \[ \left( \frac{16}{2} - 4 \right) - \left( \frac{1}{2} - 1 \right) = (8 - 4) - \left( -\frac{1}{2} \right) = 4 + \frac{1}{2} = \frac{9}{2} \]
  6. Step 6: Add the two parts together. \[ \int_0^4 |x-1|\, dx = \frac{1}{2} + \frac{9}{2} = \frac{10}{2} = 5 \]

Final Answer

\[ \int_0^4 |x-1|\, dx = 5 \]

Common Mistake

A common mistake is to ignore the modulus and simply integrate \( x - 1 \) over \( [0,4] \), giving \( 4 \). This is wrong because the absolute value changes the function's form on \( [0,1] \), where \( x - 1 \) is negative. Always split the interval at the point where the inside expression becomes zero.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Find where the expression inside the modulus equals zero. Set \( x - 1 = 0 \), which gives \( x = 1 \). — Reason: The sign of \( x - 1 \) changes at \( x = 1 \), and this is the point where we must split the integral, since \( x = 1 \) falls inside the integration limits \( 0 \) to \( 4 \).
  2. Step 2: Determine the sign of \( x - 1 \) on each sub-interval. On \( [0, 1] \), we have \( x - 1 \le 0 \), so \( |x - 1| = 1 - x \). On \( [1, 4] \), we have \( x - 1 \ge 0 \), so \( |x - 1| = x - 1 \). — Reason: Removing the modulus correctly on each piece is essential; using the wrong sign on any sub-interval will lead to an incorrect result.
  3. Step 3: Split the original integral at \( x = 1 \) using the additivity property: \[ \int_0^4 |x-1|\, dx = \int_0^1 (1 - x)\, dx + \int_1^4 (x - 1)\, dx \] — Reason: Now each piece is a simple polynomial, which can be integrated directly using standard rules.
  4. Step 4: Evaluate the first integral. \[ \int_0^1 (1 - x)\, dx = \left[ x - \frac{x^2}{2} \right]_0^1 \] Substituting the upper limit \( x = 1 \): value is \( 1 - \frac{1}{2} = \frac{1}{2} \). Substituting the lower limit \( x = 0 \): value is \( 0 - 0 = 0 \). So the first integral equals \( \frac{1}{2} - 0 = \frac{1}{2} \). — Reason: We apply the fundamental theorem of calculus, substituting limits into the antiderivative.
  5. Step 5: Evaluate the second integral. \[ \int_1^4 (x - 1)\, dx = \left[ \frac{x^2}{2} - x \right]_1^4 \] Substituting the upper limit \( x = 4 \): value is \( \frac{16}{2} - 4 = 8 - 4 = 4 \). Substituting the lower limit \( x = 1 \): value is \( \frac{1}{2} - 1 = -\frac{1}{2} \). So the second integral equals \( 4 - \left( -\frac{1}{2} \right) = 4 + \frac{1}{2} = \frac{9}{2} \). — Reason: Same application of the fundamental theorem; note the subtraction of a negative gives addition.
  6. Step 6: Add the two results to get the final answer. \[ \int_0^4 |x-1|\, dx = \frac{1}{2} + \frac{9}{2} = \frac{10}{2} = 5 \] — Reason: The total integral is the sum of the integrals over the two sub-intervals.

Final Answer

\[ \int_0^4 |x-1|\, dx = 5 \]

Common Mistake

One common mistake: integrating \( |x-1| \) as \( x - 1 \) across the entire interval \( [0, 4] \) without splitting at \( x = 1 \), which ignores the sign change and gives the wrong answer of 4 instead of 5.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Piecewise form: \[|x-1| = \begin{cases} 1-x & 0 \le x < 1 \\ x-1 & 1 \le x \le 4 \end{cases}\] Split at \(x = 1\): \[\int_0^4 |x-1|\, dx = \int_0^1 (1-x)\, dx + \int_1^4 (x-1)\, dx\]
  2. Step 2: Evaluate first part: \[\int_0^1 (1-x)\, dx = \left[x - \frac{x^2}{2}\right]_0^1 = \left(1 - \frac{1}{2}\right) - 0 = \frac{1}{2}\]
  3. Step 3: Evaluate second part: \[\int_1^4 (x-1)\, dx = \left[\frac{x^2}{2} - x\right]_1^4 = \left(8 - 4\right) - \left(\frac{1}{2} - 1\right) = 4 + \frac{1}{2} = \frac{9}{2}\]
  4. Step 4: Add results: \[\frac{1}{2} + \frac{9}{2} = \frac{10}{2} = 5\]

Answer: \[ \int_0^4 |x-1|\, dx = 5 \]

➕ More Examples

More Examples

Example 1

Question: Evaluate \( \int_0^5 |x - 2| \, dx \).

Solution: The expression inside the absolute value is \( x - 2 \), which equals zero at \( x = 2 \). On \( [0, 2) \) we have \( x - 2 < 0 \), so \( |x-2| = -(x-2) = 2-x \). On \( [2, 5] \) we have \( x - 2 \ge 0 \), so \( |x-2| = x-2 \). We split the integral at \( x = 2 \): \[ \int_0^5 |x-2| \, dx = \int_0^2 (2-x) \, dx + \int_2^5 (x-2) \, dx \] Evaluating the first part: \[ \int_0^2 (2-x) \, dx = \left[ 2x - \frac{x^2}{2} \right]_0^2 = \left(4 - 2\right) - 0 = 2 \] Evaluating the second part: \[ \int_2^5 (x-2) \, dx = \left[ \frac{x^2}{2} - 2x \right]_2^5 = \left(\frac{25}{2} - 10\right) - \left(2 - 4\right) = \frac{5}{2} + 2 = \frac{9}{2} \] Adding both parts: \[ \int_0^5 |x-2| \, dx = 2 + \frac{9}{2} = \frac{4}{2} + \frac{9}{2} = \frac{13}{2} \]

Answer: \( \dfrac{13}{2} \)

Example 2

Question: Evaluate \( \int_{-1}^{3} |x - 1| \, dx \).

Solution: The expression inside the absolute value is \( x - 1 \), which equals zero at \( x = 1 \). On \( [-1, 1) \) we have \( x - 1 < 0 \), so \( |x-1| = 1-x \). On \( [1, 3] \) we have \( x - 1 \ge 0 \), so \( |x-1| = x-1 \). We split the integral at \( x = 1 \): \[ \int_{-1}^{3} |x-1| \, dx = \int_{-1}^{1} (1-x) \, dx + \int_{1}^{3} (x-1) \, dx \] Evaluating the first part: \[ \int_{-1}^{1} (1-x) \, dx = \left[ x - \frac{x^2}{2} \right]_{-1}^{1} = \left(1 - \frac{1}{2}\right) - \left(-1 - \frac{1}{2}\right) = \frac{1}{2} - \left(-\frac{3}{2}\right) = \frac{1}{2} + \frac{3}{2} = 2 \] Evaluating the second part: \[ \int_{1}^{3} (x-1) \, dx = \left[ \frac{x^2}{2} - x \right]_{1}^{3} = \left(\frac{9}{2} - 3\right) - \left(\frac{1}{2} - 1\right) = \frac{3}{2} - \left(-\frac{1}{2}\right) = \frac{3}{2} + \frac{1}{2} = 2 \] Adding both parts: \[ \int_{-1}^{3} |x-1| \, dx = 2 + 2 = 4 \]

Answer: \( 4 \)

🎯 Try a Similar Question

Try a Similar Question

Question: Evaluate the integral \[\int_0^5 |x - 3| \, dx\] using the properties of definite integrals.

Solution

  1. Step 1: Identify where the expression inside |·| changes sign: Set \( x - 3 = 0 \), giving \( x = 3 \). This is the critical point that lies inside the interval \([0, 5]\). For \( x < 3 \), we have \( x - 3 < 0 \), so \( |x - 3| = -(x - 3) = 3 - x \). For \( x \ge 3 \), we have \( x - 3 \ge 0 \), so \( |x - 3| = x - 3 \).
  2. Step 2: Split the integral at x = 3: Using the additive property of definite integrals: \[\int_0^5 |x - 3| \, dx = \int_0^3 |x - 3| \, dx + \int_3^5 |x - 3| \, dx\] Replacing the absolute values on each sub-interval: \[= \int_0^3 (3 - x) \, dx + \int_3^5 (x - 3) \, dx\]
  3. Step 3: Evaluate the first integral: \[\int_0^3 (3 - x) \, dx = \left[ 3x - \frac{x^2}{2} \right]_0^3\] Substituting the limits: \[= \left(3(3) - \frac{3^2}{2}\right) - \left(3(0) - \frac{0^2}{2}\right) = 9 - \frac{9}{2} - 0 = \frac{9}{2}\]
  4. Step 4: Evaluate the second integral: \[\int_3^5 (x - 3) \, dx = \left[ \frac{x^2}{2} - 3x \right]_3^5\] Substituting the limits: \[= \left(\frac{25}{2} - 15\right) - \left(\frac{9}{2} - 9\right) = \left(\frac{25}{2} - 15\right) - \left(\frac{9}{2} - 9\right)\] Simplifying each bracket: \[= \frac{25 - 30}{2} - \frac{9 - 18}{2} = \frac{-5}{2} - \frac{-9}{2} = \frac{-5 + 9}{2} = \frac{4}{2} = 2\]
  5. Step 5: Add the two results: \[\int_0^5 |x - 3| \, dx = \frac{9}{2} + 2 = \frac{9}{2} + \frac{4}{2} = \frac{13}{2}\]

Answer: \[\int_0^5 |x - 3| \, dx = \frac{13}{2}\]

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/4/1 2022 / Section B Q8(b) 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)