🎉 75% of content is free forever — Unlock Premium from $10/mo →
CW
NEWSLIVESearch All Content
đŸ’ŧ Servicesâ„šī¸ Aboutâœ‰ī¸ ContactView Pricing Plansfrom $10

First Law for Closed Systems

Thermodynamics & Heat TransferFundamentals and LawsđŸŸĸ Free Lesson

First Law for Closed Systems

What You'll Learn

  • 1Write the closed system energy balance with correct signs
  • 2Compute boundary work for common process paths
  • 3Use cv and cp to get property changes
  • 4Solve a complete constant pressure heating problem

The first law is the accounting rule for energy in a closed system: energy entering minus energy leaving equals energy stored. Real problems require choosing the correct balance form, computing boundary work from the process path, and picking the right specific heat for the substance. This lesson derives the closed system balance, develops boundary work for constant volume, constant pressure, isothermal, and polytropic paths, introduces specific heats, and works two numerical problems you can reuse in engine, compressor, and calorimetry work.

Theory and Foundations

The Closed System Energy Balance

Fix the system as a fixed mass, so no mass crosses the boundary, and take heat into the system as positive and work done by the system as positive. The balance then reads

For a stationary device with no significant elevation or velocity change, the kinetic and potential terms drop and the balance collapses to . In rate form, power in minus power out equals the rate of energy storage, . Because heat and work are path functions while is a property change, only the difference is independent of path, which is the entire practical content of the first law. Over a cycle the property change resets, so net heat equals net work exactly.

The integrand requires the relation between and along the path, so the same end states give different work for different processes. A constant pressure expansion gives , while a rigid tank gives because everywhere.

Work for Common Process Paths

For an ideal gas held isothermal, is constant, so the integral becomes

A polytropic process follows , which covers compression and expansion of real machines with between about 1.1 and 1.4, and integration gives

The reversible adiabatic special case uses , the specific heat ratio, so no heat crosses the boundary and every joule of work shows up as internal energy change. For compression the exponent exceeds one, which makes the computed boundary work negative, meaning work is done on the gas rather than by it.

Specific Heats and Property Changes

Constant volume specific heat converts temperature change into internal energy change, and constant pressure specific heat does the same for enthalpy:

For air, and , giving

These relations hold for ideal gases in any process, reversible or not, because internal energy and enthalpy depend only on temperature there. Incompressible solids and liquids use a single specific heat, with water at , and the enthalpy of a liquid additionally picks up a pressure term, . Specific heat relations never cross a phase change, where the latent heat does the energy transfer at constant temperature.

Two checks catch most arithmetic mistakes in this area. First is the Mayer relation for an ideal gas, : air gives , and any pair of specific heats that fails this identity is simply wrong. Second is units. Pressure in kPa multiplied by volume in gives kJ with no conversion at all, so , while the same two numbers in pascals and return joules instead. Limiting cases behave as expected as well. As the polytropic exponent approaches 1 the expression divides by zero, the signal to switch to the logarithmic isothermal form, and as approaches the heat term vanishes because the process has become adiabatic.

Key Formulas

Worked Examples

ProcessPath relationBoundary work
Constant volume fixed
Constant pressure fixed
Isothermal ideal gas
Polytropic
Reversible adiabatic

Real-World Examples

  • Constant pressure heating - Heating air at from to produces of piston work, and the same heat input raises enthalpy by exactly that amount more than internal energy.
  • Otto cycle heat addition - Combustion at fixed volume does no boundary work, so the full heat release, typically to , raises internal energy and therefore temperature.
  • Adiabatic compression - Compressing air from 100 to reversibly from costs of shaft work with no heat transfer at all.
  • Cooled sealed tank - Removing from a rigid tank lowers specific internal energy by , which for air means a temperature drop of .

💡Check Signs Before Solving

If a heated gas shows a falling internal energy, the sign convention is wrong. Heat in and work out are positive in this series, and a negative computed W means work flows in.

Common Mistakes

Using boundary work in a rigid tank

Fix: Volume is fixed, so work is zero and heat equals the internal energy change.

Applying cv delta T across boiling

Fix: Specific heat relations hold only within one phase, never through a phase change.

Dropping kinetic and potential terms without checking

Fix: Keep them when velocities are high or elevation changes are large, and state the assumption when you drop them.

Key Takeaways

  • Closed system first law: heat minus work equals stored energy change, written as delta U equals Q minus W.
  • Boundary work is the integral of p dV, the area under the path on a pressure-volume diagram.
  • cv and cp turn temperature change into internal energy and enthalpy change for ideal gases in any process.
  • Over a cycle net heat equals net work because internal energy resets to its starting value.

Frequently Asked Questions

Is heat or work a property?

Neither. Both cross the boundary during a process, so only their difference equals a property change, and two paths between the same states give different and with the same .

Why is boundary work zero in a rigid tank?

Work requires a moving boundary, and a rigid tank offers no volume change to push against, so and the first law becomes .

Which specific heat applies at constant volume?

Use , because internal energy of an ideal gas depends only on temperature. At constant pressure use , and note that is larger by exactly for air, since .

Interview Questions

Q1: A gas takes in 50 kJ of heat and does 18 kJ of work. What happens internally?

The balance gives a 32 kJ rise in internal energy, and for air the temperature rise follows as 32 divided by m times cv.

Q2: How do you handle several forms of work at once?

Combine boundary, shaft, electrical, and spring work into one W term under a single sign convention, then list each contribution separately.

CW

ChatWhole Learn Editorial Team

Written by experienced data scientists, software engineers, and educators. All content is reviewed by industry professionals to ensure accuracy and relevance.

Last reviewed: 2026-09-27

—
☆☆☆☆☆
0 ratings

Rate & Feedback

Related Tutorials

Content with similar topics across other courses

Need Expert Thermodynamics & Heat Transfer Help?

Get personalized tutoring, project support, or professional consulting.

Advertisement