In a recent article in this journal, Brown and Singh present the results of an extensive in-class survey of student difficulties with the second law of thermodynamics. Here, we discuss in detail some issues identified by them in an attempt to resolve some of the problems. We do this by making clear the distinction between the ‘system entropy’, ‘reservoir entropy’, ‘total entropy’, and the ‘entropy of the universe’. We identify, without ambiguity, which quasistatic processes are ‘internally reversible’, which are ‘totally reversible’, and which are ‘irreversible’. We discuss the meaning of quasistatic processes represented by curves in the PV plane. We show that the process P=P(V) that takes an ideal gas from initial state (P_A V_A) to final state (P_B V_B) always takes the gas away from the adiabat PV^γ=P_A V_A^γ. We establish the increasing (total) entropy principle as the quantitative expression of the second law of thermodynamics. This establishes the fundamental role of the total entropy in macroscopic thermodynamics. Expressing the increasing (total) entropy principle in the form 〖(T〗_res-T_gas)d(PV^γ)>0 reveals which processes are allowed, which are not, and which points in the PV plane are accessible from a given initial state. Students can now observe the limitations on individual processes mandated by the second law. Such second law analysis is suitable for the introductory physics course.