HOME

TheInfoList



OR:

In
algebra Algebra () is one of the broad areas of mathematics. Roughly speaking, algebra is the study of mathematical symbols and the rules for manipulating these symbols in formulas; it is a unifying thread of almost all of mathematics. Elementary ...
, the partial fraction decomposition or partial fraction expansion of a
rational fraction In algebra, an algebraic fraction is a fraction whose numerator and denominator are algebraic expressions. Two examples of algebraic fractions are \frac and \frac. Algebraic fractions are subject to the same laws as arithmetic fractions. A rationa ...
(that is, a fraction such that the numerator and the denominator are both
polynomial In mathematics, a polynomial is an expression consisting of indeterminates (also called variables) and coefficients, that involves only the operations of addition, subtraction, multiplication, and positive-integer powers of variables. An example ...
s) is an operation that consists of expressing the fraction as a sum of a polynomial (possibly zero) and one or several fractions with a simpler denominator. The importance of the partial fraction decomposition lies in the fact that it provides
algorithm In mathematics and computer science, an algorithm () is a finite sequence of rigorous instructions, typically used to solve a class of specific Computational problem, problems or to perform a computation. Algorithms are used as specificat ...
s for various computations with rational functions, including the explicit computation of
antiderivative In calculus, an antiderivative, inverse derivative, primitive function, primitive integral or indefinite integral of a function is a differentiable function whose derivative is equal to the original function . This can be stated symbolicall ...
s, Taylor series expansions, inverse Z-transforms, and
inverse Laplace transform In mathematics, the inverse Laplace transform of a function ''F''(''s'') is the piecewise-continuous and exponentially-restricted real function ''f''(''t'') which has the property: :\mathcal\(s) = \mathcal\(s) = F(s), where \mathcal denotes the ...
s. The concept was discovered independently in 1702 by both
Johann Bernoulli Johann Bernoulli (also known as Jean or John; – 1 January 1748) was a Swiss mathematician and was one of the many prominent mathematicians in the Bernoulli family. He is known for his contributions to infinitesimal calculus and educating Le ...
and
Gottfried Leibniz Gottfried Wilhelm (von) Leibniz . ( – 14 November 1716) was a German polymath active as a mathematician, philosopher, scientist and diplomat. He is one of the most prominent figures in both the history of philosophy and the history of mathem ...
. In symbols, the ''partial fraction decomposition'' of a rational fraction of the form \frac, where and are polynomials, is its expression as \frac=p(x) + \sum_j \frac where is a polynomial, and, for each , the
denominator A fraction (from la, fractus, "broken") represents a part of a whole or, more generally, any number of equal parts. When spoken in everyday English, a fraction describes how many parts of a certain size there are, for example, one-half, eight ...
is a
power Power most often refers to: * Power (physics), meaning "rate of doing work" ** Engine power, the power put out by an engine ** Electric power * Power (social and political), the ability to influence people or events ** Abusive power Power may a ...
of an
irreducible polynomial In mathematics, an irreducible polynomial is, roughly speaking, a polynomial that cannot be factored into the product of two non-constant polynomials. The property of irreducibility depends on the nature of the coefficients that are accepted f ...
(that is not factorable into polynomials of positive degrees), and the
numerator A fraction (from la, fractus, "broken") represents a part of a whole or, more generally, any number of equal parts. When spoken in everyday English, a fraction describes how many parts of a certain size there are, for example, one-half, eight ...
is a polynomial of a smaller degree than the degree of this irreducible polynomial. When explicit computation is involved, a coarser decomposition is often preferred, which consists of replacing "irreducible polynomial" by "
square-free polynomial In mathematics, a square-free polynomial is a polynomial defined over a field (or more generally, an integral domain) that does not have as a divisor any square of a non-constant polynomial. A univariate polynomial is square free if and only if i ...
" in the description of the outcome. This allows replacing
polynomial factorization In mathematics and computer algebra, factorization of polynomials or polynomial factorization expresses a polynomial with coefficients in a given field or in the integers as the product of irreducible factors with coefficients in the same dom ...
by the much easier-to-compute
square-free factorization In mathematics, a square-free polynomial is a polynomial defined over a field (or more generally, an integral domain) that does not have as a divisor any square of a non-constant polynomial. A univariate polynomial is square free if and only if i ...
. This is sufficient for most applications, and avoids introducing irrational coefficients when the coefficients of the input polynomials are
integer An integer is the number zero (), a positive natural number (, , , etc.) or a negative integer with a minus sign ( −1, −2, −3, etc.). The negative numbers are the additive inverses of the corresponding positive numbers. In the languag ...
s or
rational number In mathematics, a rational number is a number that can be expressed as the quotient or fraction of two integers, a numerator and a non-zero denominator . For example, is a rational number, as is every integer (e.g. ). The set of all ration ...
s.


Basic principles

Let R(x) = \frac FG be a
rational fraction In algebra, an algebraic fraction is a fraction whose numerator and denominator are algebraic expressions. Two examples of algebraic fractions are \frac and \frac. Algebraic fractions are subject to the same laws as arithmetic fractions. A rationa ...
, where and are
univariate polynomial In mathematics, a polynomial is an expression consisting of indeterminates (also called variables) and coefficients, that involves only the operations of addition, subtraction, multiplication, and positive-integer powers of variables. An ex ...
s in the indeterminate over a field. The existence of the partial fraction can be proved by applying inductively the following reduction steps.


Polynomial part

There exist two polynomials and such that \frac FG=E+\fracG, and \deg F_1 <\deg G, where \deg P denotes the
degree Degree may refer to: As a unit of measurement * Degree (angle), a unit of angle measurement ** Degree of geographical latitude ** Degree of geographical longitude * Degree symbol (°), a notation used in science, engineering, and mathematics ...
of the polynomial . This results immediately from the
Euclidean division In arithmetic, Euclidean division – or division with remainder – is the process of dividing one integer (the dividend) by another (the divisor), in a way that produces an integer quotient and a natural number remainder strictly smaller than ...
of by , which asserts the existence of and such that F = EG + F_1 and \deg F_1 < \deg G. This allows supposing in the next steps that \deg F <\deg G.


Factors of the denominator

If \deg F < \deg G, and G = G_1 G_2, where and are coprime polynomials, then there exist polynomials F_1 and F_2 such that \frac FG=\frac+\frac, and \deg F_1 < \deg G_1\quad\text\quad\deg F_2 < \deg G_2. This can be proved as follows.
Bézout's identity In mathematics, Bézout's identity (also called Bézout's lemma), named after Étienne Bézout, is the following theorem: Here the greatest common divisor of and is taken to be . The integers and are called Bézout coefficients for ; they ...
asserts the existence of polynomials and such that CG_1 + DG_2 = 1 (by hypothesis, is a
greatest common divisor In mathematics, the greatest common divisor (GCD) of two or more integers, which are not all zero, is the largest positive integer that divides each of the integers. For two integers ''x'', ''y'', the greatest common divisor of ''x'' and ''y'' is ...
of and ). Let DF=G_1Q+F_1 with \deg F_1 < \deg G_1 be the
Euclidean division In arithmetic, Euclidean division – or division with remainder – is the process of dividing one integer (the dividend) by another (the divisor), in a way that produces an integer quotient and a natural number remainder strictly smaller than ...
of by G_1. Setting F_2=CF+QG_2, one gets \begin \frac FG&=\frac =\frac+\frac\\ &=\frac+\frac\\ &=\frac+\frac. \end It remains to show that \deg F_2 < \deg G_2. By reducing the last sum of fractions to a common denominator, one gets F=F_2G_1+F_1G_2, and thus \begin \deg F_2 &=\deg(F-F_1G_2)-\deg G_1 \le \max(\deg F,\deg (F_1G_2))-\deg G_1\\ &< \max(\deg G,\deg(G_1G_2))-\deg G_1= \deg G_2 \end


Powers in the denominator

Using the preceding decomposition inductively one gets fractions of the form \frac F , with \deg F < \deg G^k= k\deg G, where is an
irreducible polynomial In mathematics, an irreducible polynomial is, roughly speaking, a polynomial that cannot be factored into the product of two non-constant polynomials. The property of irreducibility depends on the nature of the coefficients that are accepted f ...
. If , one can decompose further, by using that an irreducible polynomial is a
square-free polynomial In mathematics, a square-free polynomial is a polynomial defined over a field (or more generally, an integral domain) that does not have as a divisor any square of a non-constant polynomial. A univariate polynomial is square free if and only if i ...
, that is, 1 is a
greatest common divisor In mathematics, the greatest common divisor (GCD) of two or more integers, which are not all zero, is the largest positive integer that divides each of the integers. For two integers ''x'', ''y'', the greatest common divisor of ''x'' and ''y'' is ...
of the polynomial and its
derivative In mathematics, the derivative of a function of a real variable measures the sensitivity to change of the function value (output value) with respect to a change in its argument (input value). Derivatives are a fundamental tool of calculus. ...
. If G' is the derivative of ,
Bézout's identity In mathematics, Bézout's identity (also called Bézout's lemma), named after Étienne Bézout, is the following theorem: Here the greatest common divisor of and is taken to be . The integers and are called Bézout coefficients for ; they ...
provides polynomials and such that CG + DG' = 1 and thus F=FCG+FDG'. Euclidean division of FDG' by G gives polynomials H_k and Q such that FDG' = QG + H_k and \deg H_k < \deg G. Setting F_=FC+Q, one gets \frac F = \frac+\frac, with \deg H_k <\deg G. Iterating this process with \frac in place of \frac F leads eventually to the following theorem.


Statement

The uniqueness can be proved as follows. Let . All together, and the have coefficients. The shape of the decomposition defines a
linear map In mathematics, and more specifically in linear algebra, a linear map (also called a linear mapping, linear transformation, vector space homomorphism, or in some contexts linear function) is a mapping V \to W between two vector spaces that pr ...
from coefficient vectors to polynomials of degree less than . The existence proof means that this map is surjective. As the two
vector space In mathematics and physics, a vector space (also called a linear space) is a set whose elements, often called ''vectors'', may be added together and multiplied ("scaled") by numbers called '' scalars''. Scalars are often real numbers, but can ...
s have the same dimension, the map is also injective, which means uniqueness of the decomposition. By the way, this proof induces an algorithm for computing the decomposition through
linear algebra Linear algebra is the branch of mathematics concerning linear equations such as: :a_1x_1+\cdots +a_nx_n=b, linear maps such as: :(x_1, \ldots, x_n) \mapsto a_1x_1+\cdots +a_nx_n, and their representations in vector spaces and through matrices ...
. If is field of
complex number In mathematics, a complex number is an element of a number system that extends the real numbers with a specific element denoted , called the imaginary unit and satisfying the equation i^= -1; every complex number can be expressed in the fo ...
s, the
fundamental theorem of algebra The fundamental theorem of algebra, also known as d'Alembert's theorem, or the d'Alembert–Gauss theorem, states that every non- constant single-variable polynomial with complex coefficients has at least one complex root. This includes polynomia ...
implies that all have degree one, and all numerators a_ are constants. When is the field of
real number In mathematics, a real number is a number that can be used to measure a ''continuous'' one-dimensional quantity such as a distance, duration or temperature. Here, ''continuous'' means that values can have arbitrarily small variations. Every ...
s, some of the may be quadratic, so, in the partial fraction decomposition, quotients of linear polynomials by powers of quadratic polynomials may also occur. In the preceding theorem, one may replace "distinct irreducible polynomials" by "
pairwise coprime In mathematics, two integers and are coprime, relatively prime or mutually prime if the only positive integer that is a divisor of both of them is 1. Consequently, any prime number that divides does not divide , and vice versa. This is equivale ...
polynomials that are coprime with their derivative". For example, the may be the factors of the
square-free factorization In mathematics, a square-free polynomial is a polynomial defined over a field (or more generally, an integral domain) that does not have as a divisor any square of a non-constant polynomial. A univariate polynomial is square free if and only if i ...
of . When is the field of
rational number In mathematics, a rational number is a number that can be expressed as the quotient or fraction of two integers, a numerator and a non-zero denominator . For example, is a rational number, as is every integer (e.g. ). The set of all ration ...
s, as it is typically the case in computer algebra, this allows to replace factorization by
greatest common divisor In mathematics, the greatest common divisor (GCD) of two or more integers, which are not all zero, is the largest positive integer that divides each of the integers. For two integers ''x'', ''y'', the greatest common divisor of ''x'' and ''y'' is ...
computation for computing a partial fraction decomposition.


Application to symbolic integration

For the purpose of symbolic integration, the preceding result may be refined into This reduces the computation of the
antiderivative In calculus, an antiderivative, inverse derivative, primitive function, primitive integral or indefinite integral of a function is a differentiable function whose derivative is equal to the original function . This can be stated symbolicall ...
of a rational function to the integration of the last sum, which is called the ''logarithmic part'', because its antiderivative is a linear combination of logarithms. There are various methods to compute decomposition in the Theorem. One simple way is called
Hermite Charles Hermite () FRS FRSE MIAS (24 December 1822 – 14 January 1901) was a French mathematician who did research concerning number theory, quadratic forms, invariant theory, orthogonal polynomials, elliptic functions, and algebra. Hermi ...
's method. First, ''b'' is immediately computed by Euclidean division of ''f'' by ''g'', reducing to the case where deg(''f'') < deg(''g''). Next, one knows deg(''c''''ij'') < deg(''p''''i''), so one may write each ''cij'' as a polynomial with unknown coefficients. Reducing the sum of fractions in the Theorem to a common denominator, and equating the coefficients of each power of ''x'' in the two numerators, one gets a system of linear equations which can be solved to obtain the desired (unique) values for the unknown coefficients.


Procedure

Given two polynomials P(x) and Q(x) = (x-\alpha_1)(x-\alpha_2) \cdots (x-\alpha_n), where the ''α''''i'' are distinct constants and , explicit expressions for partial fractions can be obtained by supposing that \frac = \frac + \frac + \cdots + \frac and solving for the ''c''''i'' constants, by substitution, by
equating the coefficients In mathematics, the method of equating the coefficients is a way of solving a functional equation of two expressions such as polynomials for a number of unknown parameters. It relies on the fact that two expressions are identical precisely when cor ...
of terms involving the powers of ''x'', or otherwise. (This is a variant of the
method of undetermined coefficients In mathematics, the method of undetermined coefficients is an approach to finding a particular solution to certain nonhomogeneous ordinary differential equations and recurrence relations. It is closely related to the annihilator method, but inste ...
. After both sides of the equation are multiplied by Q(x), one side of the equation is a specific polynomial, and the other side is a polynomial with undetermined coefficients. The equality is possible only when the coefficients of like powers of ''x'' are equal. This yields n equations in n unknowns, the ck.) A more direct computation, which is strongly related to
Lagrange interpolation In numerical analysis, the Lagrange interpolating polynomial is the unique polynomial of lowest degree that interpolates a given set of data. Given a data set of coordinate pairs (x_j, y_j) with 0 \leq j \leq k, the x_j are called ''nodes'' an ...
, consists of writing \frac = \sum_^n \frac\frac where Q' is the derivative of the polynomial Q. The coefficients of \tfrac are called the residues of ''f/g''. This approach does not account for several other cases, but can be modified accordingly: * If \deg P \geq \deg Q, then it is necessary to perform the
Euclidean division In arithmetic, Euclidean division – or division with remainder – is the process of dividing one integer (the dividend) by another (the divisor), in a way that produces an integer quotient and a natural number remainder strictly smaller than ...
of ''P'' by ''Q'', using
polynomial long division In algebra, polynomial long division is an algorithm for dividing a polynomial by another polynomial of the same or lower degree, a generalized version of the familiar arithmetic technique called long division. It can be done easily by hand, becau ...
, giving with . Dividing by ''Q''(''x'') this gives \frac = E(x) + \frac, and then seek partial fractions for the remainder fraction (which by definition satisfies ). * If ''Q''(''x'') contains factors which are irreducible over the given field, then the numerator ''N''(''x'') of each partial fraction with such a factor ''F''(''x'') in the denominator must be sought as a polynomial with , rather than as a constant. For example, take the following decomposition over R: \frac = \frac + \frac + \frac. * Suppose and , that is is a root of of
multiplicity Multiplicity may refer to: In science and the humanities * Multiplicity (mathematics), the number of times an element is repeated in a multiset * Multiplicity (philosophy), a philosophical concept * Multiplicity (psychology), having or using mult ...
. In the partial fraction decomposition, the first powers of will occur as denominators of the partial fractions (possibly with a zero numerator). For example, if the partial fraction decomposition has the form \frac = \frac = \frac + \frac + \cdots + \frac.


Illustration

In an example application of this procedure, can be decomposed in the form \frac = \frac + \frac.
Clearing denominators In mathematics, the method of clearing denominators, also called clearing fractions, is a technique for simplifying an equation equating two expressions that each are a sum of rational expressions – which includes simple fractions. Example Co ...
shows that . Expanding and equating the coefficients of powers of gives Solving this system of linear equations for and yields . Hence, \frac = \frac + \frac.


Residue method

Over the complex numbers, suppose ''f''(''x'') is a rational proper fraction, and can be decomposed into f(x) = \sum_i \left( \frac + \frac + \cdots + \frac \right). Let g_(x) = (x - x_i)^f(x), then according to the uniqueness of Laurent series, ''a''''ij'' is the coefficient of the term in the Laurent expansion of ''g''''ij''(''x'') about the point ''x''''i'', i.e., its
residue Residue may refer to: Chemistry and biology * An amino acid, within a peptide chain * Crop residue, materials left after agricultural processes * Pesticide residue, refers to the pesticides that may remain on or in food after they are applied ...
a_ = \operatorname(g_,x_i). This is given directly by the formula a_ = \frac 1 \lim_\frac \left((x-x_i)^ f(x)\right), or in the special case when ''x''''i'' is a simple root, a_=\frac, when f(x)=\frac.


Over the reals

Partial fractions are used in real-variable
integral calculus In mathematics, an integral assigns numbers to Function (mathematics), functions in a way that describes Displacement (geometry), displacement, area, volume, and other concepts that arise by combining infinitesimal data. The process of finding ...
to find real-valued
antiderivative In calculus, an antiderivative, inverse derivative, primitive function, primitive integral or indefinite integral of a function is a differentiable function whose derivative is equal to the original function . This can be stated symbolicall ...
s of rational functions. Partial fraction decomposition of real rational functions is also used to find their
Inverse Laplace transform In mathematics, the inverse Laplace transform of a function ''F''(''s'') is the piecewise-continuous and exponentially-restricted real function ''f''(''t'') which has the property: :\mathcal\(s) = \mathcal\(s) = F(s), where \mathcal denotes the ...
s. For applications of partial fraction decomposition over the reals, see * Application to symbolic integration, above *
Partial fractions in Laplace transforms In mathematics, the Laplace transform, named after its discoverer Pierre-Simon Laplace (), is an integral transform that converts a Function (mathematics), function of a Real number, real Variable (mathematics), variable (usually t, in the ''time ...


General result

Let ''f''(''x'') be any rational function over the
real number In mathematics, a real number is a number that can be used to measure a ''continuous'' one-dimensional quantity such as a distance, duration or temperature. Here, ''continuous'' means that values can have arbitrarily small variations. Every ...
s. In other words, suppose there exist real polynomials functions ''p''(''x'') and ''q''(''x'') ≠ 0, such that f(x) = \frac By dividing both the numerator and the denominator by the leading coefficient of ''q''(''x''), we may assume
without loss of generality ''Without loss of generality'' (often abbreviated to WOLOG, WLOG or w.l.o.g.; less commonly stated as ''without any loss of generality'' or ''with no loss of generality'') is a frequently used expression in mathematics. The term is used to indicat ...
that ''q''(''x'') is monic. By the
fundamental theorem of algebra The fundamental theorem of algebra, also known as d'Alembert's theorem, or the d'Alembert–Gauss theorem, states that every non- constant single-variable polynomial with complex coefficients has at least one complex root. This includes polynomia ...
, we can write q(x) = (x-a_1)^\cdots(x-a_m)^(x^2+b_1x+c_1)^\cdots(x^2 + b_n x + c_n)^ where ''a''1,..., ''a''''m'', ''b''1,..., ''b''''n'', ''c''1,..., ''c''''n'' are real numbers with ''b''''i''2 − 4''c''''i'' < 0, and ''j''1,..., ''j''''m'', ''k''1,..., ''k''''n'' are positive integers. The terms (''x'' − ''a''''i'') are the ''linear factors'' of ''q''(''x'') which correspond to real roots of ''q''(''x''), and the terms (''x''''i''2 + ''b''''i''''x'' + ''c''''i'') are the ''irreducible quadratic factors'' of ''q''(''x'') which correspond to pairs of
complex Complex commonly refers to: * Complexity, the behaviour of a system whose components interact in multiple ways so possible interactions are difficult to describe ** Complex system, a system composed of many components which may interact with each ...
conjugate roots of ''q''(''x''). Then the partial fraction decomposition of ''f''(''x'') is the following: f(x) = \frac = P(x) + \sum_^m\sum_^ \frac + \sum_^n\sum_^ \frac Here, ''P''(''x'') is a (possibly zero) polynomial, and the ''A''''ir'', ''B''''ir'', and ''C''''ir'' are real constants. There are a number of ways the constants can be found. The most straightforward method is to multiply through by the common denominator ''q''(''x''). We then obtain an equation of polynomials whose left-hand side is simply ''p''(''x'') and whose right-hand side has coefficients which are linear expressions of the constants ''A''''ir'', ''B''''ir'', and ''C''''ir''. Since two polynomials are equal if and only if their corresponding coefficients are equal, we can equate the coefficients of like terms. In this way, a system of linear equations is obtained which ''always'' has a unique solution. This solution can be found using any of the standard methods of
linear algebra Linear algebra is the branch of mathematics concerning linear equations such as: :a_1x_1+\cdots +a_nx_n=b, linear maps such as: :(x_1, \ldots, x_n) \mapsto a_1x_1+\cdots +a_nx_n, and their representations in vector spaces and through matrices ...
. It can also be found with
limits Limit or Limits may refer to: Arts and media * ''Limit'' (manga), a manga by Keiko Suenobu * ''Limit'' (film), a South Korean film * Limit (music), a way to characterize harmony * "Limit" (song), a 2016 single by Luna Sea * "Limits", a 2019 ...
(see Example 5).


Examples


Example 1

f(x)=\frac Here, the denominator splits into two distinct linear factors: q(x)=x^2+2x-3=(x+3)(x-1) so we have the partial fraction decomposition f(x)=\frac =\frac+\frac Multiplying through by the denominator on the left-hand side gives us the polynomial identity 1=A(x-1)+B(x+3) Substituting ''x'' = −3 into this equation gives ''A'' = −1/4, and substituting ''x'' = 1 gives ''B'' = 1/4, so that f(x) =\frac =\frac\left(\frac+\frac\right)


Example 2

f(x)=\frac After
long division In arithmetic, long division is a standard division algorithm suitable for dividing multi-digit Hindu-Arabic numerals (Positional notation) that is simple enough to perform by hand. It breaks down a division problem into a series of easier steps ...
, we have f(x)=1+\frac=1+\frac The factor ''x''2 − 4''x'' + 8 is irreducible over the reals, as its discriminant is negative. Thus the partial fraction decomposition over the reals has the shape \frac=\frac+\frac Multiplying through by ''x''3 − 4''x''2 + 8''x'', we have the polynomial identity 4x^2-8x+16 = A \left(x^2-4x+8\right) + \left(Bx+C\right)x Taking ''x'' = 0, we see that 16 = 8''A'', so ''A'' = 2. Comparing the ''x''2 coefficients, we see that 4 = ''A'' + ''B'' = 2 + ''B'', so ''B'' = 2. Comparing linear coefficients, we see that −8 = −4''A'' + ''C'' = −8 + ''C'', so ''C'' = 0. Altogether, f(x)=1+2\left(\frac+\frac\right) The fraction can be completely decomposed using
complex numbers In mathematics, a complex number is an element of a number system that extends the real numbers with a specific element denoted , called the imaginary unit and satisfying the equation i^= -1; every complex number can be expressed in the form ...
. According to the
fundamental theorem of algebra The fundamental theorem of algebra, also known as d'Alembert's theorem, or the d'Alembert–Gauss theorem, states that every non- constant single-variable polynomial with complex coefficients has at least one complex root. This includes polynomia ...
every complex polynomial of degree ''n'' has ''n'' (complex) roots (some of which can be repeated). The second fraction can be decomposed to: \frac=\frac+\frac Multiplying through by the denominator gives: x=D(x-(2-2i))+E(x-(2+2i)) Equating the coefficients of and the constant (with respect to ) coefficients of both sides of this equation, one gets a system of two linear equations in and , whose solution is D=\frac=\frac, \qquad E=\frac=\frac. Thus we have a complete decomposition: f(x)=\frac=1+\frac+\frac+\frac One may also compute directly and with the residue method (see also example 4 below).


Example 3

This example illustrates almost all the "tricks" we might need to use, short of consulting a
computer algebra system A computer algebra system (CAS) or symbolic algebra system (SAS) is any mathematical software with the ability to manipulate mathematical expressions in a way similar to the traditional manual computations of mathematicians and scientists. The d ...
. f(x)=\frac After
long division In arithmetic, long division is a standard division algorithm suitable for dividing multi-digit Hindu-Arabic numerals (Positional notation) that is simple enough to perform by hand. It breaks down a division problem into a series of easier steps ...
and factoring the denominator, we have f(x)=x^2+3x+4+\frac The partial fraction decomposition takes the form \frac = \frac+\frac+\frac+\frac+\frac. Multiplying through by the denominator on the left-hand side we have the polynomial identity \begin &2x^6 - 4x^5 + 5x^4 - 3x^3 + x^2 + 3x \\ pt =&A\left(x-1\right)^2 \left(x^2+1\right)^2+B\left(x-1\right)\left(x^2+1\right)^2 +C\left(x^2+1\right)^2 + \left(Dx+E\right)\left(x-1\right)^3\left(x^2+1\right)+\left(Fx+G\right)\left(x-1\right)^3 \end Now we use different values of ''x'' to compute the coefficients: \begin 4 = 4C & x =1 \\ 2 + 2i = (Fi + G) (2+ 2i) & x = i \\ 0 = A- B +C - E - G & x = 0 \end Solving this we have: \begin C = 1 \\ F =0, G =1 \\ E = A-B\end Using these values we can write: \begin &2x^6-4x^5+5x^4-3x^3+x^2+3x \\ pt=& A\left(x-1\right)^2 \left(x^2+1\right)^2 + B\left(x-1\right)\left(x^2+1\right)^2 + \left(x^2 + 1\right)^2 + \left(Dx + \left(A-B\right)\right)\left(x-1\right)^3 \left(x^2+1\right) + \left(x-1\right)^3 \\ pt=& \left(A + D\right) x^6 + \left(-A - 3D\right) x^5 + \left(2B + 4D + 1\right) x^4 + \left(-2B - 4D + 1\right) x^3 + \left(-A + 2B + 3D - 1\right) x^2 + \left(A - 2B - D + 3\right) x \end We compare the coefficients of ''x''6 and ''x''5 on both side and we have: \begin A+D=2 \\ -A-3D = -4 \end \quad \Rightarrow \quad A= D = 1. Therefore: 2x^6-4x^5+5x^4-3x^3+x^2+3x = 2x^6 -4x^5 + (2B + 5) x^4 + (-2B - 3) x^3 + (2B +1) x^2 + (- 2B + 3) x which gives us ''B'' = 0. Thus the partial fraction decomposition is given by: f(x)=x^2+3x+4+\frac + \frac + \frac+\frac. Alternatively, instead of expanding, one can obtain other linear dependences on the coefficients computing some derivatives at x = 1, \imath in the above polynomial identity. (To this end, recall that the derivative at ''x'' = ''a'' of (''x'' − ''a'')''m''''p''(''x'') vanishes if ''m'' > 1 and is just ''p''(''a'') for ''m'' = 1.) For instance the first derivative at ''x'' = 1 gives 2\cdot6-4\cdot5+5\cdot4-3\cdot3+2+3 = A\cdot(0+0) + B\cdot( 4+ 0) + 8 + D\cdot0 that is 8 = 4''B'' + 8 so ''B'' = 0.


Example 4 (residue method)

f(z)=\frac=\frac Thus, ''f''(''z'') can be decomposed into rational functions whose denominators are ''z''+1, ''z''−1, ''z''+i, ''z''−i. Since each term is of power one, −1, 1, −''i'' and ''i'' are simple poles. Hence, the residues associated with each pole, given by \frac = \frac, are 1, -1, \tfrac, -\tfrac, respectively, and f(z)=\frac-\frac+\frac\frac-\frac\frac.


Example 5 (limit method)

Limits Limit or Limits may refer to: Arts and media * ''Limit'' (manga), a manga by Keiko Suenobu * ''Limit'' (film), a South Korean film * Limit (music), a way to characterize harmony * "Limit" (song), a 2016 single by Luna Sea * "Limits", a 2019 ...
can be used to find a partial fraction decomposition. Consider the following example: \frac First, factor the denominator which determines the decomposition: \frac = \frac = \frac + \frac. Multiplying everything by x-1, and taking the limit when x \to 1, we get \lim_ \left((x-1)\left ( \frac + \frac \right )\right) = \lim_ A + \lim_\frac =A. On the other hand, \lim_ \frac = \lim_\frac = \frac13, and thus: A = \frac. Multiplying by and taking the limit when x \to \infty, we have \lim_ x\left( \frac + \frac \right )= \lim_ \frac + \lim_ \frac= A+B, and \lim_ \frac =0. This implies and so B = -\frac. For , we get -1 = -A + C, and thus C = -\tfrac. Putting everything together, we get the decomposition \frac = \frac \left( \frac + \frac \right ).


Example 6 (integral)

Suppose we have the indefinite
integral In mathematics, an integral assigns numbers to functions in a way that describes displacement, area, volume, and other concepts that arise by combining infinitesimal data. The process of finding integrals is called integration. Along wit ...
: \int \frac \,dx Before performing decomposition, it is obvious we must perform polynomial long division and
factor Factor, a Latin word meaning "who/which acts", may refer to: Commerce * Factor (agent), a person who acts for, notably a mercantile and colonial agent * Factor (Scotland), a person or firm managing a Scottish estate * Factors of production, suc ...
the denominator. Doing this would result in: \int \left(x^2 + 3 + \frac\right) dx Upon this, we may now perform partial fraction decomposition. \int \left(x^2+3+ \frac\right) dx = \int \left(x^2+3+ \frac+\frac\right) dx so: A(x-1)+B(x+2)=-3x+7. Upon substituting our values, in this case, where x=1 to solve for B and x=-2 to solve for A, we will result in: A=\frac \ , B=\frac Plugging all of this back into our integral allows us to find the answer: \int \left(x^2+3+ \frac+\frac\right) \,dx = \frac \ + 3x-\frac \ln(, x+2, )+\frac \ln(, x-1, )+C


The role of the Taylor polynomial

The partial fraction decomposition of a rational function can be related to
Taylor's theorem In calculus, Taylor's theorem gives an approximation of a ''k''-times differentiable function around a given point by a polynomial of degree ''k'', called the ''k''th-order Taylor polynomial. For a smooth function, the Taylor polynomial is th ...
as follows. Let P(x), Q(x), A_1(x),\ldots, A_r(x) be real or complex polynomials assume that Q=\prod_^(x-\lambda_j)^, satisfies \deg A_1<\nu_1, \ldots, \deg A_r<\nu_r, \quad \text \quad \deg(P)<\deg(Q)=\sum_^\nu_j. Also define Q_i=\prod_(x-\lambda_j)^=\frac, \qquad 1 \leqslant i \leqslant r. Then we have \frac=\sum_^\frac if, and only if, each polynomial A_i(x) is the Taylor polynomial of \tfrac of order \nu_i-1 at the point \lambda_i: A_i(x):=\sum_^ \frac\left(\frac\right)^(\lambda_i)\ (x-\lambda_i)^k. Taylor's theorem (in the real or complex case) then provides a proof of the existence and uniqueness of the partial fraction decomposition, and a characterization of the coefficients.


Sketch of the proof

The above partial fraction decomposition implies, for each 1 ≤ ''i'' ≤ ''r'', a polynomial expansion \frac=A_i + O((x-\lambda_i)^), \qquad \text x\to\lambda_i, so A_i is the Taylor polynomial of \tfrac, because of the unicity of the polynomial expansion of order \nu_i-1, and by assumption \deg A_i<\nu_i. Conversely, if the A_i are the Taylor polynomials, the above expansions at each \lambda_i hold, therefore we also have P-Q_i A_i = O((x-\lambda_i)^), \qquad \text x\to\lambda_i, which implies that the polynomial P-Q_iA_i is divisible by (x-\lambda_i)^. For j\neq i, Q_jA_j is also divisible by (x-\lambda_i)^, so P- \sum_^Q_jA_j is divisible by Q. Since \deg\left( P- \sum_^Q_jA_j \right) < \deg(Q) we then have P- \sum_^Q_jA_j=0, and we find the partial fraction decomposition dividing by Q.


Fractions of integers

The idea of partial fractions can be generalized to other
integral domain In mathematics, specifically abstract algebra, an integral domain is a nonzero commutative ring in which the product of any two nonzero elements is nonzero. Integral domains are generalizations of the ring of integers and provide a natural s ...
s, say the ring of
integer An integer is the number zero (), a positive natural number (, , , etc.) or a negative integer with a minus sign ( −1, −2, −3, etc.). The negative numbers are the additive inverses of the corresponding positive numbers. In the languag ...
s where
prime numbers A prime number (or a prime) is a natural number greater than 1 that is not a product of two smaller natural numbers. A natural number greater than 1 that is not prime is called a composite number. For example, 5 is prime because the only ways ...
take the role of irreducible denominators. For example: \frac = \frac - \frac - \frac.


Notes


References

* * * * * * * * * * * * *


External links

* *
Make partial fraction decompositions
with Scilab. {{Authority control Algebra Elementary algebra Partial fractions