Work Done in Isothermal Process: W = nRT ln(V2/V1) Derivation

Physics · Thermodynamics · NEET

In an isothermal process the temperature stays constant, so the work done by n moles of an ideal gas is W = nRT ln(V2/V1), where V1 is the start volume and V2 is the final volume. Memory hook: temperature is frozen (iso-thermal), so PV = nRT = constant, and integrating P dV gives a natural log. When the gas expands V2 is greater than V1, so the log is positive and W is positive (gas does work); when it is compressed, W is negative.
Isothermal Expansion: Work = Area under P-V curveVPV1V2W = nRT ln(V2/V1)PV = nRT = constantP = nRT / V (falls as V rises)
Isothermal expansion on a P-V graph: the curve follows PV = nRT = constant, and the shaded area under it from V1 to V2 equals the work W = nRT ln(V2/V1). Because pressure falls as 1/V, integrating P dV gives the natural log.

Your doubts, answered

Why does a natural log appear in the isothermal work formula?

Because pressure keeps changing during the process. In an isothermal process PV = nRT = constant, so P = nRT / V. As the gas expands, V goes up and P goes down at every instant. Work is W = integral of P dV, so you must integrate nRT/V dV from V1 to V2. The integral of 1/V is ln(V), which is why you get W = nRT ln(V2/V1). The natural log is the mathematical fingerprint of pressure varying as 1/V.

Where does the nRT term come from in the derivation?

From the ideal gas law PV = nRT. For an isothermal process T is fixed, and n and R are constants, so the whole product nRT is a single constant that can be pulled out of the integral. That is why W = integral (nRT/V) dV = nRT integral (1/V) dV = nRT ln(V2/V1). You can also write nRT as P1V1 or P2V2 since PV is constant along the path.

Is the answer nRT ln(V2/V1) or nRT ln(P1/P2)? Both appear in books.

They are the same value. Because PV = constant in an isothermal process, P1V1 = P2V2, which means V2/V1 = P1/P2. So W = nRT ln(V2/V1) = nRT ln(P1/P2). Notice the pressures are flipped: volume ratio is final over initial, but pressure ratio is initial over final. Mixing them up (using P2/P1) gives the wrong sign, a common mistake.

How do I decide if the work comes out positive or negative?

Look at the volume. Expansion means V2 > V1, so V2/V1 > 1, so ln is positive and W is positive (gas does work on the surroundings). Compression means V2 < V1, so V2/V1 < 1, so ln is negative and W is negative (work is done on the gas). You never memorise a separate sign; the log carries the sign automatically once you plug in V2 and V1 correctly.

Why can I not just use W = P times delta V here?

W = P delta V only works when pressure is constant (isobaric process). In an isothermal process pressure changes continuously as the gas expands, so a single P does not exist for the whole path. You must integrate: W = integral P dV with P = nRT/V. Using P delta V with one pressure value would be wrong. The only time a NEET question uses P delta V for an expansion is when it clearly states a constant external pressure, which is an irreversible expansion, not the reversible isothermal formula.

What does W become when the volume just doubles?

If V2 = 2 V1, then V2/V1 = 2 and ln(2) = 0.693. So W = nRT ln(2) = 0.693 nRT. If the volume is halved (compression), V2/V1 = 0.5 and ln(0.5) = -0.693, giving W = -0.693 nRT. Keep ln(2) = 0.693 ready; it appears in most isothermal NEET numericals.

⚠️ The NEET trap
Using W = nRT ln(V1/V2) or ln(P2/P1), or applying W = P delta V for the isothermal expansion.
For work done BY the gas use W = nRT ln(V2/V1) = nRT ln(P1/P2). Volume ratio is final/initial; pressure ratio is initial/final.
🧠 Volume ratio goes final-over-initial, pressure ratio goes initial-over-final. Flip one and only one. NTA loves swapping these to flip your sign.

Real NEET questions

2019

An ideal gas expands isothermally from 10^-3 m^3 to 10^-2 m^3 at 300 K against a constant external pressure of 10^5 N/m^2. The work done ON the gas is

A · +270 kJ
B · -900 J
C · +900 kJ
D · -900 kJ
Solution: The gas expands against a constant external pressure, so work done BY the gas = P_ext times delta V. Here delta V = V2 - V1 = 10^-2 - 10^-3 = 9 x 10^-3 m^3. So W_by = (10^5)(9 x 10^-3) = 900 J. The work done ON the gas is the negative of this: W_on = -900 J. Note: this uses P delta V (not nRT ln), because the question gives a constant external pressure, so it is an irreversible isothermal expansion. The answer is (B).
2016

A gas is compressed isothermally to half its initial volume. The same gas is compressed separately through an adiabatic process until its volume is again reduced to half. Then:

A · Compressing the gas isothermally will require more work
B · Compressing the gas through an adiabatic process will require more work
C · Isothermal or adiabatic compression require the same work
D · Which requires more work depends on the atomicity of the gas
Solution: On a P-V diagram the magnitude of work equals the area under the curve. An adiabatic curve (PV^gamma = constant) is steeper than an isothermal curve (PV = constant) because gamma > 1. During compression the adiabatic curve rises above the isothermal curve, since no heat escapes so pressure climbs faster. The area under the adiabatic curve is larger, so |W_adiabatic| > |W_isothermal|. Adiabatic compression needs more work. The answer is (B).

Solved Thermodynamics NEET PYQs

Try the real previous-year questions from this chapter — each with the answer and a full solution.

See all 18 Thermodynamics NEET PYQs ›
Next concept: Adiabatic ProcessKeep learning — 2 minFeeling ready? Solve the Thermodynamics NEET PYQs ›Or practice on your phone — get the free MedicNEET app ›

Frequently asked

What is the formula for work done in an isothermal process?

W = nRT ln(V2/V1) for work done by n moles of an ideal gas expanding from volume V1 to V2 at constant temperature T. It can also be written W = nRT ln(P1/P2) = 2.303 nRT log10(V2/V1).

Is work done positive or negative in isothermal expansion?

Positive. In expansion V2 > V1, so ln(V2/V1) is positive, meaning the gas does positive work on the surroundings. In compression it is negative.

What is delta U for an isothermal process?

Zero. Internal energy of an ideal gas depends only on temperature, and temperature is constant in an isothermal process, so delta U = 0. From the first law Q = delta U + W, this gives Q = W: all the heat absorbed is converted to work.

Why is the work formula different for isothermal and isobaric processes?

In an isobaric process pressure is constant so W = P delta V. In an isothermal process pressure changes as 1/V, so you must integrate P dV, which gives the natural log form W = nRT ln(V2/V1).

What is 2.303 nRT log used for?

It is the same isothermal work written with base-10 log for easy calculation: W = 2.303 nRT log10(V2/V1), because ln(x) = 2.303 log10(x). It gives an identical numerical answer.