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.

Details and OptionsDetails and Options

  • ApartSquareFree gives the square-free partial fraction decomposition of a rational expression.
  • ApartSquareFree[expr, Trig->True] treats trigonometric functions as rational functions of exponentials, and manipulates them accordingly.
  • ApartSquareFree automatically threads over lists in expr, as well as equations, inequalities, and logic functions.

ExamplesExamplesopen allclose all

Basic Examples (1)Basic Examples (1)

Decompose into partial fractions using square-free factorization of the denominator:

Click for copyable input

Decompose into partial fractions using full factorization of the denominator:

Click for copyable input
New in 6
New to Mathematica? Find your learning path »
Have a question? Ask support »