Problem

Source: PAMO 2023 P5

Tags: algebra



Let $a, b$ be reals with $a \neq 0$ and let $$P(x)=ax^4-4ax^3+(5a+b)x^2-4bx+b.$$Show that all roots of $P(x)$ are real and positive if and only if $a=b$.