We determine the general solutions of the functional equation for ƒi: G → F (i = 1,2,3,4), where G is a 2-divisible group and F is a commutative field of characteristic different from 2. The motivation for studying this equation came from a result due to Dry gas [4] where he proved a Jordan and von Neumann type characterization theorem for quasi-inner products. Also, this equation is a generalization of the quadratic functional equation investigated by several authors in connection with inner product spaces and their generalizations. Special cases of this equation include the Cauchy equation, the Jensen equation, the Pexider equation and many more. Here, we determine the general solution of this equation without any regularity assumptions on ƒi.