Integrating The Infinite Power Tower

Calculus Level 5

f ( x ) = x x x x \Large f(x)=x^{x^{x^{x^{\dots}}}}

The function above is what is known as the infinite power tower . At first glance, the function above may seem like it quickly spirals off to infinity, but for select values of x x , surprisingly the function converges. If x [ e e , e 1 e ] x\in[e^{-e},e^{\frac{1}{e}}] , then f ( x ) f(x) is defined and converges to a finite number. What is the value of the integral below? Give your answer to 3 decimal places.

e e e 1 e f ( x ) d x \Large \displaystyle\int_{e^{-e}}^{e^{\frac{1}{e}}} f(x)\, dx


The answer is 1.24413.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

3 solutions

Garrett Clarke
Jul 29, 2015

y = x x x x y=x^{x^{x^{x^{\dots}}}}

x y = x x x x x^y=x^{x^{x^{x^{\dots}}}}

y = x y y=x^y

x = y 1 y x=y^\frac{1}{y}

f 1 ( x ) = x 1 x f^{-1}(x)=x^{\frac{1}{x}}

I present to you the following theorem and its associated proof without words:

a b f ( x ) d x + f ( a ) f ( b ) f 1 ( x ) d x = b f ( b ) a f ( a ) \displaystyle\int_{a}^b f(x)dx+\displaystyle\int_{f(a)}^{f(b)}f^{-1}(x)dx = bf(b)-af(a)

Letting a = e e a=e^{-e} and b = e 1 e b=e^{\frac{1}{e}} :

( 1 e 1 1 e ) = e e = a f ( a ) = 1 e \left(\frac{1}{e}^{\frac{1}{\frac{1}{e}}}\right) = e^{-e} = a\Longrightarrow f(a)=\frac{1}{e}

e 1 e = b f ( b ) = e e^\frac{1}{e} = b \Longrightarrow f(b) = e

Approximating the integral of the inverse function:

1 e e x 1 x d x 2.65861 \displaystyle\int_{\frac{1}{e}}^{e}x^{\frac{1}{x}}dx \approx 2.65861\dots

Plugging in our values, solving for a b f ( x ) d x \displaystyle\int_{a}^b f(x)dx and approximating gives us our desired result:

e e e 1 e f ( x ) d x = ( e 1 e ) ( e ) ( e e ) ( 1 e ) 1 e e x 1 x d x 1.24413 \displaystyle\int_{e^{-e}}^{e^{\frac{1}{e}}}f(x)\,dx = \left(e^{\frac{1}{e}}\right)\left(e\right)- \left(e^{-e}\right) \left(\frac{1}{e}\right)-\displaystyle\int_{\frac{1}{e}}^{e}x^{\frac{1}{x}}dx \approx \boxed{1.24413\dots}

That's exactly how I did it. Terrific shot of that infinite staircase skyscraper there.

Michael Mendrin - 5 years, 10 months ago

lovely solution..

Ananya Aaniya - 5 years, 10 months ago

Even i did the same way. But i used a calculator to solve the approximate integral which u also used. Can u please help me?? @Garrett Clarke

Aditya Kumar - 5 years, 10 months ago

Log in to reply

I will admit it's not an easy task! I personally used WolframAlpha to get the final answer, but there certainly are ways to get the correct answer using numerical approximation. Here's one way of doing it:

First off, many methods involve approximation by adding up the areas under the curve in pieces. Basically it works by taking a small portion of the x-axis (known as the step size) and multiplying it by the value of the function at that point. The smaller the step size, the more areas to add up and the better the approximation. When the bounds for our integral are 1 e \frac{1}{e} and e e , it's not exactly clear what our step size should be; we'd like the step size to be a rational number. This means our first step must be to use U-Substitution to give us rational bounds. Consider the following:

x = e u x=e^u

d x = e u d u dx = e^u\,du

1 e = e 1 \frac{1}{e} = e^{-1}

e = e 1 e = e^1

1 e e x 1 x d x = 1 1 e u ( 1 + e u ) d u \displaystyle\int_{\frac{1}{e}}^e x^{\frac{1}{x}}\,dx = \displaystyle\int_{-1}^1 e^{u(1+e^{-u})}\,du

Now I won't say it's a prettier integral, but it is one that we can more easily work with, as our bounds are integers. The approximation method has the follows:

a b f ( x ) = i = 1 n h f ( x i ) \displaystyle\int_a^b f(x) = \displaystyle\sum_{i=1}^n hf(x_i)

Where h h is your step size, n = b a h n=\frac{b-a}{h} , and x i = a + i h x_i=a+ih This creates a series of rectangles that can added up to approximate our integral.

Unfortunately, this method does not approximate very quickly. Our step size must be quite small (smaller than 0.001) for us to get an approximation that will yield us an answer close enough to the true answer to be acceptable.

However, I would like to refer you to the comment I made to Aman Raimann below. There I show a different integral that approximates much faster, when h h is as small as 0.01. Still, that means you're summing 200 terms, which means you still need a calculator anyway.

In summary, when working with definite integrals of complex functions, sometimes it's best to just let a computer do the work for you. Thanks for the question!

Garrett Clarke - 5 years, 10 months ago

Log in to reply

Thanks a lot! That'll help me. I didn't know about the approximation method.

Aditya Kumar - 5 years, 10 months ago

How do you evaluate the integral without approximating? I was stuck on that for a long time and finally gave up.

Deeparaj Bhat - 5 years, 2 months ago

OhMyGod This is so beautiful!

Pi Han Goh - 5 years, 10 months ago

Log in to reply

I agree 100%, this is probably my favorite problem I've made so far.

Garrett Clarke - 5 years, 10 months ago

Log in to reply

i got the answer. yes

Mugundhan Nallathambi - 5 years, 10 months ago
Aditya Kumar
Aug 9, 2015

N o w , I l l s i m p l i f y t h e a p p r o x i m a t i o n o f 1 e e x 1 x d x 1 e e x 1 x d x = 1 e e e l o g x x d x = I S i n c e w e w a n t t o a p p r o x i m a t e t h e v a l u e o f I , w e c a n u s e t a y l o r s e r i e s o f e x p a n s i o n o f e x I = 1 e e ( 1 + l o g x x 1 ! + ( l o g x x ) 2 2 ! + ( l o g x x ) 3 3 ! + . . . ) d x o n s p l i t t i n g t h e i n t e g r a l s a n d s o l v i n g t h e m , w e g e t I 2.65861 Now,\quad I'll\quad simplify\quad the\quad approximation\quad of\quad \int _{ \frac { 1 }{ e } }^{ e }{ { x }^{ \frac { 1 }{ x } } } dx\\ \int _{ \frac { 1 }{ e } }^{ e }{ { x }^{ \frac { 1 }{ x } } } dx\quad =\quad \int _{ \frac { 1 }{ e } }^{ e }{ { e }^{ \frac { logx }{ x } } } dx\quad =\quad I\\ Since\quad we\quad want\quad to\quad approximate\quad the\quad value\quad of\quad I,\\ we\quad can\quad use\quad taylor\quad series\quad of\quad expansion\quad of\quad { e }^{ x }\\ I\quad =\quad \int _{ \frac { 1 }{ e } }^{ e }{ \left( 1+\frac { \frac { logx }{ x } }{ 1! } +\frac { { \left( \frac { logx }{ x } \right) }^{ 2 } }{ 2! } +\frac { { \left( \frac { logx }{ x } \right) }^{ 3 } }{ 3! } +... \right) } dx\\ on\quad splitting\quad the\quad integrals\quad and\quad solving\quad them,\quad we\quad get\\ I\quad \approx \quad 2.65861

@Garrett Clarke @Pi Han Goh @Michael Mendrin @NILAY PANDE can u verify it as i learnt approximate integrals recently.

Aditya Kumar - 5 years, 10 months ago

Log in to reply

Yeah this is right too. But how do you know the convergence rate? You need to plug in one number at a time to increase the accuracy. That is, how many terms do we need to have the sufficient number of significant figures?

Furthermore, it's very tedious to integrate all these terms by hand.

Damn. I didn't thought of this. Your solutions are an eye opener.

Pi Han Goh - 5 years, 10 months ago

Log in to reply

U r right I should've added more terms to it as it would've have brought in more accuracy. It took me 2 pages to just approximate this integral.

Thanks for the compliment!

Aditya Kumar - 5 years, 10 months ago
Aman Rajput
Jul 31, 2015

I used : x x x = W ( log x ) log x x^{x^{x^{\dots}}} = \frac{W(-\log x)}{-\log x}

where W W is the Lambert's W function , also called omega function.

Then using numerical method or wolframalpha, we get

1 / e e e 1 / e W ( log x ) log x d x = 1.244 \displaystyle \int\limits_{1/e^e}^{e^{1/e}} \frac{W(-\log x)}{-\log x} dx = \boxed{1.244}

You know I tried putting that function into WolframAlpha and it wouldn't accept my input, as it often does for computations involving obscure functions like the Lambert W function. There is a way we can rewrite the function above, however, using U-Substitution that allows Wolfram to understand the input much more easily. Observe the following:

First, let u = W ( l n ( x ) ) u=W(-ln(x)) :

l n ( x ) = u e u x = e u e u -ln(x)=ue^u\Longrightarrow x=e^{-ue^u}

d x = e u e u u ( 1 + u ) d u dx = -e^{u-e^u u} (1+u)\, du

W ( l n ( 1 e e ) ) = W ( e ) = 1 , W ( l n ( e 1 e ) ) = W ( 1 e ) = 1 W(-ln(\frac{1}{e^e}))=W(e)=1,\, W(-ln(e^{\frac{1}{e}}))=W(-\frac{1}{e})=-1

Subbing in for x x , d x dx and our bounds:

1 1 u u e u ( e u e u u ( 1 + u ) ) d u \displaystyle\int_{1}^{-1} \frac{u}{ue^u}(-e^{u-e^u u} (1+u))\, du

1 1 e e u u ( 1 + u ) d u \displaystyle\int_{-1}^{1} e^{-e^u u} (1+u)\, du

This integral is a bit easier to wrap our head around and avoids the use of non-elementary fuctions. Good insight to use this approach though!

Garrett Clarke - 5 years, 10 months ago

Log in to reply

you should know how to write that function as an input...

type productlog[-logx]

Aman Rajput - 5 years, 10 months ago

Log in to reply

Ahhh yes that worked! My mistake was just typing in "integrate W(-ln(x))/(-ln(x)) from 1/e^e to e^(1/e)" rather than using "productlog[-ln(x)]". I'll be sure to remember that, thanks! And don't worry I've got plenty more calculus questions where that came from!

Garrett Clarke - 5 years, 10 months ago

Log in to reply

@Garrett Clarke i'll be waiting for your questions my friend. ;)

Aman Rajput - 5 years, 10 months ago

and @Garrett Clarke please keep posting good calculus question ... loved this one.

Aman Rajput - 5 years, 10 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...