Prediction of initial motion of a gas bubble in liquids