For $u_{n+1}=\frac12 \arctan(u_n)$, why $u_n \sim 2^{-n}u_0/\sqrt{1+\frac89u_0^2(1-4^{-n})}$

asymptoticslimitssequences-and-seriestrigonometry

This question is about another post, specifically answered by Lutz Lehmann. Here is the post : Asymptotic expansion of $u_{n + 1} = \frac12 \arctan(u_n)$

I will re-wrote his answer :

$$
\frac1{u_{n+1}^2}=\frac4{u_n^2(1-\frac13u_n^2+\frac15u_n^4\mp…)^2}
=\frac4{u_n^2}+\frac83-\frac4{15}u_n^2+O(u_n^4)\tag1
$$

Thus for a first approximation use $$x_{n+1}=4x_n+\frac83\iff x_{n+1}+\frac89=4(x_n+\frac89)$$ so that $$u_n^{-2}\sim x_n=4^n(x_0+\frac89)-\frac89.\tag2$$

This gives as first approximation
$$
u_n\sim \frac{2^{-n}u_0}{\sqrt{1+\frac89u_0^2(1-4^{-n})}}.\tag3
$$

I have a problem through his proof. And that is $u_n^{-2}\sim x_n$.

I tried to explain it : $\forall n\in \mathbb N, v_n = u_{n+1}^{-2}-4u_n^{-2}-8/3$,
$x_n = u_n^{-2} + w_n$.

We want to find a $(w_n)_{n\in\mathbb N}$ such that $w_n = o(u_n^{-2})$ and we have :
$$x_{n+1}=u_{n+1}^{-2} + w_{n+1} = 4u_n^{-2}+8/3+v_n+w_{n+1} = 4x_n+8/3+v_n+w_{n+1}-4w_n$$

So $w_{n+1} = 4w_n -v_n$. But that's here where it becomes quite difficult. I have not been able to show that $w_n = o(u_n^{-2})$.

I want to know if there is a better explanation for this approximation.

Best Answer

The answer you linked to also links to an even older answer (with 100 upvotes!) which uses the same method. The earlier author also recommends a certain book citation; presumably if you really want more depth on this topic then that book would be a good source. Anyway, I'll refer to the answer you linked as "A1". I'll refer to the answer A1 links to as "A2".

I think A2's work is fully correct and well explained. A1's work is also basically correct, but they wrote the definition of $x_n$ backward (as you noted) and also made no effort to carefully track or bound the error terms (instead just removing them from the equation). Here I'll present a hopefully better explained version of A1's argument.

To start, we first define $x_n = u_n^{-2}$; note that's "$=$" not "$\approx$". Then the asymptotic recurrence becomes $$x_{n+1} = 4 x_n + \frac 8 3 - \frac 4 {15} x_n^{-1} + O(x_n^{-2})$$

Following A1's lead, we drop the $- \frac{4}{15} x_n^{-1}$ term to make the recurrence easier to solve, getting: $$ \begin{align} x_{n+1} &= 4 x_n + \frac 8 3 + O(x_n^{-1}) \\ x_{n+1} + \frac 8 9 &= 4\left(x_n + \frac 8 9\right) + O(x_n^{-1}) \\ &= 4 \left( 4\left(x_{n-1} + \frac 8 9\right) + O(x_{n-1}^{-1}) \right) + O(x_{n}^{-1}) \\ &\, \, \,\vdots \\ x_{n} + \frac 8 9 &= 4^n \left(x_0 + \frac 8 9 \right) + O\left(\sum_{k=0}^{n-1} 4^{k} x_{n-1-k}^{-1}\right) \\ \end{align} $$

To help simplify the error term, we can apply the above equation inductively to prove $x_n \sim 4^n x_0 $ as $x_0 \to \infty$. [EDIT: See bottom for a proof of this fact.] Note it makes sense to consider $x_0 \to \infty$ because we're aiming to end up with an asymptotic expansion valid as $u_0 \to 0$. The new estimate lets us write $$ \begin{align} O\left(\sum_{k=0}^{n-1} 4^{k} x_{n-1-k}^{-1}\right) &= O\left(\sum_{k=0}^{n-1} 4^{k} (4^{n-1-k} x_0)^{-1}\right) \\ &= O \left( 4^{-n-1} x_0^{-1} \sum_{k=0}^{n-1} 4^{2k} \right) \\ &= O \left( 4^{-n} x_0^{-1} 16^n \right) \\ &= O \left( 4^{n} x_0^{-1} \right) \end{align} $$

Now plug this back into the main equation and replace $x_n \to u_n^{-2}$: $$ \begin{align} x_{n} + \frac 8 9 &= 4^n \left(x_0 + \frac 8 9 \right) + O \left( 4^{n} x_0^{-1} \right) \\ 4^{-n} u_n^{-2} &= u_0^{-2} + \frac 8 9 - 4^{-n} \frac 8 9 + O \left( u_0^{2} \right) \end{align} $$

And finally, solving for $u_n$: $$ \begin{align} u_n &= \frac{2^{-n} u_0}{\sqrt{1 + \frac 8 9 (1-4^{-n}) u_0^2 + O \left( u_0^{4} \right)}} \end{align} $$

This finally matches the result A1 got, except that I've kept track of the error term so now we have an asymptotic estimate for how good this approximation is.

Takeaway

My overall takeaway is that A1 did know what they were doing, but they skipped a lot of steps esp involving error terms / set up the definition of $x_n$ backward / generally didn't bother explaining things very carefully. If I got more familiar with the technique then I could probably skip steps safely too, which would be nice because then I could confidently get the right result without needing so much writing. But for now I need all the steps because otherwise I might easily end up handwaving away some term that actually matters!

Final comment: A1's upgraded estimate

After this argument, A1 offers a second upgraded approximation. That calculation follows the same strategy as above, except without dropping the $- \frac 4 {15} u_n^2$ term from the original asymptotic recurrence relation. This makes the computations messier but ends up buying you one extra term in the final formula, which is why the error term ends up as $O(u_0^6)$.

If you wanted, you could keep computing more terms in the same way: Write the original asymptotic recurrence relation out a bit further, then apply this method to solve the asymptotic recurrence.


EDIT: Detailed proof of error bound lemma

Here are more details justifying this claim from above: "We can apply the above equation inductively to prove $x_n \sim 4^n x_0 $ as $x_0 \to \infty$."

The base case $n=0$ is trivial. Assuming the result for $k < n$, we have $$ \begin{align} x_{n} + \frac 8 9 &= 4^n \left(x_0 + \frac 8 9 \right) + O\left(\sum_{k=0}^{n-1} 4^{k} x_{n-1-k}^{-1}\right) \\ x_{n} &= 4^n x_0 + 4^n \frac 8 9 - \frac 8 9 + O\left(\sum_{k=0}^{n-1} 4^{k} 4^{k+1-n} x_0^{-1}\right) \\ \frac{x_{n}}{4^n x_0} &= 1 + \frac 8 9 x_0^{-1} - \frac 8 9 4^{-n} x_0^{-1} + 4^{-n} x_0^{-1} O\left(4^{1-n} x_0^{-1} \sum_{k=0}^{n-1} 4^{2k} \right) \\ \frac{x_{n}}{4^n x_0} &= 1 + \frac 8 {9x_0} - \frac 8 9 4^{-n} x_0^{-1} + x_0^{-2} O\left(1 \right) \\ \end{align} $$

All RHS terms except for the $1$ will go to $0$ as $x_0 \to \infty$, uniformly in $n$ (we can pick one set of constants that work for all $n$), so $x^n \sim 4^n x_0$ as claimed.

Related Question