# Force exerted by piston in a gas container and work done

If there is container with a moveable piston. If heat is supplied to it the gas in container expands right raising the volume. The gas expands raises the piston against gravity (the gas does positive work on the weight). according to Newton's third law the gas exerts force PA on the piston but the piston also exerts and equal and opposite force. My question is how will piston even move if they exerts equal and opposite forces on one another.

The second question is that in above case if we calculate work done on the gas it comes out to be $W=\int( -PA)\;dx$. How? In my physics book they are saying that minus sign is due to the fact that force exerted by the piston on the gas is in opposite direction to displacement. But in many other places i have seen that work done formula is given by $W = \int(PA)\;dx$. How?

• Your first question is one that has been answered many times in Introductory Physics forums. This question would more properly be submitted under the Newtonian Mecahnics tag. Regarding your 2nd question, there are two sign conventions. One is for the work done by the system on the surroundings and the other is for work done by the surroundings on the system. Both conventions are used in thermodynamics and physical chemistry texts, and you just have to get used to determining which specific convention is being used in the material you are reading. Commented Oct 29, 2016 at 11:19
• sir but in my text book of physics HRK VOLUME 2 they are taking the first one formula of work and then they are saying that according to this formula work done in expansion is negative and work done in contraction is positive. there is nothing about work done on the gas or by the gas. Commented Oct 29, 2016 at 11:27
• They are using the convention that work done on the system is positive and work done by the system is negative. This is consistent with the first law of thermodynamics being written as $\Delta U=Q+W$. Commented Oct 29, 2016 at 11:35
• Your question about how the piston moves has been asked and answered here several times. For example, this post. I'm not sure what the confusion is in your statement "there is nothing about work done on the gas or by the gas" In all cases the system in question is the gas. Commented Oct 29, 2016 at 13:09

I will answer the second question first. Work is a dot product. $W=\vec{F}\cdot \vec{x}$. This is works out nicely if $\vec{x}$ is fixed and $\vec{F}$ is not dependent on $x$. In your problem, $\vec{x}$ is indeed fixed but technically $\vec{F}$ is not. For the solution we must now do an integral $\int_{x_o}^{x_f} \vec{F}(x)\cdot d\vec{x}$. Let's look at your problem outside with physically what is happening. The work here is done by the gas. As the gas expands, a force is applied to the movable piston. The piston is moved in the direction of the force. So the dot product is positive and there is work done by the gas. The negative sign in the math comes in because the asked question is the work done on the gas.
• First, E&M proves that the third law is incorrect. The problem with the third law is it looks at forces. And forces are not the actual physics. $\vec{F} = -\nabla V$. We use forces early is physics because it minimizes the math which if taught too early obfuscates the physics fundamentals. In that paradigm the resultant laws can only be trusted to a point. It this case we are speaking of the third law, but no physics law should ever be completely above suspicion. Commented Oct 29, 2016 at 12:14