Petar Mali said:
Thanks! But I still have problems.
Like if I take
T=\sum_{ij} A_{ij}p_i p_j
kinetic energy like a quadratic form I will still get equation of ideal gas?
Where \hat{A} is symmetric matrix.
In this form you're assuming there are interactions between particles i and j, therefore it's not ideal.
And about N!, N! solves the Gibbs paradox for entropy continuity, the paradox happened when he put 2 gases in a box with a thick-less barrier. When removing the barrier, if the particles were identical, he found the entropy not changing, but if the particles are different on the sides of the barrier he found that the entropy increases, where the theory doesn't support that, and so N! solved the problem.
The only prove of the importance of this N! comes with Quantum Mechanics. If this is not enough to convince you, imagine the following: you have N particles and N microstates, and you want to calculate the possible configurations for those particles on those states, assuming there is no degeneracy, meaning every state takes only 1 particle, we find the following:
Classically: we assume that we can "name" the particles with numbers, the number of configurations is simply N!.
Quantum mechanically: particles are indistinguishable, therefore exchanging particles would not change the macrostate (not microstate) and that's what we care about in Statistical mechanics, and so
N=2 -> we have 2 configurations, meaning 2!, but exchanging won't change anything, and so we have 1 state resulting from 2!/2!.
N=5 -> we have 5! configurations, but the same happens because all are the same, and so we need again to divide by 5! to again get the 1 state.
And so we find that if we have N states, then we have only 1 configurations. This can be proven only with quantum mechanics, and so it happens to be a paradox before quantum mechanics, which Gibbs had solved before Quantum mechanics.
Hope this answers :)