Question
Integrate the function x2ex

Answer

$\int {{x^2}{e^x}} dx$

$ = {x^2}\int {{e^x}dx - \int {\left[ {\frac{d}{{dx}}{x^2}\int {{e^x}dx} } \right]} dx} $

[Applying product rule]

$ = {x^2}{e^x} - \int {2x{e^x}dx} $

$ = {x^2}{e^x} - 2\int {x{e^x}dx} $

$= {x^2}{e^x} - 2\left[ {{xe^x}dx - \int {\left\{ {\frac{d}{{dx}}x\int {{e^x}dx} } \right\}dx} } \right]$

[Again applying product rule]

$= {x^2}{e^x} - 2\left( {x{e^x} - \int {1.{e^x}dx} } \right)$

$= {x^2}{e^x} - 2\left( {x{e^x} - \int {{e^x}dx} } \right)$

$ = {x^2}{e^x} - 2x{e^x} + 2\int {{e^x}dx} $

= x2ex - 2xex + 2ex + c

= ex(x2 - 2x + 2) + c

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free