Work done on a gas in a cylinder

AI Thread Summary
The discussion revolves around calculating the work done on a gas in a cylinder through various thermodynamic processes. The gas undergoes an expansion where pressure is proportional to volume, followed by isobaric cooling and isochoric cooling. The participants express confusion over the correct equations for work, particularly during the expansion phase, questioning whether it is isothermal or another type. They emphasize the importance of using a PV diagram to visualize the processes and calculate the work done accurately, noting that the net work is derived from the area between the paths on the graph. The conversation highlights the need to apply signs correctly when summing the work from different processes to determine the total work done on the gas.
Funktimus
Messages
13
Reaction score
0

Homework Statement


A cylinder with initial volume V contains a sample of gas at pressure p. The gas is heated in such a way that its pressure is directly proportional to its volume. After the gas reaches the volume 3V and pressure 3p, it is cooled isobarically to its original volume V. The gas is then cooled isochorically until it returns to the original volume and pressure.
Find the work W done on the gas during the entire process.


Homework Equations


W = 0 (for the isochoric cooling)
W = -p(V_f - V_i) for the isobaric cooling
W = -nRT * ln (V_f/V_i) <---- this is what I'm unsure about.

The Attempt at a Solution



Total Work is going to equal the sum of the 3 work on the 3 processes:
the expansion
the cooling
the further cooling

Expansion process (isothermal?)
W_1 = -nRT * ln (V_f/V_i)
pV = nRT
W_1 = -pV * ln (V_f/V_i)
This is wrong but I don't know why. I don't know for sure that this an isothermal process. But it's not isochoric (because V changes from V to 3V). It's not isobaric because pressure increasing from p to 3p. It's not adiabatic because Q > 0, I think; it's being heated after all. So isothermal seems to be the right answer.

For the second process
W_2 = -p(V_f - V_i) = -3p(V - 3V)
That I'm sure is right

For the third process
It's isochoric, so 0 work is being done.
 
Physics news on Phys.org
Funktimus said:

Homework Statement


A cylinder with initial volume V contains a sample of gas at pressure p. The gas is heated in such a way that its pressure is directly proportional to its volume. After the gas reaches the volume 3V and pressure 3p, it is cooled isobarically to its original volume V. The gas is then cooled isochorically until it returns to the original volume and pressure.
Find the work W done on the gas during the entire process.


Homework Equations



W = -nRT * ln (V_f/V_i) <---- this is what I'm unsure about.
This is the problem, as you suspected. It would help to draw a PV diagram.

dW = PdV where dW is the incremental work done BY the gas.

Since PV=nRT, and since V/P = k (constant), what does the P-V graph look like? How do you calculate the area under that part of the graph? What does the area represent?

For the second process
W_2 = -p(V_f - V_i) = -3p(V - 3V)
That I'm sure is right

For the third process
It's isochoric, so 0 work is being done.
Correct.

AM
 
The problem gave me that equation.
But when you integrate it, it comes out to be:
W = -p_i*V_i * ln(V_f/V_i) = -p_f*V_f * ln(V_f/V_i)
I even have a page in my physics book that derives it for me. But according to masteringphysics, that's wrong.

But if I draw a P-V graph, it doesn't look like that at all, assuming I did it right. V/P is constant, so it has a constant slope, so it'll just be a triangle. Hence I think the equation is...
-(1/2)(pf - pi)(Vf-Vi) = -2pV
Is that right?
 
Funktimus said:
The problem gave me that equation.
But when you integrate it, it comes out to be:
W = -p_i*V_i * ln(V_f/V_i) = -p_f*V_f * ln(V_f/V_i)
I even have a page in my physics book that derives it for me. But according to masteringphysics, that's wrong.

But if I draw a P-V graph, it doesn't look like that at all, assuming I did it right. V/P is constant, so it has a constant slope, so it'll just be a triangle. Hence I think the equation is...
-(1/2)(pf - pi)(Vf-Vi) = -2pV
Is that right?
Not quite. If V/P = k then PdV = VdV/k . If you integrate that, you get:

W = \frac{1}{2k}(V_f^2 - V_0^2)

Since V = kP this works out to:

W = \frac{1}{2}(P_fV_f - P_0V_0)

The work done by the gas is all of the area under the graph for each path (when it compresses, the work done is negative (ie. done on the gas) so you have to subtract that area, leaving the area in between the paths as the net work in the cycle.

You are quite right that you can see this from the straight line graph. That is why you should always do a PV graph!

AM
 
Last edited:
Thanks for the solution. But I don't understand why your integral is so much different from my textbooks. I'll have to bring it up in discussion. Thank you though.
 
Funktimus said:
Thanks for the solution. But I don't understand why your integral is so much different from my textbooks. I'll have to bring it up in discussion. Thank you though.
You have to determine W2 and W3 and add them to W1 (applying the signs correctly - you actually subtract the area under the second path). This gives you the net area - the area between the path lines. It is the area between the paths that gives you the work done on/by the gas.

If you draw the path on a PV diagram, you get a triangle between the paths. The area of that triangle is negative (since the area under the compression phase, which is negative work by the gas, is greater the area under the expansion phase, which is positive).

AM
 
TL;DR Summary: I came across this question from a Sri Lankan A-level textbook. Question - An ice cube with a length of 10 cm is immersed in water at 0 °C. An observer observes the ice cube from the water, and it seems to be 7.75 cm long. If the refractive index of water is 4/3, find the height of the ice cube immersed in the water. I could not understand how the apparent height of the ice cube in the water depends on the height of the ice cube immersed in the water. Does anyone have an...
Thread 'Variable mass system : water sprayed into a moving container'
Starting with the mass considerations #m(t)# is mass of water #M_{c}# mass of container and #M(t)# mass of total system $$M(t) = M_{C} + m(t)$$ $$\Rightarrow \frac{dM(t)}{dt} = \frac{dm(t)}{dt}$$ $$P_i = Mv + u \, dm$$ $$P_f = (M + dm)(v + dv)$$ $$\Delta P = M \, dv + (v - u) \, dm$$ $$F = \frac{dP}{dt} = M \frac{dv}{dt} + (v - u) \frac{dm}{dt}$$ $$F = u \frac{dm}{dt} = \rho A u^2$$ from conservation of momentum , the cannon recoils with the same force which it applies. $$\quad \frac{dm}{dt}...
Back
Top