First Law of Thermodynamics Problems: PV Work and Full Cycles
Solve first law of thermodynamics problems with PV work, sign conventions and a full four-step cycle that checks to zero internal energy change.
Professor Eric Editorial · Nov 29, 2026 · 7 min read
In this article
- What sign convention should you use?
- How do you calculate PV work?
- How do you solve a full cycle?
- What is the efficiency of the cycle?
- What about an adiabatic process?
- Which courses use this?
- What assignments does this help with, and what help is allowed?
- Thermodynamics checklist
- Frequently asked questions
- Make your own cycle
Thermodynamics problems go wrong in one place more than any other: signs. Heat in, work out, work done on the gas. Textbooks even disagree about the convention. Pick one, state it, and check that a full cycle comes back to where it started.
What sign convention should you use?
This guide uses the work-by-the-gas convention:
ΔU = Q − W
- Q is positive when heat flows into the gas.
- W is positive when the gas expands and does work on its surroundings.
- W is negative when the gas is compressed.
Many chemistry courses and some physics textbooks define W as work done on the gas, and write ΔU = Q + W. Both are correct, because they define W with opposite signs. The physics is the same: a compression adds energy to the gas. Before you start a problem, look up which convention your textbook and instructor use, and write it at the top of your solution. Mixing the two inside one problem is the usual way to lose points.
Assumptions in this guide: an ideal gas, quasi-static (slow) processes, and a monatomic gas with Cᵥ = (3/2)R unless stated. Then U = (3/2)nRT = (3/2)PV.
How do you calculate PV work?
For a quasi-static process, W = ∫ P dV, the area under the curve on a PV diagram. Special cases:
- Isochoric (constant volume): W = 0.
- Isobaric (constant pressure): W = P ΔV.
- Isothermal ideal gas: W = nRT ln(V₂/V₁).
The last one needs calculus, which suits calculus-based courses. Algebra-based courses usually give the area from the graph. A numerical integral confirms the isothermal result: for n = 1.00 mol at 300 K doubling its volume, the integral gives 1,728.85 J, and nRT ln 2 = 8.314 × 300 × 0.6931 = 1,728.85 J, which rounds to 1.73 kJ. Since the temperature is constant, ΔU = 0 and so Q = W = 1.73 kJ.
How do you solve a full cycle?
Sketch. On a graph with V horizontal and P vertical, the path is a rectangle traced clockwise: right along the top, down the right side, left along the bottom, up the left side. A clockwise cycle has positive net work.
Principles. For a monatomic ideal gas, ΔU = (3/2) Δ(PV). Isobaric heat: Q = (5/2) P ΔV. Isochoric heat: Q = (3/2) V ΔP.
A→B (isobaric expansion): W = PΔV = 1.00 × 10⁵ × 0.0200 = 2,000 J. ΔU = (3/2)(4,000 − 2,000) = 3,000 J. Q = ΔU + W = 5,000 J. Check with Q = (5/2)PΔV = 5,000 J.
B→C (isochoric): W = 0. ΔU = (3/2)(2,000 − 4,000) = −3,000 J. Q = −3,000 J: the gas gives up heat.
C→D (isobaric compression): W = 0.50 × 10⁵ × (−0.0200) = −1,000 J. ΔU = (3/2)(1,000 − 2,000) = −1,500 J. Q = ΔU + W = −2,500 J.
D→A (isochoric): W = 0. ΔU = (3/2)(2,000 − 1,000) = +1,500 J. Q = +1,500 J.
Full cycle totals. ΔU: 3,000 − 3,000 − 1,500 + 1,500 = 0, as it must be for a state function. Net work: 2,000 − 1,000 = 1,000 J. Net heat: 5,000 − 3,000 − 2,500 + 1,500 = 1,000 J. So Q net = W net, which is the first law for a cycle.
Check ΔU two ways on each leg, from Q − W and from (3/2)Δ(PV). Both give the same value. The net work also equals the enclosed rectangle: (0.50 × 10⁵ Pa)(0.0200 m³) = 1,000 J.
What is the efficiency of the cycle?
Efficiency compares net work with the heat taken in. Heat enters on A→B and D→A, so Qᵢₙ = 5,000 + 1,500 = 6,500 J:
e = W net / Qᵢₙ = 1,000 / 6,500 = 0.154
So the cycle converts about 15% of the input heat into work. Compare with the ideal limit. With n = 1.00 mol, T = PV/(nR) gives T(A) = 241 K, T(B) = 481 K, T(C) = 241 K and T(D) = 120 K. The Carnot efficiency between the extremes is 1 − 120.3/481.1 = 0.75. A real cycle can't beat that, and our 0.154 sits well below it, which is plausible. If you ever calculate an efficiency above the Carnot value, recheck the signs.
What about an adiabatic process?
An adiabatic process has Q = 0, so ΔU = −W. For a monatomic gas, γ = 5/3 and PVᵞ is constant. Starting from P₁ = 2.00 × 10⁵ Pa at V₁ = 0.0100 m³ and expanding to V₂ = 0.0200 m³:
P₂ = P₁ (V₁/V₂)ᵞ = 6.30 × 10⁴ Pa
W = (P₁V₁ − P₂V₂)/(γ − 1) = 1,110 J
Numerical integration of P dV gave the same 1,110 J, and ΔU = (3/2)(P₂V₂ − P₁V₁) = −1,110 J. The gas does 1,110 J of work and its internal energy falls by exactly that, so it cools. This is the limit check: no heat, so the work comes straight out of the stored energy.
Which courses use this?
The first law appears in AP Physics 2, algebra-based and calculus-based college physics, engineering thermodynamics and physical chemistry. AP is a trademark of the College Board, which isn't affiliated with Professor Eric. Algebra-based courses use areas and the isobaric and isochoric formulas. Calculus-based courses add the isothermal and adiabatic integrals. Engineering thermodynamics often uses work done on the system, so convention matters most there.
What assignments does this help with, and what help is allowed?
You will meet cycles and process tables on problem sets and exams, and in a lab on gas laws or heat engines. Use your own measurements in any lab report.
Follow your school's honor code and your instructor's rules on outside help, and submit only your own work. Allowed help can include a model solution to a similar problem, feedback on your own table of Q, W and ΔU, tutoring, and help organizing a report. We don't do graded online homework, quizzes, labs or exams. See our physics assignment help page.
Thermodynamics checklist
Your checklist
0 of 6 done
Frequently asked questions
Why do some books write ΔU = Q + W?
They define W as the work done on the gas instead of by the gas. The two conventions describe the same physics with opposite signs for W, so use the one your course uses and state it.
Is work done on a gas negative?
In the work-by-the-gas convention, yes: a compression gives negative W. In the work-on-the-gas convention, a compression gives positive W.
Why is net work positive for a clockwise cycle?
The expansion happens at higher pressure than the compression, so the gas does more work expanding than is done on it during compression. The difference is the enclosed area.
Does ΔU depend on the path?
No. U depends on the state, so ΔU depends only on the start and end states. Q and W individually depend on the path.
Make your own cycle
Change the lower pressure to 0.25 × 10⁵ Pa and predict the net work and efficiency before you recalculate. Then confirm that ΔU still sums to zero. A tutor or a model solution to a similar cycle can give feedback on your table.