Partial Fractions

## Description

Sage can calculate partial fraction decompositions.

## Sage Cell

#### Code

```
f = 1/((1+x)*(x-1))
f.partial_fraction(x)
```

## Options

#### Option

Integrating a rational function will expand it automatically

#### Code

```
f(x) = (x^3 - x)/(x^2 + 5*x + 6)
integrate(f(x), x)
```

## Tags

Primary Tags: Precalculus: Operations on polynomial and rational expressions, Single Variable Calculus: Techniques of integration.

Secondary Tags: Operations on polynomial and rational expressions: Partial fractions, Techniques of integration: Partial fractions.

## Related Cells

## Attribute

Permalink:

Author: Sage Tutorial v7.6

Date: 08 Jul 2017 08:40

Submitted by: Tom Judson