  We consider ultracold bosonic atoms in an optical lattice with an externaltrapping potential. To study the excitation energies of the resultingBose-Hubbard model, we develop a method based on a time-dependentgeneralization of the Gutzwiller ansatz. We calculate the excitations of thehomogeneous system both in insulating and superfluid regime, concentratingparticularly on those near the superfluid-Mott insulator boundary. Low-lyingexcitation energies in presence of a static harmonic trap are obtained usingthis method and compared with the homogeneous case. Further, we explore thedynamics of the center of mass and the breathing mode in response totime-dependent perturbations of the trap.
To study the excitation energies of the resulting Bose-Hubbard model, we develop a method based on a time-dependent generalization of the Gutzwiller ansatz. We calculate the excitations of the homogeneous system both in insulating and superfluid regime, concentrating particularly on those near the superfluid-Mott insulator boundary.