y=(5x^4 + 5^x -1)/(2x^3 +1)
More specifically is 5^x a valid term in a polynomial?
It is not.
A rational function is defined as the quotient of two polynomials functions. Like you said, 5x is not a valid term of a polynomial.
...and gb7nash answered him. Is this really something to nitpick about?
Separate names with a comma.