Results 1 to 2 of 2

Math Help - General Formula

  1. #1
    Newbie
    Joined
    Nov 2007
    Posts
    10

    General Formula

    I'm looking for the general formula of the integral of (x^n*e^x)dx

    I know how the general formula begins and it looks something like this:

    x^n - nx^(n-1) + n(n-1)x^(n-2) - n(n-1)(n-2)x^(n-3)...

    I'm having trouble figuring out what comes at the end. The last number in the answer will always be n! and the second to last will always be n!x.

    The signs are changing so, for example, when it is the integral of x^4*e^x the answer is (x^4-4x^3+12x^2-24x+24)e^x and if is the integral of x^3*e^x the answer is (x^3-3x^2+6x-6)e^x. As you can see for x^4*e^x then the second to last term is -24x and the last is +24 but for x^3*e^x the second to last term is +6x and the last term is -6

    My point is, the signs, depending upon if n is even or odd, will always change and I'm not sure how to reflect that in the general formula.
    Follow Math Help Forum on Facebook and Google+

  2. #2
    MHF Contributor Reckoner's Avatar
    Joined
    May 2008
    From
    Baltimore, MD (USA)
    Posts
    1,024
    Thanks
    75
    Awards
    1

    Smile

    Quote Originally Posted by nick898 View Post
    I'm looking for the general formula of the integral of (x^n*e^x)dx
    Use integration by parts. Using the tabular method, with u=x^n and dv=e^x\,dx, we have

    \begin{tabular}{ccccc}<br />
Alternating&&$u$ and its&&$v$ and its\\<br />
signs&&derivatives&&antiderivatives\\\hline<br />
+&$\rightarrow$&$x^n$&$_\searrow$&$e^x$\\<br />
-&$\rightarrow$&$nx^{n-1}$&$_\searrow$&$e^x$\\<br />
+&$\rightarrow$&$n(n-1)x^{n-2}$&$_\searrow$&$e^x$\\<br />
-&$\rightarrow$&$n(n-1)(n-2)x^{n-3}$&$_\searrow$&$e^x$\\<br />
$\vdots$&$\vdots$&$\vdots$&$\vdots$&$\vdots$\\<br />
$+(-1)^n$&$\rightarrow$&$n!$&$_\searrow$&$e^x$\\<br />
&&&&$e^x$<br />
\end{tabular}

    So the formula should be

    \int x^ne^x\,dx=\sum_{i=0}^n\frac{(-1)^in!\,x^{n-i}e^x}{(n-i)!}

    =n!\,e^x\sum_{i=0}^n\frac{(-1)^ix^{n-i}}{(n-i)!}

    =x^ne^x-nx^{n-1}e^x+n(n-1)x^{n-2}e^x-\cdots\mp n!\,xe^x\pm n!\,e^x,

    where the last term is positive for even n and negative for odd n.
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. General formula of a series
    Posted in the Calculus Forum
    Replies: 1
    Last Post: July 20th 2010, 07:55 PM
  2. Find a general formula ...
    Posted in the Differential Equations Forum
    Replies: 2
    Last Post: September 2nd 2009, 08:13 PM
  3. General formula of derivative
    Posted in the Calculus Forum
    Replies: 2
    Last Post: April 4th 2009, 05:40 AM
  4. 1,1,1,1 Matrix general formula!!!
    Posted in the Advanced Algebra Forum
    Replies: 20
    Last Post: April 27th 2008, 05:23 AM
  5. general integration formula
    Posted in the Calculus Forum
    Replies: 7
    Last Post: April 20th 2008, 08:26 AM

Search Tags


/mathhelpforum @mathhelpforum