The disordered Ising chain: Equivalent formulations for the thermodynamics