There are two types of integrals: Indefinite and Definite. Indefinite integrals are those with no limits and definite integrals have limits. When dealing with indefinite integrals, you need to add a constant of integration. For example, if integrating a function f(x) with respect to x:
∫f(x)dx=g(x)+C,
Where g(x) is the integrated function. C is an arbitrary constant called the constant of integration and dx indicated the variable with respect to which we are integrating, in this case, x. The function being integrated, f(x), is called the integrand.
The integral of many functions are well known, and there are useful rules to work out the integral of more complication functions, which are shown in Figure 8.1 below. The summary of the common procedures for fitting integrands to the basic integration rules is given in Figure 8.2.
Figure 8.1: Basic Integration Rules (a>0)
#
Basic Integration Rule
1
∫kf(u)du=k∫f(u)du
2
∫[f(u)±g(u)]du=∫f(u)du±∫g(u)du
3
∫du=u+C
4
∫undu=n+1un+1+C,n=−1
5
∫udu=ln∣u∣+C
6
∫eudu=eu+C
7
∫audu=(lna1)au+C
8
∫sinudu=−cosu+C
9
∫cosudu=sinu+C
10
∫tanudu=−ln∣cosu∣+C
11
∫cotudu=ln∣sinu∣+C
12
∫secudu=ln∣secu+tanu∣+C
13
∫cscudu=−ln∣cscu+cotu∣+C
14
∫sec2udu=tanu+C
15
∫csc2udu=−cotu+C
16
∫secutanudu=secu+C
17
∫cscucotudu=−cscu+C
18
∫a2−u2du=arcsinau+C
19
∫a2+u2du=a1arctanau+C
20
∫uu2−a2du=a1arcseca∣u∣+C
Figure 8.2: Procedures for Fitting Integrands to Basic Rule
One of the important integration techniques is called integration by parts. This technique can be applied to a wide variety of functions and is particularly useful for integrands involving products of algebraic and transcendental functions.
If f and g are differentiable functions, then the Product Rule yields
dxd[f(x)g(x)]=f(x)g′(x)+g(x)f′(x)……(1)
In the form of indefinite integrals, Eq (1) becomes
∫[f(x)g′(x)+g(x)f′(x)]dx=f(x)g(x)
Then, rearranging the equation yields
∫f(x)g′(x)dx=f(x)g(x)−∫g(x)f′(x)dx……(2)
Eq (2) gives the formula for integration by parts.
It is perhaps easier to remember in the following notation.
Let u=f(x) and v=g(x). Then the differentials are du=f′(x)dx and dv=g′(x)dx. So, by the Substitution Rule, the formula for integration by parts becomes
Suppose we choose f(x)=x and g′(x)=sinx. Then f′(x)=1 and g(x)=−cosx. Note that for g, we can choose any antiderivative of g′. Thus, using the formula in Eq 2,
We can evaluate definite integrals by parts. By evaluating both sides of Eq 2 (formula for integration by parts) between a and b, assuming f′ and g′ are continuous, and using the Fundamental Theorem of Calculus, we get
∫abf(x)g′(x)dx=f(x)g(x)]ab−∫abg(x)f′(x)dx
We could also use trigonometric identities to integrate certain combinations of trigonometric functions.
We could convert cos2x to 1−sin2x, but we would be left with an expression in terms of sinx with no extra cosx factor. Therefore, we could separate a single sine factor and rewrite the remaining sin4 factor in terms of cosx factor.
We can use a similar strategy to evaluate integrals of the form ∫tanmxsecnxdx, where m>0, n>0 are integers.
Since (dxd)tanx=sec2x, we could separate a sec2x factor and convert the remaining (even) power of secant to an expression involving tangent using the following identity:
sec2x=1+tan2x
Another way is to separate a secxtanx factor and convert the remaining (even) power of tangent to secant since (dxd)secx=secxtanx.
As for other cases, the use of identities, integration by parts, and occasionally a little ingenuity may come handy. The following formulas and trigonometric identities are also useful:
Observe that the above integral cannot be solved by any of our previous methods. Further, the integrals of both the functions (i.e., x2 and ex) are equally easy. However, since x2 is a power function, we choose ex as the second function.
[ Note : Of the two functions in the integrand, if one function is a power function (i.e., x, x2, x3, ...) and the other function is easy to integrate, then we choose the other one as the second function. If power function is chosen as second function, then its index will keep on increasing when the rule of integration by parts is applied. As a result, the resulting integral so obtained will be more difficult to evaluate, than the given integral.]
Now let us see what happens if we choose x2 as the second function.
Consider the integration of ∫(x2)(ex)dx is using
⎩⎨⎧∫x2dx=3x3dxdex=ex
Integrating by parts, we get
=ex⋅3x3−∫ex⋅3x3dx=31ex⋅x3−31∫ex⋅x3dx
Observe that the resulting integral on right-hand side is more complicated than the given integral. This is due to our wrong choice of the second function.
In finding the area of a circle or an ellipse, an integral of the form ∫a2−x2dx arises, where a>0. If it were ∫xa2−x2dx, the substitution u=a2−x2 would be effective. However,
∫a2−x2dx……(3)
Eq (3) would be more challenging. If we change the variable from x to θ by the substitution of x=asinθ. Then, the root sign of Eq (3) can be removed by making use of the identity 1−sin2θ=cos2θ. This is shown as below:
Notice the difference between the substitution u=a2−x2 (in which the new variable is a function of the old one) and the substitution x=asinθ (the old variable is a function of the new one).
In general, we can make a substitution of the form x=g(t) by using the Substitution Rule in reverse. To make our calculations simpler, we assume that g has an inverse function; that is, g is one-to-one.
In this case, if we replace u by x and x by t in the Substitution Rule, we get
∫f(x)dx=∫f(g(t))g′(t)dt
This type of substitution is called the inverse substitution. The inverse substitution of x=asinθ can be made provided that it defines a one-to-one function. This can be accomplished by restricting θ to lie in the interval [−2π,2π]
Table 8.1 below shows a list of trigonometric substitutions which are effective for the given radical expressions because of the specified trigonometric identities. The restriction on θ is imposed in each of the cases shown in Table 8.1 to ensure that the function that defines the substitution is one-to-one.
Since this is an indefinite integral, we must return to the original variable x. This can be done either by using trigonometric identities to express cotθ in terms of sinθ=x/3 or by drawing a diagram, as in Figure 8.3, where θ is interpreted as an angle of a right triangle.
Figure 8.3: sin θ = x/3
Based on the Pythagorean Theorem, the length of the adjacent side can be expressed as
9−x2
Then, we can simply read the value of cotθ from the figure:
cotθ=x9−x2
(Although θ>0 in the diagram, this expression for cotθ is valid even when θ<0). Since sinθ=x/3, then θ=sin−1(x/3). Therefore
This section demonstrates a method to integrate any rational function (a ratio of polynomials) by expressing it as a sum of simpler fractions, called partial fractions, that we already know how to integrate.
To illustrate the method, observe that by taking the fractions (x−1)2 and (x+2)1 to a common denominator, the expression becomes
Be a rational function where P(x) and Q(x) are polynomials. The function f(x) can be expressed as a sum of simpler fractions provided that the degree of P is less than the degree of Q. Such a rational function is called proper.
If,
P(x)=anxn+an−1xn−1+⋯+a1x+a0
Where an=0, then the degree of P is n and we write deg(P) = n. If f is improper, that is, deg(P) ≥ deg(Q), then we must take the preliminary step of dividing Q into P (by long division) until a remainder R (x) is obtained such that deg(R) < deg(Q).
The division statement is
f(x)=Q(x)P(x)=S(x)+Q(x)R(x)……(4)
where S and R are also polynomials.
As the next example illustrates, sometimes this preliminary step is all that is required.
From Eq (4), if the denominator is more complicated, then the next step is to factor the denominator Q (x) as far as possible. It can be shown that any polynomial Q can be factored as a product of linear factors (of the form ax+b) and irreducible quadratic factors (of the form ax2+bx+c, where b2−4ac<0).
For example, if Q(x)=x4−16, we could factor it as
Q(x)=(x2−4)(x2+4)=(x−2)(x+2)(x2+4)
Then, the next step is to express the proper rational function R(x)/Q(x) in Eq (4) as a sum of partial fractions of the following form
(ax+b)iAor(ax2+bx+c)jAx+B
A theorem in algebra guarantees that it is always possible to do this. We explain the details for the four cases that occur:
a) The denominator Q(x) is a product of distinct linear factors
b) Q(x) is a product of linear factors, some of which are repeated
c) Q(x) contains irreducible quadratic factors, none of which is repeated
d) Q(x) contains a repeated irreducible quadratic factor
8.2.3.1 Case 1: Q(x) is a Product of Distinct Linear Factors
For this case, we could expressed Q(x) as
Q(x)=(a1x+b1)(a2x+b2)…(akx+bk),
Where no factor is repeated and no factor is a constant multiple of another. Hence, in this case, the partial fraction theorem states that there exist constant A1,A2,…,Ak such that
Note that in integrating the middle term, the following substitutions have been made:
u=2x−1,du=2dx,then dx=21du
8.2.3.2 Case 2: Q(x) is a Product of Distinct Linear Factors, Some of Which Are Repeated
Suppose the first linear factor (a1x+b1) is repeated r times, that is, (a1x+b1)r occurs in the factorization of Q(x). Then, instead of the single term in Eq (5), we could use
8.2.3.3 Case 3: Q(x) Contains Irreducible Quadratic Factors, None of Which is Repeated
If Q(x) has the factor ax2+bx+c, where b2−4ac<0, then, in addition to the partial fractions in Eq (5) and (6), the expression for R(x)/Q(x) will have a term of the form
ax2+bx+cAx+B……(7)
Where A and B are constants to be determined. The term in Eq (7) can be integrated by completing squares (if necessary) and using the following formula
occurs in the partial fraction decomposition of R(x)/Q(x). Each of the terms in Eq (8) can be integrated using a substitution or by first completing the square if necessary.
In this sub section, extend the concept of a definite integral to the case where the interval is infinite and also to the case where f has an infinite discontinuity in [a, b]. In either case the integral is called an improper integral
Consider the infinite region S that lies under the curve y=1/x2, above the x-axis, and to the right of line x=1. This is shown in Figure 8.4.
Figure 8.4: y = 1/x²
You might think that since S is infinite in extent, its area must be infinite, but let's take a closer look. From Figure 8.4, we can see that the area of the part of S that lies to the left of the line x=t (shaded area) is
A(t)=∫1tx21dx=−x1]1t=1−t1
Notice that A(t)<1 no matter how large t is chosen. We also observe that
limt→∞A(t)=limt→∞(1−t1)=1
This is shown in Figure 8.5.
Figure 8.5: Area under the curve as t → ∞
Using this example as a guide, we define the integral of f over an infinite interval as the limit of integrals over finite intervals. The definition of an improper integral of Type 1 is given below.
Definition of an Improper Integral of Type 1
(a) If ∫atf(x)dx exists for every number t≥a, then
∫a∞f(x)dx=limt→∞∫atf(x)dx
provided this limit exists (as a finite number).
(b) If ∫tbf(x)dx exists for every number t≤b, then
∫−∞bf(x)dx=limt→−∞∫tbf(x)dx
provided this limit exists (as a finite number).
The improper integrals ∫a∞f(x)dx and ∫−∞bf(x)dx are called convergent if the corresponding limit exists and divergent if the limit does not exist.
(c) If both ∫a∞f(x)dx and ∫−∞af(x)dx are convergent, then we define
Suppose that f is a positive continuous function defined on a finite interval [a, b) but has a vertical asymptote at b. Let S be the unbounded region under the graph of f and above the x-axis between a and b. (For Type 1 integrals, the regions extended indefinitely in a horizontal direction. Here the region is infinite in a vertical direction.)
The area of the part of S between a and t (the shaded region in Figure 8.7) is
A(t)=∫atf(x)dx
Figure 8.7: Area of the part of S
If it happen that A(t) approaches a definite number A as t→b−, then we say that the area of the region S is A and we could write
∫abf(x)dx=limt→b−∫atf(x)dx
We use this equation to define an improper integral of Type 2 even when f is not a positive function, no matter what type of discontinuity f has at b. The definition of an improper integral of Type 2 is given below.
Definition of an Improper Integral of Type 2
(a) If f is continuous on [a,b) and is discontinuous at b, then
∫abf(x)dx=limt→b−∫atf(x)dx
if this limit exists (as a finite number).
(b) If f is continuous on (a,b] and is discontinuous at a, then
∫abf(x)dx=limt→a+∫tbf(x)dx
if this limit exists (as a finite number).
The improper integral ∫abf(x)dx is called convergent if the corresponding limit exists and divergent if the limit does not exist.
(c) If f has a discontinuity at c, where a<c<b, and both ∫acf(x)dx and ∫cbf(x)dx are convergent, then we define
The given integral is improper because f(x)=x−21 has the vertical asymptote at x=2. Since the infinite discontinuity occurs at the left endpoint of [2, 5], we use part (b) of the definition of an improper integral of Type 2.
Thus the given improper integral is convergent and, since the integrand is positive, we can interpret the value of the integral as the area of the shaded region in Figure 8.9.
Sometimes it is impossible to find the exact value of an improper integral and yet it is important to know whether it is convergent or divergent.
In such cases the following theorem is useful. Although we state it for Type 1 integrals, a similar theorem is true for Type 2 integrals.
Comparison Theorem
Suppose that f and g are continuous functions with f(x)≥g(x)≥0 for x≥a.
(a) If ∫a∞f(x)dx is convergent, then ∫a∞g(x)dx is convergent.
(b) If ∫a∞g(x)dx is divergent, then ∫a∞f(x)dx is divergent.
We omit the proof of the Comparison Theorem, but Figure 8.10 makes it seem plausible.
Figure 8.10: Area under the curve
If the area under the top curve y = f (x) is finite, then so is the area under the bottom curve y = g (x).
If the area under y = g (x) is infinite, then so is the area under y = f (x). [Note that the reverse is not necessarily true: If ∫a∞g(x)dx is convergent, ∫a∞f(x)dx may or may not be convergent, and if ∫a∞f(x)dx is divergent, ∫a∞g(x)dx may or may not be divergent.]