How to Solve First Law Numericals: Q = dU + W with Examples

Physics · Thermodynamics · NEET

To solve any first law numerical, write Q = dU + W, where Q is heat given TO the gas, dU is the change in internal energy, and W is work done BY the gas. Put in the correct signs (Q positive if heat is absorbed, W positive if the gas expands), then solve for the unknown. Memory hook: "Heat In = Energy stored (dU) + Work Out (W)."
First Law: Q = dU + WGASstores dUQ in (+)heat addedW out (+)gas expandsHeat In (Q) = Energy stored (dU) + Work Out (W)
Heat Q enters the gas (positive), some is stored as internal energy dU, and the rest leaves as work W done by the gas when it expands. This is the energy balance Q = dU + W.

Your doubts, answered

Is the formula Q = dU + W or Q = dU minus W?

For NEET, use Q = dU + W. Here W is the work done BY the gas. If you rearrange it, you get dU = Q - W, which is the same equation written differently. Both are correct. The confusion comes from chemistry, where the formula is dU = Q - W but W there means work done ON the gas. In physics (NCERT), W is work done BY the gas, so Q = dU + W. Pick the physics form and stick to it.

In Q = dU + W, is W the work done by the gas or on the gas?

W is the work done BY the gas on its surroundings. So when the gas expands, W is positive (it pushes the piston out). When the gas is compressed, W is negative (the surroundings push the piston in, so the gas does negative work). Always check: gas expands means +W, gas compressed means -W.

What sign do I give to heat when it is released by the gas?

Heat is a signed quantity. If heat is given TO the gas (absorbed), Q is positive. If heat is released or rejected BY the gas, Q is negative. So a gas that rejects 200 J of heat has Q = -200 J. Put this signed value directly into Q = dU + W.

How do I find the change in internal energy if I only know heat and work?

Rearrange the first law: dU = Q - W. Put in Q with its sign (positive if absorbed) and W with its sign (positive if the gas expands). Example: gas absorbs 500 J and does 200 J of work, so dU = 500 - 200 = 300 J. The internal energy increases by 300 J.

What changes in a first law numerical when the gas is compressed instead of expanded?

Only the sign of W changes. When the gas is compressed, work is done ON the gas, so the work done BY the gas is negative (W < 0). Then dU = Q - W becomes dU = Q - (negative) = Q + |W|, so the internal energy can rise even without heat. Everything else in the method stays the same.

⚠️ The NEET trap
Q = dU + W gives dU = Q - W, so with Q = 500 J absorbed and 200 J work, students sometimes add to get 700 J.
dU = Q - W = 500 - 200 = 300 J. Subtract the work done BY the gas, do not add it.
🧠 The word 'by the gas' means energy leaves the gas as work, so it is subtracted from Q to find dU. Do By = subtract.

Real NEET questions

2026

At a certain temperature, during a process, 500 J is absorbed by the system and 200 J of work is done by the system. The change in internal energy of the system is

A · 400 J
B · 300 J
C · 700 J
D · 500 J
Solution: By the first law, Q = dU + W, so dU = Q - W. Heat absorbed is Q = +500 J and work done BY the system is W = +200 J. Therefore dU = 500 - 200 = 300 J. The internal energy increases by 300 J. Answer (B). The common trap is adding to get 700 J.
2026

An electric heater supplies heat to a system at a rate of 100 W. If the system performs work at a rate of 75 J/s, the rate at which internal energy increases is

A · 75 W
B · 100 W
C · 125 W
D · 25 W
Solution: The first law in rate form is dQ/dt = dU/dt + dW/dt. Given dQ/dt = 100 W (heat supplied) and dW/dt = 75 J/s (work done by the system), we get dU/dt = dQ/dt - dW/dt = 100 - 75 = 25 W. Answer (D). The first law works the same when everything is 'per second'.
2018

0.1 g of water at 100 C requires 54 cal to convert into steam at 100 C at normal pressure (1.013 x 10^5 N/m^2). If the volume of steam produced is 167.1 cc, the change in internal energy is

A · 42.2 J
B · 208.7 J
C · 104.3 J
D · 84.5 J
Solution: Use dU = Q - W with W = P dV. Heat: Q = 54 cal x 4.18 J/cal = 226.8 J (absorbed, positive). Work done by expanding steam: W = P dV = (1.013 x 10^5)(167.1 x 10^-6 m^3) = 16.9 J (gas expands, positive). So dU = 226.8 - 16.9 = 209.9 J, which is about 208.7 J. Answer (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: Work Done by a Gas = Area Under the P-V DiagramKeep learning — 2 minFeeling ready? Solve the Thermodynamics NEET PYQs ›Or practice on your phone — get the free MedicNEET app ›

Frequently asked

What is the first law of thermodynamics formula for numericals?

Q = dU + W, where Q is the heat given to the gas, dU is the change in internal energy, and W is the work done by the gas. Rearranged, dU = Q - W. This is just the law of conservation of energy for a gas.

Do I use joules or calories in first law numericals?

Use joules for the final answer. If heat is given in calories, convert using 1 cal = 4.18 J (some questions use 4.2 J). Work from P dV comes out in joules if pressure is in N/m^2 and volume in m^3, so keep all units in SI.

How do I choose signs for Q and W quickly?

Q is positive when heat is absorbed by the gas and negative when heat is released. W is positive when the gas expands (does work on surroundings) and negative when the gas is compressed. Decide these two signs first, then just plug numbers in.

Why is the first law the same for every process?

Q = dU + W always holds. What changes from process to process is how much of Q goes into dU versus W. For example, in an isochoric (constant volume) process W = 0 so Q = dU, and in an isothermal process dU = 0 so Q = W. The equation itself never changes.

Can internal energy increase without any heat being added?

Yes. If a gas is compressed with Q = 0 (adiabatic), then dU = -W. Since compression makes W negative, dU becomes positive, so the internal energy and temperature rise. This is why a bicycle pump gets hot when you press it fast.