How to find the value of $3 + \sqrt{3^2 + \sqrt{3^4 + \sqrt{3^8 + \sqrt{3^{16} + ...}}}}$
I tried to solve it and found a relation that if I assume the given expression to be something say $x$, then following result holds true. $$\boxed{x = 3 + \sqrt{3x}}\hspace{4cm}\bf ...(1.)$$
Can be proved as, $$x = 3 + \sqrt{3(3 + \sqrt{3x})}$$ $$x = 3 + \sqrt{3^2 + \sqrt{3^3x}}$$ $$x = 3 + \sqrt{3^2 + \sqrt{3^3(3 + \sqrt{3x})}}$$ $$x = 3 + \sqrt{3^2 + \sqrt{3^4 + \sqrt{3^7x})}}$$ $$x = 3 + \sqrt{3^2 + \sqrt{3^4 + \sqrt{3^7(3 + \sqrt{3x})})}}$$ $$x = 3 + \sqrt{3^2 + \sqrt{3^4 + \sqrt{3^8 + \sqrt{3^{15}x}}}}$$
If I continue this process repeatedly, $$x= 3 + \sqrt{3^2 + \sqrt{3^4 + \sqrt{3^{8} + \sqrt{3^{16} +\sqrt{...}}}}}$$
But how can I make sure that $(1.)$ is absolutely correct? Also how can I make sure that "If I continue this process repeatedly" I would get the same expression?
Let $$f(x)=x+\sqrt{x^2+\sqrt{x^4+\sqrt{ x^8+\cdots}}},$$ which is to be understood as $\lim_{n\to\infty}f_n(x)$, where $$f_n(x)=x+\sqrt{x^2+\sqrt{x^4+\sqrt{ x^8+\cdots\sqrt{\cdots\sqrt{x^{2^n}}}}}},$$ or recursively (and thus finally in a sufficiently formal way), $$\tag1f_0(x)=x,\qquad f_{n+1}(x)=x+\sqrt{f_n(x^2)}.$$ We want to find the limit (if it exists) $f(3)$. Note that instead of your equation, $(1)$ rather gives us $$\tag2 {f(x)=x+\sqrt{f(x^2)}}.$$ Your guess seems to have ignored the way the exponents of $x$ grow under the deeper radicals.
The above looks like we need to first find $f$ evaluated at larger arguments (hence with seemingly "worse" convergence), but we can easily get out of that trap: