# Entropy variation during free expansion

1. Feb 13, 2009

### becko

1. The problem statement, all variables and given/known data

A system that consists of $$n$$ moles of ideal gas does a free expansion (to the vacuum) from a volume $$V$$ to a volume $$2V$$. a) What is the variation of entropy of the gas?; b) of the universe?; c) if the expansion was reversible and isothermal, what would be the variation of the entropy of the gas?; d) of the universe?

2. Relevant equations

Ideal Gas Law: $$PV=nRT$$
Conservation of Energy: $$\texttt{d}U=T\texttt{d}S-p\texttt{d}V$$

3. The attempt at a solution

a)
not sure how to do this. I think it should be zero.

b)
I know that the entropy is additive, so that the change of entropy in the universe is just the change of entropy in the system, plus the change outside the system. Supposedly there is no change of entropy outside the system, so that the answer to this question should be the same as a).

c)
Since the temperature doesn't change and this is an ideal gas, $$\texttt{d}U=0$$. Therefore
$$\texttt{d}S=\frac{p\texttt{d}V}{T}$$
Using the ideal gas law:
$$\texttt{d}S=\frac{nR\texttt{d}V}{V}$$.
Integrating gives the result:
$$\Delta S=nR\texttt{ln}2$$

d)
The same as in c).

Please, help me with a) and b). I believe the answer should be zero, but then I think that I can travel from the initial state to the final state through the reversible and isothermal line, just as in c) and d), in which case the answer to a) and b) should be the same as in c) and d) (since entropy is a function of state). Can someone clear this up for me?