Descartes' work provided the basis for the calculus developed by Newton and Gottfried Leibniz, who applied infinitesimal calculus to the tangent line problem, thus permitting the evolution of that branch of modern mathematics.[68] His rule of signs is also a commonly used method to determine the number of positive and negative roots of a polynomial