Negative Work on P-V Diagrams- Thermodynamics

What Negative Work Actually Means

In thermodynamics, work done on the system is positive. Work done by the system is negative. That's the whole convention.

Most people get this backwards because it feels counterintuitive. When you compress a gas, you're doing work on it—you expect that to be "positive" somehow. But in thermodynamics, the sign depends on the direction of energy transfer, not your effort.

If the system expands and pushes against something, it's doing work on the surroundings. Energy leaves the system. That counts as negative work.

If the surroundings compress the system, energy enters. That counts as positive work.

The Integral That Makes It Official

Work in a PV diagram is defined as:

W = ∫PdV

That's it. The work done by the system during a process equals the integral of pressure with respect to volume.

When dV is positive (expansion), the integral gives a negative result. When dV is negative (compression), you get a positive result. The math enforces the sign convention automatically.

Reading Negative Work on a PV Diagram

The area under a PV curve tells you the work done. But you have to know which area and which direction.

For a clockwise cycle: the work done by the system is the area inside the loop. This work is negative because the system returns to its starting point and the net effect is work done on the system.

For a counterclockwise cycle: the work done by the system is positive. The system extracts net work from the heat input.

This is how heat engines and refrigerators work. The direction of traversal on the PV diagram determines the sign of the work.

Constant Pressure Processes

For an isobaric process, work simplifies to:

W = PΔV

At constant pressure:

Constant Volume Processes

When volume doesn't change, ΔV = 0. The work is zero. Doesn't matter how much pressure changes—there's no boundary work happening.

Isothermal Expansion

For an ideal gas expanding at constant temperature:

W = nRT ln(V₂/V₁)

Since V₂ > V₁, the logarithm is positive, but the work done by the system is negative. The system loses energy as it expands. In an isothermal process, that energy loss is compensated by heat flowing into the system to maintain temperature.

Common Misconceptions

Myth: Negative work means no work is happening.

Wrong. Negative work is still work. It just means work is being done on the system instead of by the system.

Myth: Compression always produces positive work.

Only if you're tracking work done on the gas. In many textbooks, compression work on a PV diagram appears as negative area if you're calculating work done by the system.

Myth: The sign is arbitrary.

It's consistent. The system perspective treats energy leaving as negative. This connects directly to the first law: ΔU = Q - W. If W is work done by the system, then energy leaving as work reduces internal energy.

Real Examples of Negative Work

Compression in an Internal Combustion Engine

During the compression stroke, the piston moves inward. Volume decreases. The work integral is negative if you're calculating work done by the gas (because the gas isn't doing the work—the piston is). The surroundings do positive work on the system.

Adiabatic Compression

When you compress gas adiabatically with no heat exchange, all the work done on the system goes into increasing internal energy. Temperature rises. The work is positive in the "work done on system" convention.

Expansion Cooling

A gas expanding against a load does negative work (it loses energy). If the process is adiabatic, that energy loss shows up as temperature decrease. This is how a refrigeration compressor works—compressing refrigerant takes positive work, but the expansion valve lets the refrigerant do negative work and cool down.

How To: Calculate Work from a PV Diagram

Here's the practical method:

  1. Identify the process path—is it isobaric, isothermal, adiabatic, or something else?
  2. Determine the sign of ΔV—expansion means negative work by the system
  3. Calculate the integral—use the appropriate formula for your process
  4. Check your sign convention—confirm whether you're calculating work done by or on the system

For irregular paths, break the process into segments. Calculate work for each segment. Sum them up. The total tells you the net work for that path.

Work Conventions: A Quick Comparison

Convention System Expands System Compresses First Law Form
Physics/Engineering W by system is negative W on system is positive ΔU = Q - W
Chemistry W on system is positive W by system is negative ΔU = Q + W

Most engineering textbooks use the physics convention. Most chemistry textbooks use the chemistry convention. Know which one you're using or you'll get the signs backwards every time.

The Bottom Line

Negative work on a PV diagram just means the system is having work done on it. The volume is decreasing. Energy is flowing into the system from the surroundings.

Stop overcomplicating this. The integral W = ∫PdV handles the signs automatically. Expand → negative. Compress → positive. That's all you need to remember.