To what value does \[\sqrt{1+\sqrt{1+\sqrt{1+\sqrt{1+...}}}}\]converges?
The back of the envelope way is to first assume it does converge to some value, call it x. In which case \[ x = \sqrt{1 + x} \] Then solve for x. But you also need to convince yourself that it does indeed converge so that this isn't' a nonsense calculation.
seems to be 1.6180339887499
Ugh. Closed form answer please!
What's a closed form answer?
oh you mean like an expression with a big sigma thing in it?
you've written down an approximation of the answer. Completely unnecessary. You can write an exact, closed form of the solution.
x=1/2(1+sqrt5) is the solution of x=sqrt(1+x).
But how does this help?
\[x = \frac{\sqrt{5}+1}{2}\]
isn't that the golden ratio?
why is it the golden ratio?
There's a puzzle for you.
:(
I don't even know what a golden ratio is.
back of the envelop! i like it. actually hard part is showing it converges, easy part is solving a quadratic equation.
you can google 'golden ratio' and get more information that you can possibly use.
def fib(n): last = 0 this = 1 if n < 2: return n for i in xrange(1,n): new = last + this last = this this = new return this for i in xrange(1,101): print float(fib(i+1))/float(fib(i)) it also prints out the golden ratio
i can't really read this but it looks like what you have is the limit of the quotients of the fibonnaci numbers, which is the golden ratio
Hmm.... this all seems deja vu to me
Excercise try to find X in here $$ X=5^0+ \sqrt{5^1+\sqrt{5^2+\sqrt{5^4+\sqrt{5^8+\sqrt{5^{16}+\sqrt{5^{32}+\dots}}}}}}$$
That's a nice competition question.
I think the solution can be implemented using python
this should be in project euler
It can be solved--and should be--with pencil and paper.
alright. what's step 1?
Think about it, given your original question. They're very related.
alright what's the trick?
It is easy when you know the trick.
the trick is that the next number is equal to the previous number?
or something?
think about it for a while.
is it the same answer but multiplied by 5?
if it is, explain why. If not, what is it. Do some work.
btw @JamesJ technically, you need to prove the convergence before writing $$ x = \sqrt{1 + x} $$ isn't ? ;)
lol okay. I'll fire up google and if it doesn't help, I will think about it.
@FFM. That is exactly what I said.
By Google-ing you may be robing yourself of an opportunity to solve a good problem :)
OH sorry I haven't read all of the discussions.
is the answer 5?
nice trick!
$$ \frac{7+\sqrt{5}}{2}$$
Yes, that's right.
nooo you revealed the answer to me :(
Now figure out why it's right.
\[X = 1 + \sqrt{5 + X}\]
almost there
I computed the first few terms and found that (call the first summation Y): \[X=1+\sqrt{5}Y.\]
it's been half an hour, and no luck for me :(
\[\sqrt{5+\sqrt{5^2}}=\sqrt{5+5}=\sqrt{5}\sqrt{2}.\] \[\sqrt{5+\sqrt{5^2+\sqrt{5^4}}}=\sqrt{5+\sqrt{5^2+5^2}}=\sqrt{5+5\sqrt{2}}=\sqrt{5}\sqrt{1+\sqrt{2}}.\] \[\sqrt{5+\sqrt{5^2+\sqrt{5^4+\sqrt{5^8}}}}=\sqrt{5+\sqrt{5^2+\sqrt{5^4+5^4}}}\] \[=\sqrt{5+\sqrt{5^2+5^2\sqrt{2}}}=\sqrt{5+5\sqrt{1+\sqrt{2}}}=\sqrt{5}{\sqrt{1+\sqrt{1+\sqrt{2}}}}\]. Does this help?
kind-of.... I still can't find that recurrence relation thing I'm supposed to look for
I think you can see that\[X=5^0+\sqrt{5}Y.\]
yes
but I still can't solve it
\[X=1+\sqrt{5}.{\sqrt{5}+1 \over 2}=1+{5+\sqrt{5} \over 2}={7+\sqrt{5} \over 2}.\]
I wouldn't be able to find it if James didn't do the first part though.
*Agdgdgdgwngo feels enlightened.
But how did you figure that trick out?
*Agdgdgdgwngo is actually enlightened.
so this is how we apply the golden ratio
Join our real-time social learning platform and learn together with your friends!