An arbitrary polynomial with coefficients in some field is said to have
distinct roots or to be
square-free if it has roots in some
extension field E\supseteq F. For instance, the polynomial has precisely roots in the
complex plane; namely and , and hence
does have distinct roots. On the other hand, the polynomial , which is the square of a non-constant polynomial
does not have distinct roots, as its degree is two, and is its only root. Every polynomial may be factored in linear factors over an
algebraic closure of the field of its coefficients. Therefore, the polynomial does not have distinct roots if and only if it is divisible by the square of a polynomial of positive degree. This is the case if and only if the
greatest common divisor of the polynomial and its
derivative is not a constant. Thus for testing if a polynomial is square-free, it is not necessary to consider explicitly any field extension nor to compute the roots. In this context, the case of irreducible polynomials requires some care. A priori, it may seem that being divisible by a square is impossible for an
irreducible polynomial, which has no non-constant divisor except itself. However, irreducibility depends on the ambient field, and a polynomial may be irreducible over and reducible over some extension of . Similarly, divisibility by a square depends on the ambient field. If an irreducible polynomial over is divisible by a square over some field extension, then (by the discussion above) the greatest common divisor of and its derivative is not constant. Note that the coefficients of belong to the same field as those of , and the greatest common divisor of two polynomials is independent of the ambient field, so the greatest common divisor of and has coefficients in . Since is irreducible in , this greatest common divisor is necessarily itself. Because the degree of is strictly less than the degree of , it follows that the derivative of is zero, which implies that the
characteristic of the field is a prime number , and may be written :f(x)= \sum_{i=0}^ka_ix^{pi}. A polynomial such as this one, whose formal derivative is zero, is said to be
inseparable. Polynomials that are not inseparable are said to be
separable. A
separable extension is an extension that may be generated by
separable elements, that is elements whose minimal polynomials are separable. ==Separable and inseparable polynomials==