All the variables of a polynomial should have whole numbers as exponents.
For w+w3,the exponents of the variable w are 1, 3. Here all the exponents are whole numbers. Therefore, it is a polynomial.
In the expression 3√w+w2,exponent of w is 13,2 but 13 is not a whole number. Hence, 3√w+w2 is not a polynomial.