MathDB
A functional equation

Source: 2022 Nordic Mathematical Olympiad

April 15, 2022
functional equationalgebra

Problem Statement

Find all functions f:RRf:\mathbb{R}\to\mathbb{R} such that f(f(x)f(1x))=f(x)f(f(x)f(1-x))=f(x) and f(f(x))=1f(x)f(f(x))=1-f(x), for all real xx.