# Evaluating sums and integrals using Taylor’s Theorem

Taylor’s theorem states that

We can use this to evaluate integrals. For example, consider $f(x)=\frac{b!x^{b+n+1}}{(b+n+1)!}$. This has $f^{(k)}(0)=0$ for $k\leq n$ and $f^{(n+1)}(x)=x^b$. Hence, by Taylor’s theorem,

So we have determined an explicit expression for the Beta function very efficiently using Taylor’s theorem.

Taylor’s theorem could also be used to evaluate partial sums using knowledge of the infinite sum; for example, considering $f(x)=\sum\limits_{k=0}^\infty kx^k=\frac x{(1-x)^2}=\frac1{(1-x)^2}-\frac1{1-x}$ for $|x|<1$, and noting that $f^{(n+1)}(x)=(n+2)!(1-x)^{-(n+3)}-(n+1)!(1-x)^{-(n+2)}$, we can evaluate its partial sum as

after evaluating the integrals and simplifying. In fact, this holds for all $x$ except $x=1$, and if a limit towards $1$ is taken, we correctly obtain $\frac{n(n+1)}{2}$.
What other sort of sums and integrals can be evaluated using Taylor's Theorem? Is this an effective method for summing or integrating? Are there certain limitations we should be aware of with this method?

$$∫10xxdx.\int_{0}^{1}x^x\textrm{d}x.$$