Skip to main content
Log in

On Word Equations in One Variable

  • Published:
Algorithmica Aims and scope Submit manuscript

Abstract

For a word equation E of length n in one variable x occurring # x times in E a resolution algorithm of O(n+# x log n) time complexity is presented here. This is the best result known and for the equations that feature \(\#_{x}<\frac{n}{\log n}\) it yields time complexity of O(n) which is optimal. Additionally it is proven here that the set of solutions of any one-variable word equation is either of the form F or of the form F∪(uv)+ u where F is a set of O(log n) words and u, v are some words such that uv is a primitive word.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Angluin, D.: Finding pattern common to a set of string. In: Proceedings of Symposium on the Theory of Computing, STOC’79, pp. 130–141. ACM, New York (1979)

    Google Scholar 

  2. Charatonik, W., Pacholski, L.: Word equations in two variables. In: Proceedings of the International Workshop on Word Equations and Related Topics, IWWERT’91. Lecture Notes in Computer Science, vol. 677, pp. 43–57. Springer, Berlin (1991)

    Google Scholar 

  3. Crochemore, M., Rytter, W.: Periodic prefixes in texts. In: Capocelli, R., De Santis, A., Vaccaro, U. (eds) Sequences II, Positano, 1991, pp. 153–165. Springer, New York (1993)

    Google Scholar 

  4. Crochemore, M., Rytter, W.: Text Algorithms. Oxford University Press, London (1994)

    MATH  Google Scholar 

  5. Gutierrez, C.: Satisfiability of word equations with constants is in exponential space. In: Proceedings of the Annual Symposium on Foundations of Computer Science, FOCS’98, pp. 112–119. IEEE Comput. Soc. Press, Los Alamitos (1998)

    Google Scholar 

  6. Ilie, L., Plandowski, W.: Two-variable word equations. Theor. Inform. Appl. 34, 467–501 (2000)

    Article  MathSciNet  MATH  Google Scholar 

  7. Kościelski, A., Pacholski, L.: Complexity of Makanin’s algorithm. J. Assoc. Comput. Math. 43(4), 670–684 (1996)

    MATH  Google Scholar 

  8. Makanin, G.S.: The problem of solvability of equations in a free semigroup. Mat. Sb. 103(2), 147–236 (1977) (in Russian). English translation in: Math. USSR Sb. 32, 129–198 (1977)

    MathSciNet  Google Scholar 

  9. Neraud, J.: Equations in words: an algorithmic contribution. Bull. Belg. Math. Soc. 1, 253–283 (1994)

    MathSciNet  MATH  Google Scholar 

  10. Eyono Obono, S., Goralcik, P., Maksimenko, M.N.: Efficient solving of the word equations in one variable. In: Mathematical Foundations of Computer Science 1994, 19th International Symposium, MFCS’94. Lecture Notes in Computer Science, vol. 841, pp. 336–341. Springer, Berlin (1994)

    Google Scholar 

  11. Plandowski, W.: Satisfiability of word equations is in NEXPTIME. In: Proceedings of the Symposium on the Theory of Computing, STOC’99, pp. 721–725. ACM, New York (1999)

    Google Scholar 

  12. Plandowski, W.: Satisfiability of word equations is in PSPACE. In: Proceedings of the Annual Symposium on Foundations of Computer Science, FOCS’99, pp. 495–500. IEEE Comput. Soc., Los Alamitos (1999)

    Google Scholar 

  13. Plandowski, W., Rytter, W.: Application of Lempel-Ziv encodings to the solution of word equations. In: Proceedings of the International Colloquium on Automata, Languages and Programming, ICALP’98. Lecture Notes in Computer Science, vol. 1443, pp. 731–742. Springer, Berlin (1998)

    Chapter  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Robert Dąbrowski.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Dąbrowski, R., Plandowski, W. On Word Equations in One Variable. Algorithmica 60, 819–828 (2011). https://doi.org/10.1007/s00453-009-9375-3

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00453-009-9375-3

Navigation