Calculate $$\lim_{n\to\infty}{\sqrt{5+\sqrt{5+...+\sqrt 5}}}$$
I have a similar example solved in my textbook so I tried to use the same technique though I'm not entirely sure what I'm doing.
$a_n:=\lim_{n\to\infty}{\sqrt{5+\sqrt{5+...+\sqrt 5}}}$
$a_1=\sqrt5$
$a_{n+1}=\sqrt{5+a_n}$
$L=\sqrt{5+L} \implies L=\frac{1+\sqrt{21}}{2}$
This is what I'm confused about, where did $L=\sqrt{5+L}$ come from? And after that I have to prove that $a_n$ is bounded above with $\frac{1+\sqrt{21}}{2}$, right?
So I use induction to prove that:
$a_1=\sqrt5\leq\frac{1+\sqrt{21}}{2}$
Let's assume that for some $n\in \Bbb N$ it's true that $a_n\leq\frac{1+\sqrt{21}}{2}$
Then $a_{n+1}=\sqrt{5+a_n}\leq\sqrt{5+\frac{1+\sqrt{21}}{2}}=\sqrt\frac{11+\sqrt{21}}{2}$
Well, this doesn't seem right. What did I prove here?
After that I proved that $a_n$ is strictly increasing, so I should now be able to find the limit only I don't know how to proceed.