In the theory of commutative Banach algebras with unit, an element generates a dense ideal if and only if it is invertible, in which case its Gelfand transform has no zeros, and the ideal it generates is the whole algebra. With varying degrees of success, efforts have been made to extend the validity of this result beyond the context of Banach algebras. For instance, for the Hardy space
H
2
H^{2}
on the unit disk, it is known that all invertible elements are cyclic (an element is cyclic if its polynomial multiples are dense), but cyclic elements need not be invertible. In this paper, we supply examples of functions in the Bergman and uniform Bergman spaces on the unit disk which are invertible, but not cyclic. This answers in the negative questions raised by Shapiro, Nikolskiĭ, Shields, Korenblum, Brown, and Frankfurt.