ApartSquareFree
ApartSquareFree[expr] rewrites a rational expression as a sum of terms whose denominators are powers of square-free polynomials.
ApartSquareFree[expr, var] treats all variables other than var as constants.
Examples
Decompose a rational expression:
ApartSquareFree[1/((x - 1)^2 (x + 1)), x]Compare with standard Apart:
ApartSquareFree[x/((x^2 - 1)^2), x]Please visit the official Wolfram Language Reference for more details.