The idea of a Generalized Force is a concept stemming from Lagrangian mechanics. It is a consequence of the application of Generalized coordinates to a system undergoing acceleration.
When a particle undergoes a displacement under the influence of a force F the work done by that force is given by: