0
$\begingroup$

Suppose we have two integers $a$ and $b$.

What's the fastest way to get an exact value for $\int_a^b{(1+x)^n dx}$, with $n$ large?

$\endgroup$
2
  • $\begingroup$ I suppose asking Wolfram Alpha is faster than asking here. Or do you want something other than the formula from the Fundamental Theorem of Calculus? $\endgroup$
    – GEdgar
    Commented Feb 19, 2012 at 14:56
  • $\begingroup$ @GEdgar: I was just kind of wondering, because I am considering what I think is a neat trick to doing some integrals. I wasn't anticipating David Mitra's answer, though. My idea might not be as worthwhile as I thought it was. $\endgroup$
    – Matt Groff
    Commented Feb 19, 2012 at 15:01

1 Answer 1

4
$\begingroup$

Use a substitution, $u=1+x$: for $n\ne -1$ $$ \int_a^ b(1+x)^n\,dx=\int_{1+a}^{1+b} u^n \,du={u^{n+1}\over n+1}\biggl|_{1+a}^{1+b} ={(1+b)^{n+1}\over n+1} -{(1+a)^{n+1}\over n+1} . $$

$\endgroup$
2
  • 1
    $\begingroup$ It took 6 minutes to the answer by asking here. How long by asking Wolfram Alpha? The question was "the fastest way"... $\endgroup$
    – GEdgar
    Commented Feb 19, 2012 at 18:23
  • $\begingroup$ Plus, he said "$n$ large", so $n \ne -1$. $\endgroup$
    – GEdgar
    Commented Feb 19, 2012 at 18:23

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .