Skip to content

When does an apparently changing rational recurrence stay on the same curve? For the positive Lyness recurrence you can take two steps, guess how to cancel the changed factors and prove the invariant for every step in its domain. A check with fractions also exposes accidentally using the special period-five parameter.

Take a>0a\gt0, x,y>0x,y\gt0 and F(x,y)=(y,(a+y)/x)F(x,y)=(y,(a+y)/x). The state contains two consecutive terms. Define

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

Write z=(a+y)/xz=(a+y)/x. Before expanding anything, simplify z+1=(x+y+a)/xz+1=(x+y+a)/x and y+z+a=(x+1)(y+a)/xy+z+a=(x+1)(y+a)/x. Substitution in I(y,z)I(y,z) cancels a factor y+ay+a and gives precisely I(x,y)I(x,y). This proof uses positivity to guarantee every division, and then establishes the rational identity wherever both sides are defined. The common levels form a biquadratic pencil because multiplying the level condition by xyxy gives a polynomial of degree at most two in either variable. Hone, §1, Lyness pencil and involutions (PDF)

Set a=2a=2, (x0,x1)=(1,2)(x_0,x_1)=(1,2). The next terms are 4,3,5/44,3,5/4. The pair (1,2)(1,2) gives I=15I=15 and the pair (3,5/4)(3,5/4) gives I=15I=15 as well. In log coordinates the update is (log⁡y,log⁡(a+y)−log⁡x)(\log y,\log(a+y)-\log x). Its Jacobian has determinant one. Thus area dx dy/(xy)dx\,dy/(xy) is preserved as well as the curve.

Your turn. Substitute a=1a=1 and start at (1,2)(1,2). Continue until the ordered pair returns.

Check the return of the ordered pair

The terms after 1,21,2 are 3,2,1,1,23,2,1,1,2: the return takes five steps. At a=2a=2, the same initial pair instead gives x5=13/12x_5=13/12, x6=37/15x_6=37/15. Five steps take it to (13/12,37/15)(13/12,37/15), away from the starting point. An invariant curve does not by itself establish the period of a point on it.

Catch a wrong invariant that passes its first test

Section titled “Catch a wrong invariant that passes its first test”

Keep the recurrence parameter at a=2a=2, but replace aa by an unknown bb only in the proposed integral. Call that expression IbI_b. Start at (3,7)(3,7): the step gives (7,3)(7,3), and every IbI_b passes because it is symmetric. Can a second launch identify the correct value of bb? Use (1,2)(1,2) and explain why your choice works.

Check the residual

The second launch goes to (2,4)(2,4). At these two points the candidate takes values 3(b+3)3(b+3) and 15(b+6)/815(b+6)/8. Their difference, new minus old, is −9(b−2)/8-9(b-2)/8, so only b=2b=2 passes. More generally, write z=(a+y)/xz=(a+y)/x and subtract the known invariant IaI_a first. The remaining test factors as

Ib(y,z)−Ib(x,y)=(b−a)(1+y)(x−z)xyz.I_b(y,z)-I_b(x,y) =(b-a)\frac{(1+y)(x-z)}{xyz}.

An input with z=xz=x always hides the error. A single nonzero residual disproves a candidate; the symbolic cancellation above proves the selected expression on the positive domain.

Leave the positive chart. At (x,y)=(0,1)(x,y)=(0,1) the new coordinate has a pole for a=2a=2. At (0,−2)(0,-2) it has the indeterminate form 0/00/0. Approach along y=−2+mxy=-2+mx and obtain the limit mm, which depends on the path. A resolution of the rational map requires more information than assigning a single limiting value. QRT model and its root exchanges

  • A. N. W. Hone, “Efficient ECM factorization in parallel with the Lyness map,” Proceedings of ISSAC 2020, Association for Computing Machinery (2020), §1. DOI