moles of an ideal gas at temperature are originally confined to half of an insulated container by a partition. The partition is removed without doing any work. What is the final change in entropy?
First, we must resist the temptation to say (because process is adiabatic) hence . In fact and this is not a reversible process. To solve this problem, we need to find a reversible process linking the same two endpoints. We've already seen this; the process is a reversible isothermal expansion (see here.) For such an expansion so (details of the work calculation here).
This is rather subtle; make sure you understand the difference between the actual process (with and ) and the reversible process for which we could calculate the entropy change (with ). Remember, and are not functions of state - only the sum is.