Hostname: page-component-7b7567c8c-2n9c9 Total loading time: 0 Render date: 2026-11-15T17:46:34.096Z Has data issue: false hasContentIssue false

Two-variable word equations

Published online by Cambridge University Press:  15 April 2002

Lucian Ilie
Affiliation:
Department of Computer Science, University of Western Ontario, N6A 5B7, London, Ontario, Canada; (ilie@csd.uwo.ca)
Wojciech Plandowski
Affiliation:
Turku Centre for Computer Science TUCS, 20520 Turku, Finland; and Institute of Informatics, University of Warsaw, Banacha 2, 02-097, Warsaw, Poland; (wojtekpl@mimuw.edu.pl)
Get access

Abstract

We consider languages expressed by word equations in two variables and give a completecharacterization for their complexity functions, that is, the functions that give the number ofwords of the same length. Specifically, we prove that there are only five types of complexities:constant, linear, exponential, and two in between constant and linear. For the latter two, wegive precise characterizations in terms of the number of solutions of Diophantine equations ofcertain types. In particular, we show that the linear upper bound on the non-exponentialcomplexities by Karhumäki et al. in [9], is tight. There are several consequences of our study.First, we derive that both of the sets of all finite Sturmian words and of all finite Standardwords are expressible by word equations. Second, we characterize the languages of non-exponentialcomplexity which are expressible by two-variable word equations as finite unions of severalsimple parametric formulae and solutions of a two-variable word equation with a finite graph.Third, we find optimal upper bounds on the solutions of (solvable) two-variable word equations,namely, linear bound for one variable and quadratric for the other. From this, we obtain an $\mathcal{O}(n^6)$ algorithm for testing the solvability of two-variable word equations, improving thus verymuch Charatonik and Pacholski's $\mathcal{O}(n^100)$ algorithm from [3].

Information

Type
Research Article
Copyright
© EDP Sciences, 2000

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Article purchase

Temporarily unavailable