Integer Trigonometry for Integer Angles
Total Page:16
File Type:pdf, Size:1020Kb
Algorithms and Computation in Mathematics • Volume 26 Editors Arjeh M. Cohen Henri Cohen David Eisenbud Michael F. Singer Bernd Sturmfels For further volumes: http://www.springer.com/series/3339 Oleg Karpenkov Geometry of Continued Fractions Oleg Karpenkov Dept. of Mathematical Sciences University of Liverpool Liverpool, UK ISSN 1431-1550 Algorithms and Computation in Mathematics ISBN 978-3-642-39367-9 ISBN 978-3-642-39368-6 (eBook) DOI 10.1007/978-3-642-39368-6 Springer Heidelberg New York Dordrecht London Library of Congress Control Number: 2013946250 Mathematics Subject Classification (2010): 11J70, 11H06, 11P21, 52C05, 52C07 © Springer-Verlag Berlin Heidelberg 2013 This work is subject to copyright. All rights are reserved by the Publisher, whether the whole or part of the material is concerned, specifically the rights of translation, reprinting, reuse of illustrations, recitation, broadcasting, reproduction on microfilms or in any other physical way, and transmission or information storage and retrieval, electronic adaptation, computer software, or by similar or dissimilar methodology now known or hereafter developed. Exempted from this legal reservation are brief excerpts in connection with reviews or scholarly analysis or material supplied specifically for the purpose of being entered and executed on a computer system, for exclusive use by the purchaser of the work. Duplication of this publication or parts thereof is permitted only under the provisions of the Copyright Law of the Publisher’s location, in its current version, and permission for use must always be obtained from Springer. Permissions for use may be obtained through RightsLink at the Copyright Clearance Center. Violations are liable to prosecution under the respective Copyright Law. The use of general descriptive names, registered names, trademarks, service marks, etc. in this publication does not imply, even in the absence of a specific statement, that such names are exempt from the relevant protective laws and regulations and therefore free for general use. While the advice and information in this book are believed to be true and accurate at the date of pub- lication, neither the authors nor the editors nor the publisher can accept any legal responsibility for any errors or omissions that may be made. The publisher makes no warranty, express or implied, with respect to the material contained herein. Printed on acid-free paper Springer is part of Springer Science+Business Media (www.springer.com) Preface Continued fractions appear in many different branches of mathematics: the theory of Diophantine approximations, algebraic number theory, coding theory, toric geome- try, dynamical systems, ergodic theory, topology, etc. One of the metamathematical explanations of this phenomenon is based on an interesting structure of the set of real numbers endowed with two operations: addition a + b and inversion 1/b.This structure appeared for the first time in the Euclidean algorithm, which was known several thousand years ago. Similarly to the structures of fields and rings (with op- erations of addition a + b and multiplication a ∗ b), structures with addition and inversion can be found in many branches of mathematics. That is the reason why continued fractions can be encountered far away from number theory. In particular, continued fractions have a geometric interpretation in terms of integer geometry, which we place as a cornerstone for this book. The main goal of the first part of the book is to explore geometric ideas behind regular continued fractions. On the one hand, we present geometrical interpretation of classical theorems, such as the Gauss–Kuzmin theorem on the distribution of el- ements of continued fractions, Lagrange’s theorem on the periodicity of continued fractions, and the algorithm of Gaussian reduction. On the other hand, we present some recent results related to toric geometry and the first steps of integer trigonom- etry of lattices. The first part is rather elementary and will be interesting for both students in mathematics and researchers. This part is a result of a series of lecture courses at the Graz University of Technology (Austria). The material is appropriate for master’s and doctoral students who already have basic knowledge of linear alge- bra, algebraic number theory, and measure theory. Several chapters demand certain experience in differential and algebraic geometry. Nevertheless, I believe that it is possible for strong bachelor’s students as well to understand this material. In the second part of the book we study an integer geometric generalization of continued fractions to the multidimensional case. Such a generalization was first considered by F. Klein in 1895. Later, this subject was almost completely abandoned due to the computational complexity of the structure involved in the calculation of the generalized continued fractions. The interest in Klein’s generalization was revived by V.I. Arnold approximately one hundred years after its invention, when v vi Preface computers became strong enough to overcome the computational complexity. After a brief introduction to multidimensional integer geometry, we study essentially new questions for the multidimensional cases and questions arising as extensions of the classical ones (such as Lagrange’s theorem and Gauss–Kuzmin statistics). This part is an exposition of recent results in this area. We emphasize that the majority of examples and even certain statements of this part are on two-dimensional continued fractions. The situation in higher dimensions is more technical and less studied, and in many cases we formulate the corresponding problems and conjectures. The second part is intended mostly for researchers in the fields of algebraic number theory, Diophantine equations and approximations, and algebraic geometry. Several chapters of this part can be added to a course for master’s or doctoral students. Finally, I should mention many other interesting generalizations of continued fractions, coming from algorithmic, dynamical, and approximation properties of continued fractions. These generalizations are all distinct in higher dimensions. We briefly describe the most famous of them in Chap. 23. Liverpool, UK Oleg Karpenkov February 2013 Acknowledgements First, I would like to thank Vladimir Arnold, who introduced the subject of con- tinued fractions to me and who provided me with all necessary remarks and dis- cussions for many years. Second, I am grateful to many people who helped me with remarks and corrections related to particular subjects discussed in this book. Among them are F. Aicardi, T. Garrity, V. Goryunov, I. Pak, E.I. Pavlovskaya, C.M. Series, M. Skopenkov, A.B. Sossinski, A.V. Ustinov, A.M. Vershik, and J. Wallner. Espe- cially I would like to express my gratitude to Thomas Garrity and David Kramer for exhaustively reading through the manuscript and giving some suggestions to improve the book. Finally, I am grateful to my wife, Tanya, who encouraged and inspired me during the years of working on this book. The major part of this book was written at the Technische Universität Graz. The work was completed at the University of Liverpool. I am grateful to the Technische Universität Graz for hospitality and excellent working conditions. Work on this book was supported by the Austrian Science Fund (FWF), grant M 1273-N18. vii Contents Part I Regular Continued Fractions 1 Classical Notions and Definitions .................... 3 1.1 Continued Fractions ......................... 3 1.1.1 Definition of a Continued Fraction ............. 3 1.1.2 Regular Continued Fractions for Rational Numbers .... 4 1.1.3 Regular Continued Fractions and the Euclidean Algorithm . 5 1.1.4 Continued Fractions with Arbitrary Elements ........ 6 1.2 Convergence of Infinite Regular Continued Fractions ........ 6 1.3 Existence and Uniqueness of a Regular Continued Fraction for a GivenRealNumber......................... 10 1.4 Monotone Behavior of Convergents ................. 12 1.5 Approximation Rates of Regular Continued Fractions ....... 14 1.6Exercises............................... 18 2 On Integer Geometry ........................... 19 2.1BasicNotionsandDefinitions.................... 20 2.1.1 Objects and Congruence Relation of Integer Geometry . 20 2.1.2InvariantsofIntegerGeometry............... 20 2.1.3 Index of Sublattices . ................... 21 2.1.4 Integer Length of Integer Segments ............. 22 2.1.5 Integer Distance to Integer Lines .............. 23 2.1.6 Integer Area of Integer Triangles .............. 24 2.1.7 Index of Rational Angles .................. 24 2.2 Empty Triangles: Their Integer and Euclidean Areas ........ 25 2.3 Integer Area of Polygons . ................... 26 2.4Pick’sFormula............................ 29 2.5 The Twelve-Point Theorem . ................... 30 2.6Exercises............................... 30 3 Geometry of Regular Continued Fractions ............... 33 3.1ClassicalConstruction........................ 33 ix x Contents 3.2 Geometric Interpretation of the Elements of Continued Fractions . 37 3.3 Index of an Angle, Duality of Sails ................. 38 3.4Exercises............................... 39 4 Complete Invariant of Integer Angles .................. 41 4.1 Integer Sines of Rational Angles .................. 41 4.2 Sails for Arbitrary Angles and Their LLS Sequences ........ 43 4.3OnCompleteInvariantsofAngleswithIntegerVertex....... 43 4.4Exercises............................... 46 5 Integer Trigonometry for Integer Angles ................ 47 5.1 Definition of