Source: https://itp.uni-frankfurt.de/~gros/Vorlesungen/TD/6_Phase_transitions.pdf