Catastrophe theory and bifurcation