$\int x e^{x}\,dx$ equals
A$x e^{x}+e^{x}+C$
B$\dfrac{x^2}{2}e^{x}+C$
C$x e^{x}-e^{x}+C$
D$e^{x}(x-1)^2+C$
Answer & Solution
Correct answer: C. $x e^{x}-e^{x}+C$
1. Take $u=x$ (first), $dv=e^{x}\,dx$, so $v=e^{x}$.
2. By parts: $x e^{x}-\int 1\cdot e^{x}\,dx$.
3. $=x e^{x}-e^{x}+C$.
4. Check: $\dfrac{d}{dx}(xe^{x}-e^{x})=e^{x}+xe^{x}-e^{x}=xe^{x}$, confirming C.
_Source: NCERT Class 12 Mathematics Ch 7 "Integrals", p.325_
Related questions
$\displaystyle\int_2^3 \dfrac{x\,dx}{x^2+1}$ equals$\displaystyle\int_0^{2a} f(x)\,dx$ equals $2\displaystyle\int_0^{a} f(x)\,dx$ precisely wIf $f(a+b-x)=f(x)$, then $\displaystyle\int_a^b x\,f(x)\,dx$ is equal to$\displaystyle\int \frac{dx}{e^{x}+e^{-x}}$ is equal toA rational function $\dfrac{P(x)}{Q(x)}$ is called proper when$\displaystyle\int_0^{\pi/4} \tan x\,dx$ equals$\displaystyle\int_0^{1} x e^{x^2}\,dx$ equalsThe value of $\displaystyle\int_0^{\pi/2} \log\!\left(\dfrac{4+3 in x}{4+3\cos x}\right)dx