Apart

Apart[expr]

rewrites a rational expression as a sum of terms with minimal denominators.

Apart[expr,var]

treats all variables other than var as constants.

Details and Options

  • Apart gives the partial fraction decomposition of a rational expression.
  • Apart[expr,var] writes expr as a polynomial in var together with a sum of ratios of polynomials, where the degree in var of each numerator polynomial is less than that of the corresponding denominator polynomial.
  • Apart[expr,Trig->True] treats trigonometric functions as rational functions of exponentials, and manipulates them accordingly.
  • Apart automatically threads over lists in expr, as well as equations, inequalities, and logic functions.

Examples

open allclose all

Basic Examples  (1)

Decompose into partial fractions:

In[1]:=
Click for copyable input
Out[1]=

Scope  (3)

Options  (3)

Properties & Relations  (1)

See Also

Together  ApartSquareFree  Cancel  PolynomialQuotient  Expand

Tutorials

Introduced in 1988
(1.0)
| Updated in 2007
(6.0)