An analytical theory for Riemannian cubic polynomials