4. Macroscopic and Microscopic Energy & Introduction to Thermodynamic Work
Term: Spring 2026
Instructor: Mukhamad Suhermanto
Primary References:
- Moran, Shapiro, Boettner, and Bailey, Fundamentals of Engineering Thermodynamics, 8th Ed. (Moran et al. 2014)
- Carl Wassgren, Notes on Thermodynamics, Fluid Mechanics, and Gas Dynamics (Wassgren 2025)
- Claire Yu Yan, Introduction to Engineering Thermodynamics (Yan 2022)
- Waitz & Spakovszky, 16.Unified: Thermodynamics and Propulsion (Waitz and Spakovszky 2008)
Learning Objectives:
- Distinguish between macroscopic forms of energy (KE, PE) and microscopic internal energy (U).
- Derive the kinetic and gravitational potential energy expressions from first principles using Newton’s Second Law.
- State the thermodynamic definition of work and power, comparing classical and IUPAC sign conventions.
- Differentiate between exact differentials (state functions) and inexact differentials (path functions).
4.1 Forms of Energy: Macroscopic vs. Microscopic
Energy can exist in numerous forms: thermal, mechanical, kinetic, potential, electric, magnetic, chemical, and nuclear (Moran et al. 2014), (Wassgren 2025). In thermodynamics, the total energy \(E\) of a system is categorized into two domains:
- Macroscopic Energy: Forms of energy that the system possesses as a whole with respect to an outside coordinate frame of reference (kinetic and potential energy).
- Microscopic Energy: The energy associated with the molecular structure and the degree of molecular activity, collectively designated as Internal Energy (\(U\)).
The total energy \(E\) of a closed system is the sum of microscopic internal energy and macroscopic kinetic and potential energies (Moran et al. 2014):
\[ E = U + KE + PE \tag{4.1} \]
On a unit-mass basis:
\[ e = u + ke + pe = u + \frac{1}{2}\mathcal{V}^2 + gz \tag{4.2} \]
4.1.1 Components of Microscopic Internal Energy (\(U\))
- Sensible Energy: Kinetic energy of translation, rotation, and vibration of molecules, directly related to temperature.
- Latent Energy: Energy associated with the phase of a substance (binding forces between molecules in solids, liquids, and gases).
- Chemical Energy: Energy stored in the chemical bonds holding atoms together within molecules.
- Nuclear Energy: Enormous binding energies binding protons and neutrons inside atomic nuclei.
4.2 Derivation of Macroscopic Kinetic and Potential Energy
The macroscopic energy terms are derived directly from classical mechanics (Wassgren 2025), (Waitz and Spakovszky 2008).
4.2.1 Derivation of Kinetic Energy (\(\Delta KE\))
Consider a body of mass \(m\) acted upon by a net external force \(\vec{F}\). From Newton’s Second Law:
\[ \vec{F} = m \frac{d\vec{\mathcal{V}}}{dt} \tag{4.3} \]
The incremental work done by this force along a displacement \(d\vec{s} = \vec{\mathcal{V}}\,dt\) is:
\[ \delta W = \vec{F} \cdot d\vec{s} = m \frac{d\vec{\mathcal{V}}}{dt} \cdot (\vec{\mathcal{V}}\,dt) = m \vec{\mathcal{V}} \cdot d\vec{\mathcal{V}} \tag{4.4} \]
Integrating from velocity \(\mathcal{V}_1\) to \(\mathcal{V}_2\):
\[ \Delta KE = \int_1^2 m \vec{\mathcal{V}} \cdot d\vec{\mathcal{V}} = \frac{1}{2} m (\mathcal{V}_2^2 - \mathcal{V}_1^2) \tag{4.5} \]
4.2.2 Derivation of Gravitational Potential Energy (\(\Delta PE\))
The work done by gravity when moving a mass \(m\) vertically upward by \(dz\) against the gravitational force vector \(\vec{F}_g = -mg\hat{k}\) is:
\[ \delta W_{\text{gravity}} = -mg\,dz \tag{4.6} \]
The change in gravitational potential energy is defined as the negative of the work done by gravity:
\[ \Delta PE = -\int_{z_1}^{z_2} (-mg)\,dz = mg(z_2 - z_1) \tag{4.7} \]
In US Customary units, both equations must include the gravitational proportionality constant \(g_c\):
\[ KE = \frac{m \mathcal{V}^2}{2 g_c}, \quad PE = \frac{m g z}{g_c} \tag{4.8} \]
4.3 Thermodynamic Work and Power
Work is an energy interaction across the boundary of a thermodynamic system (Moran et al. 2014), (Wassgren 2025).
Figure 4.1: Joule’s
paddle-wheel experiment illustrating the irreversible conversion of
mechanical shaft work into internal thermal energy within an insulated
fluid container.
Definition: Thermodynamic Work
Work is done by a system on its surroundings if the sole effect on everything external to the system could have been the raising of a weight.
This thermodynamic definition is broader than the mechanical \(\vec{F} \cdot d\vec{s}\) definition; for example, an electric battery discharging through a resistor is performing thermodynamic work because the electricity could instead drive an ideal electric motor to raise a weight.
4.3.1 Mathematical Definition and Power
The incremental mechanical work done by force \(\vec{F}\) over displacement \(d\vec{s}\) is:
\[ \delta W = \vec{F} \cdot d\vec{s} \implies W_{12} = \int_1^2 \vec{F} \cdot d\vec{s} \tag{4.9} \]
The time rate of doing work is Power (\(\dot{W}\)):
\[ \dot{W} = \frac{\delta W}{dt} = \vec{F} \cdot \frac{d\vec{s}}{dt} = \vec{F} \cdot \vec{\mathcal{V}} \tag{4.10} \]
4.3.2 Sign Conventions: Moran & Shapiro vs. Wassgren / IUPAC
- Classical / Engineering Convention (Moran & Shapiro,
Çengel):
- Work done BY the system is positive: \(W_{\text{by}} > 0\) (e.g., turbine producing power).
- Work done ON the system is negative: \(W_{\text{by}} < 0\) (e.g., compressor consuming power).
- Directional Subscript Convention (Wassgren):
- To prevent sign confusion, Wassgren explicitly uses directional subscripts: \(W_{\text{by}} = -W_{\text{on}}\).
- In this textbook, we will consistently use \(W_{\text{by}}\) (or \(\dot{W}_{\text{by}}\)) in the First Law: \(\Delta E = Q_{\text{into}} - W_{\text{by}}\).
4.4 Exact vs. Inexact Differentials
A fundamental mathematical distinction exists between thermodynamic properties and energy transfers (Moran et al. 2014), (Yan 2022).
Key Idea: State Functions vs. Path Functions
- Thermodynamic Properties (State Functions): Depend solely on the current state, independent of the process path. Their differentials are exact (\(dE, dU, dV, dT, dP\)). Over a process, \(\int_1^2 dE = E_2 - E_1 = \Delta E\), and for any cyclic process, \(\oint dE = 0\).
- Energy Transfers (Path Functions): Depend on the specific path followed during the process. Their differentials are inexact (\(\delta W, \delta Q\)). Over a process, \(\int_1^2 \delta W = W_{12}\) (never \(W_2 - W_1\)). For a power cycle, net work \(\oint \delta W = W_{\text{net,cycle}} > 0\).
\[ \int_1^2 dE = E_2 - E_1 = \Delta E, \quad \oint dE = 0 \tag{4.11} \]
\[ \int_1^2 \delta W = W_{12}, \quad \oint \delta W = W_{\text{net,cycle}} \tag{4.12} \]
Example 4.1: Energy Changes of an Aircraft
A commercial airliner with mass \(m = 50{,}000\text{ kg}\) accelerates on a runway from rest (\(\mathcal{V}_1 = 0\)) to takeoff speed \(\mathcal{V}_2 = 250\text{ m/s}\) and climbs to a cruising altitude of \(z_2 = 10{,}000\text{ m}\). Calculate the changes in kinetic, potential, and total macroscopic energy.
Solution / Analysis
Using Eqs. (4.5) and (4.7) with \(g = 9.807\text{ m/s}^2\): \(\Delta KE = \frac{1}{2} (50000\text{ kg}) (250\text{ m/s})^2 = 1.5625 \times 10^9\text{ J} = 1562.5\text{ MJ}\). \(\Delta PE = (50000\text{ kg}) (9.807\text{ m/s}^2) (10000\text{ m}) = 4.9035 \times 10^9\text{ J} = 4903.5\text{ MJ}\). \(\Delta E_{\text{macro}} = \Delta KE + \Delta PE = 1562.5 + 4903.5 = 6466.0\text{ MJ}\).
from kilojoule.units import Quantity
# Example 4.1: Aircraft kinetic and potential energy evaluation
m_plane = Quantity(50000.0, 'kg')
V1 = Quantity(0.0, 'm/s')
V2 = Quantity(250.0, 'm/s')
z1 = Quantity(0.0, 'm')
z2 = Quantity(10000.0, 'm')
g = Quantity(9.80665, 'm/s^2')
delta_KE = (0.5 * m_plane * (V2**2 - V1**2)).to('MJ')
delta_PE = (m_plane * g * (z2 - z1)).to('MJ')
delta_E_macro = delta_KE + delta_PE
print(f"Aircraft Mass: {m_plane:~.0f}")
print(f"Delta KE: {delta_KE:~.2f}")
print(f"Delta PE: {delta_PE:~.2f}")
print(f"Delta E_macro: {delta_E_macro:~.2f}")Aircraft Mass: 50000 kg
Delta KE: 1562.50 MJ
Delta PE: 4903.32 MJ
Delta E_macro: 6465.82 MJ
from kilojoule.units import Quantity
# Quick Verification Check: Hoist work and power calculation
m_cage = Quantity(1200.0, 'kg')
g = Quantity(9.80665, 'm/s^2')
delta_z = Quantity(45.0, 'm')
time = Quantity(20.0, 's')
# Calculate lifting force, work done, and average power
F_lift = (m_cage * g).to('kN')
W_lift = (m_cage * g * delta_z).to('kJ')
P_avg = (W_lift / time).to('kW')
P_hp = P_avg.to('hp')
print(f"Lifting Force: {F_lift:~.2f}")
print(f"Total Work Done on Cage:{W_lift:~.2f}")
print(f"Average Power (kW): {P_avg:~.2f}")
print(f"Average Power (hp): {P_hp:~.2f}")Lifting Force: 11.77 kN
Total Work Done on Cage:529.56 kJ
Average Power (kW): 26.48 kW
Average Power (hp): 35.51 hp
Engineering Practice Problems (Self-Study Exercises)
Try each problem on paper first using the principles from this chapter, then expand the step-by-step solution to check your derivation.
Practice Problem 1 — Macroscopic Kinetic and Potential Energy Demand for an Uphill EV Acceleration
An electric delivery van of mass \(m = 1950\text{ kg}\) accelerates smoothly from \(\mathcal{V}_1 = 54\text{ km/h}\) to \(\mathcal{V}_2 = 108\text{ km/h}\) while climbing a highway grade of vertical rise \(\Delta z = 65\text{ m}\) in \(\Delta t = 18\text{ s}\) (\(g = 9.807\text{ m/s}^2\)). Neglecting aerodynamic drag and rolling resistance, compute: (a) the kinetic energy change \(\Delta KE\), (b) the potential energy change \(\Delta PE\), and (c) the minimum average traction motor power in \(\text{kW}\) and \(\text{hp}\).
🔍 Click to View Complete Step-by-Step Solution
Convert Speeds to SI: \(\mathcal{V}_1 = 54/3.6 = 15.0\text{ m/s}\) and \(\mathcal{V}_2 = 108/3.6 = 30.0\text{ m/s}\). Compute kinetic energy change: \[\Delta KE = \frac{1}{2} m (\mathcal{V}_2^2 - \mathcal{V}_1^2) = \frac{0.5(1950)(30.0^2 - 15.0^2)}{1000} = 658.12\text{ kJ}\]
Gravitational Potential Energy Change: \[\Delta PE = m g \Delta z = \frac{(1950)(9.807)(65)}{1000} = 1243.04\text{ kJ}\] \[\Delta E_{\text{macro}} = \Delta KE + \Delta PE = 658.12 + 1243.04 = 1901.16\text{ kJ}\]
Average Traction Power: Divide \(\Delta E_{\text{macro}}\) by \(\Delta t = 18\text{ s}\) (\(1\text{ hp} = 0.7457\text{ kW}\)): \[\dot{W}_{\text{avg}} = \frac{1901.16\text{ kJ}}{18\text{ s}} = 105.62\text{ kW} = 141.6\text{ hp}\] Final Result: \(\Delta KE = 658.12\text{ kJ}\), \(\Delta PE = 1243.04\text{ kJ}\), \(\dot{W}_{\text{avg}} = 105.62\text{ kW}\) (\(\mathbf{141.6\text{ hp}}\)).
Practice Problem 2 — Shaft Torque Power vs. Electrical Input Power on a Motor Dynamometer
An industrial permanent-magnet drive motor draws \(I = 132\text{ A}\) from a \(V = 400\text{ V}\) DC bus while driving a brake dynamometer at \(N = 2400\text{ rpm}\) against a steady reaction torque \(\tau = 185\text{ N}\cdot\text{m}\). During a continuous \(12\text{-min}\) endurance run, compute: (a) the electrical power input \(\dot{W}_{\text{elec}}\) in \(\text{kW}\), (b) the shaft mechanical power output \(\dot{W}_{\text{shaft}}\) in \(\text{kW}\) and total shaft work \(W_{\text{shaft}}\) in \(\text{MJ}\), and (c) the electromechanical efficiency \(\eta_{\text{motor}} = \dot{W}_{\text{shaft}}/\dot{W}_{\text{elec}}\).
🔍 Click to View Complete Step-by-Step Solution
Electrical Input Power: \[\dot{W}_{\text{elec}} = V I = (400\text{ V})(132\text{ A}) = 52,800\text{ W} = 52.80\text{ kW}\]
Shaft Power and Cumulative 12-Minute Work: With rotational speed \(\dot{n} = 2400/60 = 40\text{ rev/s}\): \[\dot{W}_{\text{shaft}} = 2\pi \dot{n} \tau = 2\pi (40)(185) = 46495.6\text{ W} = 46.50\text{ kW}\] \[W_{\text{shaft}} = \dot{W}_{\text{shaft}} \Delta t = (46.50\text{ kW})(12 \times 60\text{ s}) = 33476.8\text{ kJ} = 33.48\text{ MJ}\]
Drive Efficiency: \[\eta_{\text{motor}} = \frac{46.50}{52.80} = 0.8806 \; (88.06\%)\] Final Result: \(\dot{W}_{\text{elec}} = 52.80\text{ kW}\), \(\dot{W}_{\text{shaft}} = 46.50\text{ kW}\) (\(W_{\text{shaft}} = 33.48\text{ MJ}\)), \(\eta = 88.06\%\).
Practice Problem 3 — Path Dependence of Inexact Boundary Work Differential (\(\delta W\) vs. \(dV\))
Gas inside a piston-cylinder expands slowly between fixed end states \((P_1 = 400\text{ kPa},\; V_1 = 0.05\text{ m}^3)\) and \((P_2 = 120\text{ kPa},\; V_2 = 0.15\text{ m}^3)\) along three quasi-equilibrium paths:
- Path A: Constant pressure at \(400\text{ kPa}\) to \(V_2 = 0.15\text{ m}^3\), followed by constant-volume cooling to \(120\text{ kPa}\).
- Path B: Constant-volume cooling at \(0.05\text{ m}^3\) to \(120\text{ kPa}\), followed by constant-pressure expansion to \(V_2\).
- Path C: A single straight line on the \(P\)-\(V\) diagram joining state 1 directly to state 2. Compute \(\Delta V\) and the boundary work \(W_b = \int P\,dV\) along each path, demonstrating why \(V\) is a property while \(W_b\) is a path function.
🔍 Click to View Complete Step-by-Step Solution
Exact Volume Change (State Function): Regardless of path: \[\Delta V = V_2 - V_1 = 0.15 - 0.05 = 0.10\text{ m}^3\]
Evaluate \(W_b = \int_1^2 P\,dV\) Along All Three Paths: \[W_A = P_1(V_2 - V_1) + 0 = 400(0.15 - 0.05) = 40.0\text{ kJ}\] \[W_B = 0 + P_2(V_2 - V_1) = 120(0.15 - 0.05) = 12.0\text{ kJ}\] \[W_C = \frac{P_1 + P_2}{2}(V_2 - V_1) = \frac{400 + 120}{2}(0.10) = 26.0\text{ kJ}\]
Thermodynamic Significance: All three paths share identical end states (\(\Delta V = 0.10\text{ m}^3\), and hence identical \(\Delta U\)), yet yield completely different work values (\(W_A = 40.0\text{ kJ}\), \(W_B = 12.0\text{ kJ}\), \(W_C = 26.0\text{ kJ}\)), proving \(\delta W\) is an inexact differential whose integral equals the area beneath each \(P\)-\(V\) curve.
Practice Problem 4 — Rotational Kinetic Energy Dissipation into Microscopic Internal Energy
An experimental composite flywheel (\(I = 0.85\text{ kg}\cdot\text{m}^2\)) spinning at \(\omega_1 = 1800\text{ rpm}\) is braked down to \(\omega_2 = 900\text{ rpm}\) using a completely insulated copper brake caliper of mass \(m_{\text{Cu}} = 2.4\text{ kg}\) (\(c = 0.385\text{ kJ}/(\text{kg}\cdot\text{K})\)). Treating the flywheel and caliper together as an isolated system with negligible flywheel temperature rise, determine: (a) the macroscopic rotational kinetic energy released (in \(\text{kJ}\)), and (b) the temperature increase \(\Delta T_{\text{Cu}}\) of the copper brake caliper due to conversion of macroscopic energy into microscopic internal energy.
🔍 Click to View Complete Step-by-Step Solution
Convert Angular Speeds to \(\text{rad/s}\): \[\omega_1 = \frac{2\pi(1800)}{60} = 188.50\text{ rad/s}, \qquad \omega_2 = \frac{2\pi(900)}{60} = 94.25\text{ rad/s}\]
Rotational Kinetic Energy Released: \[|\Delta KE_{\text{rot}}| = \frac{1}{2} I (\omega_1^2 - \omega_2^2) = \frac{0.5(0.85)(188.50^2 - 94.25^2)}{1000} = 11.325\text{ kJ}\]
Conversion to Microscopic Internal Energy: For the adiabatic isolated system (\(Q = 0, W = 0\)), \(\Delta KE_{\text{rot}} + \Delta U_{\text{Cu}} = 0\), giving \(m_{\text{Cu}} c \Delta T_{\text{Cu}} = |\Delta KE_{\text{rot}}|\): \[\Delta T_{\text{Cu}} = \frac{11.325}{(2.4)(0.385)} = 12.26\text{ K} \; (12.26^\circ\text{C})\] Final Result: \(KE_{\text{released}} = 11.325\text{ kJ}\), \(\Delta T_{\text{Cu}} = 12.26\text{ K}\).
Summary & Key Takeaways
- Total energy \(E = U + KE + PE\) combines microscopic internal energy with macroscopic kinetic and potential energies.
- Kinetic energy \(\Delta KE = \frac{1}{2}m(\mathcal{V}_2^2 - \mathcal{V}_1^2)\) and potential energy \(\Delta PE = mg(z_2 - z_1)\) are derived from Newton’s Second Law.
- Work is done by a system if the sole effect on the surroundings could be the raising of a weight; power \(\dot{W} = \vec{F} \cdot \vec{\mathcal{V}}\) is the rate of work.
- Thermodynamic properties are state functions with exact differentials (\(dE, dU\)); heat and work are path functions with inexact differentials (\(\delta Q, \delta W\)).
References, Suggested Reading & Video Lectures
- Moran, Shapiro, Boettner, and Bailey, Fundamentals of Engineering Thermodynamics, 8th Ed. (Moran et al. 2014), Sections 2.1–2.2.2.
- Carl Wassgren, Notes on Thermodynamics, Fluid Mechanics, and Gas Dynamics (Wassgren 2025), Chapters 3.2.1–3.2.2.
- Claire Yu Yan, Introduction to Engineering Thermodynamics (Yan 2022), Chapters 4.1, 4.3.
- Waitz & Spakovszky, 16.Unified: Thermodynamics and Propulsion (Waitz and Spakovszky 2008), Chapter 1.3.
- YouTube Video Lecture: Prof. Carl Wassgren, Introduction to the
1st Law and Work (
Fr9oeb4riGc) (Wassgren 2021).