We derive an algebraic version over an algebraically closed field k with characteristic not equal 2 of Yang's Small Dimension Lemma. With its help we describe the k-valued solutions of d'Alembert's functional equation on semigroups S in terms of multiplicative functions and irreducible, 2-dimensional representations of S.