Wednesday, May 8, 2024

The limit of an averaging sequence

Consider this sequence of length n: Pn=(p0,p1,p2,,pn1), where p0=2, and each time the next number pk can be any number within [2,1+pk1] for k[1,n1]. Consider the set of all such sequences of length n, {Pn}. The first few sets are:
n=1:(2)n=2:(2,2),(2,3)n=3:(2,2,2),(2,2,3),(2,3,2),(2,3,3),(2,3,4)n=4:(2,2,2,2),(2,2,2,3),(2,2,3,2),(2,2,3,3),(2,2,3,4),(2,3,2,2),(2,3,2,3),(2,3,3,2),(2,3,3,3),(2,3,3,4),(2,3,4,2),(2,3,4,3),(2,3,4,4),(2,3,4,5)
Let Pnj be any path in {Pn}, and Pnj be the product of all the numbers in that path. The question is, what is this limit: limnPnj{Pn}(Pnj)1?

The first few sums are

n=1:12n=2:1212+1213n=3:121212+121213+121312+121313+121314

Answer: The limit is e1.
How do you prove that it converges to this value? This question is inspired by this stackexchange post. The original form of the question and the proof is in the following:
The original sequence: Consider this initial sequence, f(0,k)=δ0k,k=0,,, where δ is the Kronecker delta. Next, we define f(n,k)=1k+2i=0k+1f(n1,i), which is the average of the first k+2 numbers in the previous sequence. Thus, the first few sequences are, 1,0,0,0, 12,13,14, 512,1336,77240, The question is, what is limnf(n,0)? (This is why I decided to call it "The averaging sequence".)
Other forms: If we write the sequence as a vector vn, the vector of the next sequence is the previous one multiplied by a matrix M, vn+1=Mvn, where M=[12120000131313000141414140015151515150] We start from the vector v0=(1,0,0,), thus the first element of vn is just the top left element of Mn. Thus the question becomes if limn[Mn]00=e1. Another way to see it is thinking backwards. Consider the first element of the nth sequence. It equals 12 of the sum of the first two elements of the (n1)th sequence. We can continue to write it as the weighted sum of the previous sequence, and so on. Let's write the weight on each element for each sequence, starting from the nth sequence. 112121212+12131212+12131312121212+121312+131212+131312+141312 We can express the denominators as products of paths. Consider the sequences of length n, {Pn}, which start with p0=2, and each time the next number pk can be any number within [2,1+pk1] for k[1,n1]. The first few sets are: n=1:(2)n=2:(2,2),(2,3)n=3:(2,2,2),(2,2,3),(2,3,2),(2,3,3),(2,3,4)n=4:(2,2,2,2),(2,2,2,3),(2,2,3,2),(2,2,3,3),(2,2,3,4),(2,3,2,2),(2,3,2,3),(2,3,3,2),(2,3,3,3),(2,3,3,4),(2,3,4,2),(2,3,4,3),(2,3,4,4),(2,3,4,5) Let Pnj be any path in {Pn}, and Pnj be the product of all the numbers in that path. The question is equivalent to limnPnj{Pn}(Pnj)1=e1. Notice that these sequences of weights are exactly the first row of Mn, thus they are totally equivalent. Relating them to the "product of paths" seems like an interesting connection.
Proof: Consider the eigenvectors of the matrix, M. An obvious one is an all one vector, u=(1,1,1,). Apparently Mu=u, thus, Mnu=u, which implies that every row of Mn must sum to 1. Can we use this to find [Mn]00? Suppose the first row of Mn1 is (an1,0, an1,1, an1,2, ). Multiply Mn1 to M, the elements of the first row of Mn are: an0=12an1,0+13an1,1+14an1,2+an1=12an1,0+13an1,1+14an1,2+an2=13an1,1+14an1,2+an3=14an1,2+ Evidently, an1=an0,an2=an112an1,0,an3=an213an1,1, Assuming that the first row of Mn converges (which will be proved shortly after) to a constant vector (a0,a1,a2,). Then we must have a1=a0a2=a112a0a3=a213a1a4=a314a2 It's easy to solve for the first few elements as a function of a0, namely a1=a0,a2=12a0,a3=16a0,a4=124a0. The pattern is obvious. It's easy to prove the general formula ak=1k!a0 by induction, since 1k!1k+11(k1)!=1k!kk+11k!=1(k+1)!. Since we must have ai=1, we have (i=01i!)a0=1, thus a0=e1. To prove that the first row of Mn converges, first we prove that an0 must converge. Consider the original form of the problem. We start with a decreasing sequence, (1,0,0,0,). Each time, the kth element of the next sequence is the average of the first k+2 elements of the current sequence. If the current sequence is decreasing, it's easy to show that the next sequence must also be decreasing. Thus, f(n,0)=12(f(n1,0)+f(n1,1))<f(n1,0) for any n. We proved that f(n,0) decreases with n. Since f(n,0)>0, the limit must exist, thus an0 must converge. From the updating rule, an1=an0,an2=an112an1,0,an3=an213an1,1, If an0 converges, an1=an0 must also converge, then an2 must converge as well. The same goes for the rest of the elements, thus the sequence must converge. The proof is complete.

No comments:

Post a Comment

A Recursive Geometric Proof for 1962 IMO Problem 6

Youtube recommended a video to me, where the following problem is solved: Consider an isosceles triangle. Let R be the radius of its circ...