Integration of an arbitrary rational function with real coefficients is performed as follows in the general case.
If , then it is necessary to preliminarily extract the integer part from this fraction, that is, represent it in the form where and are polynomials of degrees and respectively, and $r
The extraction of the integer part in the fraction is performed by dividing the numerator by the denominator using long division.
To integrate a proper rational function $m
Let the denominator have the decomposition Then the decomposition of the fraction into a sum of simple fractions is as follows:
The coefficients and in this decomposition are determined by equating the coefficients of the same powers of in the polynomial and the polynomial obtained in the numerator of the right-hand side of equation (1) after bringing it to a common denominator (the method of undetermined coefficients).
Formula (1) shows that integrating an arbitrary rational function reduces to integrating simple fractions of the following four types:
1)
2)
3)
4)
Solution:
In this example, the discriminant of the quadratic trinomial in the denominator is negative: which means we have a fraction of the third type. Since we can rewrite the numerator of the fraction as follows: (this transformation is called extracting the derivative of the quadratic trinomial in the denominator in the numerator). Therefore,
We find the integral by completing the square in the denominator:
Thus,
Answer:
2.
Solution.
Here, which means we have a simple fraction of the fourth type. First, we extract the derivative of the quadratic trinomial in the numerator:
To compute the remaining integral, we complete the square in the quadratic trinomial: Then we use integration by parts:
Thus,
And finally, we obtain
Answer:
Examples.
Find the integrals:
1.
Solution.
In this example, which means we will decompose the rational function into simple fractions.
Thus, From this, we have,
By equating the coefficients of the same powers of in the numerators of the left and right sides of the equation, we write the system:
Then the decomposition of the fraction into a sum of simple fractions is as follows:
Now, let's compute the given integral as the integral of the sum of simple fractions:
Answer:
2.
Solution.
so we will decompose the rational function into simple fractions.
From this, we have,
By equating the coefficients of the same powers of in the numerators of the left and right sides of the equation, we write the system:
Thus, the decomposition of the fraction into a sum of simple fractions is as follows:
Now, let's compute the given integral as the integral of the sum of simple fractions:
Answer:
3.
Solution.
Let's make the variable substitution:
Here, which means we have a fraction of the third type.
Let's complete the square in the denominator:
Thus,
Answer:
4.
Solution.
The integrand has the form where and are polynomials of degree which means the given fraction is improper. Let's extract the integer part from this fraction. After division in a column of by we obtain Next, we decompose the obtained fraction into a sum of simple fractions:
By equating coefficients of the same degrees of in the numerators of the left and right sides of the equation, we write the system:
Thus, the decomposition of the fraction into a sum of simple fractions is given by
Next, let's compute the given integral as the integral of the sum of simple fractions:
Answer:
5.
Solution.
Here, , which means we have a simple fraction of the fourth type. First, we extract the derivative of the quadratic trinomial from the numerator:
Let's compute the remaining integral:
Next, we will use the method of integration by parts: