Phase Transition and Eigenvalue Degeneracy of a One Dimensional Anharmonic Oscillator