
Entropy
Entropy is a quantitative measure of disorder or randomness in a system and is defined as:
ds=TdQ
Entropy for different thermodynamic processes:
a) Isochoric Processes:
Δs=∫ds=∫TdQ=∫nCvTdT=nCv∫TdT=nCvlnTiTf
b) Isobaric Processes:
Δs=∫nCp TdT=nCpln TiTf
c) Isothermal Processes:
d) Adiabatic Processes:
Δs=0
More discussion on entropy!
ΔSuniverse=ΔSsystem+ΔSenvironment

Example: Internal Energy and Entropy
Two moles of a diatomic gas are expanding from 2 liters to 4 liters through an unknown process. During this process, the pressure of the gas is changed from 3atm to 5atm.
a) Find the change in the internal energy of the gas.
b) Find the change in the entropy of the system.
a) ΔU=nCvΔT=25nR(TB−TA)=25(PBVB−PAVA)
=25(5×105×4×10−3−3×105×2×10−2)=3500J
b) Since ΔS does not depend on path, we consider combination of a isochoric and isobaric process which connects points A and B as it is shown in the PV-Curve
ΔSa→c=nCpln(TaTc)=27nRln(PaVaPcVc)
ΔSc→b=nCvln(TcTb)=25nRln(PcVcPbVb)
→ΔSab=27(2)(8.31)ln(3(2)3(4))→25(2)(8.31)ln(3(4)5(4))
=61.545 KJ