An integrable generalization on the 2D sphere S2 and the hyperbolic plane H2 of the Euclidean anisotropic oscillator Hamiltonian with 'centrifugal' terms given by
is presented. The resulting generalized Hamiltonian
depends explicitly on the constant Gaussian curvature
κ of the underlying space, in such a way that all the results here presented hold simultaneously for
S2 (
κ > 0),
H2 (
κ < 0) and
E2 (
κ = 0). Moreover,
is explicitly shown to be integrable for any values of the parameters
δ, Ω,
λ1 and
λ2. Therefore,
can also be interpreted as an anisotropic generalization of the curved Higgs oscillator, that is recovered as the isotropic limit Ω → 0 of
. Furthermore, numerical integration of some of the trajectories for
are worked out and the dynamical features arising from the introduction of a curved background are highlighted.
The superintegrability issue for
is discussed by focusing on the value Ω = 3δ, which is one of the cases for which the Euclidean Hamiltonian
is known to be superintegrable (the 1 : 2 oscillator). We show numerically that for Ω = 3δ the curved Hamiltonian
presents nonperiodic bounded trajectories, which seems to indicate that
provides a non-superintegrable generalization of
even for values of Ω that lead to commensurate frequencies in the Euclidean case. We compare this result with a previously known superintegrable curved analogue
of the 1 : 2 Euclidean oscillator, which is described in detail, showing that the Ω = 3δ specialization of
does not coincide with
. Hence we conjecture that
would be an integrable (but not superintegrable) curved generalization of the anisotropic oscillator that exists for any value of Ω and has constants of the motion that are quadratic in the momenta. Thus each commensurate Euclidean oscillator could admit another specific superintegrable curved Hamiltonian which would be different from
and endowed with higher order integrals. Finally, the geometrical interpretation of the curved 'centrifugal' terms appearing in
is also discussed in detail.