Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Please, I need find a reduced formula to $$\int x^m \cdot e^x dx$$ by parts integration method, I've found that every time I compute the m is reduced so: $m-1$, $m-2$, $m-3$, but I couldn't found the general formula.

Thanks so much.

share|improve this question
add comment

1 Answer 1

up vote 1 down vote accepted

$$I_m = \int x^m e^x dx = \int x^m d(e^x) = x^m e^x - \int m x^{m-1} e^x dx= x^m e^x - mI_{m-1} + c_{m-1}$$ \begin{align} I_m & = x^m e^x - m \left(x^{m-1} e^x - (m-1) I_{m-2} \right) + c_{m-2}\\ & = x^m e^x - m x^{m-1} e^x + m(m-1) I_{m-2} + c_{m-2}\\ & = x^m e^x - m x^{m-1} e^x + m(m-1) x^{m-2} e^x - m(m-1)(m-2)I_{m-3} + c_{m-3}\\ & = e^x \left(x^m - m x^{m-1} + m(m-1) x^{m-2} - \cdots + (-1)^m m!\right) + c_{0}\\ & = e^x \left(\sum_{k=0}^m P(m,k)(-1)^k x^{m-k}\right) + c_0\\ & = e^x \left(\sum_{k=0}^m P(m,k)(-1)^k x^{m-k}\right) + c_0\\ & = (-1)^m \Gamma(m+1,-x) + c_0 \end{align} where $P(m,k) = \dfrac{m!}{(m-k)!}$.

share|improve this answer
    
Very good, but, what do you mean with $P(m,k)$? –  calbertts Oct 28 '12 at 0:26
1  
He appears to mean $P(m,k)=\underbrace{m(m-1)(m-2)\cdots(m-k+1)}_{k\text{ factors}}$, which is the number of permutations of size $k$ of members of a set of size $m$. –  Michael Hardy Oct 28 '12 at 0:30
    
Thanks! now understand. –  calbertts Oct 28 '12 at 0:31
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.