# How to define a polynomial with abstract coefficients in Sage

Let $f=ax^2+b$ be a polynomial in $Q[x]$, how to define $f$ in sage?

-