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.

 
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)
 

Reiciendis molestiae consequatur quo. Sit aperiam ea veniam vel laudantium voluptates repellat at. Inventore non asperiores laboriosam aut aut iste veniam. Quos quia deleniti accusantium rerum.

Itaque officia reprehenderit enim. Adipisci aliquid error aperiam placeat maxime dolor beatae.

Et porro adipisci voluptatem dolor amet dolor vero. Tenetur ea officiis aliquid. Ut et sit vel dolorem. Qui cupiditate id incidunt impedit debitis reiciendis.

Career Advancement Opportunities

May 2024 Investment Banking

  • Jefferies & Company 02 99.4%
  • Goldman Sachs 19 98.8%
  • Harris Williams & Co. New 98.3%
  • Lazard Freres 02 97.7%
  • JPMorgan Chase 04 97.1%

Overall Employee Satisfaction

May 2024 Investment Banking

  • Harris Williams & Co. 18 99.4%
  • JPMorgan Chase 10 98.8%
  • Lazard Freres 05 98.3%
  • Morgan Stanley 07 97.7%
  • William Blair 03 97.1%

Professional Growth Opportunities

May 2024 Investment Banking

  • Lazard Freres 01 99.4%
  • Jefferies & Company 02 98.8%
  • Goldman Sachs 17 98.3%
  • Moelis & Company 07 97.7%
  • JPMorgan Chase 05 97.1%

Total Avg Compensation

May 2024 Investment Banking

  • Director/MD (5) $648
  • Vice President (20) $385
  • Associates (88) $260
  • 3rd+ Year Analyst (14) $181
  • Intern/Summer Associate (33) $170
  • 2nd Year Analyst (67) $168
  • 1st Year Analyst (205) $159
  • Intern/Summer Analyst (146) $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
Betsy Massar's picture
Betsy Massar
99.0
3
BankonBanking's picture
BankonBanking
99.0
4
Secyh62's picture
Secyh62
99.0
5
dosk17's picture
dosk17
98.9
6
CompBanker's picture
CompBanker
98.9
7
kanon's picture
kanon
98.9
8
GameTheory's picture
GameTheory
98.9
9
Linda Abraham's picture
Linda Abraham
98.8
10
numi's picture
numi
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...”