Entropic forces come straight out of thermodynamics and the use of total differentials as defined in calculus.
The change in the internal energy dE of a system is defined by the equation;
dH and dV are the changes in
enthalpy and volume respectively, P is the pressure which is assumed to be constant.
dH relates to the heat content of the system while PdV is the work done by or on the system.
The enthalpy change at some temperature T can be expressed in terms of entropy change dS according to the equation;
Hence
The total differentials dU and dS can be expressed as;
Therefore;
Equating the coefficient for dV gives the equation;
Since the pressure P is simply force per unit area this final equation tells us there are two forces at work, the first term on the right hand side of the equation is the entropic force, the second term is our usual definition of a force associated with collisions.
An ideal gas which is composed of point like particles engaging in elastic collisions results in a zero second term and is completely entropic in origin.
Entropic forces saved thermodynamics as physicists would have a hard time explaining how an ideal gas would exert pressure if the mechanism was purely based on collisions.

When T=0 which is absolute zero the entropic forces vanish and thermodynamics becomes a purely classical model.
Some physicists think gravity could be an entropic force.
Entropic gravity - Wikipedia