Problem

Source: 2020 Taiwan TST Round 1 Mock Exam 2

Tags: function, algebra, functional equation, Taiwan



Let $\mathbb{R}$ be the set of all real numbers. Find all functions $f:\mathbb{R}\to\mathbb{R}$ such that for any $x,y\in \mathbb{R}$, there holds \[f(x+f(y))+f(xy)=yf(x)+f(y)+f(f(x)).\]