Is #f(x) (x^2 - 3x - 4)/(x^2 + 1)# a polynomial?
It is not a polynomial but an algebraic expression.
A polynomial is an expression consisting of
and they involves only the operations of addition, subtraction, multiplication, and non-negative integer exponents
It is of type
and is called an algebraic expression.