In statistical mechanics the hypernetted-chain equation is a closure relation to solve the Ornstein–Zernike equation which relates the direct correlation function to the total correlation function. It is commonly used in fluid theory to obtain e.g. expressions for the radial distribution function. It is given by: