Sign convention on work done to a closed system containing gas

  • Context: Undergrad 
  • Thread starter Thread starter zenterix
  • Start date Start date
  • Tags Tags
    Thermodynamics
Click For Summary

Discussion Overview

The discussion revolves around the sign convention for work done in a closed system containing gas, particularly in the context of gas expansion and compression involving a piston. Participants explore the mathematical expressions for work, the implications of different sign conventions, and the physical interpretations of these conventions in relation to forces acting on the gas and piston.

Discussion Character

  • Debate/contested
  • Technical explanation
  • Conceptual clarification

Main Points Raised

  • Some participants question whether the expression for work, $$w=\lVert P\vec{A}\rVert dL$$, implicitly assumes positive values for all terms, suggesting that the cosine term may affect the sign of work.
  • Others propose that the book's convention, where work is positive when done on the system and negative when done by the system, leads to confusion regarding the expressions $$w=-P_{ext}dV$$ and $$w=\lVert P\vec{A}\rVert dL\cos{\theta}$$.
  • A participant clarifies that the work done by the piston on the gas is the negative of the work done by the gas on the piston, emphasizing the need to define what $$w$$ represents in the context of the discussion.
  • Some participants highlight that definitions of work may vary between chemists and engineers/physicists, suggesting that clarity in convention is crucial.
  • One participant elaborates on the force balance on the piston, indicating that the work done by the piston on the gas can be expressed in terms of the external pressure and volume change, linking it back to the sign convention.

Areas of Agreement / Disagreement

Participants generally agree that the work done by the gas on the piston and the work done by the piston on the gas are negatives of each other. However, there is no consensus on the interpretation of the sign convention and the definitions of work as presented in the book, leading to ongoing debate.

Contextual Notes

Participants express uncertainty regarding the implications of the cosine term in the work expressions and how it relates to the sign of volume changes. There are also unresolved questions about the definitions of work in different contexts and the physical interpretation of the terms used in the book.

zenterix
Messages
774
Reaction score
84
TL;DR
I am following the book "Physical Chemistry" by Silbey, Alberty, and Bawendy.



I am having a difficult time with sign conventions used when calculating work done on a closed system containing a gas.
Here is the reasoning as it appears in the book.

Consider the following setup

1694244174302.png


Work (w) is a scalar quantity defined ##w=\vec{f}\cdot\vec{L}##.

where ##\vec{f}## is the vector force and ##\vec{L}## is the vector length of path.

If the force vector of magnitude ##\lVert \vec{f}\rVert## and the vector length of magnitude ##\lVert \vec{L} \rVert## are separated by an angle ##\theta##, the work is given by ##\lVert\vec{f}\rVert\lVert\vec{L}\rVert\cos{\theta}##.

Pressure, ##P## is force per unit area, ie ##P=\frac{\lVert \vec{f}\rVert} {\lVert\vec{A}\rVert}##.

Consider a situation where the gas in the cylinder above is expanding, pushing the piston upward.

The differential quantity of work done by the expanding gas to move the piston a distance ##dL## is, according to the book

$$w=\lVert P\vec{A}\rVert dL=PdV\tag{1}$$

My first question is the following: in the context of (1), it seems that there is an implicit cosine term; that is, (1) is obtained from a dot product, and hence it seems that ##\lVert P\vec{A}\rVert## and ##dL## must all be positive, and that implicitly we have a ##\cos{0}=1## term. Is this correct?

If it is correct, then ##dV## can also only be positive in (1).

On the other hand, we could write out

$$w=\lVert P\vec{A}\rVert dL\cos{\theta}=PdV\tag{2}$$

where ##dV## is now ##\lVert \vec{A}\rVert dL\cos{\theta}##, in which case ##dV## can be negative.

The book then says

Work ##w## can be positive or negative since work may be done on a system or a system may do work on its surroundings. The convention on ##w## is that it is positive when work is done on the system of interest and negative when the system does work on the surroundings. Thus, the differential of the ##PV## work don on a system is given by $$dw=-P_{ext}dV$$ where ##P_{ext}## is the external or applied pressure.

This is a bit confusing to me. As far as I know, work is done by a force. Whether the gas expands and pushes the piston up, or the gas is compressed as the piston moves down, we have a pair of Newton's third law forces shared between the piston and the mass, and between the piston and the gas.

Each force does some amount of work.

The book has this depiction

1694250465825.png

As far as I can tell,

in (a), the force applied by the piston on the gas (which is the same as the force applied by the mass onto the piston, since the latter has zero mass and there is no friction with the cylinder) is in the same direction as the displacement vector of the gas. This is the same work done by the force of the mass on the piston and is positive.

in (b), the force applied by the piston on the gas is in the opposite direction to the displacement of the gas, and so the work done by this force is negative.

Now, the convention says that in (a) work is "done on the system" and in (b) work is "done on the surroundings", and also that $$dw=-P_{ext}dV$$.

##P_{ext}## is said to be the external pressure, that is, the pressure of the piston on the gas.

Putting everything together, it seems that in (a) what is happening is that the force created by the mass on top of the piston is doing positive work and in (b) it is doing negative work. These results come out from the expression

$$\lVert P\vec{A}\rVert dL \cos{\theta}$$

However, the book uses another expression

$$-P_{ext}dV$$

Now, ##P## is the same as ##P_{ext}##. It is not clear to me how to reconcile these two expressions as it concerns the ##dV## term. It would seem that it is as simple as

$$dV=-\lVert \vec{A} \rVert dL\cos{\theta}$$

In my opinion, all the confusion arising from all of this is because the book in question isn't great.
 
Last edited:
Science news on Phys.org
Here is another simple example I don't quite understand

Suppose we have the situation depicted in the picture of the original post.

We pull the stops out and the piston falls to an equilibrium position at a volume ##V_2## and a pressure ##P_2##.

Says the book,

The pressure of the gas at the end of the process is given by ##P_2=\frac{mg}{A}## where ##g## is the acceleration due to gravity, and ##A## is the area of the piston. The amount of work lost in the surroundings is ##mgh##, where ##h## is the difference in height, and so the work done on the gas is

$$w=mgh=-P_2(V_2-V_1)$$

Since ##V_2<V_1## the work done on the gas is positive.

I understand why the work is ##mgh##: the weight of the mass is ##mg## and this is the force being applied over the area ##A## that is the piston and this is transmitted to the gas in the cylinder.

This is positive because the weight of the mass is pointed down and the displacement is also pointed down. The dot product is positive.

What I don't get is the expression ##-P_{ext}dV=-P_2(V_2-V_1)##.

As I explain in the original post, we start with a dot product ##P\lVert \vec{A}\rVert \lVert dL\rVert\cos{\theta}##. Now ##\lVert \vec{A}\rVert \lVert dL\rVert## is a volume, and the cosine gives us the positive/negative sign (since we are considering our force being perpendicular to the area to which it is applied). What are we calling ##dV## and how do we think about the sign convention (ie, the negative sign that is introduced)?
 
Are. you saying that W is the work done by the gas on the piston, or is W the work done by the piston on the gas? One is the negative of the other.
 
  • Like
Likes   Reactions: vanhees71
Chestermiller said:
Are. you saying that W is the work done by the gas on the piston, or is W the work done by the piston on the gas? One is the negative of the other.
I agree one is the negative of the other. The thing is, I don't have any conceptual misunderstanding. I think I'm just trying to sort out what ##w## means for this book. When people talk about work in the context of the closed system I showed in the original question, how do people usually define ##w##?

Conversely, given the expression chosen by the book, namely that work is ##-P_{ext}\Delta V##, what force does this work?
 
zenterix said:
, how do people usually define w?
Both ways. Chemists versus engineers/physicists; so long it is clearly stated which convention is used/understood, there's little point to arguing/debating which is correct.
 
zenterix said:
I agree one is the negative of the other. The thing is, I don't have any conceptual misunderstanding. I think I'm just trying to sort out what ##w## means for this book. When people talk about work in the context of the closed system I showed in the original question, how do people usually define ##w##?

Conversely, given the expression chosen by the book, namely that work is ##-P_{ext}\Delta V##, what force does this work?
This is the work done by the surroundings (the piston) on the system (the gas in the cylinder). Force balance on piston: $$F_g\hat{z}+P_{ext}A(-\hat{z})=0$$ where ##\hat{z}## is the unit vector in the upward z direction. Piston displacement = ##\hat{z}dz##. So the work done by the piston on the gas is $$dW=(P_{ext}A(-\hat{z})\centerdot \hat{z}dz=-P_{ext}Adz=-P_{ext}dV=-F_gdz$$If dV is positive, it means the gas expands (and the piston moves up), and if dV is negative, it means that the gas is compressed (and the piston moves down).
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 45 ·
2
Replies
45
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 7 ·
Replies
7
Views
810
  • · Replies 6 ·
Replies
6
Views
689
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 22 ·
Replies
22
Views
6K
  • · Replies 33 ·
2
Replies
33
Views
4K
  • · Replies 17 ·
Replies
17
Views
3K