We find on a group G the solutions $${f, g:G \to \mathbb{C}}$$ of the functional equation $${f(xy) + f(y^{-1}x) = 2f(x)g(y), x, y \in G}$$ , in terms of characters, additive maps and matrix-elements of irreducible, 2-dimensional representations of G.