The physical concept of work can be mathematically described by the scalar product between the force and the displacement vectors,
ΔW=F⋅Δr=FΔrcosθ.
In the limit when Δr→0, then the displacement becomes dr and
đW=F⋅dr,
where dr has the same direction of v. Note that we use đW instead of dW due to the fact that W is not a state function. Instead, W depends on the path of the movement.
Conservative Forces and Changes in Potential Energies of a System
Whenever the work done by a force in moving an object from an initial point to a final point is independent of the path, the force is called a conservative force. In other words, the work done by a conservative force F(r) in going around a closed path L is zero:
∮LF(r)⋅dr=0.
Consider a system consisting of two objects interacting through a conservative force. Denote F2,1 to be the force on object 1 due to the interaction with object 2 and
dr2,1=dr1−dr2.
to be the relative displacement of the two objects. The change in internal potential energy of the system is defined to be the negative of the work done by the conservative force when the objects undergo a relative displacement from the initial state A to the final state B along any displacement that changes the initial state A to the final state B,
ΔUsys=−Wc=−∫ABF2,1⋅dr2,1
Our definition of potential energy only holds for conservative forces, because the work done by a conservative force does not depend on the path but only on the initial and final positions.
In one-dimensional case, with the relationship between integral and derivation we can get the conservative force from potential energy,
F2,1=−dxdU.
And in general, it should be written as a gradient,
The Principle of Conservation of Mechanical Energy
The principle of conservation of mechanical energy states that in an isolated system that is only subject to conservative forces, the mechanical energy is constant,
ΔEm=ΔKsys+ΔUsys=0.
Change of Mechanical Energy for Closed System with Internal Non-Conservative Forces
Wnc=ΔK+ΔU=ΔEm.
Change of Mechanical Energy for a Non-Closed System
ΔEsys=Wext+Q.
This is also called the first law of thermodynamics.