Reverse of an iterative function

183 Views Asked by At

Here, i have a function for an iterative series.

Next value = x + sin(x). converging on a value

I want to make it so that i can find the current value, when i know the convergence value, The only way i can do that is to reverse the function.

Here is my shot at it: x = arcsin(Next value - x)

I'm not so sure how to do this, could someone help?

2

There are 2 best solutions below

3
On BEST ANSWER

It actually can't be done unless you originally start at the convergence value.

For if the iterator function is invertible you have, for a fixed point\convergence value $x_f$:

$$f(x_f)=x_f\Rightarrow f^{-1}(x_f)=x_f,$$

so iterating you just have

$$f^{-n}(x_f)=x_f.$$

If the iterator function is invertible on $[a,b]$ and you start at $x_0\in[a,b]$ not fixed, the iterates can converge to $x_f$ but don't equal it eventually.

Proof: Consider the orbit of $x_0$ under $f$:

$$\text{orb}(x_0)=\{x_0,f(x_0),f^2(x_0),\dots\}.$$

Suppose that $f^N(x_0)=x_f$. Now by applying $f^{-N}$ we have $$x_0=f^{-N}(x_f)=x_f$$ by the above calculation. But this is a contradiction as $x_0$ is assumed be not fixed.

3
On

I am not sure I understood you question, but I will try to answer anyway. Take any $x_0\in\mathbb{R}$ and define $$ x_{n+1}=x_n+\sin x_n,\quad n\ge0. $$ If $\lim_{n\to\infty}x_n=\hat x$, then, since $\sin$ is a continuous function, we get $$ \sin\hat x=0\implies \hat x=k\,\pi,\quad k\in\mathbb{Z}. $$ The convergence values are the fixed points of the function $f(x)=x+\sin x$. It is not difficult to prove that there are two possibilities:

  1. $x_0=2\,k\,\pi$, $k\in\mathbb{Z}$. Then $\hat x=x_0$.
  2. $x_0\ne2\,k\,\pi$, $k\in\mathbb{Z}$. Then $\hat x=(2\,n+1)\,\pi$ for some $n\in\mathbb{Z}$.

There is no way to know the current value from the convergence value, except when the convergence value is an even multiple of $\pi$.