Intereting Posts

Characterization of irreducible elements in integral domains.
Partition of ${1, 2, … , n}$ into subsets with equal sums.
Real Analysis, Folland Theorem 3.5, absoulute continuity
Looking for Cover's hubris-busting ${\mathbb R}^{N\gg3}$ counterexamples
Winding number question.
An element is integral iff its minimal polynomial has integral coefficients.
Is the absolute value function a linear function?
A closed form of $\sum_{n=1}^{\infty}(-1)^{n}\ln \!\left(1+\frac1{2n}\right) \!\ln\!\left(1+\frac1{2n+1}\right)$?
Finite number of elements generating the unit ideal of a commutative ring
Neighborhood base at zero in a topological vector space
If $u \in H^s(\mathbb{R}^n)$ for $s > n/2$, then $u \in L^\infty(\mathbb{R}^n)$?
Cancelling matrices
Center of Direct Product is the Direct Product of Centers
Can every infinite set be divided into pairwise disjoint subsets of size $n\in\mathbb{N}$?
How to prove this inequality in Banach space?

I’ve encountered this integral many, many times (exams, exercises) and always end up wasting a bit of time calculating it for different $\rm a,b$’s.

Is there any way to calculate the following integral?

$$\rm \int x^ae^{-bx}dx.\quad a,b \in \Bbb Z_{\geq 0}.$$

- Proof of the following fact: $f$ is integrable, $U(f,\mathcal{P})-L(f,\mathcal{P})<\varepsilon$ for any $\varepsilon>0$
- Looking for examples of Discrete / Continuous complementary approaches
- How find that $\left(\frac{x}{1-x^2}+\frac{3x^3}{1-x^6}+\frac{5x^5}{1-x^{10}}+\frac{7x^7}{1-x^{14}}+\cdots\right)^2=\sum_{i=0}^{\infty}a_{i}x^i$
- $\lim_{n\to \infty }\cos (\pi\sqrt{n^{2}-n})$ - second battle
- Fractional anti-derivatives and derivatives of the logarithm
- Prove that $f$ has a minimum

- Elliptical Integrals
- Doubt regarding a limit which is related to MVT
- Limit of $\sin (a^{n}\theta\pi)$ as $ n \to \infty$ where $a$ is an integer greater than $2$
- Evaluation of $\int_0^1 \frac{\log^2(1+x)}{x} \ dx$
- Why does the series $\sum_{n=1}^\infty\frac1n$ not converge?
- What is the practical difference between a differential and a derivative?
- Why is the Daniell integral not so popular?
- Families of functions closed under integration
- definite integral without using complex line integral
- Closed form of $\int_0^{\pi/2} \frac{\arctan^2 (\sin^2 \theta)}{\sin^2 \theta}\,d\theta$

**Hint**

There is a representation in terms of the Gamma function if you want this for general $a$ and $b$… For integer $a$ and $b$, integration by parts will suffice

$$ \int x^ae^{-bx}dx$$

$$= -\frac{x^ae^{-bx}}{b}+\frac{a-1}{b}\int x^{a-1}e^{-bx}\,dx$$

Now just recursively apply this rule to the final integral… you’ll soon find a pattern emerging

$$= -\frac{x^ae^{-bx}}{b}+\frac{a-1}{b}\left[-\frac{x^{a-1}e^{-bx}}{b}+\frac{a-2}{b}\int x^{a-2}e^{-bx}\,dx\right]$$

$$= -\frac{x^ae^{-bx}}{b} -\frac{x^{a-1}e^{-bx}(a-1)}{b^2}+\frac{(a-1)(a-2)}{b^2}\int x^{a-2}e^{-bx}\,dx$$

$$= -\frac{x^ae^{-bx}}{b} -\frac{x^{a-1}e^{-bx}(a-1)}{b^2}+\frac{(a-1)(a-2)}{b^2}\left[-\frac{x^{a-2}e^{-bx}}{b}+\frac{a-3}{b}\int x^{a-3}e^{-bx}\,dx\right]$$

$$=-\frac{x^ae^{-bx}}{b} -\frac{x^{a-1}e^{-bx}(a-1)}{b^2}-\frac{x^{a-2}e^{-bx}(a-1)(a-2)}{b^3}+\frac{(a-1)(a-2)(a-3)}{b^3}\int x^{a-3}e^{-bx}\,dx$$

Pattern matching, the rule appears to be, $\forall \{a,b\} \in \Bbb N$:

$$\int x^ae^{-bx}dx = \color{red}{-\frac{e^{-bx}}{a}\sum_{k=0}^{a} \frac{x^{a-k}(a)_{k+1}}{b^{k+1}}}$$

That last sum might be a little off as I was quickly looking, so feel free to check me as an exercise. You should get the basic idea though.

In general, the answer is $\mathbf{no}$.

In particular, take $b=-1$ and $a=-1$. Then you are left with the integral:

$$ \int \frac{e^x}{x} dx$$

And it is well known that this integral has no “closed form” solution.

Claude gave an example of a solution that uses the incomplete gamma function, but this is generally seen as a “nonelementary” function.

Even if we require $a>0,b>0$, we can still find an example. Pick $a=\frac{1}{2}$ and $b=1$. Then we have:

$$ \int \sqrt{x}e^{-x}dx$$

With the substitution $x=u^2$, this gives us:

$$ 2\int u^2e^{-u^2}du$$

And one iteration of iteration by parts leaves us with an integral of the form:

$$ \int e^{-u^2}du$$

Which is known to have no closed form.

For $a \in \mathbb N$ you can develop a finite length iterative reduction formula and collect it into a compact sum with sigma notation. I believe this is that the OP intended for his/her/-insert appropriate gender pronoun here- answer, as he/she/something did state non-negative integral a and b.

- Find all prime numbers satisfying…
- Applying analysis to solve a line-of-sight problem
- Are all equiangular odd polygons also equilateral?
- Characteristic polynomial equals minimal polynomial iff $x, Mx, \ldots M^{n-1} x$ are linearly independent
- Are the smooth functions dense in either $\mathcal L_2$ or $\mathcal L_1$?
- Sum of products of binomial coefficients: $ \sum_{l=0}^{n-j} \binom{M-1+l}{l} \binom{n-M-l}{n-j-l} = \binom{n}{j} $
- PD matrix perturbation
- Sum involving the hypergeometric function, power and factorial functions
- Show $\lim \limits_{n \to \infty} \frac{a_{n+1}}{a_n} = \|f\|_{\infty}$ for $f \in L^{\infty}$
- Imagining four or higher dimensions and the difference to imagining three dimensions
- Solving the Diophantine equation $x^n-y^n=1001$
- Did I underestimate the limit proof?
- Hom-functor preserves pullbacks
- Product-rule for Jacobian calculation, i.e. $\frac{d}{dx}(Ay)$ where A is a matrix and y a vector and both depend on x
- Calculate the Wu class from the Stiefel-Whitney class