I was asked to solve this following problem:
Two moles of a perfect diatomic gas at 300 K is expanded isothermally from an initial pressure of 3.00 atm to a final pressure of 1.00 atm, against a constant external pressure of 1.00 atm. Determine the values of $\Delta U, \Delta H, \Delta S,$ $\Delta S_\mathrm{surroundings}$ and $\Delta S_\mathrm{total}$.
First, I'm assuming $\Delta S$ means $\Delta S_\mathrm{system}$. My plan to solve this problem was to find $q_\mathrm{rev}$ for this system, but realized that I'm not exactly sure how total entropy is calculated for a non-reversible process. My question is:
We define total entropy as: $$\Delta S_\mathrm{total}=S_\mathrm{system}+S_\mathrm{surroundings}$$
I know that for an isothermal AND reversible expansion: $S_\mathrm{total}= 0$
But what about an isothermal expansion at a constant pressure? Does $S_\mathrm{total}$ also equal 0? If not, then would the equation look something like this: $$\Delta S_\mathrm{total}=\frac{q_\mathrm{rev}}{T}+\frac{q_\mathrm{surroundings}}{T}$$
where $q_\mathrm{surroundings}$ is the heat lost or gained by the surroundings by a process and $q_\mathrm{rev}$ is the heat lost or gained by the system IF that process was to become reversible.