Skip to content

Two successive values of a recurrence form a point in a plane. One step of the Lyness recurrence xn+2=(a+xn+1)/xnx_{n+2}=(a+x_{n+1})/x_n moves that point along a level curve. Its ordinary area element generally changes, but its area measured in logarithmic coordinates is preserved. Both claims depend on which points are allowed. Lyness’s original cycle is the case a=1a=1, where a generic orbit closes after five steps. Lyness, note 1581, p. 62

Fix a dimensionless parameter aa and write F(x,y)=(y,z)F(x,y)=(y,z) with xz=a+yxz=a+y. Solving for the old point gives F−1(X,Y)=((a+X)/Y,X)F^{-1}(X,Y)=((a+X)/Y,X). For a>0a\gt0 the positive quadrant is mapped bijectively onto itself. Over C\mathbb C, a convenient common chart for a step and its reversal requires xy(a+y)≠0xy(a+y)\ne0. Iteration requires the corresponding condition at each later step as well.

The forward expression can make sense beyond this chart. If x≠0x\ne0 and y=−ay=-a, all such points map to (−a,0)(-a,0), where the inverse is undefined. At (0,−a)(0,-a) the relation xz=a+yxz=a+y reads 0=00=0 and does not select zz. For a≠0a\ne0 approaching along y=−a+cxy=-a+cx can give any finite z=cz=c. Multiplying out the relation and including that point as an ordinary orbit would destroy determinism.

Recover the first integral by cancellation

Section titled “Recover the first integral by cancellation”

On the common chart put

I(x,y)=(1+x)(1+y)(x+y+a)xy.I(x,y)=\frac{(1+x)(1+y)(x+y+a)}{xy}.

Use a+y=xza+y=xz in the third factor, which gives x+y+a=x(1+z)x+y+a=x(1+z). Then I(x,y)=(1+x)(1+y)(1+z)/yI(x,y)=(1+x)(1+y)(1+z)/y. At the image use y+z+a=z(1+x)y+z+a=z(1+x) to find precisely the same product for I(y,z)I(y,z). This argument proves the identity as a rational function and shows why the three neighboring values enter symmetrically. The polynomial equation (1+x)(1+y)(x+y+a)−Ixy=0(1+x)(1+y)(x+y+a)-Ixy=0 describes the affine level curve; points on an axis where both numerator and denominator vanish belong to several members of the pencil and have no unique value of II. Hone, §§1–2, Lyness map and invariant curves, PDF

To compare invariant values with Hone, set his two parameters in Eq. (4) to (1,a)(1,a). Expanding our three numerator factors gives I=K+aI=K+a, where KK is his Eq. (5). An orbit labeled I=16I=16 here is therefore labeled K=14K=14 when a=2a=2. The shift changes the labels of the curves and leaves the map unchanged. Hone, Eqs. (3)–(5), PDF

Can the next state exist when the level is unknown?

Section titled “Can the next state exist when the level is unknown?”

Set a=2a=2. On the axis x=0x=0, the numerator of II is (1+y)(2+y)(1+y)(2+y). Thus both (0,−1)(0,-1) and (0,−2)(0,-2) are base points of the pencil: every finite level equation passes through them. Interchanging the axes gives (−1,0)(-1,0) and (−2,0)(-2,0), exhausting its finite base points.

To examine the forward map, allow the new coordinate zz to lie on the projective line. Write it as the homogeneous pair [2+y:x][2+y:x], with [1:0][1:0] denoting infinity. At (0,−1)(0,-1) this gives a unique image (−1,∞)(-1,\infty). Yet along y=−1+cxy=-1+cx the invariant tends to −c-c, so the incoming level still depends on the direction. At (0,−2)(0,-2) the same pair reads [0:0][0:0], and even the image depends on the direction. These two points require different answers to the questions “which level?” and “which next state?”

The Jacobian determinant of the step is (a+y)/x2=z/x(a+y)/x^2=z/x. Thus

F∗dX∧dYXY=z/xyz dx∧dy=dx∧dyxy.F^*\frac{dX\wedge dY}{XY} =\frac{z/x}{yz}\,dx\wedge dy =\frac{dx\wedge dy}{xy}.

For positive data this is dlog⁡x∧dlog⁡yd\log x\wedge d\log y. It is a nondegenerate two-form on the common chart. On the complex torus the expression uses dx/xdx/x directly and needs no global branch of a logarithm. Preserving such a two-form alone says nothing about a second map’s possession of a first integral.

Take a=2a=2 and (x,y)=(1,1)(x,y)=(1,1). The next three points are (1,3)(1,3), (3,5)(3,5) and (5,7/3)(5,7/3). The integral is 1616 throughout. At (1,3)(1,3) the step multiplies ordinary area by 55; the density 1/(XY)1/(XY) at the image compensates exactly. At the positive fixed point (2,2)(2,2) the integral is 27/227/2 and dI=0dI=0. For example ∂xlog⁡I=1/(1+x)+1/(x+y+a)−1/x\partial_x\log I=1/(1+x)+1/(x+y+a)-1/x vanishes there, as does its yy counterpart. The fixed orbit and a regular one-dimensional level require different geometric descriptions. The QRT construction recovers the step from the curve itself. Check the invariant, Jacobian and iterates symbolically (Python)

  • A. N. W. Hone, “Efficient ECM Factorization in Parallel with the Lyness Map,” arXiv:2002.03811 (2020), §§1–2. Author preprint
  • Lyness, R. C. “1581. Cycles.” The Mathematical Gazette 26 (1942), 62. DOI.