The Lifson–Roig model may be solved by the transfer-matrix method using the transfer matrix M shown at the right, where w is the statistical weight for helix propagation, v for initiation, n for N-terminal capping, and c for C-terminal capping. (In the traditional model n and c are equal to 1.) The partition function for the helix-coil transition equilibrium is