%0 Journal Article %J Journal of Chemical Physics %D 2022 %T Thermodynamics and its correlation with dynamics in a mean-field model and pinned systems: a comparative study using two different methods of entropy calculation %A Nandi, Ujjwal Kumar %A Patel, Palak %A Moid, Mohd %A Nandi, Manoj Kumar %A Sengupta, Shiladitya %A Karmakar, Smarajit %A Maiti, Prabal K. %A Dasgupta, Chandan %A Bhattacharyya, Sarika Maitra %X A recent study introduced a novel mean-field model system where each particle over and above the interaction with its regular neighbors interacts with k extra pseudo-neighbors. Here, we present an extensive study of thermodynamics and its correlation with the dynamics of this system. We surprisingly find that the well-known thermodynamic integration (TI) method of calculating the entropy provides unphysical results. It predicts vanishing of the configurational entropy at temperatures close to the onset temperature of the system and negative values of the configurational entropy at lower temperatures. Interestingly, well below the temperature at which the configurational entropy vanishes, both the collective and the single-particle dynamics of the system show complete relaxation. Negative values of the configurational entropy are unphysical, and complete relaxation when the configurational entropy is zero violates the prediction of the random first-order transition theory (RFOT). However, the entropy calculated using the two-phase thermodynamics (2PT) method remains positive at all temperatures for which we can equilibrate the system, and its values are consistent with RFOT predictions. We find that with an increase in k, the difference in the entropy computed using the two methods increases. A similar effect is also observed for a system where a randomly selected fraction of the particles are pinned in their positions in the equilibrated liquid. We show that the difference in entropy calculated via the 2PT and TI methods increases with pinning density. %B Journal of Chemical Physics %V 156 %P 014503 %8 JAN %G eng %N 1 %9 Article %3 Foreign %4 3.488 %R 10.1063/5.0065668