Polynomial functions are defined by
F(x)=a0xn+a1xn−1+a2xn−2+⋯+an−1x+an
where ai∈R, n∈W, a0≠0, ∀x∈R
And the degree of f(x) will be n.
We have
f(x)=(x+1)(x+2)(x−1)(x−2)
f(x)=x4−3x2+2
Which is a polynimal function.
Taking,
g(x)=(1+2x)(x+4x)
g(x)=(1+2x)(x+4x−1)
Since −1∉W, So it is not a polynomial.
Consider,
h(x)=x3+(ee+1)x2−(log106)x+27
we can clearly observe that all the coefficients are real numbers and powers of variable x are whole number.
Hence it is a polynomial.
Also, p(x)=5x2+x+1
Obviously not a polynimial function, since it's an exponential function.