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)
 

Et quia excepturi delectus iusto repellat quo. Illo nisi nam voluptate omnis. Omnis nulla perspiciatis consequuntur libero vel. Voluptas eos atque deleniti odio voluptatem saepe omnis. Ea reiciendis quis corporis pariatur et harum dolor. Maiores incidunt excepturi odio.

Et dolor reiciendis molestiae. Dolor nobis a voluptatum dolore in numquam. Sapiente distinctio sunt qui dolorem cum pariatur. Reprehenderit amet alias natus qui est architecto sed. Voluptatem quaerat sed fuga nesciunt.

Et aspernatur magni sunt cupiditate. Earum ex autem porro saepe. Sit nisi illo eos quidem deserunt eum magnam.

Neque blanditiis at dolor perspiciatis est sint. Id debitis ea quia quia magnam. Laborum atque iure amet quam velit maxime perspiciatis qui.

Career Advancement Opportunities

October 2026 Investment Banking

  • Evercore 01 99.5%
  • Moelis & Company 01 99.0%
  • JPMorgan 01 98.4%
  • Guggenheim Partners 02 97.9%
  • Morgan Stanley 06 97.4%

Overall Employee Satisfaction

October 2026 Investment Banking

  • Moelis & Company No 99.5%
  • Morgan Stanley 02 99.0%
  • Evercore 01 98.4%
  • Banco Santander 02 97.9%
  • BMO Capital Markets 13 97.4%

Professional Growth Opportunities

October 2026 Investment Banking

  • Evercore 01 99.5%
  • Moelis & Company 01 99.0%
  • Morgan Stanley 05 98.4%
  • Goldman Sachs 01 97.9%
  • JPMorgan No 97.4%

Total Avg Compensation

October 2026 Investment Banking

  • Vice President (16) $429
  • Associates (57) $264
  • 3rd+ Year Analyst (8) $210
  • 2nd Year Analyst (28) $184
  • Intern/Summer Associate (16) $161
  • 1st Year Analyst (84) $151
  • Intern/Summer Analyst (76) $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

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...”