If $f(x)=\sqrt{1+\sqrt{x+\sqrt{x^2 +\sqrt{x^3 +\cdots}}}},$ then find the value of $f(4).$
My attempt: $f(x) = \sqrt{1+{\sqrt{x}} f(x)} \implies f(4) =\sqrt{1+2f(4)} \implies f(4)(f(4)-2)=1.$
I don't know how to proceed from here. The answer should be $2.$ Where am I getting wrong?
Kindly, explain it.Thank you for any guidance!