Partial Fraction Decomposition Calculator
Welcome to Omni's partial fraction decomposition calculator, where we'll take a rational expression and write it as several simpler ones. The process can prove very useful, for instance, when computing integrals: the initial function may be tricky to deal with, but the individual summands; not so much. We'll learn all the partial fraction decomposition rules (there aren't many, don't worry) and see how to do partial fraction decomposition on a nice example.
So without further ado, let's see what this partial fraction expansion is all about!
Polynomials, rational expressions, factorization
Polynomials are algebraic expressions that contain variables only in non-negative integer powers. In other words, they describe functions that consist of numbers, letters (i.e., variables), and basic arithmetic expressions. However, the variables cannot appear under a root, inside functions (e.g., trigonometric functions or logarithms), with fractional powers, etc.
A few examples of polynomials are:
-
;
-
;
-
; and
-
.
Note how there may be more than one letter in a polynomial. Nevertheless, today we'll focus only on those with a single one, just like the partial fraction decomposition calculator.
In mathematics, a quotient of two polynomials is often called a rational function or a rational expression. Needless to say, such objects are a bit more difficult to operate than simple polynomials. Just look at an example of such a monstrosity:
Luckily, there are ways to write such things in a nicer way. A sum of several rational expressions, true. But prettier ones!
However, before we see how to do partial fraction decomposition, we need to go through several math properties. The very basic one concerns factoring polynomials.
When we work with real numbers (anything from , through fractions, roots, up to numbers such as and the Euler number ), every polynomial can be decomposed into factors of degree or . In other words, however large the exponents of your polynomial, you can write the whole thing as a product of binomials and quadratic polynomials. For instance,
In fact, the quadratic factors appear (i.e., cannot be decomposed into two of order ) only when they have no real roots. If we were to move to complex numbers, we would obtain only binomials in the expansion. Either way, these factors are what appears in the denominators of the partial fraction formula.
In general, factoring polynomials of a high order is an extremely difficult problem. Feel free to check out Omni's algebra calculators section to find some useful tools to help with that, such as synthetic division calculator or the rational zeros calculator.
We've already mentioned what appears in the partial fraction formula, but we've yet to see it in detail. It's now time to study it in depth, together with the partial fraction decomposition rules that govern the whole thing.
Partial fraction decomposition rules
In the above section, we've introduced factoring polynomials. However, it's important to remember that each factor can appear multiple times. For instance,
In general, let's say we want to find the partial fraction expansion of the quotient of two polynomials, where is of a smaller degree than (if it weren't, we first need to pull the higher exponents out of the quotient; for details see the next section). Assume that factorizes as:
Then the partial fraction decomposition rules for are as follows:
-
The partial fraction expansion has summands.
-
The denominators of the quotients take the form with ranging from to . In other words, we have one quotient with , one with , one with , and so on up to .
-
The numerator of the summand with in the denominator is of degree one smaller than . To be precise, it can be either of degree if is linear or of degree if is quadratic.
All in all, the partial fraction formula we end up with looks like this:
where the polynomials are one degree smaller than .
Fair enough, the partial fraction formula does look scary when you see it in full generality. However, in applications, it all boils down to fairly simple calculations. Note how Omni's partial fraction decomposition calculator admits only polynomials of degree up to , which is already a considerable simplification. After all, it means that there may be at most three factors when rewriting , which further gives at most three summands in the partial fraction expansion.
Still, there's one more thing that this formula doesn't give: how to do partial fraction decomposition in practice? In particular, how do we find the polynomials ?
Well, let's find out, shall we?
How to do partial fraction decomposition
Let's begin with clear step-by-step instructions of what we need to do with a quotient to find its partial fraction expansion before we go into details.
- If the degree of is greater or equal to that of , pull its higher exponents out of the quotient.
- Decompose into irreducible factors of degree or .
- (Optional) Compare the factors with to see if you can reduce anything.
- Use the partial fraction formula from the above section to write what the expansion should look like. For now, use as unknown.
- Solve the equation to find the polynomials . To do so, you need to:
- Write the polynomials in the form or simply , depending on their degree (for now, and are unknown numbers),
- Multiply both sides by the denominator of the left side,
- Simplify both sides;
- On the right side, group summands that correspond to the constant factor, to , to , and so on;
- Write and solve the system of equations coming from comparing the coefficients of different powers of on both sides to find the and (check the system of equations calculator if you need help); and
- Substitute what you've found in the initial partial fraction formula.
- Celebrate with a piece of cake. You deserve it!
We'll go through it all on a nice example in the next section, but for now, let's briefly comment on the list above.
Ad.1) If the degree of is greater or equal to that of , it is always possible to find and such that:
with of degree smaller than that of . In essence, is the result of polynomial division of by , and is the non-divisible rest obtained through the process.
Ad.2) For more information on that, see the first section.
Ad.3) The simpler the expression, the easier the further calculations. For instance, why bother with if it's the same as