Problem

Source: 2022 Thailand MO Day 1 P5

Tags: function, functional equation, geometry, analytic geometry



Determine all functions $f:\mathbb{R}\times\mathbb{R}\to\mathbb{R}$ that satisfies the equation $$f\left(\frac{x+y+z}{3},\frac{a+b+c}{3}\right)=f(x,a)f(y,b)f(z,c)$$for any real numbers $x,y,z,a,b,c$ such that $az+bx+cy\neq ay+bz+cx$.