Is Work Done on the System Positive?
Ever stared at a physics problem and wondered whether the “work” term should be plus or minus? Practically speaking, you’re not alone. On the flip side, the sign convention for work can feel like a linguistic trap—one tiny minus sign flips the whole answer. In practice, the difference between “work done by the system” and “work done on the system” decides whether you’re adding energy or taking it away. Let’s untangle the confusion once and for all.
What Is Work Done on the System
In everyday language we think of work as effort, but in thermodynamics it’s a very specific way of moving energy across a system’s boundary. When a force pushes a piston, stretches a spring, or drags a block, the system either gives up energy (doing work on the surroundings) or receives energy (work done on it) Not complicated — just consistent..
Easier said than done, but still worth knowing.
Work done on the system means the surroundings are pushing energy into the system. Picture a gas in a cylinder: if you compress the gas with a piston, you’re forcing the gas to occupy a smaller volume. The piston’s motion transfers energy to the gas—so the work term in the first‑law equation is positive Still holds up..
Conversely, if the gas expands and pushes the piston outward, the system is doing the work. In that case the work term is negative because energy leaves the system Easy to understand, harder to ignore..
That’s the core idea: sign tells you the direction of energy flow across the boundary.
The First Law in Plain English
The first law of thermodynamics is just energy conservation for a closed system:
[ \Delta U = Q - W ]
where
- (\Delta U) = change in internal energy,
- (Q) = heat added to the system,
- (W) = work done by the system.
If you prefer to think in terms of work on the system, you simply rewrite it:
[ \Delta U = Q + W_{\text{on}} ]
Here (W_{\text{on}} = -W). Positive (W_{\text{on}}) means the surroundings are doing work on the system, raising its internal energy Most people skip this — try not to..
Why It Matters
Understanding the sign convention isn’t just academic. It decides whether you’ll predict a temperature rise or a drop, whether a cycle will be efficient, and even whether a piece of equipment will survive.
- Engine design – In an internal‑combustion engine the piston’s expansion does work on the crankshaft (negative work from the gas’s perspective). Misreading the sign flips the whole efficiency calculation.
- Refrigeration – A compressor does positive work on the refrigerant, raising its pressure and temperature. Forget the sign and you’ll think the compressor cools the fluid, which is the opposite of what actually happens.
- Chemical reactors – Some reactions are endothermic because the system absorbs work (think of electrolysis). If you treat that work as negative, you’ll incorrectly label the process exothermic.
In short, the sign tells you whether the system is a net energy receiver or giver. That’s the difference between a heater and a cooler, a motor and a generator And it works..
How It Works (or How to Do It)
Let’s break down the mechanics of assigning a positive sign to work done on a system. We’ll walk through the most common scenarios and give you a toolbox of equations you can actually use The details matter here..
1. Mechanical Compression
Imagine a piston of area (A) moving a distance (dx) against an external pressure (P_{\text{ext}}). The infinitesimal work done on the gas is
[ \delta W_{\text{on}} = +P_{\text{ext}}, dV ]
where (dV = -A,dx) (negative because the volume shrinks). The key is that the pressure term stays positive; the negative volume change is already baked into the differential And that's really what it comes down to..
Step‑by‑step:
- Identify the external pressure (often atmospheric or a set value).
- Determine the change in volume (\Delta V). For compression (\Delta V < 0).
- Plug into (W_{\text{on}} = \int_{V_i}^{V_f} P_{\text{ext}}, dV). Because (dV) is negative, the integral yields a positive number.
2. Electrical Work on a Circuit
When you charge a capacitor, the power source does work on the electric field inside. The work is
[ W_{\text{on}} = \int V, dq ]
where (V) is the voltage applied and (dq) the infinitesimal charge added. Since both (V) and (dq) are positive during charging, the whole integral is positive—energy is pumped into the capacitor.
3. Surface Tension and Bubbles
Stretching a liquid surface (think blowing a soap bubble) requires work on the system. The work term looks like
[ W_{\text{on}} = \gamma \Delta A ]
(\gamma) is the surface tension, (\Delta A) the increase in surface area. Because you’re increasing area, (\Delta A > 0) and the work is positive.
4. Gravitational Work in a Closed Vessel
If you lift a sealed container filled with fluid, gravity does negative work on the system (the surroundings are doing work on the container). The work is
[ W_{\text{on}} = m g h ]
(m) is the mass of the container plus fluid, (g) the acceleration due to gravity, and (h) the height change (positive upward). Here the sign convention flips: you’re adding potential energy to the system, so it’s positive.
5. General Formula for Any Process
For any quasi‑static process where the external parameter (X) does work on the system, you can write
[ W_{\text{on}} = \int X_{\text{ext}}, dY ]
(Y) is the conjugate variable (volume for pressure, charge for voltage, area for surface tension). The rule of thumb: keep the external variable positive, let the differential carry the sign Small thing, real impact. But it adds up..
Common Mistakes / What Most People Get Wrong
-
Mixing up “by” vs. “on” – The most frequent slip is to write (W = P\Delta V) and then claim it’s always positive. Forgetting that (\Delta V) can be negative flips the sign instantly Which is the point..
-
Treating heat and work the same – Heat always adds energy to the system when (Q > 0). Work’s sign depends on direction, so you can’t just copy the heat convention It's one of those things that adds up. Surprisingly effective..
-
Ignoring external vs. internal pressure – In rapid expansions the gas pressure inside differs from the external pressure resisting the piston. Using the internal pressure for (W_{\text{on}}) gives the wrong sign and magnitude Most people skip this — try not to..
-
Assuming constant pressure – Many textbooks present (W = P\Delta V) as a catch‑all. It only works for constant external pressure. When pressure varies, you must integrate Less friction, more output..
-
Sign error in the first law – Some students write (\Delta U = Q + W) and then treat (W) as “work done on the system”. That double‑counts the sign and leads to impossible energy balances It's one of those things that adds up. Surprisingly effective..
Practical Tips / What Actually Works
-
Write the first law the way you need it. If you’re focusing on work on the system, start with (\Delta U = Q + W_{\text{on}}). That removes the mental gymnastics of swapping signs later.
-
Sketch the process. A quick diagram of piston motion, charge flow, or bubble expansion makes it obvious whether the system is gaining or losing volume, charge, or area Surprisingly effective..
-
Label signs on your differential. When you set up (\int P_{\text{ext}} dV), write “(dV) negative for compression”. That tiny note prevents a later “oops” Still holds up..
-
Check energy balance at the end. Plug your work value back into (\Delta U = Q + W_{\text{on}}). If internal energy goes down while you thought you were compressing, you’ve got a sign error Worth knowing..
-
Use consistent units. Mixing joules with calories or foot‑pounds can hide sign mistakes because you might convert only the magnitude.
-
Remember the “positive‑on, negative‑by” shortcut. If you’re ever unsure, ask: “Is the surroundings pushing the system?” If yes → positive. If the system is pushing outward → negative.
FAQ
Q1: Does “work done on the system” always increase temperature?
Not necessarily. Work adds energy, but how that energy shows up depends on the process. In an adiabatic compression of an ideal gas, temperature rises. In an isothermal compression, heat leaves the system to keep temperature constant, so the temperature doesn’t change even though work is positive Less friction, more output..
Q2: How do I handle sign conventions in chemistry textbooks that use ( \Delta H = Q_{\text{p}} + W_{\text{on}} )?
Those texts already adopt the “work on the system” convention. Just follow the equation as written; the sign of (W_{\text{on}}) will be positive for compression, negative for expansion. The key is not to flip it again when you plug numbers in.
Q3: What about non‑mechanical work, like electrical or magnetic work?
The same rule applies: if the external agent (voltage source, magnetic field) supplies energy to the system, the work term is positive. For a battery delivering current, the system (the battery) does work on the circuit, so the work on the battery is negative And it works..
Q4: In a cyclic process, does the net work on the system sum to zero?
Only if the cycle is perfectly reversible and there’s no net heat transfer. Real engines have a net positive work output, meaning the system does more work on the surroundings than it receives—so the sum of (W_{\text{on}}) over the cycle is negative.
Q5: Can work be both positive and negative in the same process?
Yes. Consider a piston that first compresses (positive work on the gas) and then expands back to its original volume (negative work). The total work is the algebraic sum of the two phases.
That’s the short version: positive work means the surroundings are pushing energy into the system. This leads to it’s a simple directional cue, but it ripples through every calculation you’ll ever do in thermodynamics, engineering, or even everyday gadgets. Keep the sign straight, watch the differentials, and you’ll avoid the classic “minus‑sign surprise” that trips up most students.
Now that you’ve got the right mental model, go ahead and tackle those physics problems with confidence. The next time you see a piston moving, you’ll instantly know whether to write a plus or a minus—no second‑guessing required. Happy calculating!
Putting the Rules to Work – A Walk‑Through Example
Let’s cement the “push‑or‑pull” intuition with a concrete problem that often appears on introductory thermodynamics exams That's the part that actually makes a difference..
Problem:
A 0.050‑kg block of copper (specific heat (c = 385\ \text{J kg}^{-1}\text{K}^{-1})) is placed in a sealed, frictionless cylinder fitted with a movable piston. The cylinder is thermally insulated (adiabatic). Initially the gas inside the cylinder is at 300 K and exerts a pressure of 1.0 atm on the piston. The piston is then pushed inward by an external force until the volume is halved.
Find:
- The final temperature of the gas.
- The work done on the gas.
- The change in internal energy of the gas.
Solution Sketch (using the “positive‑on, negative‑by” shortcut):
-
Identify the process.
- The cylinder is insulated → adiabatic ((Q = 0)).
- The piston is forced inward → compression → work on the gas is positive.
-
Write the first‑law expression in the “on” convention.
[ \Delta U = Q + W_{\text{on}} \quad\Longrightarrow\quad \Delta U = 0 + W_{\text{on}} = W_{\text{on}} . ] -
Relate work to pressure and volume change.
For a reversible adiabatic compression of an ideal gas, [ W_{\text{on}} = \int_{V_i}^{V_f} P_{\text{ext}},dV . ] Because the process is fast enough that the external pressure just matches the instantaneous gas pressure, we can use the adiabatic relation [ P V^{\gamma}= \text{constant},\qquad \gamma = \frac{C_p}{C_v}. ] For a diatomic gas (e.g., air) (\gamma \approx 1.4). The exact value isn’t crucial for the sign; it only determines the magnitude Worth keeping that in mind.. -
Calculate the work (positive).
Using the standard result for an adiabatic compression from (V_i) to (V_f): [ W_{\text{on}} = \frac{P_i V_i - P_f V_f}{\gamma - 1}. ] Since (V_f = V_i/2) and (P_f = P_i \left(\frac{V_i}{V_f}\right)^{\gamma}=P_i 2^{\gamma}), [ W_{\text{on}} = \frac{P_i V_i\bigl(1-2^{\gamma-1}\bigr)}{\gamma - 1}. ] Plugging (P_i = 1.0\ \text{atm}=1.01\times10^{5}\ \text{Pa}) and an arbitrary (V_i) (the work per mole is independent of the absolute volume), you obtain a positive number—confirming that energy has entered the gas. -
Find the temperature rise.
For an ideal gas, (\Delta U = n C_v \Delta T). Because (\Delta U = W_{\text{on}}): [ \Delta T = \frac{W_{\text{on}}}{n C_v}. ] Using (C_v = \frac{R}{\gamma-1}) and the mole count derived from (P_i V_i = nRT_i), the algebra collapses to the familiar adiabatic temperature‑volume relation: [ T_f = T_i \left(\frac{V_i}{V_f}\right)^{\gamma-1}=300\ \text{K}\times 2^{\gamma-1}. ] With (\gamma = 1.4), (2^{0.4}\approx 1.32), so (T_f \approx 396\ \text{K}) Still holds up.. -
Summarize the results.
| Quantity | Value | Sign (according to “on” convention) |
|---|---|---|
| Work on the gas (W_{\text{on}}) | (+,) (positive) | Energy entered the system |
| Change in internal energy (\Delta U) | (+,) (same magnitude as (W_{\text{on}})) | System’s energy increased |
| Final temperature (T_f) | (\approx 396\ \text{K}) | Higher than the initial 300 K |
Notice how the sign convention guided every step: because the piston pushes on the gas, we wrote a positive work term, which immediately told us that (\Delta U) must be positive and that the temperature must rise. Had we mistakenly used the “work done by the system” convention, we would have written (-W_{\text{on}}) and risked a sign error in the algebra.
A Quick Checklist for Every Thermodynamics Problem
| Situation | What to ask yourself? Think about it: | Sign of (W) (using “on” convention) |
|---|---|---|
| Gas expands against a constant external pressure | Are the surroundings pulling the gas outward? Which means | Negative (system does work on surroundings) |
| Battery discharges delivering current to a circuit | Is the external circuit receiving energy from the battery? But | Negative (battery does work on surroundings) |
| Stirring a liquid with a motor (mechanical work input) | Is the motor pushing energy into the liquid? Here's the thing — | Positive |
| A spring is compressed by an external hand | Is the hand doing work on the spring? | Positive |
| A magnet is pulled out of a coil, inducing a current that opposes the motion | Does the induced current (surroundings) push back on the magnet? |
If you can answer “yes” to the “push” question, write a plus sign; if the answer is “no” (the system is pulling), write a minus sign. This mental shortcut eliminates the need to keep track of differential signs in the algebraic derivation Worth knowing..
Why the Confusion Persists – A Brief Historical Note
The split between the “work done by the system” and “work done on the system” conventions dates back to the early 19th‑century development of thermodynamics. Joule, who famously measured the mechanical equivalent of heat, used the “by” convention because his experiments involved a gas doing work on falling weights. Day to day, later, chemists, who were more interested in heat of reaction rather than mechanical output, adopted the opposite sign to keep enthalpy changes positive for exothermic processes. Textbooks inherited both conventions, and most modern curricula simply pick one and stick with it—provided the instructor emphasizes the underlying directionality No workaround needed..
Understanding the why behind the sign (energy flow direction) is far more strong than memorizing a table of plus‑and‑minus rules. Once you internalize the “push‑or‑pull” picture, you can translate effortlessly between the two conventions:
[ W_{\text{by}} = -,W_{\text{on}} . ]
Closing Thoughts
Thermodynamics is, at its heart, a bookkeeping exercise for energy. The only thing that ever trips us up is a misplaced minus sign. By anchoring the sign to a concrete physical picture—the surroundings pushing energy into the system = positive work on the system—you eliminate that ambiguity once and for all.
You'll probably want to bookmark this section.
From the simple piston in a classroom demo to the massive turbines that power our cities, the same rule applies. Whenever you see a diagram, ask yourself who is doing the pushing. Write the work term with the appropriate sign, plug it into the first law, and the rest of the problem falls into place.
So the next time you encounter a thermodynamics question, let the “positive‑on, negative‑by” shortcut be your compass. Day to day, it will keep you oriented, save you from sign‑related headaches, and let you focus on the deeper physics that truly matters. Happy calculating, and may your energy balances always close!
Honestly, this part trips people up more than it should.