SOLVER7 Study. Nothing Else.
Exercise 7.10 Q5

By using the properties of definite integrals, evaluate the integrals in Exercises 1 to 19. \(\int^5_{-5}|x+2|\ dx\)

CBSE Class 12 Maths · Integrals

Solution

👶 Simple Explanation

Simple Explanation

Think of absolute value like a rule that always gives you a positive distance. The expression |x+2| behaves differently on different parts of the number line. Imagine walking a road from -5 to 5. At the point x = -2, the road changes character. Before that point, distances are measured one way. After that point, distances are measured another way. We split the journey at x = -2, calculate each part separately, then add both parts together to get the total area of 29.

Answer: \[\int_{-5}^{5} |x+2|\, dx = 29\]

📖 Evaluating the Integral of an Absolute Value Function

Detailed Explanation

When an integrand contains an absolute value like \(|x+2|\), we cannot integrate it directly because its formula changes depending on the sign of the inside expression. The definition of modulus is \(|x+2| = x+2\) when \(x+2 \ge 0\) (that is \(x \ge -2\)), and \(|x+2| = -(x+2)\) when \(x+2 < 0\) (that is \(x < -2\)). So the critical point is where \(x+2 = 0\), giving \(x = -2\). Since this point lies inside the interval \([-5, 5]\), we use the additivity property of definite integrals to split the integral at \(x = -2\), replacing the modulus with its correct algebraic form on each piece.

Formula Used

Additivity property: \[\int_a^b f(x)\, dx = \int_a^c f(x)\, dx + \int_c^b f(x)\, dx\] Definition of modulus: \[|x+2| = \begin{cases} -(x+2) & x < -2 \\ x+2 & x \ge -2 \end{cases}\]

Solution

  1. Step 1: Find where the expression inside the modulus changes sign. Set \(x + 2 = 0\), which gives \(x = -2\). This point lies between \(-5\) and \(5\), so it is our splitting point.
  2. Step 2: Split the integral at \(x = -2\) using the additivity property: \[\int_{-5}^{5} |x+2|\, dx = \int_{-5}^{-2} |x+2|\, dx + \int_{-2}^{5} |x+2|\, dx\]
  3. Step 3: Replace the modulus with its correct form on each piece. For \(-5 \le x < -2\), we have \(x + 2 < 0\), so \(|x+2| = -(x+2)\). For \(-2 \le x \le 5\), we have \(x + 2 \ge 0\), so \(|x+2| = x+2\). This gives \[\int_{-5}^{-2} -(x+2)\, dx + \int_{-2}^{5} (x+2)\, dx\]
  4. Step 4: Evaluate the first integral. \[\int_{-5}^{-2} -(x+2)\, dx = -\left[\frac{x^2}{2} + 2x\right]_{-5}^{-2}\] At \(x = -2\): \(\frac{4}{2} + 2(-2) = 2 - 4 = -2\). At \(x = -5\): \(\frac{25}{2} + 2(-5) = 12.5 - 10 = 2.5\). So the bracket is \(-2 - 2.5 = -4.5\), and with the negative sign we get \(-(-4.5) = 4.5\), that is \(\frac{9}{2}\).
  5. Step 5: Evaluate the second integral. \[\int_{-2}^{5} (x+2)\, dx = \left[\frac{x^2}{2} + 2x\right]_{-2}^{5}\] At \(x = 5\): \(\frac{25}{2} + 2(5) = 12.5 + 10 = 22.5\). At \(x = -2\): \(\frac{4}{2} + 2(-2) = 2 - 4 = -2\). So the value is \(22.5 - (-2) = 24.5\), that is \(\frac{49}{2}\).
  6. Step 6: Add the two results. \[\frac{9}{2} + \frac{49}{2} = \frac{58}{2} = 29\]

Final Answer

\[\int_{-5}^{5} |x+2|\, dx = 29\]

Common Mistake

A common mistake is to integrate \(|x+2|\) directly as if it were \((x+2)\) over the whole interval \([-5,5]\), ignoring that the modulus changes formula at \(x = -2\). This gives the wrong answer of \(20\) instead of \(29\). Always split the integral at the point where the expression inside the modulus is zero.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Locate the zero of the expression inside the absolute value by solving \(x + 2 = 0\), which gives \(x = -2\). — Reason: The modulus changes its algebraic rule exactly where the inner expression equals zero, so we must find this critical point before doing anything else.
  2. Step 2: Check that \(x = -2\) lies inside the interval of integration \([-5,\\, 5]\). Since \(-5 < -2 < 5\), the critical point is interior to the interval. — Reason: Only if the zero lies strictly inside the interval do we need to split; if it were outside, no split would be required.
  3. Step 3: Use the additivity property to split the integral at \(x = -2\): \[\int_{-5}^{5} |x+2|\, dx = \int_{-5}^{-2} |x+2|\, dx + \int_{-2}^{5} |x+2|\, dx\] — Reason: Splitting lets us work on sub-intervals where the modulus has a single, fixed algebraic form, making direct integration possible.
  4. Step 4: Replace the modulus with its correct algebraic form on each sub-interval. On \([-5,\\,-2]\) we have \(x + 2 \le 0\), so \(|x+2| = -(x+2)\). On \([-2,\\,5]\) we have \(x + 2 \ge 0\), so \(|x+2| = x+2\). The integral becomes \[\int_{-5}^{-2} -(x+2)\, dx + \int_{-2}^{5} (x+2)\, dx\] — Reason: Removing the absolute value signs and writing the correct signed expression is the key algebraic step that allows standard polynomial integration.
  5. Step 5: Evaluate the first integral using the power rule: \[\int_{-5}^{-2} -(x+2)\, dx = \left[-\frac{(x+2)^2}{2}\right]_{-5}^{-2}\] Substituting the limits: \[\left(-\frac{(-2+2)^2}{2}\right) - \left(-\frac{(-5+2)^2}{2}\right) = \left(-\frac{0}{2}\right) - \left(-\frac{9}{2}\right) = 0 + \frac{9}{2} = \frac{9}{2}\] — Reason: Applying the antiderivative and the Fundamental Theorem of Calculus gives the numerical value of the first piece.
  6. Step 6: Evaluate the second integral using the power rule: \[\int_{-2}^{5} (x+2)\, dx = \left[\frac{(x+2)^2}{2}\right]_{-2}^{5}\] Substituting the limits: \[\frac{(5+2)^2}{2} - \frac{(-2+2)^2}{2} = \frac{49}{2} - \frac{0}{2} = \frac{49}{2}\] — Reason: The same approach applied to the second piece yields its numerical value.
  7. Step 7: Add the two results together: \[\int_{-5}^{5} |x+2|\, dx = \frac{9}{2} + \frac{49}{2} = \frac{58}{2} = 29\] — Reason: Combining the values of both pieces gives the total value of the original definite integral.

Final Answer

\[\int_{-5}^{5} |x+2|\, dx = 29\]

Common Mistake

One common mistake: Students forget to negate the expression inside the modulus on the sub-interval where \(x + 2 < 0\), writing \(|x+2| = x+2\) everywhere instead of \(|x+2| = -(x+2)\) for \(x < -2\), which leads to an incorrect (usually smaller) answer.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Split at \( x = -2 \) (where \( x + 2 = 0 \)): \[\int_{-5}^{5} |x+2|\, dx = \int_{-5}^{-2} -(x+2)\, dx + \int_{-2}^{5} (x+2)\, dx\]
  2. Step 2: Evaluate first integral: \[\int_{-5}^{-2} -(x+2)\, dx = -\left[\frac{x^2}{2} + 2x\right]_{-5}^{-2} = -\left[(2 - 4) - \left(\frac{25}{2} - 10\right)\right] = -\left[-2 - \frac{5}{2}\right] = \frac{9}{2}\]
  3. Step 3: Evaluate second integral: \[\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{45}{2} + 2 = \frac{49}{2}\]
  4. Step 4: Add the two results: \[\frac{9}{2} + \frac{49}{2} = \frac{58}{2} = 29\]

Answer: \[\int_{-5}^{5} |x+2|\, dx = 29\]

➕ More Examples

More Examples

Example 1

Question: Using properties of definite integrals, evaluate \(\int_{-4}^{4} |x - 1| \, dx\).

Solution: We need to find where \(x - 1 = 0\), i.e., at \(x = 1\), which lies in the interval \([-4, 4]\). Removing the absolute value: \[|x - 1| = \begin{cases} -(x-1) & x < 1 \\ (x-1) & x \ge 1 \end{cases}\] Splitting the integral at \(x = 1\): \[\int_{-4}^{4} |x-1| \, dx = \int_{-4}^{1} -(x-1) \, dx + \int_{1}^{4} (x-1) \, dx\] Evaluating the first part: \[\int_{-4}^{1} -(x-1) \, dx = \int_{-4}^{1} (1-x) \, dx = \left[ x - \frac{x^2}{2} \right]_{-4}^{1}\] Substituting limits: \[= \left(1 - \frac{1}{2}\right) - \left(-4 - \frac{16}{2}\right) = \frac{1}{2} - (-4 - 8) = \frac{1}{2} + 12 = \frac{25}{2}\] Evaluating the second part: \[\int_{1}^{4} (x-1) \, dx = \left[ \frac{x^2}{2} - x \right]_{1}^{4}\] Substituting 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}\] Adding both parts: \[\int_{-4}^{4} |x-1| \, dx = \frac{25}{2} + \frac{9}{2} = \frac{34}{2} = 17\]

Answer: 17

Example 2

Question: Using properties of definite integrals, evaluate \(\int_{0}^{6} |x - 3| \, dx\).

Solution: We find where \(x - 3 = 0\), i.e., at \(x = 3\), which lies in the interval \([0, 6]\). Removing the absolute value: \[|x - 3| = \begin{cases} -(x-3) & 0 \le x < 3 \\ (x-3) & 3 \le x \le 6 \end{cases}\] Splitting the integral at \(x = 3\): \[\int_{0}^{6} |x-3| \, dx = \int_{0}^{3} -(x-3) \, dx + \int_{3}^{6} (x-3) \, dx\] Evaluating the first part: \[\int_{0}^{3} (3-x) \, dx = \left[ 3x - \frac{x^2}{2} \right]_{0}^{3}\] Substituting limits: \[= \left(9 - \frac{9}{2}\right) - (0) = 9 - \frac{9}{2} = \frac{9}{2}\] Evaluating the second part: \[\int_{3}^{6} (x-3) \, dx = \left[ \frac{x^2}{2} - 3x \right]_{3}^{6}\] Substituting limits: \[= \left(\frac{36}{2} - 18\right) - \left(\frac{9}{2} - 9\right) = (18 - 18) - \left(\frac{9}{2} - 9\right) = 0 - \left(-\frac{9}{2}\right) = \frac{9}{2}\] Adding both parts: \[\int_{0}^{6} |x-3| \, dx = \frac{9}{2} + \frac{9}{2} = \frac{18}{2} = 9\]

Answer: 9

🎯 Try a Similar Question

Try a Similar Question

Question: Using the properties of definite integrals, evaluate \[\int_{-4}^{4} |x - 1| \, dx\]

Solution

  1. Step 1: Find where the expression inside the absolute value is zero: Set \( x - 1 = 0 \), which gives \( x = 1 \). This point lies within the interval \([-4, 4]\), so we split the integral at \( x = 1 \).
  2. Step 2: Define the absolute value piecewise: We write: \[|x - 1| = \begin{cases} -(x-1) & x < 1 \\ (x-1) & x \ge 1 \end{cases}\]
  3. Step 3: Split the integral at x = 1: \[\int_{-4}^{4} |x - 1| \, dx = \int_{-4}^{1} -(x - 1) \, dx + \int_{1}^{4} (x - 1) \, dx\]
  4. Step 4: Evaluate the first integral: \[\int_{-4}^{1} -(x-1) \, dx = \int_{-4}^{1} (1 - x) \, dx = \left[ x - \frac{x^2}{2} \right]_{-4}^{1}\] Substituting the limits: \[= \left(1 - \frac{1}{2}\right) - \left(-4 - \frac{16}{2}\right) = \frac{1}{2} - (-4 - 8) = \frac{1}{2} + 12 = \frac{25}{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 both results: \[\int_{-4}^{4} |x - 1| \, dx = \frac{25}{2} + \frac{9}{2} = \frac{34}{2} = 17\]

Answer: \[\int_{-4}^{4} |x - 1| \, dx = 17\]

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)