Apologies if this question is too trivial. I am having trouble precisely defining polynomials. All of the definitions I have seen say that expressions of the form $a_nx^n+a_{n-1}x^{n-1}+\ldots+a_1x+a_0$ (standard form) are polynomials. But what about unsimplified expressions that are not of the standard form, but are equal to (can be rewritten as) an expression in standard form? Additionally, are expressions that look different but are equal to each other considered the same or different expressions?
Examples:
- $\frac{x^2+4x^2+0}{x−x+1}=5x^2$. RHS is clearly a polynomial, but the LHS?
- $2x^5+x^{10}-x^{10}+x^0-1x^0=2x^5$. RHS is a monomial. Is LHS a monomial or a sum of monomials?
A similar question is this, but none of the answers really address whether non-standard-form expressions are indeed polynomials.