I have a simple question. Does there exists a finite constant α0>0, Such that the sequence {an}n=0, defined by the iteration :
an=an−1+αsin(an−1)
Not converges to any single finite value for a0=1,α>α0
What inspires me to ask this is the analysis I have done on my laptop :
What I did is that for different values of α , I calculated n such that an gets within 0.01% the value of π. I got this :
α=1.99,n=622
α=1.991,n=686
α=1.992,n=766
α=1.993,n=867
α=1.994,n=1000
α=1.995,n=1183
α=1.996,n=1453
α=1.997,n=1893
α=1.998,n=2743
α=1.999,n=5150
And the last one is :
α=2,n=15198162
Also when I tried for α=2.001 , it just won't show any value for half an hour.
It is very weird as rate of converge gets immediately slow and I believe convergence must stop at some value of α.
I don't know can someone do a computer analysis of this, or tell me the maths of the underlying situation.
#Calculus
#Iteration
#Analysis
#ComputerScience
Easy Math Editor
This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.
When posting on Brilliant:
*italics*
or_italics_
**bold**
or__bold__
paragraph 1
paragraph 2
[example link](https://brilliant.org)
> This is a quote
\(
...\)
or\[
...\]
to ensure proper formatting.2 \times 3
2^{34}
a_{i-1}
\frac{2}{3}
\sqrt{2}
\sum_{i=1}^3
\sin \theta
\boxed{123}
Comments
Here are my thoughts,
consider newtons approximation of root, let us assume that the iteration is actually of the form
an−1−y′(an−1)y(an−1=an)
then comparing we require
−αyy′=cosec(x)
y=(cot(x)+cosec(x))α1
now after sufficient iterations, newtons method takes us to the closest root,
let us see where our expression tends to go as x→π
sin(x)1+cos(x)=2sin(2x)2cos(2x)≃0forxclosetoπ
as long as α≥0
hence i think it should converge for all values of α given a0=1 to π
also the rate at which we reach the root may be affected however by alpha,
as , alpha tends to ∞ , the whole equation tends to 1, and hence it approaches 0 perhaps more slowly and hence you see the result (not very sure of this)
you should also see raghav's method in the post where a similar question is asked with α=1
Log in to reply
But this is just amazing at α=2 , the convergence rate goes awfully slow.
Log in to reply
(tan(x)1+sin(x)1)t1
type this in desmos and adjust the parameter 't', you will see for yourself why it is so
https://www.desmos.com/calculator
Log in to reply
Log in to reply
and yes i know and i am very afraid, really afraid, just hope to qualify
I think we should check the conditions where newton's raphson's methos fails.
Aah! @Ronak Agarwal I found this too! Before I posted my question, I put this in c++ and the thing failed to converge as soon as α became >2. And I think I know what's happening.
From what I saw in my program, the value of an when α>2 as n→∞ seems to be shuttling between two values. What may be happening is that the value overshoots π then becomes less than π and so on. It might be possible that for some value a>π,b<π, b=a+αsin(a) and a=b+αsin(b). Thus giving us an infinite non convergent loop. And yes, wolfram alpha agrees with me:
I put in x=x+2.001sin(x)+2.001sin(x+2.001sin(x))
Log in to reply
@Raghav Vaidyanathan , guess what I entered the same thing into wolfram, thought exactly the same way and as I am typing this, I have tab of wolfram-alpha currently opened in which I entered EXACTLY the same thing you have entered, I figured out what is happening it is oscillating between two values, the two values I found by putting the same expression in wolfram-alpha, I love mathematical programming.
I was intending to put the same snapshot before I read your comment.
Log in to reply
Great! Notice that the value might have converged to pi if the initial value of a0 was more than the infinite loop root value. (or so I think)
Log in to reply
Wolfram Alpha Query
Guess what, it again sticks to it's two-value cycle , check this@Mvs Saketh @Azhaghu Roopesh M @Ronak Agarwal
Interestingly when α increases, our iteration begins to oscillate between cycles of increasing length.
For example for α=3, it begin to oscillate between 3 values, and so on.
Log in to reply
I was just studying point of inflection for board exam... God! this is interesting. Okay, so I took our equation and tried to find the conditions for which we have real roots (other than π) for x=x+αsin(x)+αsin(x+αsin(x)). After simplification:
f(x)=−(π−x)+(α/2)sin(x)=0)
Now we get to the interesting part. This curve is symmetric about the point (π,0)similar to the way x3 is symmetric about (0,0).
f′(x)=1+(α/2)cos(x)
Observe the above equation. When α/2=1, (π,0) is a point of inflection.
Now if we increase α/2 to more than 1.
⇒f′(π)<0 and alsof(π)=0
But there are roots for f′(x) on either side of π and equidistant from it. All these things pretty much guarantee us a root for f(x) on either side of π when α>2
Check it out:
It's like a cubic.
Log in to reply
Thanks, the analysis was an interesting read.
Can you post here the Java code that you've used ?
Log in to reply
Well, The only thing I can add is that your conjecture isn't true. For example, take α=sin(a0)kπ−a0. By taking a large enough k, we will have sin(a0)kπ−a0>2
Log in to reply
Well you must give me a counter example to my conjecture, and I can't understand what you have written,kindly elaborate.
Log in to reply
Sorry. I just noticed you had a value for a0 aswell. Take α=sin(1)π−1. You can check to see that this is greater than 2. You can find more values by taking α=sin(1)kπ−1 for a natural number k
Log in to reply
@Ronak Agarwal I think we can now kill this problem.
I'm going to use gradient descent inspired, mostly qualitative approach for proving my arguments. Consider this:
This is the cos(x) "attraction basin" that is relevant to this problem. If α is small enough, then, as we know, we end up at π.
But, if α>2, we see that there exists a value b such that π−b=π+b+αsin(π+b) and π+b=π−b+αsin(π−b). (refer comments for proof).
Now, I argue that if if α>2, the iterations will start shuttling between the two sides of the basin. Further, a small investigation into the iteration function can show us that it now "attracts" the iterations to the y=b line. If an is above it, it is pulled down
If it is below, it is pulled up.
The red line represents the motion of the point through successive iterations.
Going even deeper, if α becomes too large as the point escapes from this basin of cos(x) itself, then I am assuming it will diverge(don't have a solid proof for this).