Question
Evaluate the following integrals:$\int\text{x}^2\cos\text{x dx}$

Answer

Let $\text{I}=\int\text{x}^2\cos\text{x dx}$
Using integration by parts,
$\text{I}=\text{x}^2\int\cos\text{x dx}-\int(2\text{x}\int\cos\text{x dx})\text{dx}$
$=\text{x}^2\sin\text{x}-2\int\text{x}\sin\text{x dx}$
$=\text{x}^2\sin\text{x}-2[\text{x}\int\sin\text{x dx}-\int(1\int\sin\text{x dx})\text{dx}]$
$=\text{x}^2\sin\text{x}-2[\text{x}(-\cos\text{x})-\int(-\cos\text{x})\text{dx}]$
$=\text{x}^2\sin\text{x}+2\text{x}\cos\text{x}-2\int(\cos\text{x})\text{dx}$
$\text{I}=\text{x}^2\sin\text{x}+2\text{x}\cos\text{x}-2\sin\text{x}+\text{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