Sketch the graph of \(y=|x+3|\) and evaluate \(\int^0_{-6}|x+3|dx.\)
CBSE Class 12 Maths · Application of Integrals
CBSE Class 12 Maths · Application of Integrals
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 \]
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.
\[ \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 \).
\[ \int_{-6}^{0} |x+3|\, dx = 9 \]
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 \).
\[ \int_{-6}^{0} |x+3|\, dx = 9 \]
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.
Answer: \[ \int_{-6}^{0} |x+3|\, dx = 9 \]
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\)
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\)
Question: Sketch the graph of \( y = |x - 2| \) and evaluate \[ \int_{-1}^{5} |x - 2| \, dx. \]
Answer: \[ \int_{-1}^{6} |x - 2| \, dx = \frac{25}{2} \]