We establish a general algebraic independence theorem for the solutions of a certain kind of functional equations. As a particular application, we prove that for any real irrational ζ, the numbers are algebraically independent, for multiplicatively independent algebraic αi with 0<|<| <1.