A force is conservative if its work between two points is the same along every path (zero on every round trip), non-conservative otherwise. Weight and spring force (next section): conservative. Sliding friction is not: opposite the motion, it does on a path of length — a toll per metre, never refunded.
Examples
Example 29.4 (Two trails to the hut)
A hiker gains by a steep trail or of switchbacks. The weight charges on both; a friction force, on one, on the other. The weight refunds on the descent; friction’s bill is gone as heat, both ways.
Example 29.10 (The pendulum, honestly this time)
A pendulum bob on a wire of length is released at rest at from the vertical. The tension, perpendicular to the motion, is powerless; the weight is conservative: is conserved on the curved arc, which last year could only be checked. The bob starts up, so at the bottom .