๐Ÿซ Intro to Engineering

Fundamental Laws of Thermodynamics

Study smarter with Fiveable

Get study guides, practice questions, and cheatsheets for all your subjects. Join 500,000+ students with a 96% pass rate.

Get Started

Why This Matters

Thermodynamics is the foundation for nearly every engineering system you'll encounter. Whether you're designing power plants, refrigeration systems, engines, or even figuring out why your laptop gets hot, you're applying these laws. The four laws of thermodynamics establish the rules: energy conservation, entropy increase, thermal equilibrium, and absolute zero limits. Understanding them tells you why perpetual motion machines are impossible, why engines can never be 100% efficient, and how to calculate the maximum work you can extract from any system.

You'll be tested on your ability to apply these principles, not just recite them. Expect questions that ask you to identify which law governs a scenario, calculate efficiency limits, or explain why certain processes are irreversible. Know what each law means conceptually and how the related equations connect to real engineering problems.


The Core Laws: Rules Energy Must Follow

These four laws form the foundation of all thermodynamic analysis. Everything else in this guide builds on them.

Zeroth Law of Thermodynamics (Thermal Equilibrium)

This law establishes the concept of temperature as a measurable quantity. It states: if system A is in thermal equilibrium with system C, and system B is also in equilibrium with C, then A and B are in equilibrium with each other.

  • This transitive property is why thermometers work. The thermometer reaches equilibrium with your system, and its reading is meaningful because of this law.
  • It's numbered "zeroth" because it was formalized after the first and second laws but logically precedes them.

First Law of Thermodynamics (Conservation of Energy)

Energy cannot be created or destroyed. In equation form:

ฮ”U=Qโˆ’W\Delta U = Q - W

where ฮ”U\Delta U is the change in internal energy, QQ is heat added to the system, and WW is work done by the system.

  • This is your energy balance equation for any thermodynamic analysis. Every joule of energy must be accounted for.
  • The first law does not tell you which direction a process will go. It would be perfectly consistent with heat flowing spontaneously from cold to hot. That's why we need the second law.

Second Law of Thermodynamics (Entropy)

The total entropy of an isolated system never decreases:

ฮ”Stotalโ‰ฅ0\Delta S_{total} \geq 0

Entropy measures the dispersal of energy in a system. This law explains why certain processes are irreversible and why efficiency has hard limits. You can't unscramble an egg, and you can't build a 100% efficient heat engine, because some energy always becomes unavailable for useful work.

  • Spontaneous processes move toward equilibrium and increased entropy, never the reverse. This gives physical processes a preferred direction, sometimes called the "arrow of time."

Third Law of Thermodynamics (Absolute Zero)

For a perfect crystal, entropy approaches zero as temperature approaches absolute zero:

Sโ†’0ย asย Tโ†’0ย KS \rightarrow 0 \text{ as } T \rightarrow 0 \text{ K}

  • Absolute zero (0 K, or -273.15ยฐC) is unattainable. You can get closer and closer, but each successive step requires more work than the last, so you never actually reach it in a finite number of steps.
  • This law provides a reference point for entropy calculations, allowing engineers to determine absolute entropy values rather than just changes in entropy.

Compare: First Law vs. Second Law: both govern energy, but the first law tells you how much energy is conserved while the second law tells you which direction processes will go. If a question asks why a process is impossible, check the second law first.


State Functions: Measuring System Properties

A state function depends only on the current state of a system, not the path taken to get there. Pressure, temperature, volume, internal energy, enthalpy, and Gibbs free energy are all state functions. These let engineers analyze systems without tracking every intermediate step.

Enthalpy

Enthalpy represents the total heat content of a system at constant pressure:

H=U+PVH = U + PV

where UU is internal energy, PP is pressure, and VV is volume.

  • A positive ฮ”H\Delta H means the system absorbs heat (endothermic). A negative ฮ”H\Delta H means it releases heat (exothermic).
  • Since most industrial processes occur near atmospheric pressure, enthalpy is often more practical than internal energy for engineering calculations, especially for chemical reactions and phase changes.

Gibbs Free Energy

Gibbs free energy predicts whether a process will occur spontaneously at constant temperature and pressure:

G=Hโˆ’TSG = H - TS

where TT is temperature and SS is entropy.

  • ฮ”G<0\Delta G < 0: spontaneous
  • ฮ”G=0\Delta G = 0: system is at equilibrium
  • ฮ”G>0\Delta G > 0: non-spontaneous (requires energy input)

Gibbs free energy also represents the maximum useful work you can extract from a process. It's crucial for analyzing fuel cells, batteries, and chemical reactions.

Compare: Enthalpy vs. Gibbs Free Energy: enthalpy tracks heat flow, while Gibbs free energy accounts for both heat and entropy to predict spontaneity. Use ฮ”H\Delta H for energy calculations; use ฮ”G\Delta G to determine if a reaction will actually proceed.


Gas Behavior and Ideal Models

Understanding how gases respond to changes in pressure, volume, and temperature is essential for designing engines, compressors, and HVAC systems.

Ideal Gas Law

The ideal gas law combines pressure, volume, temperature, and the amount of gas into one equation:

PV=nRTPV = nRT

where nn is the number of moles and RR is the universal gas constant (8.314ย J/mol\cdotpK8.314 \text{ J/molยทK}).

  • This equation unifies Boyle's law (pressure-volume), Charles's law (volume-temperature), and Avogadro's law (volume-amount) into a single relationship.
  • It assumes gas molecules have no volume and no intermolecular forces. These assumptions hold best at high temperatures and low pressures, where molecules are far apart.
  • When real gas behavior deviates significantly from this model, engineers turn to more complex equations of state like the van der Waals equation.

Thermodynamic Processes: Paths Between States

Different constraints on a system lead to different types of processes. Recognizing these four fundamental processes helps you set up the right equations for any problem.

Isothermal Process

Constant temperature (ฮ”T=0\Delta T = 0). For an ideal gas, PV=constantPV = \text{constant}.

  • The system must exchange heat with its surroundings to keep the temperature steady.
  • Since ฮ”U=0\Delta U = 0 for an ideal gas at constant temperature, the first law simplifies to Q=WQ = W. All heat absorbed becomes work output.
  • Appears in idealized engine cycles where compression or expansion happens slowly enough to maintain thermal equilibrium with a reservoir.

Adiabatic Process

No heat exchange with surroundings (Q=0Q = 0). Governed by:

PVฮณ=constantPV^\gamma = \text{constant}

where ฮณ\gamma is the heat capacity ratio (Cp/CvC_p / C_v).

  • All energy changes come from work. Adiabatic compression heats a gas; adiabatic expansion cools it.
  • This occurs in rapid processes or well-insulated systems. Diesel engine compression and gas turbine expansion are approximately adiabatic.

Isobaric Process

Constant pressure (ฮ”P=0\Delta P = 0). Heat added goes into both increasing internal energy and doing expansion work.

  • Work is calculated simply as W=Pฮ”VW = P\Delta V. This is exactly why enthalpy is so useful for constant-pressure processes.
  • Common examples: boiling water at atmospheric pressure, many chemical reactions in open containers.

Isochoric Process

Constant volume (ฮ”V=0\Delta V = 0). Since W=Pฮ”VW = P\Delta V, no work is done.

  • All heat goes directly into changing internal energy: Q=ฮ”UQ = \Delta U. This makes calculations straightforward.
  • Occurs in rigid containers, like heating gas in a sealed tank or bomb calorimetry for measuring heat of combustion.

Compare: Isothermal vs. Adiabatic: both appear in engine cycles, but isothermal processes maintain constant temperature through heat exchange while adiabatic processes change temperature with no heat exchange. On a P-V diagram, adiabatic curves are steeper than isothermal curves.


Heat Engines and Efficiency Limits

Converting thermal energy to mechanical work is central to power generation. The second law sets fundamental limits on how efficient this conversion can be.

Carnot Cycle

The Carnot cycle defines the maximum theoretical efficiency any heat engine can achieve between two temperature reservoirs:

ฮทCarnot=1โˆ’TCTH\eta_{Carnot} = 1 - \frac{T_C}{T_H}

where both temperatures must be in Kelvin.

  • The cycle consists of four reversible processes: two isothermal steps (heat exchange with reservoirs) and two adiabatic steps (temperature change without heat exchange).
  • Efficiency depends only on the reservoir temperatures. A higher THT_H or a lower TCT_C gives better efficiency. This is why power plants use superheated steam and cold condensers.

Heat Engines and Efficiency

A heat engine converts thermal energy to mechanical work by operating between a hot reservoir (heat source) and a cold reservoir (heat sink).

  • Efficiency is defined as ฮท=WoutQin\eta = \frac{W_{out}}{Q_{in}}, the fraction of input heat converted to useful work. It's always less than 100% because of the second law.
  • Real engines fall well short of Carnot efficiency due to friction, irreversibilities, and non-ideal processes. A typical car engine achieves roughly 25-30% efficiency.

Compare: Carnot Cycle vs. Real Heat Engines: Carnot represents the theoretical maximum using perfectly reversible processes, while real engines have irreversibilities that reduce efficiency. To evaluate an engine's performance, compare its actual efficiency to the Carnot limit for the same operating temperatures.


Quick Reference Table

ConceptBest Examples
Energy ConservationFirst Law, ฮ”U=Qโˆ’W\Delta U = Q - W
Entropy & IrreversibilitySecond Law, Carnot efficiency limits
Temperature DefinitionZeroth Law, thermal equilibrium
Absolute LimitsThird Law, unattainability of 0 K
Spontaneity PredictionGibbs Free Energy (ฮ”G\Delta G)
Heat ContentEnthalpy (HH), constant-pressure processes
Gas BehaviorIdeal Gas Law (PV=nRTPV = nRT)
Process TypesIsothermal, Adiabatic, Isobaric, Isochoric
Maximum EfficiencyCarnot Cycle, ฮท=1โˆ’TC/TH\eta = 1 - T_C/T_H

Self-Check Questions

  1. A heat engine operates between reservoirs at 600 K and 300 K. What is the maximum possible efficiency, and which law determines this limit?

  2. Compare isothermal and adiabatic expansion of an ideal gas: which results in a greater temperature change, and why?

  3. You observe a process where entropy decreases locally. Does this violate the second law? Explain what must happen elsewhere.

  4. For a chemical reaction at constant temperature and pressure, which quantity (ฮ”H\Delta H or ฮ”G\Delta G) determines whether the reaction proceeds spontaneously? What's the difference between them?

  5. An engineer claims to have built a device that converts 100% of heat input into work with no waste heat. Which law(s) of thermodynamics does this violate, and why is it impossible?