Thermodynamics: Energy Transfer, Work, and the First Law

Microscopic Perspective on Thermal Energy

  • Molecular Motion and Internal Energy: At the microscopic level, the atoms and molecules that constitute a system are not stationary. They are in constant motion. The collective kinetic energy of this motion is what contributes to the system's internal energy, also known as thermal energy.

  • V_rms (Root Mean Square Velocity): One of the primary objectives in thermodynamics is to manipulate the thermal energy of molecules by either increasing or decreasing the VrmsV_{rms}.

Methods of Changing Energy in a System

Using a container (like a jar) of ideal gas molecules as an example, there are several ways to alter the energy state of the system:

  • Collective Kinetic Energy (KK): Energy can be changed by imparting a collective velocity to the container. If the container is thrown in a specific direction, every molecule gains the same directional velocity component. The kinetic energy for each molecule is defined by the classical formula:

    • K=12mv2K = \frac{1}{2}mv^2

  • Gravitational Potential Energy (UgU_g): Energy can be changed by altering the height of the system. For instance, lifting the jar increases the gravitational potential energy of the molecules:

    • Ug=mgyU_g = mgy

  • Thermodynamic Context: In thermodynamic systems, collective kinetic and potential energy (the motion or height of the whole jar) are usually disregarded. The system is typically considered to be stationary on a surface (e.g., a table), focusing strictly on thermal energy.

Energy Transfers: Work and Heat

To change the thermal energy within a system without moving the system as a whole, two types of energy transfers are used:

  • Work (WW): An energy transfer dealing with force applied through a distance. It involves moving the molecules through a distance via a force.

  • Heat (QQ): An energy transfer that occurs without mechanical force, such as placing a jar on a stove (importing energy) or in a freezer (extracting energy).

  • Transfer vs. Type: It is critical to note that work and heat are not "types" of energy, even though they are measured in Joules. They are energy transfers. They represent the mechanisms by which energy moves from one system to another (e.g., energy moving from the human body to a jar of molecules through the act of pushing it).

The First Law of Thermodynamics

  • The Fundamental Equation: The first law of thermodynamics states that the change in a system's thermal energy (ΔEthermal\Delta E_{\text{thermal}}) is equivalent to the sum of the energy transfers (work and heat).

    • ΔEthermal=Wtotal+Q\Delta E_{\text{thermal}} = W_{\text{total}} + Q

  • Definition of WtotalW_{\text{total}}: In this context, the symbol WtotalW_{\text{total}} (or sometimes WonW_{\text{on}}) specifically refers to the work done ON the gas (or on the system).

Sign Conventions for Work

In thermodynamics, the direction of energy transfer is indicated by the sign of the value:

  • Work Done ON the Gas (WonW_{\text{on}}):

    • Compression: When a gas is compressed (volume decreases), work is being done on the gas by the surroundings. This results in an energy gain for the system. Therefore, Won>0W_{\text{on}} > 0 (positive).

    • Expansion: When a gas expands (volume increases), the gas pushes against its surroundings. This is an energy loss for the system. Therefore, Won<0W_{\text{on}} < 0 (negative).

  • Work Done BY the Gas (WbyW_{\text{by}}):

    • This is defined as the work the gas performs on its surroundings (e.g., pushing a piston up). It is mathematically related to the work done on the gas by a negative sign:

    • Wby=−WonW_{\text{by}} = -W_{\text{on}}

    • In an expansion, WbyW_{\text{by}} is positive (the gas uses its energy to do work). In a compression, WbyW_{\text{by}} is negative.

    • Note: WbyW_{\text{by}} is often used when analyzing engines (e.g., car engines) where the goal is to extract work from the system.

Calculating Work: The Integral Method

Work can be derived mathematically using a piston-cylinder model filled with an ideal gas:

  • Differential Work Calculation:

    • Consider a tiny compression where the piston moves down by a differential amount dydy. The amount of work (dWdW) is given by the dot product of the external force and the displacement:

    • dW=F⋅dydW = \mathbf{F} \cdot d\mathbf{y}

    • Force Component: The magnitude of the force is derived from gas pressure (P=FAP = \frac{F}{A}, so F=PAF = PA). Since the external force is pushing down (negative y-direction), the force vector is F=−PAj\mathbf{F} = -PA\mathbf{j}.

    • Displacement Component: The displacement vector is dy=dyjd\mathbf{y} = dy\mathbf{j}. Note that dydy itself is a component with its own sign (negative for compression).

    • The Dot Product: Since j⋅j=1\mathbf{j} \cdot \mathbf{j} = 1, the differential work is:

    • dW=−PAdydW = -PA dy

    • Volume Relation: The volume of the compressed cylinder is given by the area times the height change (dV=AdydV = A dy). Substituting this into the work equation yields:

    • dW=−PdVdW = -P dV

  • Integration for Finite Changes: To find the total work for a measurable change from an initial volume (ViV_i) to a final volume (VfV_f), we integrate:

    • Won gas=−∫ViVfP(V) dVW_{\text{on gas}} = -\int_{V_{i}}^{V_{f}} P(V) \, dV

Calculating Work: The Area Method

Work can be understood graphically using a Pressure-Volume (PV) Diagram:

  • Area Under the Curve: The integral ∫P dV\int P \, dV represents the area under the process curve on a PV diagram.

  • Two-Step Calculation Rule:

    1. Determine the Sign: Inspect the process. If it is a compression (moving left on the volume axis), the sign is positive. If it is an expansion (moving right), the sign is negative.

    2. Calculate the Area: Calculate the positive geometric area under the curve (using shapes like rectangles, triangles, or the integral of a hyperbola for isothermal processes).

  • Isothermal Expansion: Represented as a hyperbola on a PV diagram. The work done on the gas is negative because the volume is increasing.

  • Isochoric Process: A constant volume process appears as a vertical line. Since there is no area under a vertical line (and dV=0dV = 0), no work is done (W=0W = 0).

  • Isobaric Process: A constant pressure process appears as a horizontal line. The area is a rectangle:

    • Won gas=−P(Vf−Vi)=P(Vi−Vf)W_{\text{on gas}} = -P(V_f - V_i) = P(V_i - V_f)

Multi-Step Process Example: Equivalence of Methods

Consider a two-part process: an Isobaric Compression (Process 1) followed by an Isochoric Pressure Increase (Process 2).

  • Integral Method Analysis:

    • Wtotal=W1+W2W_{\text{total}} = W_1 + W_2

    • For Process 1 (Isobaric): W1=−∫ViVfPi dV=−Pi(Vf−Vi)=Pi(Vi−Vf)W_1 = -\int_{V_i}^{V_f} P_i \, dV = -P_i(V_f - V_i) = P_i(V_i - V_f).

    • For Process 2 (Isochoric): The limits of integration are the same (VfV_f to VfV_f), thus W2=0W_2 = 0.

    • Result: Wtotal=Pi(Vi−Vf)W_{\text{total}} = P_i(V_i - V_f).

  • Area Method Analysis:

    • Process 1 is a compression, so the sign is positive (++).

    • The area is a rectangle with height PiP_i and width (Vi−Vf)(V_i - V_f).

    • Process 2 is isochoric, so the area is zero.

    • Result: Wtotal=Pi(Vi−Vf)W_{\text{total}} = P_i(V_i - V_f).

  • Consistency Check: In a compression, Vi>VfV_i > V_f, making (Vi−Vf)(V_i - V_f) positive. Thus, Won gasW_{\text{on gas}} is positive, which is consistent with the sign convention for energy gain.

Practical Demonstrations

  • Infrared (IR) Camera: An IR camera detects light in the infrared spectrum generated by the thermal energy (molecular motion) of a body. It is not reflecting light from external sources (like light bulbs); it captures luminescence produced by the system itself.

  • Hammer and Solid System: Striking a board with a hammer transfers energy via work (F×dF \times d). This work increases the thermal energy of the board at the point of impact, which is visible on an IR camera as a "hot spot."

  • Piston Compression: Pushing down on a plunger transfers energy from the person's hand to the gas molecules. This compression (W>0W > 0) increases the thermal energy and tempurature of the gas.