State Functions vs Path Functions: The Difference (with Examples)

Chemistry · Thermodynamics · NEET

A state function depends only on where you start and where you end, not on the road you take. Internal energy (U), enthalpy (H), entropy (S), temperature, pressure and volume are state functions. Heat (q) and work (w) are path functions: their values change if the route changes, even between the same two states. Memory hook: think of a hill. Your height gain (state) is fixed, but the distance you walk to climb it (path) depends on which trail you take.
State Function vs Path FunctionState A(V1, T1)State B(V2, T2)Path 1: q and w differPath 2: q and w differSame for both:ΔU, ΔH, ΔS(state fns)q, w = path
Two different paths connect the same State A and State B. The state functions (ΔU, ΔH, ΔS) are identical for both routes, but the path functions heat (q) and work (w) differ from path to path.

Your doubts, answered

What exactly is a state function?

A state function is a property whose value depends only on the current state of the system, which means its present temperature, pressure, volume and amount. It does NOT care how the system reached that state. So the change in a state function equals (final value − initial value). If you go from State A to State B by any route, the change is the same. Examples: internal energy U, enthalpy H, entropy S, Gibbs energy G, and also T, P, V.

What is a path function then?

A path function is a quantity whose value depends on the exact path taken between the start and the end. Heat (q) and work (w) are the two main path functions in NEET thermodynamics. For the same initial and final states, you can get different amounts of heat and work depending on whether the process is reversible, irreversible, fast or slow. That is why we never write Δq or Δw; heat and work are amounts exchanged during a process, not properties of a state.

Is work a state function or a path function?

Work is a PATH function. This is a very common NEET trap. Proof: for the same expansion of a gas from V1 to V2, reversible expansion gives more work than irreversible (single-step) expansion, and free expansion gives zero work. Same start, same end, different work. So work cannot be a state function. Small w, small q = path. Capital U, H, S = state.

Why is heat a path function?

Because the amount of heat exchanged changes with the route. Take a gas from the same initial to the same final state by two paths: an isothermal path exchanges heat, while an adiabatic-then-isochoric path exchanges a different amount. Heat is energy in transit during a process, so it belongs to the process (the path), not to any single state. This matters for NEET because you cannot use q as (q_final − q_initial); such a thing does not exist.

If q and w are both path functions, why is (q + w) a state function?

This is the deep idea of the First Law: ΔU = q + w. Individually q and w depend on the path, but their SUM always equals ΔU, which depends only on the two states. So the path-dependent parts cancel out. If you take a different path, q and w each change, but they change in opposite ways so that q + w stays the same. NEET loves testing that ΔU is fixed while q and w are not.

How do I quickly tell state functions from path functions in an exam?

Trick 1: If the quantity is a property of the system at one instant (you could measure it right now, like T, P, V, U, H, S, G), it is a state function. Trick 2: If the quantity only exists while something is happening (heat flowing, work being done), it is a path function. Trick 3: Symbols with capital letters and a Δ (ΔU, ΔH, ΔS, ΔG) are state functions; small q and w with no Δ are path functions.

⚠️ The NEET trap
Work and heat are properties of the system, so they must be state functions like energy.
Work (w) and heat (q) are PATH functions. Only internal energy U, enthalpy H, entropy S, Gibbs energy G, and T, P, V are state functions. The sum q + w = ΔU is a state function, but q and w alone are not.
🧠 State = capital letters (U, H, S, G). Path = small letters (q, w). NEET puts 'work' in a list of state functions to trap you.

Real NEET questions

ReNEET 2026

Two moles of an ideal gas undergo free expansion from 10 L to 100 L at 300 K. The values of ΔS(system) and ΔS(surroundings) are (R = universal gas constant):

A · ΔS(system)=0; ΔS(surr)=0
B · ΔS(system)=4.606R; ΔS(surr)=−4.606R
C · ΔS(system)=0; ΔS(surr)=4.606R
D · ΔS(system)=4.606R; ΔS(surr)=0
Solution: Entropy is a STATE function, so ΔS(system) depends only on initial and final volumes, not on the path. Even though the expansion is free (irreversible), we compute ΔS along any reversible path: ΔS(system) = nR ln(V2/V1) = 2R × 2.303 × log(100/10) = 2R × 2.303 = 4.606R. In free (Joule) expansion the gas does no work (w = 0) and exchanges no heat (q = 0), so the surroundings gain no entropy: ΔS(surr) = 0. This is a clean example of a state function (S) being calculated regardless of the actual path, while the path details (q = 0, w = 0) belong to the process. Answer: D.
NEET 2019

Under isothermal condition, a gas at 300 K expands from 0.1 L to 0.25 L against a constant external pressure of 2 bar. The work done by the gas is (Given 1 L·bar = 100 J):

A · −30 J
B · 5 kJ
C · 25 J
D · 30 J
Solution: Work is a PATH function, and here the path is irreversible expansion against a constant external pressure. w = −p(ext) × ΔV = −2 bar × (0.25 − 0.1) L = −2 × 0.15 L·bar = −0.30 L·bar = −0.30 × 100 J = −30 J. The negative sign shows the gas does work on the surroundings (expansion). Note: if the SAME gas went from 0.1 L to 0.25 L reversibly, the work would be a different number, proving work depends on the path. Answer: A.

Solved Thermodynamics NEET PYQs

Try the real previous-year questions from this chapter — each with the answer and a full solution.

See all 28 Thermodynamics NEET PYQs ›
Next concept: Isothermal, Adiabatic, Isobaric and Isochoric ProcessesKeep learning — 2 minFeeling ready? Solve the Thermodynamics NEET PYQs ›Or practice on your phone — get the free MedicNEET app ›

Frequently asked

Are U, H and S all state functions?

Yes. Internal energy (U), enthalpy (H), entropy (S) and Gibbs free energy (G) are all state functions. Their changes depend only on initial and final states. Temperature (T), pressure (P) and volume (V) are also state functions.

Is temperature a state function?

Yes. Temperature is a state function because it describes the system at a given instant. The change in temperature between two states is fixed no matter what path you take.

Why do we write ΔU but not Δq or Δw?

Because U is a state function, so ΔU = U(final) − U(initial) has meaning. Heat q and work w are path functions; they are amounts exchanged during a process, not properties of a state, so 'q_final − q_initial' has no meaning. We just write q and w.

Is enthalpy change ΔH a state function even for reactions?

Yes. ΔH depends only on reactants and products, not on how the reaction happens. This is exactly why Hess's Law works: you can add reaction steps and the total ΔH is the same no matter the route.

Does work being a path function break the First Law?

No. The First Law says ΔU = q + w. Even though q and w each depend on the path, their sum always equals ΔU, which is fixed. The path-dependence of q and w cancels out perfectly.