Problem

Source: Brazilian Mathematical Olympiad 2024, Level 3, Problem 5

Tags: functional equation, real number, algebra



Let \( \mathbb{R} \) be the set of real numbers. Determine all functions \( f: \mathbb{R} \to \mathbb{R} \) such that, for any real numbers \( x \) and \( y \), \[ f(x^2 y - y) = f(x)^2 f(y) + f(x)^2 - 1. \]