Amin2014 said:
Thanks Chet, I understand what you are saying, your analyeses and everything. But they aren't quite addressing my own personal source of confusion. For one, the frictional force DOES do work on the moving piston after all. So there has to be some choice of system where this becomes external work. I was thinking we could choose the system as either gas alone (which you analyzed above), or gas + piston, or somehow, gas + piston + friction. That's how I tried to view the problem. As you see, there is still some source of confusion for me; I can't quite "visualize" everything here.
Why can't we just consider the microscopic details of friction as another "unit" and decide to include or exclude it in our system?
OK. Let's consider the microscopic gap between the piston and the cylinder as an additional "unit" in the picture. The outer surface of this unit is stationary, since it is the inner surface of the cylinder. The inner surface of this unit is moving with the velocity of the piston. The unit has negligible mass, so there are no changes in its internal energy. From the frame of reference of the laboratory, since the outer surface is not moving, no work is done by the "unit" on the cylinder at this surface; but the inner surface is moving, and the work done by the unit on the piston at this surface is -Fdx. If we apply the first law to this "unit," we obtain:
##-dq=-Fdx##
where dq is the heat flow into the piston from the unit at the piston interface with the "unit" (there is no heat flow at the cylinder surface of the unit).
Now, we can either include the "unit" as part of our gas/piston system as a third element, or we can omit it from our gas/piston system. I think that the case you are interested in is if we don't include it as a third element. If we do this, then the work done by the gas/piston system on its surroundings is:
##P_{ext}dV+Fdx##
where Fdx is the work done on the "unit" (which is now outside our system). There is also heat transfer into the gas/piston system from the unit. So, with this choice of system,
##dW=P_{ext}dV+Fdx=PdV-Fdx+Fdx=PdV##
##dq = Fdx##
And so, from the first law, ##dU=Fdx-PdV##
If we were to include the "unit" as part of our system, then no work is done at the cylinder surface by this system, since the cylinder is stationary. And no heat enters this system from the surroundings, because the cylinder is insulated. So, for this choice of the system, we have
##dW = P_{ext}dV##
##dq = 0##
And so, from the first law, ##dU=-P_{ext}dV = - PdV + Fdx##
So we get the same answer either way.Chet