Based on the theory of Eider-Bernoulli beam and Winkler assumption for elastic foundation, a mathematical model is presented. By using Fourier transformation for space variable, Laplace transformation for time variable and convolution theorem for their inverse transformations, a general solution for dynamical problem of infinite beam on an elastic foundation is obtained. Finally, the cases of free vibration,impulsive response and moving load are also discussed.