Sophomore's dream
Template:Use shortened footnotes Template:Short description In mathematics, the sophomore's dream is the pair of identities (especially the first)
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"[1] is in contrast to the name "freshman's dream" which is given to the incorrect[note 1] identity Template:Nowrap 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 (using the notation Template:Math for the natural logarithm and Template:Math for the exponential function);
- to expand using the power series for Template:Math; and
- to integrate termwise, using integration by substitution.
In details, Template:Math can be expanded as
Therefore,
By uniform convergence of the power series, one may interchange summation and integration to yield
To evaluate the above integrals, one may change the variable in the integral via the substitution With this substitution, the bounds of integration are transformed to giving the identity By Euler's integral identity for the Gamma function, one has so that
Summing these (and changing indexing so it starts at Template:Math instead of Template:Math) yields the formula.
Historical proof
The original proof, given in Bernoulli,Template:Sfn and presented in modernized form in Dunham,Template:Sfn differs from the one above in how the termwise integral 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 both because this was done historically, and because it drops out when computing the definite integral.
Integrating by substituting and yields:
(also in the list of integrals of logarithmic functions). This reduces the power on the logarithm in the integrand by 1 (from to ) and thus one can compute the integral inductively, as
where denotes the falling factorial; there is a finite sum because the induction stops at 0, since Template:Mvar is an integer.
In this case , and they are integers, so
Integrating from 0 to 1, all the terms vanish except the last term at 1,[note 2] which yields:
This is equivalent to computing Euler's integral identity 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
Notes
References
Formula
- Template:Cite book
- Template:Cite book
- Template:Cite book
- OEIS, Template:OEIS and Template:OEIS
- Template:Citation
- Template:MathWorld
- Max R. P. Grossmann (2017): Sophomore's dream. 1,000,000 digits of the first constant
Function
- Literature for x^x and Sophomore's Dream, Tetration Forum, 03/02/2010
- The Coupled Exponential, Jay A. Fantini, Gilbert C. Kloepfer, 1998
- Sophomore's Dream Function, Jean Jacquelin, 2010, 13 pp.
- Template:Cite journal
- Template:Cite journal
Footnotes Template:Reflist
- ↑ It appears in Template:Harvnb.
Cite error: <ref> tags exist for a group named "note", but no corresponding <references group="note"/> tag was found