The isothermal diffusion of a gas bubble in an infinite liquid which is either supersaturated or undersaturated, subject to an arbitrarily prescribed initial condition and the effect of surface tension at the interface, is studied. One of the objectives of the paper is to investigate the analyticity of the solutions. For this purpose, the prescribed initial condition is considered to be a series of fractional powers of the space variable. It is found that the solution of the problem can be established in series of parabolic cylinder functions and time t. Existence and convergence of the series solutions are considered and proved. For a dissolution problem, the solution always exists. The lifetime of the bubble is determined. On the other hand, the solution of a growing bubble exists only when the initial condition at the interface is below a certain limit. A necessary and sufficient condition for the existence of solutions is established. Some numerical examples of the interfacial position are also given. On the basis of the established solutions, the analyticities of the interfacial boundary and of gas concentration are discussed. The interfacial boundary is analytic in t1/2 if, and only if, the initial condition is an analytic function of the space variable.