What is the Pattern in the Integration of (x^n)(e^x) dx?

  • Thread starter Thread starter zketrouble
  • Start date Start date
  • Tags Tags
    Dx Patterns
Click For Summary
SUMMARY

The discussion focuses on the integration of the function (x^n)(e^x) dx using integration by parts. The user identifies a pattern in the results of integrating (x^n)(e^x) for n values from 0 to 5, leading to a general formula involving factorial terms. A participant confirms the correctness of the user's pattern and suggests using derivatives of a generating function, F(a) = (e^(ax))/a, to derive the integrals systematically. The conversation emphasizes the utility of mathematical induction and generating functions in proving integration patterns.

PREREQUISITES
  • Understanding of integration by parts
  • Familiarity with exponential functions and their derivatives
  • Basic knowledge of mathematical induction
  • Concept of generating functions in calculus
NEXT STEPS
  • Study the method of integration by parts in detail
  • Learn about generating functions and their applications in calculus
  • Explore mathematical induction proofs for sequences and series
  • Practice integrating functions of the form (x^n)(e^x) for higher values of n
USEFUL FOR

Students and educators in calculus, mathematicians interested in integration techniques, and anyone looking to deepen their understanding of integration patterns involving exponential functions.

zketrouble
Messages
47
Reaction score
0
so I just introduced myself to the concept of integration by parts a few days ago, and today for practice I decided to try to redo one of the examples given in a youtube video without the assistance of youtube. That problem was int. (x^2)(e^x) dx, for which the answer is (e^x)(x^2 -2x + 2). So then I tried to integrate (x^3)(e^x), (x^4)(e^x), and so on, a drew the results in a table:

y = int. (x^n)(e^x)

n=0; y = e^x
n=1; y = e^x(x-1)
n=2; y = e^x(x^2 - 2x + 2)
n=3; y = e^x(x^3 - 3x^2 + 6x -6)
n=4; y = e^x(x^4 - 4x^3 + 12x^2 - 24x + 24)
n=5; y = e^x(x^5 - 5x^4 + 20x^3 - 60x^2 + 120x -120)

I noticed a pattern, and I'm curious as to how I would formally prove this pattern:

(x^n)(e^x) dx =
(e^x){x^n - nx^(n-1) + n(n-1)x^(n-2) - n(n-1)(n-2)x^(n-3) + n(n-1)(n-2)(n-3)x^(n-4)...-+-+-+...}

It is very likely that the procedures necessary to prove this are way beyond my current calculus skills, but I'm curious anyway to see what the folks here at PF can come up with to prove/disprove my assumption that the above statement is true.
 
Last edited:
Physics news on Phys.org
It's not calculus needed to prove the general 'n' case, but mathematical induction.

Yay, 10^2^2 posts :biggrin:
 
silly me...forgot all of the + c every time. :p
 
>n=5; y = e^x(x^5 - 5x^4 + 20x^3 - 60x^2 + 120x -120)
>I noticed a pattern, and I'm curious as to how I would formally prove this pattern:

You don't need induction to prove your pattern. If you take the derivative of one of your examples

d/dx [e^x(x^5 - 5x^4 + 20x^3 - 60x^2 + 120x -120)] =
e^x(x^5 - 5x^4 + 20x^3 - 60x^2 + 120x -120)
+e^x(5x^4 - 20x^3 + 60x^2 -120x + 120) = e^x x^5

you can see that every term but the first vanishes. Since the expression produces the derivative you wanted (e^x x^5), it must be the correct antiderivative (though any constant can be added of course). Just do the same thing with your formula and you've proven it.
 
Last edited:
An advanced concept that is very useful here is that of a generating function. Consider

F(a) = \int e^{ax} dx= \frac{e^{ax}}{a} + c.

We can compute

\frac{d^nF(a)}{da^n} = \int x^n e^{ax} dx,

so that

I_n = \int x^n e^x dx = \left. \frac{d^nF(a)}{da^n}\right|_{a=1}.

Therefore we can generate any of the I_n just by computing derivatives of F(a). These derivatives are just the same derivatives that you compute when integrating by parts.
 
your result is correct

let In be your integral; if you integrate by parts In = xnex - nIn-1
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
Replies
5
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 24 ·
Replies
24
Views
6K