In a colloquium talk yesterday, Robert Bryant pointed out that for all initial values $a_0, a_1 \in \mathbb{R}$, the sequence generated by the recurrence relation $$ a_{n+1} = |a_n| - a_{n-1} $$ turns out to be periodic with period 9, i.e., $$ a_n = a_{n+9} = a_{n+18} = a_{n+27} = \cdots $$ This is an interesting and unexpected fact, especially when you consider that to directly prove the periodicity (by writing down expressions for $a_2, \dots, a_9$ in terms of $a_0, a_1$), you would have to prove the following monstrous identity: $$ a_0 = -\left| \left| a_1\right| -a_0\right| -\left| -\left| \left| \left| a_1\right| -a_0\right| -a_1\right| +\left| a_1\right| +\left| -\left| \left| a_1\right| -a_0\right| +\left| \left| \left| \left| a_1\right| -a_0\right| -a_1\right| -\left| a_1\right| +a_0\right| +a_1\right| -a_0\right| +\left| \left| \left| \left| a_1\right| -a_0\right| -a_1\right| -\left| a_1\right| +a_0\right| +\left| \left| \left| \left| a_1\right| -a_0\right| -a_1\right| +\left| \left| \left| a_1\right| -a_0\right| +\left| -\left| \left| \left| a_1\right| -a_0\right| -a_1\right| +\left| a_1\right| +\left| -\left| \left| a_1\right| -a_0\right| +\left| \left| \left| \left| a_1\right| -a_0\right| -a_1\right| -\left| a_1\right| +a_0\right| +a_1\right| -a_0\right| -\left| \left| \left| \left| a_1\right| -a_0\right| -a_1\right| -\left| a_1\right| +a_0\right| -a_1\right| -\left| a_1\right| -\left| -\left| \left| a_1\right| -a_0\right| +\left| \left| \left| \left| a_1\right| -a_0\right| -a_1\right| -\left| a_1\right| +a_0\right| +a_1\right| +a_0\right| +a_1 $$ Of course, a straightforward "brute-force" approach this problem would be to consider sequentially the cases $a_1 > a_0 > 0$, $a_0 > 0 > a_1$, etc. and show that the RHS whittles down to the LHS in each case. But due to the simplicity of the original recurrence relation, I wonder if there isn't a more elegant way (hopefully involving less casework) to see that this recurrence must be 9-periodic.
2026-04-03 23:02:59.1775257379
Is there an easy way to see that this simple recurrence is 9-periodic?
556 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in RECURRENCE-RELATIONS
- Recurrence Relation for Towers of Hanoi
- Solve recurrence equation: $a_{n}=(n-1)(a_{n-1}+a_{n-2})$
- General way to solve linear recursive questions
- Approximate x+1 without addition and logarithms
- Recurrence relation of the series
- first order inhomogeneous linear difference equation general solution
- Guess formula for sequence in FriCAS
- Solve the following recurrence relation: $a_{n}=10a_{n-2}$
- Find closed form for $a_n=2\frac{n-1}{n}a_{n-1}-2\frac{n-2}{n}a_{n-2}$ for all $n \ge 3$
- Young Tableaux generating function
Related Questions in DYNAMICAL-SYSTEMS
- Stability of system of parameters $\kappa, \lambda$ when there is a zero eigenvalue
- Stability of stationary point $O(0,0)$ when eigenvalues are zero
- Determine $ \ a_{\max} \ $ and $ \ a_{\min} \ $ so that the above difference equation is well-defined.
- Question on designing a state observer for discrete time system
- How to analyze a dynamical system when $t\to\infty?$
- The system $x' = h(y), \space y' = ay + g(x)$ has no periodic solutions
- Existence of unique limit cycle for $r'=r(μ-r^2), \space θ' = ρ(r^2)$
- Including a time delay term for a differential equation
- Doubts in proof of topologically transitive + dense periodic points = Devaney Chaotic
- Condition for symmetric part of $A$ for $\|x(t)\|$ monotonically decreasing ($\dot{x} = Ax(t)$)
Related Questions in ABSOLUTE-VALUE
- To find the Modulus of a complex number
- What does $|a| = |b|$ is equal to?
- Symmetric polynomial written in elementary polynomials
- If $|ax^2+bx+c|\le \frac12$ for all $|x|\le1$, then $|ax^2+bx+c|\le x^2-\frac12$ for all $|x|\ge1$
- Proving that a double integral converges
- Equation system
- If $\sqrt{9−8\cos 40^{\circ}} = a +b\sec 40^{\circ}$, then what is $|a+b|$?
- Proving that inequalities $\|a\|_{\infty} \leq \|a\|_2 \leq \sqrt{n} \|a\|_{\infty}$ are true and sharp.
- Find a number $M$, such that $|x^3-4x^2+x+1| < M$ for all $1<x<3$
- Absolute Value of a Complex Number Inequality
Related Questions in ALTERNATIVE-PROOF
- Are $[0,1]$ and $(0,1)$ homotopy equivalent?
- An isomorphism $f:G_1 \to G_2$ maps the identity of $G_1$ to the identity of $G_2$
- Simpler Derivation of $\sin \frac{\pi}{4} = \cos \frac{\pi}{4} = \frac{1}{\sqrt{2}}$,
- inequality with arc length integral
- In how many ways can the basketball be passed between four people so that the ball comes back to $A$ after seven passes? (Use recursion)
- Deriving the gradient of the Augmented Lagrangian dual
- An irreducible Markov chain cannot have an absorbing state
- Clarifying a proof that a certain set is an algebra
- Dilogarithmic fashion: the case $(p,q)=(3,4)$ of $\int_{0}^{1}\frac{\text{Li}_p(x)\,\text{Li}_q(x)}{x^2}\,dx$
- Proof by contrapositive: $x^4 + 2x^2 - 2x \lt 0 \Rightarrow 0 \lt x \lt 1$
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?
Let me begin with a couple of remarks.
The sequence $(a_n)$ being periodic with period $9$ means that $a_{n+9}=a_n$ for all integers $n\geq 0$. The condition $a_9=a_0$ is not sufficient for $(a_n)$ to have period $9$, but if also $a_{10}=a_1$, then the recurrence, which computes a term from the preceding two terms, does start repeating the first nine values $a_0$, $a_1$, $\ldots$, $a_8$ over an over again.
Note that the recurrence relation also works backwards: $a_{n-1}=\left|a_n\right|-a_{n+1}$, so that for a given terms $a_0$ and $a_1$ we can calculate, recursively, the terms $a_n$ for all integers $n$. This observation provides another sufficient test of periodicity, namely $a_{-9}=a_0$ and $a_{-8}=a_1$, and on top of that (almost) halves the number of cases that must be considered, since by going backwards the roles of the initial terms $a_0$ and $a_1$ get interchanged. So, for example, after considering the case $0\leq a_0\leq a_1\leq 2a_0$ there is no need to consider the mirrored case $0\leq a_1\leq a_0\leq 2a_1$.
The cases themselves are not quite what you imagined; you did not actually work them through, or did you?
It suffices to consider five cases. Here they are, together with the terms $a_2$, $a_3$, $\ldots$, $a_8$, $a_9$, $a_{10}$ they produce:
Case $a_0,\,a_1\leq 0\,$: $-a_0\!-\!a_1$, $\,-a_0\!-\!2a_1$, $\,-a_1$, $\,a_0\!+\!a_1$, $\,-a_0$, $\,-2a_0\!-\!a_1$, $\,-a_0\!-\!a_1$, $\,a_0$, $\,a_1$.
Case $0\leq a_0\leq a_1\leq 2a_0\,$: $-a_0\!+\!a_1$, $\,-a_0$, $\,2a_0\!-\!a_1$, $\,3a_0\!-\!a_1$, $\,a_0$, $\,-2a_0\!+\!a_1$, $\,a_0\!-\!a_1$, $\,a_0$, $\,a_1$.
Case $0\leq 2a_0\leq a_1\,$: $-a_0\!+\!a_1$, $\,-a_0$, $\,2a_0\!-\!a_1$, $\,-a_0\!+\!a_1$, $\,-3a_0\!+\!2a_1$, $\,-2a_0\!+\!a_1$, $\,a_0\!-\!a_1$, $\,a_0$, $\,a_1$.
Case $a_0\leq0\leq a_1$, $a_0\!+\!a_1\geq 0\,$: $\,-a_0\!+\!a_1$, $\,-a_0$, $\,-a_1$, $\,a_0\!+\!a_1$, $\,a_0\!+\!2a_1$, $\,a_1$, $\,-a_0\!-\!a_1$, $\,a_0$, $\,a_1$.
Case $a_0\leq0\leq a_1$, $a_0\!+\!a_1\leq 0\,$: $\,-a_0\!+\!a_1$, $\,-a_0$, $\,-a_1$, $\,a_0\!+\!a_1$, $\,-a_0$, $\,-2a_0\!-\!a_1$, $\,-a_0\!-\!a_1$, $\,a_0$, $\,a_1$.
There are four other cases which we do not need to consider since they are mirror-symmetric to the cases two to five above.
How many cases are there? Five plus four. That's nine!
Let us enumerate the nine cases.
$(1)\,$ $\,x\leq 0\,$ and $\,y\leq 0\,$.
$(2)\,$ $\,0\leq x\leq y\leq 2x\,$.
$(3)\,$ $\,0\leq y\leq x\leq 2y\,$.
$(4)\,$ $\,0\leq 2x\leq y\,$.
$(5)\,$ $\,0\leq 2y\leq x\,$.
$(6)\,$ $\,x\leq 0\leq y\,$ and $\,x+y\geq 0\,$.
$(7)\,$ $\,y\leq 0\leq x\,$ and $\,x+y\geq 0\,$.
$(8)\,$ $\,x\leq 0\leq y\,$ and $\,x+y\leq 0\,$.
$(9)\,$ $\,y\leq 0\leq x\,$ and $\,x+y\leq 0\,$.
The cases are not mutually exclusive, but this does not affect the following result (prove it):
We still have to prove that starting at any point, then applying the map nine times in a row, we will arrive back at precisely that point, and not only at some point of the part of the plane, corresponding to one of the cases, which contains the starting point. But now it suffices to consider only one case to which the starting point belongs: we choose a point that satisfies the condition of the case $(1)$, say, and then chase it all the way round, finding that we end at the chosen point.
Is this elegant enough?
[Added after the two comments about (non)elegance.]
I claim that we must know, in some way, the cases $(1)$--$(9)$ if we want to have a full an clear understanding of the $9$-periodic behavior of the sequence $(a_n)\,$: the nine cases are at the heart of the $9$-periodicity, they comprise its structure.
Denote by $T$ the mapping $\mathbb{R}^2\to\mathbb{R}^2$ that we have introduced above: $T(x,y) = (y,\,\left|y\right|\!-\!x)$. Then $T(a_{n-1},a_n)=(a_n,a_{n+1})$, which is precisely the reason why we introduced the transformation $T$. The fact that the sequence $(a_n)$ can be recurrently produced backwards means that the transformation $T$ is invertible; and indeed, $T^{-1}(x,y) = (\left|x\right|\!-\!y,\,x)$.
The part of the plane $\mathbb{R}^2$ corresponding to the case $(1)$ is the lower-left quadrant (the third quadrant), denote it by $Q$. Now look at the parts $T^k Q$, $0\leq k\leq 8\,$:
[Added some days later.]
It would be an extremely dull problem that could not inspire more problems. The recurrence given in the present question is not of the dull kind, it has an interesting cousin: \begin{equation*} a_{n+1} \,=\, \mathrm{sgn}(a_n) - a_{n-1}~, \qquad n\in\mathbb{Z}\,. \end{equation*} (The $\mathrm{sgn}(x)$ is the sign of a real number $x$: it is $1$ if $x>0$, it is $0$ if $x=0$, and it is $-1$ if $x<0$.) Like the original recurrence, this recurrence works also backwards: $a_{n-1}=\mathrm{sgn}(a_n)-a_{n+1}$. And like the original recurrence, each and every sequence $(a_n)$ it produces is periodic; the difference is that there is no common period, because there exist sequences that have arbitrarily large periods. So solving this recurrence offers much more fun. Another difference is that this time we do have a simple explanation of periodicity. Here's a hint. Define the transformation $U\colon\mathbb{R}^2\to\mathbb{R}^2$ by $U(x,y):=(y,\,\mathrm{sgn}(y)\!-\!x)$. Then for every integer $m\geq 1$ the transformation $U$ induces a bijection $U_m\colon S_m\to S_m$, where $S_m$ is the (closed) set
The bijection $U_m$ is not continuous, it has a discontinuity along the line segment $L_m$ with endpoints $(-m,0)$ and $(m,0)$. However, the restrictions of $U_m$ to the line segment $L_m$ as well as to each of the two connected components of $S_m\setminus L_m$ are isometries. The bijection $U_m$ induces permutations of $2$-cells in $S_m$ (the open unit squares), of $1$-cells (the open unit line segments, the sides of the squares), and of $0$-cells (the points, the vertices of the squares); this implies finite periods. You may enjoy determining the periods of sequences $(a_n)$ generated by particular points $(a_0,a_1)\in\mathbb{R}^2$.