# Pressure vs. Volume graph.

1. Dec 28, 2011

### PhysicForFun

1. The problem statement, all variables and given/known data
Given the cycle shown below, what is the total work done by the gas in the cycle?

2. Relevant equations
ΔU = ΔQ + ΔW
W = PΔV

3. The attempt at a solution
W = 0
W = PΔV = 2 x (6-1) = 10
W = (1/2)bh = (1/2) (5-2) (6-1) = 7.5

W = W + W + W = 0 + 10 + 7.5 = 17.5
Since the volume is increasing, Work is positive.

It says I am wrong. So any help would be appreciated. I think I might know the issue, but want feedback.

2. Dec 28, 2011

### technician

Your expression W = PΔV is the one to use
This is an area on the graph....the enclosed area of the cycle

3. Dec 28, 2011

### I like Serena

Welcome to PF, PhysicForFun!

You red work should be negative.
And your green work should be the entire area under the green line, meaning a total of 17.5.

The actual total work is the area of the triangle.

4. Dec 29, 2011

### PhysicForFun

So the fact that is says work done by the gas isn't important? Am I reading too much into it?

The gas does work when the volume expands. And the externalsystem does work whenever it compresses right?

I might just be getting too caught up in wording. But I am curious. Thanks for the help so far though.

5. Dec 29, 2011

### I like Serena

Indeed, the gas does work when the volume expands.
But more specifically, the gas does negative work when the volume compresses.

It may be a bit counter-intuitive, but that is how work is defined.

6. Dec 31, 2011

### PhysicForFun

Ok thank you for explaining. It makes sense, but it doesn't seem logical. Regardless I will just accept it.

7. Dec 31, 2011

### ehild

Imagine that the gas is confined in a cylindrical container fitted with a movable piston of area A. Suppose the gas is in equilibrium and its pressure is P. Then the forces acting on the piston must cancel. The gas exerts an outward force equal to F(gas)=PA. Then the external force must be F(ext)=-F(gas).
Imagine that the external force is just a bit smaller than the external force, so the gas expands, but the expansion is so slow that the kinetic energy of the piston is negligible. In this case the total work done on it is zero. The total work is equal to the work of the gas and the work of the external agent, and it is zero in a quasistatic expansion. dW=dW(gas)+dW(ext)=0

The work is displacement times force. When the gas expands, the force points outward and the piston moves outward by a small amount, dx. The work of the gas is positive W(gas)=F(gas)dx>0.

The total work is zero,

dW(gas)+dW(ext)=0

that means dW(external)=-dW(gas)..

This is logical as the external force points inward, while the piston displaces outward. Force is opposite to the displacement, so the external work is negative.

Now suppose that the force of the gas is just a bit smaller so the external force overcomes the force of the gas. Then the gas is compressed, the piston moves inward while the gas exerts an outward force on the piston. In this case, the work of the gas is negative. At the same time, the external work is positive, as the piston moves inward and the external force also points inward.

You can conclude that in case of quasystatic expansion or compression of the gas the work of the gas is opposite to the external work.

W(gas)=-W(external).

The force the gas exerts on the piston is F(gas)=PA, and the work done when the piston displaces by dx is dW=(PA)dx. Adx is the change of volume. So the work of the gas is dW(gas)=PdV, positive during expansion (dV>0) and negative during compression (dV<0).

ehild