Subquadratic algorithms for algebraic generalizations of 3SUM

Luis Barba, Jean Cardinal, John Iacono, Stefan Langerman, Aurélien Ooms, Noam Solomon

    Research output: Chapter in Book/Report/Conference proceedingConference contribution


    The 3SUM problem asks if an input n-set of real numbers contains a triple whose sum is zero. We consider the 3POL problem, a natural generalization of 3SUM where we replace the sum function by a constant-degree polynomial in three variables. The motivations are threefold. Raz, Sharir, and de Zeeuw gave an O(n11/6) upper bound on the number of solutions of trivariate polynomial equations when the solutions are taken from the cartesian product of three n-sets of real numbers. We give algorithms for the corresponding problem of counting such solutions. Grønlund and Pettie recently designed subquadratic algorithms for 3SUM. We generalize their results to 3POL. Finally, we shed light on the General Position Testing (GPT) problem: "Given n points in the plane, do three of them lie on a line?", a key problem in computational geometry. We prove that there exist bounded-degree algebraic decision trees of depth O(n12/7+ϵ) that solve 3POL, and that 3POL can be solved in O(n2(log log n)3/2/(log n)1/2) time in the real-RAM model. Among the possible applications of those results, we show how to solve GPT in sub-quadratic time when the input points lie on o((log n)1/6/(log log n)1/2) constant-degree polynomial curves. This constitutes the first step towards closing the major open question of whether GPT can be solved in subquadratic time. To obtain these results, we generalize important tools - such as batch range searching and dominance reporting - to a polynomial setting. We expect these new tools to be useful in other applications.

    Original languageEnglish (US)
    Title of host publication33rd International Symposium on Computational Geometry, SoCG 2017
    EditorsMatthew J. Katz, Boris Aronov
    PublisherSchloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing
    Number of pages1185
    ISBN (Electronic)9783959770385
    StatePublished - Jun 1 2017
    Event33rd International Symposium on Computational Geometry, SoCG 2017 - Brisbane, Australia
    Duration: Jul 4 2017Jul 7 2017

    Publication series

    NameLeibniz International Proceedings in Informatics, LIPIcs
    ISSN (Print)1868-8969


    Other33rd International Symposium on Computational Geometry, SoCG 2017


    • 3SUM
    • Dominance reporting
    • General position testing
    • Polynomial curves
    • Range searching
    • Subquadratic algorithms

    ASJC Scopus subject areas

    • Software


    Dive into the research topics of 'Subquadratic algorithms for algebraic generalizations of 3SUM'. Together they form a unique fingerprint.

    Cite this