 The vector f represents the generalized forces and the scalar "V"(q) represents the potential energy, both of which are functions of the generalized coordinates q.If "M" constraints are present, the coordinates must also satisfy "M" time-independent algebraic equations

where the index "j" runs from 1 to "M".For brevity, these functions "g""i" are grouped into an "M"-dimensional vector g below.