State function in AP Physics 2

In AP Physics 2, a state function is a property of a system that depends only on the system's current state or configuration, not on the path or process used to reach that state. Entropy is the key example: ΔS between two states is the same no matter how the system gets from one to the other.

Verified for the 2027 AP Physics 2 examLast updated June 2026

What is state function?

A state function is a property that's fully determined by where a system is, not how it got there. Think of elevation on a hike. Your altitude at the summit is the same whether you took the steep trail or the long winding one. The distance you walked, though, absolutely depends on which trail you picked. State functions are like altitude. Path-dependent quantities are like distance walked.

In Unit 9, the CED calls this out specifically for entropy: entropy is a state function and therefore only depends on the current state or configuration of a system, not how the system reached that state. That means if a gas goes from state A to state B, the entropy change ΔS is locked in by the endpoints. A reversible path and an irreversible path between the same two states give the system the exact same ΔS. Pressure, volume, temperature, and internal energy work the same way. Heat and work do not, because they describe the process, not the state.

Why state function matters in AP® Physics 2

This idea lives in Topic 9.6 (Entropy and the Second Law of Thermodynamics) and directly supports learning objective 9.6.A, which asks you to describe the change in entropy for a given system over time. The state-function property is what makes entropy calculations manageable. You don't need to track every messy detail of an irreversible process; you just need the initial and final states.

It also sets up the second law correctly. The second law says total entropy of an isolated system can never decrease, and is constant only when every process is reversible. The path doesn't change the system's ΔS, but it does change what happens to the surroundings and the total entropy. Keeping those two ideas separate (state function for the system, path matters for the total) is exactly the distinction the exam tests.

How state function connects across the course

Entropy and the Second Law (Unit 9)

Entropy is the state function the CED explicitly names in Topic 9.6. Because ΔS depends only on endpoints, you can find the entropy change of an irreversible process by imagining any convenient reversible path between the same two states.

Reversible Process (Unit 9)

Reversibility is a property of the path, not the state. A reversible and an irreversible process between the same A and B give the system identical ΔS, but only the reversible one keeps total entropy (system plus surroundings) constant.

Internal Energy and the First Law (Unit 9)

Internal energy is also a state function, which is why ΔU is the same for any path between two states even though the heat Q and work W along that path can vary wildly. Q and W are the classic path-dependent counterexamples.

PV Diagrams (Unit 9)

On a PV diagram, state functions like P, V, T, U, and S are pinned to points, while heat and work depend on the curve you draw between them. The area under the curve (work) changes with the path; the endpoints don't.

Is state function on the AP® Physics 2 exam?

Multiple-choice questions love the two-paths setup. A common stem gives you a gas going from the same initial state to the same final state by a reversible process and an irreversible process, then asks which statement about entropy change is true. The answer hinges on knowing the system's ΔS is identical for both paths because entropy is a state function. Another classic asks about a cycle, where a system goes from A to B along path 1 and back to A along path 2. Since entropy is a state function, ΔS for the full cycle is zero for the system.

Watch for trap reasoning, too. One practice-style question presents a student who melts ice at 0°C then heats the water to 10°C, and compares it to heating ice from -10°C to 0°C then melting it. Those are different final states (10°C water vs 0°C water), so the state-function argument doesn't apply. The exam rewards checking that the endpoints actually match before invoking path independence. No released FRQ has used the phrase verbatim, but the concept underpins any entropy-change justification under LO 9.6.A.

State function vs Path-dependent quantities (heat and work)

A state function (entropy, internal energy, pressure, volume, temperature) depends only on the system's current state. Heat and work are path-dependent: they measure energy transferred during a process, so two different paths between the same states can involve different amounts of Q and W. Quick test: you can say a system 'has' an entropy or an internal energy, but you can't say a system 'has' a heat or 'has' a work. If a quantity only makes sense as something that happens during a process, it's not a state function.

Key things to remember about state function

  • A state function depends only on a system's current state, so its change between two states is the same for every possible path.

  • Entropy is a state function, which the CED states directly in Topic 9.6, so ΔS of the system is identical for reversible and irreversible processes connecting the same two states.

  • Heat and work are not state functions; they depend on the process, which is why different paths on a PV diagram give different Q and W but the same ΔU and ΔS.

  • For any complete cycle that returns a system to its starting state, the change in every state function (including entropy) is zero for the system.

  • Path independence only applies when the initial and final states actually match, so always check the endpoints before using the state-function argument.

  • Even though the system's ΔS is path-independent, the total entropy of system plus surroundings still increases for irreversible processes, which is what the second law constrains.

Frequently asked questions about state function

What is a state function in AP Physics 2?

A state function is a property that depends only on a system's current state or configuration, not on how the system got there. Entropy, internal energy, pressure, volume, and temperature are all state functions in Unit 9 thermodynamics.

Is heat a state function?

No. Heat (and work) depend on the specific process a system undergoes, so two different paths between the same states can transfer different amounts of heat. That's why you can't say a system 'contains' a certain amount of heat.

If entropy is a state function, why does the second law say entropy increases?

Those are two different claims. The state-function property says the system's ΔS between two states is path-independent, while the second law says the total entropy of an isolated system (system plus surroundings) never decreases and stays constant only for reversible processes.

Do reversible and irreversible processes give the same entropy change?

For the system, yes, as long as both processes connect the same initial and final states, because entropy is a state function. For the universe as a whole, no: irreversible processes increase total entropy while reversible ones keep it constant.

What's the entropy change for a complete thermodynamic cycle?

Zero for the system. If a system goes from state A to state B and back to A, it ends in its original state, and every state function (including entropy) returns to its original value.