Integration of rational function with quadratic denominator: Difference between revisions
| Line 160: | Line 160: | ||
| <math>(-\infty,\alpha_1)</math> || <math>\frac{A\alpha_1 + B}{\alpha_1 - \alpha_2} \ln(\alpha_1 - x) + \frac{A\alpha_2 + B}{\alpha_2 - \alpha_1}\ln(\alpha_2 - x) + C</math> | | <math>(-\infty,\alpha_1)</math> || <math>\frac{A\alpha_1 + B}{\alpha_1 - \alpha_2} \ln(\alpha_1 - x) + \frac{A\alpha_2 + B}{\alpha_2 - \alpha_1}\ln(\alpha_2 - x) + C</math> | ||
|- | |- | ||
| <math>(\alpha_1,\alpha_2)</math> || <math>\frac{A\alpha_1 + B}{\alpha_1 - \alpha_2} \ln(x - \alpha_1) + \frac{A\alpha_2 + B}{\alpha_2 - \alpha_1}\ln(\alpha_2 - x) + C</math> | | <math>\! (\alpha_1,\alpha_2)</math> || <math>\frac{A\alpha_1 + B}{\alpha_1 - \alpha_2} \ln(x - \alpha_1) + \frac{A\alpha_2 + B}{\alpha_2 - \alpha_1}\ln(\alpha_2 - x) + C</math> | ||
|- | |- | ||
| <math>(\alpha_2,\infty)</math> || <math>\frac{A\alpha_1 + B}{\alpha_1 - \alpha_2} \ln(x - \alpha_1) + \frac{A\alpha_2 + B}{\alpha_2 - \alpha_1}\ln(x - \alpha_2) + C</math> | | <math>(\alpha_2,\infty)</math> || <math>\frac{A\alpha_1 + B}{\alpha_1 - \alpha_2} \ln(x - \alpha_1) + \frac{A\alpha_2 + B}{\alpha_2 - \alpha_1}\ln(x - \alpha_2) + C</math> | ||
| Line 173: | Line 173: | ||
* An improper integral extending to <math>-\infty</math> will be finite ''only'' if <math>A = 0</math>, so the numerator is constant. This agrees with the [[degree difference test]]. For the antiderivative given above, the limiting value at <math>-\infty</math> is 0. | * An improper integral extending to <math>-\infty</math> will be finite ''only'' if <math>A = 0</math>, so the numerator is constant. This agrees with the [[degree difference test]]. For the antiderivative given above, the limiting value at <math>-\infty</math> is 0. | ||
* An improper integral extending to <math>+\infty</math> will be finite ''only'' if <math>A = 0</math>, so the numerator is constant. This agrees with the [[degree difference test]]. For the antiderivative given above, the limiting value at <math>+\infty</math> is 0. | * An improper integral extending to <math>+\infty</math> will be finite ''only'' if <math>A = 0</math>, so the numerator is constant. This agrees with the [[degree difference test]]. For the antiderivative given above, the limiting value at <math>+\infty</math> is 0. | ||
===Case that the denominator has repeated linear factors=== | |||
Using the same notation as for the indefinite integration, we are trying to do the integration: | |||
<math>\! \frac{Ax + B \, dx}{(x - \sigma)^2}</math> | |||
The antiderivative is: | |||
<math>\! A \ln|x - \sigma| - \frac{A\sigma + B}{x - \sigma} + C</math> | |||
where <math>C</math> is an arbitrary constant. Further, if the denominator was originally <math>x^2 + px + q</math>, then <math>\sigma = -p/2</math> and <math>p^2 = 4q</math>. | |||
The domain of the integrand is all real numbers except <math>\sigma</math>. Thus, it is a union of the open intervals <math>(-\infty,\sigma)</math> and <math>(\sigma,\infty)</math>. On each of the intervals, we can determine unambiguously the sign of <math>x - \sigma</math>, so we can write the antiderivative more unambiguously: | |||
{| class="sortable" border="1" | |||
! Interval !! Antiderivative on the interval | |||
|- | |||
| <math>\! (-\infty,\sigma)</math> || <math>\! A \ln(\sigma - x) - \frac{A\sigma + B}{x - \sigma} + C</math> | |||
|- | |||
| <math>\! (\sigma,\infty)</math> || <math>\! A \ln(x - \sigma) - \frac{A\sigma + B}{x - \sigma} + C</math> | |||
|} | |||
Thus, for any interval properly contained completely within one of the two pieces, we can compute the definite integral using the above. We now consider the question of improper integrals, i.e., integrals where one of the endpoints of integration is among <math>-\infty, \sigma, \infty</math>: | |||
* <math>\sigma</math> is not permissible as an endpoint in any circumstance, i.e., any improper integral ending at <math>\sigma</math> will be infinite. | |||
* <math>-\infty</math> as an endpoint gives a finite integral iff <math>A = 0</math>. This agrees with the [[degree difference test]]. The limit of the antiderivative above at <math>-\infty</math> is 0. | |||
* <math>+\infty</math> as an endpoint gives a finite integral iff <math>A = 0</math>. This agrees with the [[degree difference test]]. The limit of the antiderivative above at <math>+\infty</math> is 0. | |||
Revision as of 19:40, 16 December 2011
Template:Specific function class integration strategy
Reduction
Reduction to the case where the numerator has smaller degree than the denominator
For further information, refer: converting a rational function from improper fraction to mixed fraction form
To get to the situation where the numerator has smaller degree than the denominator, we perform a Euclidean division and hence rewrite the rational function as the sum of a polynomial and a rational function that is in proper fraction form, i.e., the numerator has smaller degree than the denominator. The polynomial summand is integrated termwise using the integration rule for power functions. We are thus reduced to handling the proper fraction. But remember to add back the antiderivative for the polynomial to your final answer!
Reduction to the monic denominator case
If the leading coefficient (i.e., the coefficient on the highest degree term) in the denominator is not 1, the leading coefficient can be pulled out as a constant factor from the denominator and hence out of the integration. We can thus carry out an integration with a leading coefficient of 1 for the denominator polynomial (such a polynomial is termed a monic polynomial). But remember to keep that constant on the outside and multiply it to get your final answer!
Indefinite integration for proper fraction with monic denominator
Summary of cases
We assume that we have performed the reductions outlined above. Thus, We consider an integration of the form:
Note that are arbitrary constants. They may be zero or nonzero.
| Sign of discriminant | Qualitative description of case | Antiderivative (we omit the +C for space reasons) | Functions whose linear combination gives antiderivative (depend only on denominator) | Description of new constants in terms of |
|---|---|---|---|---|
| positive | denominator has distinct roots factors as |
|||
| zero | denominator has repeated root factors as |
|||
| negative | denominator is of the form with |
Case that the denominator has distinct linear factors
UPSHOT: The antiderivative in this case is expressible as a linear combination with constant coefficients of the natural logarithms of the absolute values of the linear factors.
This falls under the general case of integration of rational function whose denominator has distinct linear factors
The integration formula is:
Note that and can be determined from the quadratic formula for the roots of a quadratic polynomial. Specifically, if the polynomial in the denominator is , we have:
Here are the details of how the formula is obtained:
Case that the denominator has repeated linear factors
UPSHOT: The antiderivative in this case is a constant divided by the linear factor plus a constant times the natural logarithm of the linear factor.
The integration formula is:
If the denominator is of the form , then this case arises iff and we have .
Here's how the formula is obtained: [SHOW MORE]
Case that the denominator has negative discriminant
UPSHOT: The antiderivative in this case is a constant times an arc tangent function plus a constant times the natural logarithm of the absolute value of the quadratic.
We have:
Given a denominator in the form , it can be rewritten as where:
Here's how the formula is obtained: [SHOW MORE]
Definite integration
We discuss here only the reduced case that we deal with for the indefinite integration.
Case that the denominator has distinct linear factors
Using the same notation as for the indefinite integration, we have an integration of the form:
The antiderivative is:
where, if the quadratic in the denominator originally is :
The integrand is not defined at the points . In fact, the domain of the function is a union of three separate open intervals: , , and .
A generic antiderivative for the function across all the intervals may have different values for the constant on each interval.
Moreover, we can drop the absolute value signs and be specific about the inputs to the s within each interval:
| Interval | Antiderivative on the interval |
|---|---|
The integral can be computed to give a finite numerical value on any interval properly contained completely within one of these intervals. We now address the question of whether we can compute improper integrals, i.e., integrals where one of the limits is one of the values .
The answer is as follows:
- An improper integral extending to will be finite only if . Note that if that were the case, the rational function would not have been in a reduced form, i.e., there would have been a common factor between the numerator and denominator. In fact, in this case, the original rational function would have a removable discontinuity at .
- An improper integral extending to will be finite only if . Note that if that were the case, the rational function would not have been in a reduced form, i.e., there would have been a common factor between the numerator and denominator. In fact, in this case, the original rational function would have a removable discontinuity at .
- An improper integral extending to will be finite only if , so the numerator is constant. This agrees with the degree difference test. For the antiderivative given above, the limiting value at is 0.
- An improper integral extending to will be finite only if , so the numerator is constant. This agrees with the degree difference test. For the antiderivative given above, the limiting value at is 0.
Case that the denominator has repeated linear factors
Using the same notation as for the indefinite integration, we are trying to do the integration:
The antiderivative is:
where is an arbitrary constant. Further, if the denominator was originally , then and .
The domain of the integrand is all real numbers except . Thus, it is a union of the open intervals and . On each of the intervals, we can determine unambiguously the sign of , so we can write the antiderivative more unambiguously:
| Interval | Antiderivative on the interval |
|---|---|
Thus, for any interval properly contained completely within one of the two pieces, we can compute the definite integral using the above. We now consider the question of improper integrals, i.e., integrals where one of the endpoints of integration is among :
- is not permissible as an endpoint in any circumstance, i.e., any improper integral ending at will be infinite.
- as an endpoint gives a finite integral iff . This agrees with the degree difference test. The limit of the antiderivative above at is 0.
- as an endpoint gives a finite integral iff . This agrees with the degree difference test. The limit of the antiderivative above at is 0.