Integrate the functions in Exercises 1 to 22. \(x^2\ e^x\ \)
CBSE Class 12 Maths · Integrals
CBSE Class 12 Maths · Integrals
Imagine you want to undo a knot that has two strings twisted together. Integrating \( x^2 e^x \) is like untwisting two functions wrapped around each other. A special trick called integration by parts lets us peel one function away at a time. Because \( x^2 \) shrinks when you differentiate it, we keep peeling until the polynomial disappears completely. After doing this peeling twice, everything simplifies neatly into a clean answer.
Answer: \[\int x^2 e^x \, dx = e^x \left( x^2 - 2x + 2 \right) + C\]
When we integrate a product of two different types of functions (here a polynomial \( x^2 \) and an exponential \( e^x \)), we use the technique called integration by parts. This method comes from the product rule of differentiation. To decide which function is the first function (call it \( u \)) and which is the second (call it \( dv \)), we use the ILATE rule, where I = Inverse trig, L = Logarithm, A = Algebraic, T = Trigonometric, E = Exponential. The function appearing earlier in ILATE is chosen as \( u \). Here \( x^2 \) is Algebraic (A) and \( e^x \) is Exponential (E), so we take \( u = x^2 \). Since differentiating \( x^2 \) reduces its power, repeated application of by parts eventually removes the polynomial completely.
\[\int u \, v \, dx = u \int v \, dx - \int \left( \frac{du}{dx} \int v \, dx \right) dx\]
\[\int x^2 e^x \, dx = e^x \left( x^2 - 2x + 2 \right) + C\]
A common mistake is forgetting the minus sign when substituting the second by-parts result back, or dropping the brackets. The whole expression \( (2x e^x - 2 e^x) \) must be subtracted, which changes the sign of every term inside it, giving \( -2x e^x + 2 e^x \).
\[\int x^2 e^x \, dx = e^x \left( x^2 - 2x + 2 \right) + C\]
One common mistake: When expanding \( x^2 e^x - (2x \, e^x - 2e^x) \) in Step 6, students often forget to distribute the minus sign correctly, writing \( -2x \, e^x - 2e^x \) instead of the correct \( -2x \, e^x + 2e^x \), which changes the final answer.
Answer: \[\int x^2 e^x \, dx = e^x \left( x^2 - 2x + 2 \right) + C\]
Question: Integrate \( x^2 e^{3x} \) with respect to \( x \).
Solution: We apply integration by parts twice, since the polynomial factor \( x^2 \) requires two reductions. Let \( u = x^2 \) and \( dv = e^{3x} \, dx \). Then \( du = 2x \, dx \) and \( v = \dfrac{e^{3x}}{3} \). Applying the formula \( \int u \, dv = uv - \int v \, du \): \[\int x^2 e^{3x} \, dx = \frac{x^2 e^{3x}}{3} - \int \frac{e^{3x}}{3} \cdot 2x \, dx\] \[= \frac{x^2 e^{3x}}{3} - \frac{2}{3} \int x e^{3x} \, dx\] Now evaluate \( \int x e^{3x} \, dx \) by parts again. Let \( u = x \) and \( dv = e^{3x} \, dx \). Then \( du = dx \) and \( v = \dfrac{e^{3x}}{3} \). \[\int x e^{3x} \, dx = \frac{x e^{3x}}{3} - \int \frac{e^{3x}}{3} \, dx\] \[= \frac{x e^{3x}}{3} - \frac{e^{3x}}{9}\] Substituting back: \[\int x^2 e^{3x} \, dx = \frac{x^2 e^{3x}}{3} - \frac{2}{3}\left(\frac{x e^{3x}}{3} - \frac{e^{3x}}{9}\right)\] \[= \frac{x^2 e^{3x}}{3} - \frac{2x e^{3x}}{9} + \frac{2 e^{3x}}{27} + C\] Factoring out \( e^{3x} \): \[= e^{3x}\left(\frac{x^2}{3} - \frac{2x}{9} + \frac{2}{27}\right) + C\]
Answer: \[\int x^2 e^{3x} \, dx = e^{3x}\left(\frac{x^2}{3} - \frac{2x}{9} + \frac{2}{27}\right) + C\]
Question: Integrate \( x^2 e^{-x} \) with respect to \( x \).
Solution: We apply integration by parts twice. Let \( u = x^2 \) and \( dv = e^{-x} \, dx \). Then \( du = 2x \, dx \) and \( v = -e^{-x} \). Applying the formula: \[\int x^2 e^{-x} \, dx = x^2(-e^{-x}) - \int (-e^{-x}) \cdot 2x \, dx\] \[= -x^2 e^{-x} + 2\int x e^{-x} \, dx\] Now evaluate \( \int x e^{-x} \, dx \) by parts. Let \( u = x \) and \( dv = e^{-x} \, dx \). Then \( du = dx \) and \( v = -e^{-x} \). \[\int x e^{-x} \, dx = x(-e^{-x}) - \int (-e^{-x}) \, dx\] \[= -x e^{-x} - e^{-x}\] Substituting back: \[\int x^2 e^{-x} \, dx = -x^2 e^{-x} + 2\left(-x e^{-x} - e^{-x}\right)\] \[= -x^2 e^{-x} - 2x e^{-x} - 2e^{-x} + C\] Factoring out \( -e^{-x} \): \[= -e^{-x}\left(x^2 + 2x + 2\right) + C\]
Answer: \[\int x^2 e^{-x} \, dx = -e^{-x}\left(x^2 + 2x + 2\right) + C\]
Question: Integrate the function \( x^2 e^{3x} \) with respect to \( x \).
Answer: \[ \int x^2 e^{3x} \, dx = e^{3x} \left( \frac{x^2}{3} - \frac{2x}{9} + \frac{2}{27} \right) + C \]