This question already has an answer here:

I have equations as follows $$f(f(x))=x^2+x$$ Then solve for $f(x)$. Can anyone give some hints about this question?


marked as duplicate by d80d2729a352b1366139fc119d3345, Jean-Claude Arbaut, Daniel Fischer, rogerl, Git Gud Aug 29 '14 at 14:54

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.