SOLVER7 Study. Nothing Else.
Miscellaneous Exercise Chapter 8 Q2

Sketch the graph of \(y=|x+3|\) and evaluate \(\int^0_{-6}|x+3|dx.\)

CBSE Class 12 Maths · Application of Integrals

Solution

👶 Simple Explanation

Simple Explanation

Imagine a road that dips down to zero and then rises back up, forming a V-shape. The expression inside the absolute value bars tells us how far we are from a special point, which here is \( x = -3 \). Distances are always positive, so we remove any minus signs. Our journey goes from \( x = -6 \) to \( x = 0 \), and the V-shape bottom sits right in the middle at \( x = -3 \). We find the total area under that V-shape, which turns out to be 9 square units.

Answer: \[ \int_{-6}^{0} |x+3|\, dx = 9 \]

📖 Graph and Definite Integral of y = |x + 3|

Detailed Explanation

The modulus (absolute value) function \( |x+3| \) is defined in two pieces because the quantity inside the modulus changes sign. The expression \( x+3 \) is zero when \( x = -3 \), positive when \( x > -3 \), and negative when \( x < -3 \). So we write \[ |x+3| = \begin{cases} x+3 & x \ge -3 \\ -(x+3) & x < -3 \end{cases} \] Its graph is a V-shape with the corner (vertex) at \( (-3, 0) \), opening upwards. To the left of \( x = -3 \) it is the line \( y = -(x+3) \) with slope \( -1 \), and to the right it is the line \( y = x+3 \) with slope \( +1 \). When integrating an absolute value over an interval that contains the corner point, we must split the integral at that point, because the formula for the function is different on each side.

Formula Used

\[ \int_a^b f(x)\, dx = \int_a^c f(x)\, dx + \int_c^b f(x)\, dx \] where \( c \) is the point at which the definition of \( f \) changes. Also \( |x+3| = -(x+3) \) for \( x < -3 \) and \( |x+3| = x+3 \) for \( x \ge -3 \).

Solution

  1. Step 1: Identify where the modulus changes sign. Set the inside equal to zero: \( x + 3 = 0 \Rightarrow x = -3 \). This is the corner (vertex) of the V-shaped graph.
  2. Step 2: Write the piecewise definition based on the sign of \( x+3 \): \[ |x+3| = \begin{cases} -(x+3) & -6 \le x < -3 \\ x+3 & -3 \le x \le 0 \end{cases} \]
  3. Step 3: Sketch the graph. Plot key points: at \( x=-6 \), \( y = |-6+3| = 3 \); at \( x=-3 \), \( y = 0 \) (the vertex on the x-axis); at \( x=0 \), \( y = |0+3| = 3 \). Join \( (-6,3) \) to \( (-3,0) \) by a straight line of slope \( -1 \), and \( (-3,0) \) to \( (0,3) \) by a straight line of slope \( +1 \). The result is a symmetric V opening upward with vertex at \( (-3,0) \).
  4. Step 4: Split the definite integral at \( x = -3 \), the point where the definition changes: \[ \int_{-6}^{0} |x+3|\, dx = \int_{-6}^{-3} -(x+3)\, dx + \int_{-3}^{0} (x+3)\, dx \] This is necessary because a single formula does not apply over the whole interval.
  5. Step 5: Evaluate the first integral: \[ \int_{-6}^{-3} -(x+3)\, dx = -\left[ \frac{x^2}{2} + 3x \right]_{-6}^{-3} \] At \( x=-3 \): \( \frac{9}{2} - 9 = -\frac{9}{2} \). At \( x=-6 \): \( \frac{36}{2} - 18 = 0 \). So the bracket equals \( -\frac{9}{2} - 0 = -\frac{9}{2} \), and with the outside minus sign we get \( \frac{9}{2} \).
  6. Step 6: Evaluate the second integral: \[ \int_{-3}^{0} (x+3)\, dx = \left[ \frac{x^2}{2} + 3x \right]_{-3}^{0} \] At \( x=0 \): \( 0 \). At \( x=-3 \): \( \frac{9}{2} - 9 = -\frac{9}{2} \). So the value is \( 0 - \left(-\frac{9}{2}\right) = \frac{9}{2} \).
  7. Step 7: Add the two parts: \[ \int_{-6}^{0} |x+3|\, dx = \frac{9}{2} + \frac{9}{2} = 9 \] This equals the total area of the two triangles under the V, each with base \( 3 \) and height \( 3 \), giving area \( \tfrac{1}{2}\times 3 \times 3 = \tfrac{9}{2} \) each.

Final Answer

\[ \int_{-6}^{0} |x+3|\, dx = 9 \]

Common Mistake

A very common error is integrating \( |x+3| \) directly as \( x+3 \) over the whole interval \( [-6, 0] \) without splitting at \( x = -3 \). This ignores that \( x+3 \) is negative for \( x < -3 \), and gives the wrong (often \( 0 \)) answer instead of \( 9 \).

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Find where the expression inside the modulus equals zero: Set the inside equal to zero: \( x + 3 = 0 \) which gives \( x = -3 \). — Reason: The modulus function \( |x+3| \) changes its rule at the point where \( x + 3 = 0 \); this is the corner (vertex) of the V-shaped graph and is the split point for the integral.
  2. Step 2: Write the piecewise definition over the given interval: Since the integration interval is \( [-6, 0] \) and the split occurs at \( x = -3 \), we write: \[ |x+3| = \begin{cases} -(x+3) & -6 \le x < -3 \\ x+3 & -3 \le x \le 0 \end{cases} \] — Reason: For \( x < -3 \), the quantity \( x+3 \) is negative, so the absolute value reverses its sign. For \( x \ge -3 \), the quantity is non-negative, so the absolute value leaves it unchanged.
  3. Step 3: Split the integral at the corner point: Replace the original integral with two separate integrals: \[ \int_{-6}^{0} |x+3|\, dx = \int_{-6}^{-3} -(x+3)\, dx + \int_{-3}^{0} (x+3)\, dx \] — Reason: The formula for \( |x+3| \) is different on each sub-interval, so we must integrate them separately using the correct expression on each piece.
  4. Step 4: Evaluate the first integral: Compute \( \int_{-6}^{-3} -(x+3)\, dx \). The antiderivative of \( -(x+3) \) is \( -\frac{x^2}{2} - 3x \). Applying limits: \[ \left[ -\frac{x^2}{2} - 3x \right]_{-6}^{-3} \] At \( x = -3 \): \( -\frac{9}{2} - 3(-3) = -\frac{9}{2} + 9 = \frac{9}{2} \). At \( x = -6 \): \( -\frac{36}{2} - 3(-6) = -18 + 18 = 0 \). So the first integral equals \( \frac{9}{2} - 0 = \frac{9}{2} \). — Reason: We substitute the upper and lower limits into the antiderivative and subtract (upper minus lower) as required by the Fundamental Theorem of Calculus.
  5. Step 5: Evaluate the second integral: Compute \( \int_{-3}^{0} (x+3)\, dx \). The antiderivative of \( x+3 \) is \( \frac{x^2}{2} + 3x \). Applying limits: \[ \left[ \frac{x^2}{2} + 3x \right]_{-3}^{0} \] At \( x = 0 \): \( 0 + 0 = 0 \). At \( x = -3 \): \( \frac{9}{2} + 3(-3) = \frac{9}{2} - 9 = -\frac{9}{2} \). So the second integral equals \( 0 - \left(-\frac{9}{2}\right) = \frac{9}{2} \). — Reason: Again we use the Fundamental Theorem, carefully handling the negative lower limit.
  6. Step 6: Add the two results: Combine both parts: \( \frac{9}{2} + \frac{9}{2} = 9 \). — Reason: The total area under \( |x+3| \) over \( [-6, 0] \) is the sum of the areas on both sub-intervals. Since \( |x+3| \ge 0 \) everywhere, both pieces contribute positive area, confirming the answer is positive.

Final Answer

\[ \int_{-6}^{0} |x+3|\, dx = 9 \]

Common Mistake

One common mistake: Forgetting to split the integral at \( x = -3 \) and instead integrating \( x+3 \) directly over the entire interval \( [-6, 0] \). This gives the wrong answer because \( x+3 \) is negative on \( [-6, -3) \), so the absolute value is not the same as \( x+3 \) there — you must use \( -(x+3) \) on that sub-interval.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Split at \( x = -3 \) where \( x + 3 = 0 \): \[ \int_{-6}^{0} |x+3| \, dx = \int_{-6}^{-3} -(x+3) \, dx + \int_{-3}^{0} (x+3) \, dx \]
  2. Step 2: Evaluate first integral: \[ \int_{-6}^{-3} -(x+3) \, dx = \left[ -\frac{(x+3)^2}{2} \right]_{-6}^{-3} = 0 - \left(-\frac{9}{2}\right) = \frac{9}{2} \]
  3. Step 3: Evaluate second integral: \[ \int_{-3}^{0} (x+3) \, dx = \left[ \frac{(x+3)^2}{2} \right]_{-3}^{0} = \frac{9}{2} - 0 = \frac{9}{2} \]
  4. Step 4: Add results: \( \dfrac{9}{2} + \dfrac{9}{2} = 9 \)

Answer: \[ \int_{-6}^{0} |x+3|\, dx = 9 \]

➕ More Examples

More Examples

Example 1

Question: Sketch the graph of \(y = |x - 2|\) and evaluate \(\int_{-2}^{6} |x - 2| \, dx\).

Solution: We first find where the expression inside the absolute value is zero. Setting \(x - 2 = 0\) gives \(x = 2\). So we have: \[y = |x - 2| = \begin{cases} -(x-2) & x < 2 \\ (x-2) & x \ge 2 \end{cases}\] The graph is a V-shaped curve with vertex at \((2, 0)\). For \(x < 2\) the graph has a slope of \(-1\), and for \(x > 2\) it has a slope of \(+1\). Now we split the integral at \(x = 2\): \[\int_{-2}^{6} |x - 2| \, dx = \int_{-2}^{2} |x - 2| \, dx + \int_{2}^{6} |x - 2| \, dx\] On \([-2, 2]\), we have \(x - 2 \le 0\), so \(|x - 2| = -(x - 2) = 2 - x\). On \([2, 6]\), we have \(x - 2 \ge 0\), so \(|x - 2| = x - 2\). Therefore: \[\int_{-2}^{6} |x - 2| \, dx = \int_{-2}^{2} (2 - x) \, dx + \int_{2}^{6} (x - 2) \, dx\] Evaluating the first integral: \[\int_{-2}^{2} (2 - x) \, dx = \left[ 2x - \frac{x^2}{2} \right]_{-2}^{2}\] \[= \left(2(2) - \frac{(2)^2}{2}\right) - \left(2(-2) - \frac{(-2)^2}{2}\right)\] \[= \left(4 - 2\right) - \left(-4 - 2\right) = 2 - (-6) = 8\] Evaluating the second integral: \[\int_{2}^{6} (x - 2) \, dx = \left[ \frac{x^2}{2} - 2x \right]_{2}^{6}\] \[= \left(\frac{36}{2} - 12\right) - \left(\frac{4}{2} - 4\right)\] \[= (18 - 12) - (2 - 4) = 6 - (-2) = 8\] Adding both results: \[\int_{-2}^{6} |x - 2| \, dx = 8 + 8 = 16\]

Answer: \(\int_{-2}^{6} |x - 2| \, dx = 16\)

Example 2

Question: Sketch the graph of \(y = |2x + 4|\) and evaluate \(\int_{-4}^{2} |2x + 4| \, dx\).

Solution: We first find where the expression inside the absolute value is zero. Setting \(2x + 4 = 0\) gives \(x = -2\). So we have: \[y = |2x + 4| = \begin{cases} -(2x + 4) & x < -2 \\ (2x + 4) & x \ge -2 \end{cases}\] The graph is a V-shaped curve with vertex at \((-2, 0)\). For \(x < -2\) the graph has a slope of \(-2\), and for \(x > -2\) it has a slope of \(+2\). Now we split the integral at \(x = -2\): \[\int_{-4}^{2} |2x + 4| \, dx = \int_{-4}^{-2} |2x + 4| \, dx + \int_{-2}^{2} |2x + 4| \, dx\] On \([-4, -2]\), we have \(2x + 4 \le 0\), so \(|2x + 4| = -(2x + 4)\). On \([-2, 2]\), we have \(2x + 4 \ge 0\), so \(|2x + 4| = 2x + 4\). Therefore: \[\int_{-4}^{2} |2x + 4| \, dx = \int_{-4}^{-2} -(2x + 4) \, dx + \int_{-2}^{2} (2x + 4) \, dx\] Evaluating the first integral: \[\int_{-4}^{-2} -(2x + 4) \, dx = \left[ -x^2 - 4x \right]_{-4}^{-2}\] \[= \left(-(-2)^2 - 4(-2)\right) - \left(-(-4)^2 - 4(-4)\right)\] \[= (-4 + 8) - (-16 + 16) = 4 - 0 = 4\] Evaluating the second integral: \[\int_{-2}^{2} (2x + 4) \, dx = \left[ x^2 + 4x \right]_{-2}^{2}\] \[= \left((2)^2 + 4(2)\right) - \left((-2)^2 + 4(-2)\right)\] \[= (4 + 8) - (4 - 8) = 12 - (-4) = 16\] Adding both results: \[\int_{-4}^{2} |2x + 4| \, dx = 4 + 16 = 20\]

Answer: \(\int_{-4}^{2} |2x + 4| \, dx = 20\)

🎯 Try a Similar Question

Try a Similar Question

Question: Sketch the graph of \( y = |x - 2| \) and evaluate \[ \int_{-1}^{5} |x - 2| \, dx. \]

Solution

  1. Step 1: Understand the function and find the critical point: The function is \( y = |x - 2| \). The expression inside the absolute value, \( x - 2 \), equals zero when \( x = 2 \). So \( x = 2 \) is the critical point (the vertex of the V-shaped graph).
  2. Step 2: Write the piecewise definition: We write \( y = |x - 2| \) as a piecewise function: \[ |x - 2| = \begin{cases} -(x - 2) = 2 - x & \text{if } x < 2 \\ x - 2 & \text{if } x \ge 2 \end{cases} \]
  3. Step 3: Sketch the graph: The graph of \( y = |x - 2| \) is a V-shaped curve with vertex at \( (2, 0) \). For \( x < 2 \), the graph is the line \( y = 2 - x \) (falling from left to right). For \( x \ge 2 \), it is the line \( y = x - 2 \) (rising from left to right). The region of integration is from \( x = -1 \) to \( x = 5 \), which lies on both sides of the vertex \( x = 2 \).
  4. Step 4: Split the integral at the critical point: Since the expression changes sign at \( x = 2 \), which lies inside \( [-1, 5] \), we split the integral: \[ \int_{-1}^{5} |x - 2| \, dx = \int_{-1}^{2} (2 - x) \, dx + \int_{2}^{5} (x - 2) \, dx \]
  5. Step 5: Evaluate the first integral: Evaluate \( \int_{-1}^{2} (2 - x) \, dx \): \[ \int_{-1}^{2} (2 - x) \, dx = \left[ 2x - \frac{x^2}{2} \right]_{-1}^{2} \] Substituting the limits: \[ = \left( 2(2) - \frac{(2)^2}{2} \right) - \left( 2(-1) - \frac{(-1)^2}{2} \right) \] \[ = \left( 4 - 2 \right) - \left( -2 - \frac{1}{2} \right) \] \[ = 2 - \left( -\frac{5}{2} \right) = 2 + \frac{5}{2} = \frac{9}{2} \]
  6. Step 6: Evaluate the second integral: Evaluate \( \int_{2}^{5} (x - 2) \, dx \): \[ \int_{2}^{5} (x - 2) \, dx = \left[ \frac{x^2}{2} - 2x \right]_{2}^{5} \] Substituting the limits: \[ = \left( \frac{(5)^2}{2} - 2(5) \right) - \left( \frac{(2)^2}{2} - 2(2) \right) \] \[ = \left( \frac{25}{2} - 10 \right) - \left( 2 - 4 \right) \] \[ = \frac{5}{2} - (-2) = \frac{5}{2} + 2 = \frac{9}{2} \]
  7. Step 7: Add the two results: Adding both integrals: \[ \int_{-1}^{5} |x - 2| \, dx = \frac{9}{2} + \frac{9}{2} = 9 \] Wait — this would equal 9, the same as the original. Let me recheck: the original uses limits \( -6 \) to \( 0 \) with \( |x + 3| \). Here we use \( -1 \) to \( 5 \) with \( |x - 2| \), giving sub-intervals of lengths 3 and 3. Let us instead use limits \( -1 \) to \( 6 \). Revised: \[ \int_{-1}^{6} |x - 2| \, dx = \int_{-1}^{2} (2 - x) \, dx + \int_{2}^{6} (x - 2) \, dx \] First part remains \( \frac{9}{2} \). Second part: \[ \int_{2}^{6} (x - 2) \, dx = \left[ \frac{x^2}{2} - 2x \right]_{2}^{6} = \left( 18 - 12 \right) - \left( 2 - 4 \right) = 6 - (-2) = 8 \] Total: \[ \frac{9}{2} + 8 = \frac{9}{2} + \frac{16}{2} = \frac{25}{2} \]
  8. Step 8: Final Answer: Therefore: \[ \int_{-1}^{6} |x - 2| \, dx = \frac{9}{2} + 8 = \frac{25}{2} \]

Answer: \[ \int_{-1}^{6} |x - 2| \, dx = \frac{25}{2} \]

Everything you get with Solver7

More questions in Application of Integrals