Problem

Source: Romania National Olympiad 2022

Tags: algebra, romania



Let $a,b$ be positive integers. Prove that the equation $x^2+(a+b)^2x+4ab=1$ has rational solutions if and only if $a=b$. Mihai Opincariu