# Why 2nd-order derivatives of $G$ are discontinuous in 2nd-order phase transition?

In most undergraduate books, it is said that for second order phase transition Gibbs free energy and its first order derivatives are continuous at transition temperature. But the second order derivative are discontinuous at that temperature. What is the explanation behind it?

The definition of $$n$$-th order phase transition as a transition where $$n$$-th order derivatives of $$G$$ are discontinuous is the old Ehrenfest's classification which has been superseded by the modern classification where first-order phase transitions imply a discontinuity of the first-order derivatives, while any other non-analytic behavior of $$G$$ is classified as continuous (sometimes 2nd-order) phase transition. See for instance answers to related questions here on SE Physics.