Skip to main content

Welcome to a Grasp lesson

Create a free account to keep studying and create your own study path.

Lesson 16

State vs. Path Functions: An Illustrated Guide

Recommended resources

Hello! It's great to connect again as we continue our exploration of thermodynamics.

In our last session, we got very practical with the First Law, establishing our "energy accounting" equation, , and mastering the sign conventions. We treated internal energy () as the system's bank balance, and heat () and work () as transactions.

Today, we're going to dive deeper into a subtle but critically important idea we've touched on: the fundamental difference between the balance and the transactions. Our learning outcome is to distinguish between state functions (properties) and path functions (heat and work) using graphical and physical examples. This is one of the most foundational concepts in all of thermodynamics, and getting this right makes everything else fall into place.

The Destination vs. The Journey

Imagine you need to travel from the ground floor (State 1) to the 10th floor (State 2) of a tall building.

  • Your change in elevation is fixed. It's simply the height of the 10th floor minus the height of the ground floor. It doesn't matter if you take the speedy elevator or the long, winding staircase; your change in elevation is the same. This is a state function. It only depends on your starting and ending points.

  • The time it takes or the energy you burn is completely different. The elevator is quick and requires little personal effort. The stairs take much longer and require a lot of effort. These are path functions. They depend entirely on the specific path you choose to take between the start and end points.

Thermodynamics works the same way. Let's watch a quick video that explains this exact analogy.

State and Path functions | Thermodynamics | Chemistry | Khan Academy

This clip from Khan Academy perfectly illustrates the core idea using the building analogy. It will help you build a strong intuitive picture before we apply it to our thermodynamic system.

Watch the first 1 minute and 52 seconds of the video. Focus on the distinction between vertical displacement (state function) and time taken (path function).


State vs. Path Functions in Thermodynamics

Now, let's map this analogy directly onto our thermodynamic world.

A state function is any property that depends only on the current state of the system, not on how it got there. We also call these properties or point functions.

  • Examples: Pressure (), Temperature (), Volume (), and as we've learned, Internal Energy ().
  • The change in a state function is always just the final value minus the initial value: .

A path function is a quantity whose value depends on the specific path or process taken to get from an initial state to a final state.

  • Examples: Heat () and Work ().
  • They are not properties of the system. A system doesn't contain heat or work; it transfers them across its boundary during a process. They are energy in transit. It's meaningless to talk about ΔW (W_final - W_initial); we talk about W, the work done during a process.

Let's read a short article that formalizes these definitions.

Path Function vs Point Function

The website Thermodynamics Forum has a great, concise article that lays out these definitions clearly. It also introduces some important related concepts.

Read the first two sections ('What is a boundary phenomenon?') and the summary table ('What is the difference between path function and point function?'). This will solidify the definitions and provide a handy reference table.


The Visual Proof: P-V Diagrams

This is where the concept comes alive. Remember how we can calculate boundary work by finding the area under the curve on a P-V diagram? This gives us a perfect way to prove that work is a path function.

Consider a gas in a piston-cylinder device that we want to take from State 1 () to State 2 ().

P-V Diagram Illustrating State and Path Functions
This P-V diagram shows two states (1 and 2) connected by three different paths (A, B, and C). This visually represents the core idea that you can get from one state to another in many different ways.

Let's imagine two specific paths, similar to the ones in the diagram above:

  • Path A: First, heat the gas at constant volume () until its pressure rises to . Then, let it expand at constant pressure () until its volume reaches .
  • Path B: First, let the gas expand at constant pressure () until its volume reaches . Then, heat it at constant volume () until its pressure rises to .

The work done is the area under the curve.

  • For Path A, the work is the area under the horizontal segment at the top pressure, .
  • For Path B, the work is the area under the horizontal segment at the bottom pressure, .

Clearly, the area under Path A is larger than the area under Path B. So, .

Since we took different paths and got different amounts of work, work () must be a path function.

Now, think about the First Law: .
The change in internal energy, , is the same for both paths because it's a state function ().
Since is the same but W is different for each path, it must be true that heat () is also different for each path to keep the equation balanced.



Therefore, .

This proves that heat transfer (Q) is also a path function.

Let's watch a quick visualization of this exact process.

State and Path functions | Thermodynamics | Chemistry | Khan Academy

We'll return to the Khan Academy video, which has an excellent animated explanation of what we just discussed. Seeing the areas being shaded in makes the concept unmistakable.

Watch the segment from 4:50 to 7:28. The presenter draws two different paths on a P-V diagram and shows visually why the work done (the area under the curve) is different for each path.

Test your understanding!

A system undergoes a process from State 1 to State 2. The work done is 50 kJ and the heat transfer is 120 kJ. Now, suppose the system returns from State 2 back to State 1 along a different path. During this return trip, the work done is -30 kJ (i.e., work is done on the system). What is the heat transfer for this return process?

Show answer

This is a problem about a full cycle (State 1 State 2 State 1).

  1. Analyze the forward path (1 2):

    • We can find the change in internal energy using the First Law: . So, .
  2. Analyze the return path (2 1):

    • Internal energy is a state function. Therefore, the change in U for the return path must be the exact opposite of the forward path: .
    • We are given the work for the return path: .
    • Now, we can find the heat transfer using the First Law for this path: .
    • Rearranging for : .

Answer: The heat transfer for the return process is -100 kJ, meaning 100 kJ of heat was removed from the system. Notice that for the full cycle, , as it must be for a property. However, the net work is , and the net heat is . Net work equals net heat for a cycle.


Recap Break

Let's pause. This is a big idea.

  • Properties like P, V, T, and U are state functions. Their change depends only on the start and end points. You can say a system has a certain pressure or internal energy.
  • Heat (Q) and Work (W) are path functions. Their values depend on the process. A system doesn't have heat or work; these are energies that are transferred during a process.
  • On a P-V diagram, the area under the curve is work. Different paths have different areas, proving work is a path function.
  • Because , if W is path-dependent and ΔU is not, then Q must also be path-dependent.


A Different Physical Example: The Billiard Ball

Here's another way to think about it. Imagine a cue ball (our system) starting with 5 Joules of kinetic energy. It strikes the 8-ball and comes to a complete stop (0 Joules of final energy). The total change in the cue ball's energy is . This change is fixed because the initial and final states are fixed.

But how that energy was lost depends on the path.

State Functions and Path Functions

Let's watch this excellent example from Ben's Chem Videos. He compares the process on a smooth table versus a rough table. This provides a great physical model for state versus path functions.

Watch from 5:19 to 12:31. Notice how the work done on the 8-ball and the heat lost to friction change depending on the table surface (the 'path'), but the total change in the cue ball's energy remains exactly the same.

As the video showed:

  • Smooth Table (Path 1): Lots of energy transferred as work to the 8-ball (W = -4.5 J), very little lost as heat to the table (Q = -0.5 J).
  • Rough Table (Path 2): Little energy transferred as work (W = -2.0 J), a lot lost as heat (Q = -3.0 J).

In both cases, (using physics/engineering convention, where energy leaving is negative, so Q is negative and W_by_system is positive, but his example uses the chemistry convention ΔE = q+w where energy leaving is negative for both, so ΔE = (-0.5) + (-4.5) = -5J and ΔE = (-3.0) + (-2.0) = -5J). The important part is that the total energy change is the same (-5 J), but the values of Q and W are completely different.


A Quick Note on Mathematical Notation

Since you're comfortable with calculus, you should know that mathematicians and scientists use a special notation for this.

  • Differentials of state functions (properties) are called exact differentials and are written with a normal 'd'. Their integral is just the difference between the endpoints.

  • Differentials of path functions are called inexact differentials and are written with a 'δ' (delta). Their integral depends on the path.

You don't write . You write or to represent the work for that specific process. This notation constantly reminds us of the difference between properties and energy transfers.


Numerical Practice

Let's put this to the test with a calculation.

Problem: A gas is compressed from an initial state of to a final state of . The change in internal energy for this process is . Calculate the work done and the heat transfer for the following two different paths:

  • Path A: The pressure is held constant at 150 kPa until the volume is 0.02 m³, and then the volume is held constant. (This is a simple one-step path).
  • Path B: The volume is first decreased at constant pressure, , to an intermediate state, then pressure is increased at constant volume to the final state. Wait, this path won't work as it doesn't lead to the same final P. Let's define Path B better: The pressure varies linearly with volume, such that , and the final pressure is .

Let's simplify Path B for easier calculation.

  • Path B: The pressure is increased at constant volume () to a final pressure of . Then, the volume is decreased at constant pressure () to the final volume . Let's redefine state 2. State 2 is . State 1 is . is still kJ.

Calculate W and Q for two paths:

  • Path A: Constant pressure compression at kPa from to , then constant volume heating to kPa.
  • Path B: Constant volume heating from to , then constant pressure compression at kPa from to .
Show step-by-step answer

Path A: Constant Pressure, then Constant Volume

  1. Step 1 (Constant Pressure Compression):

    • Pressure .
    • Volume changes from to .
    • Work for this step: .
    • The negative sign means work is done on the system.
  2. Step 2 (Constant Volume Heating):

    • Volume is constant, so .
    • Work for this step: .
  3. Total Work for Path A:

    • .
  4. Heat Transfer for Path A:

    • The overall change in internal energy is given as . This is the same for ANY path between these states.
    • Using the First Law: .
    • .

Path B: Constant Volume, then Constant Pressure

  1. Step 1 (Constant Volume Heating):

    • Volume is constant at m³. .
    • Work for this step: .
  2. Step 2 (Constant Pressure Compression):

    • Pressure is constant at .
    • Volume changes from to .
    • Work for this step: .
  3. Total Work for Path B:

    • .
  4. Heat Transfer for Path B:

    • is the same: -12 kJ.
    • Using the First Law: .
    • .

Conclusion:
By taking two different paths between the same two states, we found:

  • and . The work is different.
  • and . The heat transfer is different.
  • In both cases, . The change in the property (internal energy) is the same. This numerically proves the concepts.

Conclusion

Fantastic! Today we've locked in a truly central concept. It's impossible to overstate how important this distinction is.

Key Takeaways:

  • State Functions (Properties) like P, T, V, U depend only on the state of the system. Their change is calculated as .
  • Path Functions like heat (Q) and work (W) depend on the specific process between states. They are not properties; they are energy transfers.
  • The work done during a process is the area under the curve on a P-V diagram, which visually proves its path dependence.
  • Because internal energy change () is path-independent, the First Law () requires that heat transfer (Q) must also be path-dependent.

Preview of the Next Lesson

We have now firmly established that internal energy, U, is a property that depends on the state of the system. This leads to the obvious next question: what properties of the state determine U? For an ideal gas, it turns out that internal energy depends only on its temperature.

In our next lesson, we will define the specific constants of proportionality that connect changes in energy to changes in temperature. We will introduce two new, extremely important properties: specific heat at constant volume () and specific heat at constant pressure (). These are the keys that will finally allow us to calculate changes in internal energy directly from temperature changes, unlocking a much deeper level of problem-solving.