SOLVER7 Study. Nothing Else.
2022 Board Paper Q6

Evaluate :\(\int^1_0 x^2 e^x\ dx\)

CBSE Class 12 Maths · Integrals

Solution

👶 Simple Explanation

Simple Explanation

Imagine you want to find the total area under a curvy hill described by \( x^2 e^x \) between 0 and 1. Because the hill is made of two things multiplied together, you need a special trick called integration by parts — like untangling two ropes twisted around each other. You untangle once, and you still have a smaller tangle, so you untangle again. After two rounds of untangling and plugging in the boundary numbers, everything simplifies beautifully. The answer turns out to be a surprisingly clean number involving \( e \).

Answer: \[\int_0^1 x^2 e^x \, dx = e - 2\]

📖 Definite Integral of x squared times e to the x

Detailed Explanation

The integrand \( x^2 e^x \) is a product of an algebraic function \( x^2 \) and an exponential function \( e^x \). Whenever we integrate a product like this, we use integration by parts. Since the power of \( x \) is 2, we will need to apply integration by parts twice. We follow the ILATE rule to choose which function is \( u \) (the one to differentiate) and which is \( dv \) (the one to integrate). Here the algebraic part \( x^2 \) comes before the exponential part in ILATE, so we take \( u = x^2 \). After finding the antiderivative, we apply the Fundamental Theorem of Calculus by plugging in the upper limit 1 and lower limit 0.

Formula Used

Integration by parts: \[\int u \, dv = uv - \int v \, du\] Fundamental Theorem of Calculus: \[\int_a^b f(x) \, dx = F(b) - F(a)\]

Solution

  1. Step 1: First find the indefinite integral \( \int x^2 e^x \, dx \). Choose \( u = x^2 \) so \( du = 2x \, dx \), and \( dv = e^x \, dx \) so \( v = e^x \). This choice follows ILATE, where the algebraic function is differentiated to lower its power.
  2. Step 2: Apply 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\] The remaining integral \( \int x e^x \, dx \) still has a product, so we apply integration by parts again.
  3. Step 3: For \( \int x e^x \, dx \), take \( u = x \) so \( du = dx \), and \( dv = e^x \, dx \) so \( v = e^x \). Then \[\int x e^x \, dx = x e^x - \int e^x \, dx = x e^x - e^x\]
  4. Step 4: Substitute this result back into Step 2: \[\int x^2 e^x \, dx = x^2 e^x - 2\left( x e^x - e^x \right)\] Simplifying gives \[\int x^2 e^x \, dx = x^2 e^x - 2x e^x + 2e^x = e^x \left( x^2 - 2x + 2 \right)\]
  5. Step 5: Now apply the limits from 0 to 1 using the Fundamental Theorem of Calculus. Let \( F(x) = e^x(x^2 - 2x + 2) \). At \( x = 1 \): \[F(1) = e^1(1 - 2 + 2) = e(1) = e\] At \( x = 0 \): \[F(0) = e^0(0 - 0 + 2) = 1 \cdot 2 = 2\]
  6. Step 6: Subtract the lower limit value from the upper limit value: \[\int_0^1 x^2 e^x \, dx = F(1) - F(0) = e - 2\]

Final Answer

\[\int_0^1 x^2 e^x \, dx = e - 2\]

Common Mistake

A very common mistake is applying integration by parts only once and forgetting that the leftover integral \( \int x e^x \, dx \) still needs another round of integration by parts. Another frequent error is a sign slip when distributing the \( -2 \) over \( (x e^x - e^x) \).

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Identify the method: the integrand \( x^2 e^x \) is a product of the polynomial \( x^2 \) and the exponential \( e^x \). — Reason: Such products cannot be integrated directly; integration by parts is needed. Because the degree of the polynomial is 2, we anticipate applying the formula twice.
  2. Step 2: Set up the first application of integration by parts. Choose \( u = x^2 \) so that \( du = 2x \, dx \), and \( dv = e^x \, dx \) so that \( v = e^x \). — Reason: By the ILATE rule, algebraic functions are differentiated first; differentiating \( x^2 \) reduces its power and simplifies the remaining integral.
  3. Step 3: Apply the formula \( \int u \, dv = uv - \int v \, du \): \[\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\] — Reason: The original integral is reduced, but \( \int x e^x \, dx \) is still a product, so one more round of integration by parts is required.
  4. Step 4: Apply integration by parts a second time to \( \int x e^x \, dx \). Choose \( u = x \) so that \( du = dx \), and \( dv = e^x \, dx \) so that \( v = e^x \). Then: \[\int x e^x \, dx = x e^x - \int e^x \, dx = x e^x - e^x\] — Reason: Now the polynomial factor has been fully eliminated and the remaining integral \( \int e^x \, dx \) is straightforward.
  5. Step 5: Substitute the result from Step 4 back into Step 3: \[\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\] — Reason: Combining the two applications of integration by parts gives us the complete antiderivative in a single expression.
  6. Step 6: Factor the antiderivative for clarity: \[\int x^2 e^x \, dx = e^x\left(x^2 - 2x + 2\right) + C\] — Reason: Factoring out \( e^x \) makes the expression compact and reduces the chance of arithmetic errors when substituting the limits.
  7. Step 7: Evaluate the definite integral using the Fundamental Theorem of Calculus. Let \( F(x) = e^x(x^2 - 2x + 2) \). At the upper limit: \( F(1) = e^1(1 - 2 + 2) = e \cdot 1 = e \). At the lower limit: \( F(0) = e^0(0 - 0 + 2) = 1 \cdot 2 = 2 \). Therefore: \[\int_0^1 x^2 e^x \, dx = F(1) - F(0) = e - 2\] — Reason: Substituting the limits and subtracting gives the exact numerical value of the definite integral.

Final Answer

\[\int_0^1 x^2 e^x \, dx = e - 2\]

Common Mistake

One common mistake: students forget to carry the factor of 2 (from differentiating \( x^2 \)) into the second integral, writing \( x^2 e^x - \int x e^x \, dx \) instead of the correct \( x^2 e^x - 2\int x e^x \, dx \), which leads to a wrong antiderivative and an incorrect final answer.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Let \( u = x^2 \), \( dv = e^x \, dx \) so \( du = 2x \, dx \), \( v = e^x \): \[\int x^2 e^x \, dx = x^2 e^x - 2\int x e^x \, dx\]
  2. Step 2: Let \( u = x \), \( dv = e^x \, dx \) so \( du = dx \), \( v = e^x \): \[\int x e^x \, dx = x e^x - e^x\]
  3. Step 3: Combining: \[\int x^2 e^x \, dx = x^2 e^x - 2(x e^x - e^x) = e^x(x^2 - 2x + 2) + C\]
  4. Step 4: Applying limits 0 to 1: \[\left[e^x(x^2 - 2x + 2)\right]_0^1 = e^1(1 - 2 + 2) - e^0(0 - 0 + 2) = e - 2\]

Answer: \[\int_0^1 x^2 e^x \, dx = e - 2\]

➕ More Examples

More Examples

Example 1

Question: Evaluate \(\int_0^1 x^3 e^x \, dx\).

Solution: We use integration by parts repeatedly. Recall \[\int u \, dv = uv - \int v \, du\] Let \(I = \int_0^1 x^3 e^x \, dx\). Choose \(u = x^3\) and \(dv = e^x \, dx\), so \(du = 3x^2 \, dx\) and \(v = e^x\). Applying integration by parts: \[I = \left[x^3 e^x\right]_0^1 - \int_0^1 3x^2 e^x \, dx\] \[I = \left(1 \cdot e^1 - 0\right) - 3\int_0^1 x^2 e^x \, dx\] \[I = e - 3\int_0^1 x^2 e^x \, dx\] Now evaluate \(I_2 = \int_0^1 x^2 e^x \, dx\). Let \(u = x^2\), \(dv = e^x \, dx\), so \(du = 2x \, dx\), \(v = e^x\). \[I_2 = \left[x^2 e^x\right]_0^1 - \int_0^1 2x e^x \, dx\] \[I_2 = e - 2\int_0^1 x e^x \, dx\] Now evaluate \(I_1 = \int_0^1 x e^x \, dx\). Let \(u = x\), \(dv = e^x \, dx\), so \(du = dx\), \(v = e^x\). \[I_1 = \left[x e^x\right]_0^1 - \int_0^1 e^x \, dx\] \[I_1 = e - \left[e^x\right]_0^1\] \[I_1 = e - (e - 1) = 1\] Substituting back into \(I_2\): \[I_2 = e - 2(1) = e - 2\] Substituting back into \(I\): \[I = e - 3(e - 2)\] \[I = e - 3e + 6\] \[I = 6 - 2e\]

Answer: \(6 - 2e\)

Example 2

Question: Evaluate \(\int_1^2 x^2 e^{2x} \, dx\).

Solution: We use integration by parts. Let \(I = \int_1^2 x^2 e^{2x} \, dx\). Choose \(u = x^2\) and \(dv = e^{2x} \, dx\), so \(du = 2x \, dx\) and \(v = \dfrac{e^{2x}}{2}\). Applying integration by parts: \[I = \left[\frac{x^2 e^{2x}}{2}\right]_1^2 - \int_1^2 x e^{2x} \, dx\] \[I = \left(\frac{4e^4}{2} - \frac{e^2}{2}\right) - \int_1^2 x e^{2x} \, dx\] \[I = 2e^4 - \frac{e^2}{2} - \int_1^2 x e^{2x} \, dx\] Now evaluate \(I_1 = \int_1^2 x e^{2x} \, dx\). Choose \(u = x\), \(dv = e^{2x} \, dx\), so \(du = dx\), \(v = \dfrac{e^{2x}}{2}\). \[I_1 = \left[\frac{x e^{2x}}{2}\right]_1^2 - \int_1^2 \frac{e^{2x}}{2} \, dx\] \[I_1 = \left(\frac{2e^4}{2} - \frac{e^2}{2}\right) - \frac{1}{2}\left[\frac{e^{2x}}{2}\right]_1^2\] \[I_1 = e^4 - \frac{e^2}{2} - \frac{1}{4}\left(e^4 - e^2\right)\] \[I_1 = e^4 - \frac{e^2}{2} - \frac{e^4}{4} + \frac{e^2}{4}\] \[I_1 = \frac{3e^4}{4} - \frac{e^2}{4}\] Substituting back into \(I\): \[I = 2e^4 - \frac{e^2}{2} - \left(\frac{3e^4}{4} - \frac{e^2}{4}\right)\] \[I = 2e^4 - \frac{e^2}{2} - \frac{3e^4}{4} + \frac{e^2}{4}\] \[I = \frac{5e^4}{4} - \frac{e^2}{4}\] \[I = \frac{5e^4 - e^2}{4}\]

Answer: \(\dfrac{5e^4 - e^2}{4}\)

🎯 Try a Similar Question

Try a Similar Question

Question: Evaluate: \[ \int_0^1 x^2 e^{2x} \, dx \]

Solution

  1. Step 1: Set up Integration by Parts: Let \( I = \int_0^1 x^2 e^{2x} \, dx \). Choose \( u = x^2 \) and \( dv = e^{2x} \, dx \). Then \( du = 2x \, dx \) and \( v = \frac{e^{2x}}{2} \).
  2. Step 2: Apply Integration by Parts once: Applying the formula \( \int u \, dv = uv - \int v \, du \): \[ I = \left[ x^2 \cdot \frac{e^{2x}}{2} \right]_0^1 - \int_0^1 \frac{e^{2x}}{2} \cdot 2x \, dx \] This simplifies to: \[ I = \left[ \frac{x^2 e^{2x}}{2} \right]_0^1 - \int_0^1 x e^{2x} \, dx \]
  3. Step 3: Evaluate the boundary term: Evaluating \( \left[ \frac{x^2 e^{2x}}{2} \right]_0^1 \): at \( x = 1 \) we get \( \frac{e^{2}}{2} \), and at \( x = 0 \) we get \( 0 \). So the boundary term equals \( \frac{e^{2}}{2} \).
  4. Step 4: Apply Integration by Parts a second time: Now evaluate \( \int_0^1 x e^{2x} \, dx \). Let \( u = x \) and \( dv = e^{2x} \, dx \), so \( du = dx \) and \( v = \frac{e^{2x}}{2} \). Applying the formula: \[ \int_0^1 x e^{2x} \, dx = \left[ \frac{x e^{2x}}{2} \right]_0^1 - \int_0^1 \frac{e^{2x}}{2} \, dx \]
  5. Step 5: Evaluate the remaining integral: The boundary term \( \left[ \frac{x e^{2x}}{2} \right]_0^1 = \frac{e^{2}}{2} - 0 = \frac{e^{2}}{2} \). The remaining integral is: \[ \int_0^1 \frac{e^{2x}}{2} \, dx = \frac{1}{2} \cdot \left[ \frac{e^{2x}}{2} \right]_0^1 = \frac{1}{4} \left( e^{2} - 1 \right) \] Therefore: \[ \int_0^1 x e^{2x} \, dx = \frac{e^{2}}{2} - \frac{e^{2} - 1}{4} = \frac{2e^{2}}{4} - \frac{e^{2} - 1}{4} = \frac{e^{2} + 1}{4} \]
  6. Step 6: Combine to find the final answer: Substituting back into the expression for \( I \): \[ I = \frac{e^{2}}{2} - \frac{e^{2} + 1}{4} = \frac{2e^{2}}{4} - \frac{e^{2} + 1}{4} = \frac{2e^{2} - e^{2} - 1}{4} = \frac{e^{2} - 1}{4} \]

Answer: \[ \int_0^1 x^2 e^{2x} \, dx = \frac{e^{2} - 1}{4} \]

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 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) 65(B) 2026 / Section B Q23