Partial Fraction Expansion

## Description

We will be using Sage to expand

(1)\begin{align} \frac{x^3 - x}{x^2 + 5x + 6} \end{align}

with the `.partial_fraction()` method

## Sage Cell

#### Code

```
f(x) = (x^3 - x)/(x^2 + 5*x + 6)
f(x).partial_fraction()
```

## 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:

Secondary Tags:

A list of possible tags can be found at The WeBWorK Open Problem Library. For linear algebra tags see the Curated Courses Project.

## Related Cells

Any related cells go here. Provide a link to the page containing the information about the cell.

## Attribute

Permalink:

Author: Gregory V. Bard. *Sage for Undergraduates.* American Mathematical Society, Providence, RI, 2015. Available at http://www.gregorybard.com/Sage.html.

Date: 25 Feb 2019 21:18

Submitted by: Zane Corbiere