A bit of overcomplicating on interview question

Question is the following: Solve x^x^x^... = 2.

So, because of this condition we have x^2=2, and from that we can conclude that only possible solution is x=sqrt(2). But how do we know that this is actually a solution, we know that x=sqrt(2) is only candidate for solution, but haven't proved that it is actually solution.

It seems to me intuitively that left-hand sidr of equation is a continuous function, and then the result would be obvious from BW theorem, but I am not 100% sure that we are talking about continuous function.

Sorry for bothering you with this, but I would really like to be 100% sure about the answer.

2 Comments
 
Best Response

Don't think of it as a continuous function, think of it as an exponential series. You're already given from the original equation that your infinite function converges to a finite integer. You don't need to prove that fact because it is a given.

Think of this backwards via n notation: For any n, x(n) = x^[x(n-1)] so for example x(3) = x^(x^x) = x^x(2) So for a converging series, you can eventually see that x^y = y (where y exists and is finite). Given that y is 2 in your original equation, you know the thing to solve is x^2 = 2, and you have x = sqrt(2).

It's been ages since real analysis, I don't remember any of it, not even BW thereom. Do remember HB, but fuck if I remember how to apply it.

I also doubt your interviewers care about the real analysis-based proofs behind your solution. Simply showing them through common sense that 2 = x^(x^x^x^x.... = 2) should be enough.

Currently: future neurologist, current psychotherapist Previously: investor relations (top consulting firm), M&A consulting (Big 4), M&A banking (MM)
 

Perferendis ea officia facilis sit necessitatibus. Et dignissimos illum ipsum voluptatem nihil odit quidem. Excepturi consequuntur nihil quod. Hic aperiam ut perspiciatis assumenda.

Career Advancement Opportunities

July 2026 Investment Banking

  • Evercore 01 99.4%
  • Moelis & Company 01 98.9%
  • JPMorgan 01 98.3%
  • Guggenheim Partners 01 97.8%
  • Morgan Stanley 07 97.2%

Overall Employee Satisfaction

July 2026 Investment Banking

  • Moelis & Company No 99.4%
  • Evercore No 98.9%
  • Morgan Stanley 01 98.3%
  • Banco Santander 02 97.7%
  • BMO Capital Markets 12 97.2%

Professional Growth Opportunities

July 2026 Investment Banking

  • Evercore 01 99.4%
  • Moelis & Company 01 98.9%
  • Morgan Stanley 06 98.3%
  • Goldman Sachs 01 97.8%
  • JPMorgan 01 97.2%

Total Avg Compensation

July 2026 Investment Banking

  • Vice President (16) $429
  • Associates (46) $258
  • 3rd+ Year Analyst (8) $210
  • 2nd Year Analyst (22) $179
  • Intern/Summer Associate (14) $159
  • 1st Year Analyst (80) $150
  • Intern/Summer Analyst (73) $101
notes
16 IB Interviews Notes

“... there’s no excuse to not take advantage of the resources out there available to you. Best value for your $ are the...”

Leaderboard

1
redever's picture
redever
99.2
2
kanon's picture
kanon
99.0
3
Secyh62's picture
Secyh62
99.0
4
BankonBanking's picture
BankonBanking
99.0
5
DrApeman's picture
DrApeman
98.9
6
dosk17's picture
dosk17
98.9
7
Betsy Massar's picture
Betsy Massar
98.9
8
CompBanker's picture
CompBanker
98.9
9
GameTheory's picture
GameTheory
98.9
10
Jamoldo's picture
Jamoldo
98.8
success
From 10 rejections to 1 dream investment banking internship

“... I believe it was the single biggest reason why I ended up with an offer...”