Prove $\int xe^xdx=(x-1)e^x+C$ using summation (no integration by parts)

66 Views Asked by At

So I have the integral $\int xe^xdx$ , which is very easy to solve but I was wondering if its answer could b proven using summations for $e^x$. I have got up to the point below but I am unable to evaluate the final summations: $$\int xe^xdx=\int x\sum_{n=0}^{\infty}\frac{x^n}{n!}dx=\sum_{n=0}^{\infty}\int\frac{x^{n+1}}{n!}dx=\sum_{n=0}^{\infty}\frac{x^{n+2}}{(n+2)n!}$$ now I know that: $$(n+2)n!=\frac{(n+2)!}{n+1}$$ so we can rewrite: $$I=\sum_{n=0}^{\infty}\frac{(n+1)x^{n+2}}{(n+2)!}=\sum_{n=0}^{\infty}\frac{nx^{n+2}}{(n+2)!}+\sum_{n=0}^{\infty}\frac{x^{n+2}}{(n+2)!}$$ now I don't know how to evaluate these summations, any help would be appreciated.

EDIT:

as others have suggested using $k=n+2$ as a substitution I will try this: $$I=\sum_{n=0}^{\infty}\frac{nx^{n+2}}{(n+2)!}+\sum_{k=2}^{\infty}\frac{x^k}{k^!}=\sum_{n=0}^{\infty}\frac{nx^{n+2}}{(n+2)!}+\sum_{k=0}^{\infty}\frac{x^k}{k^!}-\sum_{k=0}^1\frac{x^k}{k!}=\sum_{n=0}^{\infty}\frac{nx^{n+2}}{(n+2)!}+e^x-(1+x)$$

EDIT 2:

as @lab bhattacharjee suggested, $$\sum_{n=0}^{\infty}\frac{x^{n+2}}{(n+2)n!}=\sum_{n=0}^{\infty}\frac{[(n+2)-1]x^{n+2}}{(n+2)!}=\sum_{n=0}^{\infty}x.\frac{x^{n+1}}{(n+1)!}-\frac{x^{n+2}}{(n+2)!}$$ and this is much easier to evaluate

2

There are 2 best solutions below

2
On BEST ANSWER

Hint:

$$\dfrac{x^{n+2}}{(n+2)\cdot n!}$$

$$=(n+1)\cdot\dfrac{x^{n+2}}{(n+2)!}$$

$$=\dfrac{\{(n+2)-1\}x^{n+2}}{(n+2)!}$$

$$=x\cdot\dfrac{x^{n+1}}{(n+1)!}-\dfrac{x^{n+2}}{(n+2)!}$$

0
On

Hints:

The second summation is just $e^x-x-1$ (do the substitution $n+2=k$)

For the first summation use that $\displaystyle(\sum x^n)'=\sum nx^{n-1}$