Rational function
If P(x) and Q(x) are two polynomials in x, then the ratio of two polynomials,
is called a rational function, where 
Proper rational function
If the degree of the numerator of the rational function is less than that of the denominator, the rational function is called a proper rational function.Example
is a proper rational function.
Improper rational function
If the degree of the numerator is greater than the degree of the denominator in a rational fraction, then the rational function is called improper rational function.Like the case of improper fractions reducible to an integer added to a proper fraction, improper rational function can be reduced as a sum of a polynomial and a proper rational function.
In other words if
is improper rational function, then

is proper rational function.Partial fractions
Any proper rational function
can be expressed as sum of rational fractions, each having a factor of Q(x). Each such fraction is known as Partial fraction.Example:
is a proper rational function.

are the partial fractions.
\ The given proper rational function is resolved into two simpler rational fractions.
Note that the denominators of the rational functions are resolved into factors.Working rule for integration by parts
(1) Let
be rational function. If
is improper, divide P(x) by Q(x). Let T(x) be the quotient and P1(x) be the remainder, then

is a proper rational function.
(2) Resolve the proper rational function
in to partial fractions.
as sum of partial fractions.
(4) Write
as the sum of T(x) and the sum of partial fractions. Integrate each part of the right hand side. This gives the required integral.
is a proper rational fraction,
Step 1 need not be performed.
The following table indicates the simpler partial fractions associated to proper rational functions.

Example:
Integrate the following rational fraction
.

into partial fraction as follows


Put x =1, A = 3/2
Put x = -1, B = 1/2Substitution the values of A and B in (2) we have
From (1), we have

