Preply — Study more efficiently by working with a personal tutor. Get 50% off.Affiliate

Wikipedia

Sophomore's dream

In mathematics, the sophomore's dream is the pair of identities (especially the first)

∫ 0 1 x − x d x = ∑ n = 1 ∞ n − n ∫ 0 1 x x d x = ∑ n = 1 ∞ ( − 1 ) n + 1 n − n = − ∑ n = 1 ∞ ( − n ) − n {\displaystyle {\begin{alignedat}{2}&\int _{0}^{1}x^{-x}\,dx&&=\sum _{n=1}^{\infty }n^{-n}\\&\int _{0}^{1}x^{x}\,dx&&=\sum _{n=1}^{\infty }(-1)^{n+1}n^{-n}=-\sum _{n=1}^{\infty }(-n)^{-n}\end{alignedat}}}

discovered in 1697 by Johann Bernoulli. The numerical values of these constants are approximately 1.291285997... and 0.7834305107..., respectively. The name "sophomore's dream" is in contrast to the name "freshman's dream" which is given to the incorrect identity ( x + y ) n = x n + y n {\textstyle (x+y)^{n}=x^{n}+y^{n}} . The sophomore's dream has a similar too-good-to-be-true feel, but is true.

Proof

The proofs of the two identities are completely analogous, so only the proof of the second is presented here. The key ingredients of the proof are:

to write x x = exp ⁡ ( x log ⁡ x ) {\textstyle x^{x}=\exp(x\log x)} (using the notation log for the natural logarithm and exp for the exponential function); to expand exp ⁡ ( x log ⁡ x ) {\textstyle \exp(x\log x)} using the power series for exp; and to integrate termwise, using integration by substitution. In detail, xx can be expanded as

x x = exp ⁡ ( x log ⁡ x ) = ∑ n = 0 ∞ x n ( log ⁡ x ) n n ! . {\displaystyle x^{x}=\exp(x\log x)=\sum _{n=0}^{\infty }{\frac {x^{n}(\log x)^{n}}{n!}}.}

Therefore,

∫ 0 1 x x d x = ∫ 0 1 ∑ n = 0 ∞ x n ( log ⁡ x ) n n ! d x . {\displaystyle \int _{0}^{1}x^{x}\,dx=\int _{0}^{1}\sum _{n=0}^{\infty }{\frac {x^{n}(\log x)^{n}}{n!}}\,dx.}

By uniform convergence of the power series, one may interchange summation and integration to yield

∫ 0 1 x x d x = ∑ n = 0 ∞ ∫ 0 1 x n ( log ⁡ x ) n n ! d x . {\displaystyle \int _{0}^{1}x^{x}\,dx=\sum _{n=0}^{\infty }\int _{0}^{1}{\frac {x^{n}(\log x)^{n}}{n!}}\,dx.}

To evaluate the above integrals, one may change the variable in the integral via the substitution x = exp ⁡ ( − u n + 1 ) . {\textstyle x=\exp(-{\frac {u}{n+1}}).} With this substitution, the bounds of integration are transformed to 0 < u < ∞ , {\displaystyle 0<u<\infty ,} giving the identity

∫ 0 1 x n ( log ⁡ x ) n d x = ( − 1 ) n ( n + 1 ) − ( n + 1 ) ∫ 0 ∞ u n e − u d u . {\displaystyle \int _{0}^{1}x^{n}(\log x)^{n}\,dx=(-1)^{n}(n+1)^{-(n+1)}\int _{0}^{\infty }u^{n}e^{-u}\,du.}

By Euler's integral identity for the Gamma function, one has

∫ 0 ∞ u n e − u d u = n ! , {\displaystyle \int _{0}^{\infty }u^{n}e^{-u}\,du=n!,}

so that

∫ 0 1 x n ( log ⁡ x ) n n ! d x = ( − 1 ) n ( n + 1 ) − ( n + 1 ) . {\displaystyle \int _{0}^{1}{\frac {x^{n}(\log x)^{n}}{n!}}\,dx=(-1)^{n}(n+1)^{-(n+1)}.}

Summing these (and changing indexing so it starts at n = 1 instead of n = 0) yields the formula.

Historical proof The original proof, given in Bernoulli, and presented in modernized form in Dunham, differs from the one above in how the termwise integral ∫ 0 1 x n ( log ⁡ x ) n d x {\textstyle \int _{0}^{1}x^{n}(\log x)^{n}\,dx} is computed, but is otherwise the same, omitting technical details to justify steps (such as termwise integration). Rather than integrating by substitution, yielding the Gamma function (which was not yet known), Bernoulli used integration by parts to iteratively compute these terms. The integration by parts proceeds as follows, varying the two exponents independently to obtain a recursion. An indefinite integral is computed initially, omitting the constant of integration + C {\displaystyle +C} both because this was done historically, and because it drops out when computing the definite integral. Integrating ∫ x m ( log ⁡ x ) n d x {\textstyle \int x^{m}(\log x)^{n}\,dx} by substituting u = ( log ⁡ x ) n {\textstyle u=(\log x)^{n}} and d v = x m d x {\textstyle dv=x^{m}\,dx} yields:

∫ x m ( log ⁡ x ) n d x = x m + 1 ( log ⁡ x ) n m + 1 − n m + 1 ∫ x m + 1 ( log ⁡ x ) n − 1 x d x (for m ≠ − 1 ) = x m + 1 m + 1 ( log ⁡ x ) n − n m + 1 ∫ x m ( log ⁡ x ) n − 1 d x (for m ≠ − 1 ) {\displaystyle {\begin{aligned}\int x^{m}(\log x)^{n}\,dx&={\frac {x^{m+1}(\log x)^{n}}{m+1}}-{\frac {n}{m+1}}\int x^{m+1}{\frac {(\log x)^{n-1}}{x}}\,dx\qquad {\text{(for }}m\neq -1{\text{)}}\\&={\frac {x^{m+1}}{m+1}}(\log x)^{n}-{\frac {n}{m+1}}\int x^{m}(\log x)^{n-1}\,dx\qquad {\text{(for }}m\neq -1{\text{)}}\end{aligned}}}

(also in the list of integrals of logarithmic functions). This reduces the power on the logarithm in the integrand by 1 (from n {\displaystyle n} to n − 1 {\displaystyle n-1} ) and thus one can compute the integral inductively, as

∫ x m ( log ⁡ x ) n d x = x m + 1 m + 1 ⋅ ∑ i = 0 n ( − 1 ) i ( n ) i ( m + 1 ) i ( log ⁡ x ) n − i {\displaystyle \int x^{m}(\log x)^{n}\,dx={\frac {x^{m+1}}{m+1}}\cdot \sum _{i=0}^{n}(-1)^{i}{\frac {(n)_{i}}{(m+1)^{i}}}(\log x)^{n-i}}

where ( n ) i {\textstyle (n)_{i}} denotes the falling factorial; there is a finite sum because the induction stops at 0, since n is an integer. In this case m = n {\textstyle m=n} , and they are integers, so

∫ x n ( log ⁡ x ) n d x = x n + 1 n + 1 ⋅ ∑ i = 0 n ( − 1 ) i ( n ) i ( n + 1 ) i ( log ⁡ x ) n − i . {\displaystyle \int x^{n}(\log x)^{n}\,dx={\frac {x^{n+1}}{n+1}}\cdot \sum _{i=0}^{n}(-1)^{i}{\frac {(n)_{i}}{(n+1)^{i}}}(\log x)^{n-i}.}

Integrating from 0 to 1, all the terms vanish except the last term at 1, which yields:

∫ 0 1 x n ( log ⁡ x ) n n ! d x = 1 n ! 1 n + 1 n + 1 ( − 1 ) n ( n ) n ( n + 1 ) n = ( − 1 ) n ( n + 1 ) − ( n + 1 ) . {\displaystyle \int _{0}^{1}{\frac {x^{n}(\log x)^{n}}{n!}}\,dx={\frac {1}{n!}}{\frac {1^{n+1}}{n+1}}(-1)^{n}{\frac {(n)_{n}}{(n+1)^{n}}}=(-1)^{n}(n+1)^{-(n+1)}.}

This is equivalent to computing Euler's integral identity Γ ( n + 1 ) = n ! {\displaystyle \Gamma (n+1)=n!} for the Gamma function on a different domain (corresponding to changing variables by substitution), as Euler's identity itself can also be computed via an analogous integration by parts.

See also Series (mathematics)

Notes

References

Formula

Function

Footnotes

Tags

  • Integrals
  • Mathematical constants