What is $\int_0^1\frac{x^7-1}{\log(x)}\mathrm dx$?

9.8k Views Asked by At

/A problem from the 2012 MIT Integration Bee is $$ \int_0^1\frac{x^7-1}{\log(x)}\mathrm dx $$ The answer is $\log(8)$. Wolfram Alpha gives an indefinite form in terms of the logarithmic integral function, but times out doing the computation. Is there a way to do it by hand?

5

There are 5 best solutions below

0
On BEST ANSWER

$\newcommand{\+}{^{\dagger}}% \newcommand{\angles}[1]{\left\langle #1 \right\rangle}% \newcommand{\braces}[1]{\left\lbrace #1 \right\rbrace}% \newcommand{\bracks}[1]{\left\lbrack #1 \right\rbrack}% \newcommand{\dd}{{\rm d}}% \newcommand{\isdiv}{\,\left.\right\vert\,}% \newcommand{\ds}[1]{\displaystyle{#1}}% \newcommand{\equalby}[1]{{#1 \atop {= \atop \vphantom{\huge A}}}}% \newcommand{\expo}[1]{\,{\rm e}^{#1}\,}% \newcommand{\floor}[1]{\,\left\lfloor #1 \right\rfloor\,}% \newcommand{\ic}{{\rm i}}% \newcommand{\imp}{\Longrightarrow}% \newcommand{\ket}[1]{\left\vert #1\right\rangle}% \newcommand{\pars}[1]{\left( #1 \right)}% \newcommand{\partiald}[3][]{\frac{\partial^{#1} #2}{\partial #3^{#1}}} \newcommand{\pp}{{\cal P}}% \newcommand{\root}[2][]{\,\sqrt[#1]{\,#2\,}\,}% \newcommand{\sech}{\,{\rm sech}}% \newcommand{\sgn}{\,{\rm sgn}}% \newcommand{\totald}[3][]{\frac{{\rm d}^{#1} #2}{{\rm d} #3^{#1}}} \newcommand{\ul}[1]{\underline{#1}}% \newcommand{\verts}[1]{\left\vert #1 \right\vert}% \newcommand{\yy}{\Longleftrightarrow}$ $\ds{\pp\pars{\mu} \equiv \int_{0}^{1}{x^{\mu} - 1 \over \ln\pars{x}}\,\dd x}$

$$ \pp'\pars{\mu} \equiv \int_{0}^{1}{x^{\mu}\ln\pars{x} \over \ln\pars{x}}\,\dd x = \int_{0}^{1}x^{\mu}\,\dd x = {1 \over \mu + 1} \quad\imp\quad \pp\pars{\mu} - \overbrace{\pp\pars{0}}^{=\ 0} = \ln\pars{\mu + 1} $$

$$ \pp\pars{7} = \color{#0000ff}{\large\int_{0}^{1}{x^{7} - 1 \over \ln\pars{x}} \,\dd x} = \ln\pars{7 + 1} = \ln\pars{8} = \color{#0000ff}{\large 3\ln\pars{2}} $$

0
On

Change of variables $\log(x) = -t$ makes this into $$ \int_0^\infty \dfrac{1 - e^{-7t}}{t} e^{-t}\ dt $$ More generally, for $\alpha \ge 0$ let $$f(\alpha) = \int_0^\infty \dfrac{1-\exp(-\alpha t)}{t} e^{-t}\ dt$$ Then $f(0) = 0$ while $$f'(\alpha) = \int_0^\infty \exp(-(\alpha+1) t)\ dt = \dfrac{1}{1+\alpha}$$ from which $$f(\alpha) = \ln(1+\alpha)$$

0
On

I thought it might be instructive to present yet another approach.

Note that using $\int_0^1 x^t \,dt=\frac{x-1}{\log(x)}$ we can write

$$\begin{align} \int_0^1 \frac{x^7-1}{\log(x)}\,dx&=\int_0^1 (x^6+x^5+x^4+x^3+x^2+x+1)\left(\int_0^1 x^t\,dt\right)\,dx\tag1\\\\ &=\int_0^1\int_0^1 (x^{t+6}+x^{t+5}+x^{t+4}+x^{t+3}+x^{t+2}+x^{t+1}+x^t)\,dx\,dt\tag2\\\\ &=\int_0^1 \left(\frac{1}{t+7}+\frac{1}{t+6}+\frac{1}{t+5}+\frac{1}{t+4}+\frac{1}{t+3}+\frac{1}{t+2}+\frac{1}{t+1}\right)\,dt\\\\ &=\log(8) \end{align}$$

as expected, where the Fubini-Tonelli Theorem guarantees the legitimacy of interchanging the order of integration in going from $(1)$ to $(2)$.


Note that if we first enforce the substitution $x^7\to x$, we obtain

$$\begin{align} \int_0^1 \frac{x^7-1}{\log(x)}\,dx&=\int_0^1 x^{1/7-1}\left(\frac{(x-1)}{\log(x)}\right)\,dx\\\\ &=\int_0^1 x^{1/7-1}\left(\int_0^1 x^t\,dt\right)\,dx\\\\ &=\int_0^1\int_0^1 x^{t+1/7-1} \,dx\,dt\\\\ &=\int_0^1 \frac{1}{t+1/7}\,dt\\\\ &=\log(8) \end{align}$$

as expected!

0
On

$$\int_{0}^{1} \frac{u^7-1}{\ln u} du$$

Let $y=\ln u$ we get,

$$=\int_{-\infty}^{0} \frac{e^{8y}-e^{y}}{y} dy$$

Notice we are interesting in integrating over $u \in (0,1)$, so we after the substitution we are integrating over $y \in (-\infty,0)$.

$$=- \int_{-\infty}^{0} \int_{y}^{8y} \frac{e^x}{y} dx dy$$

The reason I wrote it as above is to to change the order of integration.

$$=-\int_{-\infty}^{0} \int_{x}^{\frac{1}{8}x} \frac{e^x}{y} dy dx$$

Because $y \in (-\infty,0)$ and $x \in [y,8y]$ for our purposes, it is safe to say $x \in (-\infty,0)$ so that as we vary $x$, $x \neq 0$ always holds. Furthermore $\ln |\frac{1}{8}x|-\ln |x|=\ln \frac{1}{8}$ for $x \neq 0$.

$$=-\int_{-\infty}^{0} e^x \ln \frac{1}{8} dx$$

$$=\ln 8$$

2
On

enter image description here

Application of Leibniz's rule for integration