4

Ramanujan posed once the solution of following problem to the Journal of Indian Mathematical Society:

$$ \sqrt{1+2\sqrt{1+3\sqrt{1+4\sqrt{1+\cdots}}}} =3 $$

This can be solved by noting a more general formulation, what is

$$\sqrt{ax+(n+a)^2+x\sqrt{a(x+n)+(n+a)^2+(x+n)\sqrt{\cdots}}} = ?$$

if $x, a, n$ are natural numbers. The suggested strategy was to define a function $F(x)$ as

$$F(x):=\sqrt{ax+(n+a)^2+x\sqrt{a(x+n)+(n+a)^2+(x+n)\sqrt{\cdots}}} $$

and observe that we obtain the recurrence relation

$$ F(x)^2=ax+(n+a)^2+xF(x+n) $$

The next suggested step just states that 'it can then be shown that'

$$ F(x) = x+n +a $$

My question if it's possible to derive $F(x) = x+n +a$ conceptually instead of presented 'clever guess' way?

A promising approach I found here but the author of the answer also worked with an 'ansatz' $F(X):= mx+ k$ seemingly falling from heaven. Is there an 'ansatz' free strategy known working only with the recurrence relation for $F(x)$ itself without making any 'guesses'? Also I noted that the there are a lot of similar questions on this site asking similar questions about Ramanujan's nested radicals but unfortunatelly no one touches the explicite derivation of $F(x)$ without making 'choices'.

Bill Dubuque
  • 272,048
user267839
  • 7,293
  • If you’ve also worked with ODEs, then it’s probably not unreasonable to guess that $F(x)$ is a polynomial in $n,x$. The fact that it should be degree 1 is evident from $F^2(x)$ having the same degree as $xF(x+n)$ and $(n+a)^2$ – Alex R. Jun 07 '21 at 00:15
  • 1
    I know that when one has such reccurence relation it's conventionally to start with power series ansatz $F(x):= \sum a_ix^i$. On the other hand it's quite interesting if it can be explicitely shown that $F(x)$ must be a polynomial only by 'playing' with the reccurence relation without making this ansatz? – user267839 Jun 07 '21 at 02:11
  • @IsaktheXI The 'clever guess' doesn't look all that mystifying if you write the relation as $,\left(F(x)-n-a\right)\cdot\left(F(x)+n+a\right) = x \cdot \left( F(x+n) + a \right),$. – dxiv Jun 08 '21 at 01:11
  • @dxiv: Yes, that's a nice observation. What can we conclude from this? What I see is that if we insert $x=0$ we obtain that $F(0) = n+a $ (because $F(x) > 0$ by definition, so $F(0)= -(n+a)$ is wrong since $a, n$ were assumed to be positive). Can we deduce from $(F(x)-n-a) \cdot (F(x)+n+a)= x \cdot ( F(x+n) + a)$ more about the structure of $F(x)$? – user267839 Jun 09 '21 at 00:37
  • Similary, inserting $x=-n$ we conclude $F(-n)= a$ and by iteration me know all $F(-kn)$. But that's all, or can there still more be deduced? – user267839 Jun 09 '21 at 01:18
  • @IsaktheXI You can't conclude much directly. What that form suggests. however, is to try matching the factors, and indeed $F(x)-n-a=x$ turns out to also satisfy $F(x)+n+a=F(x+n)+a$. – dxiv Jun 09 '21 at 01:57

1 Answers1

4

A frankly remarkable set of circumstances lead to a really , really beautiful answer in this situation.

Let me start by saying this : the answer is motivated by the question itself, in that we may use the expression in the question to provide further bounds on $F$ which lead to the expression for the question : which means that nowhere in the working below am I assuming that $F$ is unique in any way. In fact, were I to insist that $F$ not be continuous or something, I'd probably think there's way more than just one solution to this problem.

It remains to be seen, for example, what conditions on $F$ would ensure uniqueness from merely the functional equation, but anyway, the proof is here.


So the point is simple : yes , $F$ satisfies the equation, but what gives linear bounds on $F$ is not the functional equation, but rather its origin : the function which $F$ is supposed to represent.

Let's see how. This is an extension of Problem number 18, A problem seminar, D.J.Newman.

So, we have : $$ F(x):=\sqrt{ax+(n+a)^2+x\sqrt{a(x+n)+(n+a)^2+(x+n)\sqrt{\cdots}}} $$

First, we focus on at least providing linear bounds for $F$.

Task : To find constants $C_1<1,C_2>1$ such that $C_1(x+n+a)\leq F(x) \leq C_2(x+n+a)$ for all $x \geq 1$.

For the lower bound,we use the obvious monotonicity of the square root to write : $$ F(x) \geq \sqrt{x\sqrt{x\sqrt{x\ldots}}} = x $$

(convert the square-roots to exponents and use the geometric series for the equality, or use a sequence-based definition) and now, for all $x \geq 1$ we have $x+n+a \leq (n+a+1)x$, so we write $F(x) \geq \frac{x+n+a}{n+a+1}$ for all $x \geq 1$.

The other way is going to be very twisty-turny : we use the inequality $a+xb \leq (a+x)b$ for all $a \geq 0,b \geq 1$ , and the monotonicity of the square root to obtain : $$ F(x) \leq \sqrt{(x(a+1)+(n+a)^2)\sqrt{((x+n)(a+1)+(n+a)^2)\sqrt{\ldots}}} \\ \leq \sqrt{((x+n+a)(a+1)+(n+a)^2)\sqrt{((x+2n+a)(a+1)+(n+a)^2)\sqrt{\ldots}}} $$

now use the inequality again : $ax+b \leq x(a+b)$ for all $x \geq 1,b \geq 0$ so : $$ \sqrt{((x+n+a)(a+1)+(n+a)^2)\sqrt{((x+n+a)(a+1)+n(a+1)+(n+a)^2)\sqrt{\ldots}}} \leq \sqrt{(x+n+a)((a+1)+(n+a)^2)\sqrt{(x+n+a)((a+1)(n+1)+(n+a)^2) \sqrt{\ldots}}} \\ \leq (x+n+a)\sqrt{[(a+1)+(n+a)^2] \sqrt{[(a+1)(n+1)+(n+a)^2] \sqrt{\ldots}}} $$

Using our linear crude bounds again, we get that $(a+1)(n+1)+(n+a)^2 \leq (n+1)((a+1)+(n+a)^2)$, and extremely crudely $(a+1)(kn+1) + (n+a)^2 \leq (n+1)^{2^k}((a+1)+(n+a)^2)$.

Why are we doing all this? It's basically to keep stuff linear, and to make sure that the constant we get on the right hand side is explicit. For this we need to ensure that the square roots simplify to something, and the inequalities reflect this structure.

Once we do that, we get : $$ (x+n+a)\sqrt{[(a+1)+(n+a)^2] \sqrt{[(a+1)(n+1)+(n+a)^2] \sqrt{\ldots}}} \leq (x+n+a) \sqrt{[(a+1)+(n+a)^2] \sqrt{(n+1)[(a+1)+(n+a)^2]}\sqrt{(n+1)^2[(a+1)+(n+a)^2]\sqrt{\ldots}}} \\ \leq (x+n+a)[(a+1)+(n+a)^2]\sqrt{1\sqrt{(n+1)\sqrt{(n+1)^2 \sqrt{(n+1)^4 \sqrt{\ldots}}}}} \leq (x+n+a)[(a+1)+(n+a)^2]\sqrt{n+1} $$

And, breathe.


Thus, we have constants $C_1<1,C_2 >1$ such that for all $x\geq 1$, $C_1 (x+n+a) \leq F(x) \leq C_2(x+n+a)$. Let's use a bootstrap argument to bring $C_1,C_2$ arbitrarily close to $1$.

Well, let's start with this : $C_1(x+n+a) \leq F(x) \leq C_2(x+n+a)$ from definition. Now, by definition, $C_1(x+2n+a) \leq F(x+n) \leq C_2(x+2n+a)$, therefore we have : $$ ax+(n+a)^2 +C_1x(x+2n+a) \leq F(x)^2 = ax+(n+a)^2 + xF(x+n) \leq ax+(n+a)^2 + C_2x(x+2n+a) $$

Now, we note that $ax+(n+a)^2 +C_1x(x+2n+a) \geq C_1(x+n+a)^2$, and we also have $ax+(n+a)^2 + C_2x(x+2n+a)\leq C_2(x+n+a)^2$. (verifying this step was deeply satisfying, and you have to use the fact that $C_1<1,C_2>1$).

Therefore, following the square root, we get $$ \sqrt{C_1} (x+n+a) \leq F(x) \leq \sqrt{C_2} (x+n+a) $$

repeating this procedure and taking the limit leads to $F(x)=x+n+a$ for all $n \geq 1$.


Salient features :

  • Using linear bounding of the function via the definition.

  • A bootstrap argument.


Notes :

  • To rigorously justify that $F$ is continuous, you will have to define a sequence of functions $F_m(x) = \sqrt{ax+(n+a)^2 +xF_{m-1}(x+n)}$ with an appropriate $F_1$. Show that the $F_i$ converge uniformly to a function $F$ (perhaps on some bounded interval) : then , by taking the limit, $F$ satisfies the above recurrence and will be continuous.

  • To make all the inequalities super-rigorous, you'll have to make sure they hold for the $F_i$, and then take the limit. I haven't done this, but I'm going to leave that to someone else to do.

  • I believe that I cannot force $F$ to be linearly bounded if I merely assume that it is continuous and satisfies the difference equation (i.e. that it never came from the Ramanujan problem), since I think having only this condition, along with the fact that the control of the functional equation is only from $x$ to $x+n$ (that gap of $n$ is maintained and can't be shortened) tells me that there can be wild misbehaviour of candidate solutions unless differentiability or additional conditions are present. In fact ,even with these conditions, I think the equation will have many solutions.

  • Thank you for such a detailed answer! I will need some time to understand everything in detail. Maybe I'll pick up a couple of points in the coming days – user267839 Jun 09 '21 at 00:29
  • @IsaktheXI Good to be of help to you! Now that I think about it : if you see the equation, there is only dependence of $F(x)$ upon $F(x+n)$ for some fixed $n$. In particular, the function $F$ may behave in any manner on an interval of the form $[a,a+n]$, and then is uniquely extended to the rest of the $x$. It follows that no form of uniqueness can be specified for $F$, so we will have to make use of its definition to proceed here. – Sarvesh Ravichandran Iyer Jun 09 '21 at 00:33