The square free kernel (or radical) of a polynomial, i.e. the product of all prime = irreducible factors (up to a constant factor) can be computed efficiently via a gcd calculation, namely
$$ {\rm rad}(f(x))\, =\, \frac{f(x)}{\gcd(f(x),f'(x))}\qquad$$
This works because taking the dervative decrements the multiplicity of each prime factor, thus taking the above quotient has the effect of cancelling out repeated factors from $\,f.\,$
(Beware that this need not work over fields of characteristic $\neq 0).$
Iterating we can efficiently compute a complete squarefree decomposition using only gcds and derivatives (no need for more expensive general factorization algorithms), e.g. see Yun's algorithm.
A typical example is Hermite's method for integrating rational functions.
Contrast this with the number (integer) case. Lacking an analog of the derivative for numbers we cannot use the same idea. It is trivial to to compute the radical and square/squarefree parts if we are given the prime factorization. Currently we do not know any better way, and it is widely suspected that there is none, i.e computing the squarefree part of an integer may prove to be equivalent to factorization.
This problem is important because one of the main tasks of computational algebraic number theory reduces to it (in deterministic polynomial time). Namely the problem of computing the ring of integers of an algebraic number field depends upon the square-free decomposition of the polynomial discriminant (when computing an integral basis). See this answer for further elaboration.
The resultant of two polynomials $p,\ q$ is the determinant of the Sylvester matrix $S_{p,q}$.
$Res(f,f'):=\det S_{f,f'}$
As you can see, though, the inherency of our exchange is fading.
– Apr 10 '15 at 17:38