6/10/2019
Lecture 7: Integration Techniques • Antiderivatives and Indefinite Integrals • Basic Rules of Integration • The Methods of Integration by Substitution and by Parts • Definite Integrals • Improper Integrals • Differentiation of an Integral • Some Notes on Multiple Integrals
1
Antiderivatives and Indefinite Integrals • Here we are interested in the operation of searching for functions whose derivatives are a given function. • Let f(x) be a function defined on interval of real numbers. An antiderivative function of f is any function F(x) such that F'(x) = f(x). Clearly if F is an antiderivative of f then so is F + c, where c is a constant.
2
1 6/10/2019
Antiderivatives and Indefinite Integrals • The indefinite integral is written as
F(x) + c = fxdx() .
• The symbol is the integral sign. If f has no antiderivative (nonintegrable), then its indefinite integral is . The f(x) part is the integrand. The f(x) dx may be taken as the differential dF of a primary or antiderivative function.
3
Basic Rules of Integration
•R1 [f(x) + g(x)] dx = f(x) dx + g(x) dx.
• R2 cf(x) dx = c f(x) dx.
• R3 For every N -1, 1 xN dx = xN+1 + c. N 1
4
2 6/10/2019
Examples
#1 Let f(x) = x4, then
x5 x4dx = + c. 5
check:
dx5 / 5 = x4. dx #2 Let f(x) = x3 + 5x4, then
[x3 + 5x4] dx = x3 dx + 5 x 4 dx
= x4/4 + 5(x5/5) + c
= x4/4 + x5 + c
check.
d (x4/4 + x5) = x3 + 5x4. dx
5
Examples
#3 Let f(x) = x2 - 2x
[x2 - 2x] dx = x2 dx + -2x dx
= x3/3 - 2 x dx + c
= x3/3 - 2(x2/2) + c
= x3/3 - x2 + c.
6
3 6/10/2019
Basic Rules of Integration
• R4 The antiderivative of ex is given by ex dx = ex + c. • R5 The antiderivative of x-1, x 0 is given by x-1 dx = ln|x| + c. (Note ln is only defined on positive reals)
7
Example:
Let f(x) = 2ex -x-1.
f(x) dx = 2ex dx - x-1 dx = 2ex - ln|x| + c
8
4 6/10/2019
The Methods of Integration by Substitution and by Parts • Substitiuton:
f(x) dx = g(u) u(x) dx = g(u) du.
• Requires us to find g and u such that
f(x) = g(u) u(x)
9
Example #1
x Let f(x) = 12/ , find f(x) dx. x2 1
Choose u = u(x) = x2 + 1, then we have that u(x) = 2x, such that
du = u(x) dx = 2xdx
Now
f(x) = g(u) u(x)
x x 1 1 f(x) = 12// 12 12 /ux () x2 1 uu2
Here, g(u) = (1/2)(u-1/2).
10
5 6/10/2019
Example #1
1 -1/ 2 f(x) dx = 2 u du
1 1 1/2 = 2 1 u + c 2 1
1 1 1/2 = 2 1 u + c 2
= u1/2 + c
Substitute for u = x2 + 1, then
x 2 1/2 12/ dx = (x +1) + c. x2 1
11
Example #2 2 xx3 Let f(x) = 13/ . Find f dx. xx421
(1) Choose u = (x4 - x 2 + 1)
u(x) = 4x3 - 2x, such that
du = (4x3 - 2x) dx.
(2) Construct the product g(u) u(x) such that f(x) = g(u) u(x)
2 xx3 2 xx3 f(x) = 13/ = 13/ xx421 u
1 2 ux = 1 u 3
ux = 1 2 u 3
1 Here g(u) = 1 2 u 3
12
6 6/10/2019
Example #2 (3) Thus we have that
f(x) dx = g(u) u(x) dx
1 1 = 1 u(x) dx = 1 du 2u 3 2u 3
Take last integral:
1 f(x) dx = u-1/3 du 2
1 1 2 3 = 2 u + c 2 3
3 2 = u 3 + c 4
3 2 = xx421 3 + c 4
13
By parts
• To determine the indefinite integral of the function f(x), we choose by inspection two differentiable functions u(x), v(x) such that f(x) = u(x)v’(x). Then
f(x) dx = u dv = uv - v du.
14
7 6/10/2019
By parts
• If we can find u and v such that f(x) = u v(x), then dv = v(x) dx and f(x) dx = u v(x) dx = u dv. • To see that u dv = uv - v du, let z vu, then dz = u dv + v du Integrate both sides dz = u dv + v du z = u dv + v du u dv = z - v du u dv = uv - v du. ||
15
Examples
#1 Let f(x) = xeax
(1) Choose dv so that it is the most complicated expression,
but is easy to integrate
Let dv = eax dx
Let u = x such that du = dx
1 (2) u dv = x e ax - v du a
Now since
dv = eax dx
dv = v = eax dx
1 v = e ax a
16
8 6/10/2019
#1 continued
Also since
u = x
du = 1 dx
x u dv = eax - v du a
x 1 = eax - eax dx a a
x 1 = eax - eax dx a a
x 1 = eax - eax + c a a2
x 1 x eax dx = eax - eax + c. a a 2
17
Example
2 #2 Let f(x) = 6 xex 2 . Integrate by parts.
2 (1) Let v = e x 2
2 then dv = 2xe x 2 dx
Hence, let
u =3
du = 0 dx = 0
(2) Then f(x) dx = u dv
2 2 = 3e x 2 - e x 2 du.
However, du = 0.
Hence,
2 2 6x e x 2 dx = 3 e x 2 + c
18
9 6/10/2019
Definite Integrals
• Let f(x) be continuous on an interval X R, where f: X R. Let F(x) be an antiderivative of f, then f(x) dx = F(x) + c. • Now choose a, b X such that a < b. Form the difference [F(b) + c] - [F(a) + c] = F(b) - F(a). • This difference F(b) - F(a) is called the definite integral of f from a to b. The point a is termed the lower limit of integration and the point b, the upper limit of integration.
19
Notation
b b b fxdx Fx Fx Fb Fa a a a
20
10 6/10/2019
Examples
#1 Let f(x) = x3, find
1 1 1 1 1 xdx3 x4 1 440 0 4 0 4 4
1 . 4
2 5 #2 f(x) = 2x ex , find fxdx , 3
5 225 2xexx e = e25 - e9 3 3
21
Illustration
• The absolute value of the definite integral represents the area between f(x) and the x-axis between the points a and b.
22
11 6/10/2019
Illustration continued
f(x)
A
a b c B d x
b d The area A = f x dx and the area B = ( 1 ) f x dx . a c
23
Properties
b P. 1 If f(x) is such that fxdx over [a, b], then a
b a fxdx fxdx . a b
P. 2 If f(x) is defined and continuous at the point a, then
a fxdx 0. a
24
12 6/10/2019
Properties
P. 3 If f(x) is defined and continuous on each of the closed intervals [x1, x2], , [xN,
xN+1], where N, the number of subintervals, is finite and
Uxxii,,111 xx N , then i
x N1 x2 x 3 xN 1 fxdx fxdx fxdx K fxdx . x 1 x1 x 2 x N
25
Properties
b b P. 4 If f(x) and g(x) are such that fxdx and gxdx, then a a
b b (i) kf x dx k f x dx , for any k R a a
b b b (ii) fx gx dx fxdx gxdx . a a a
26
13 6/10/2019
Improper Integrals
• Consider a function f(x) and the definite integral b fxdx a • If a or b or both are infinite or if f(x) is undefined for some x [a, b], the above expression is termed improper.
27
Improper Integrals
Def 1. If f(x) is defined for x [a, +), then the expression fxdx is defined as a
b b b lim fxdx. If f(x) is defined for x (-, b], then fxdx is defined as lim fxdx. b a a a
28
14 6/10/2019
Improper Integrals
Def 2. If f(x) is defined for x [a, b] then the expression fxdx is defined as
b lim a fxdx. b a
29
Improper Integrals
b Def 3. If f(x) is defined for x [a, b), b R, but not defined for x = b, then fxdx is defined a
c as lim fxdx . If f(x) is defined for x (a, b], a R, but not defined for x = a, then the cb a
b b expression fxdx is defined as lim fxdx . a ca c
30
15 6/10/2019
Improper Integrals
Def 4. If the limit of the improper integrals called for in Def. 1, 2 or 3 exists, the improper
integral is said to be convergent, otherwise divergent.
31
Examples
#1 Evaluate xdx7 . Hence, by Definition 1, 2
b xdx 7 lim xdx 7 2 b 2
1 b 1 111 = lim x 6 lim 2 66 b 6 b 6 b 6 2
1 = 2 66 lim b 6 b
1 = 2 6 6
1 our integral is convergent and = 626
32
16 6/10/2019
Examples
1 1 #2 Evaluate x2 dx lim x 2 dx 0 a 0 a
1 2 1 1 1 lim x dx lim x lim 1 a 0 a a 0 a a 0 a
1 lim 1 a 0 a
Hence our integral is divergent and has no value.
1 #3 Compute #2 for xdx 2 1
1 0 1 x 2 dx x 2 dx x 2 dx , 1 1 0
but we found above that
1 1 limxdx 2 lim 1 a 0 a a 0 a
it diverges.
33
Differentiation of an integral
q(y) q f(x,y)dx f (x,y)dx f (q,y)q'(y) f(p,y)p'(y). y y p(y) p
34
17 6/10/2019
Example: Consumer and Producer Surplus • Define TV • Define CS • Consider perfectly discriminating monopoly • Define PS • Determine market optimum
35
Some Notes on Multiple Integrals
• In this section, we will consider the integration of functions of more than one independent variable. The technique is analogous to that of partial differentiation. • When performing integration with respect to one variable, other variables are treated as constants.
36
18 6/10/2019
Multiple Integrals
• Consider the following example:
d b f ( x , y ) dxdy c a
• We read the integral operators from the inside out. The bounds a,b refer to those on x, while the bounds c,d refer to y. Likewise, dx appears first and dy appears second.
37
Multiple Integrals
• The integral is computed in two steps:
b #1. Compute f(x,y)dx g(y). a
d d b #2. Compute g(y)dy f.(x,y)dxdy c c a • If there were n variables, you would follow the same recursive steps n times. Each successive integration eliminates a single independent variable.
38
19 6/10/2019
Examples
Example 1: Suppose that z = f(x,y). We wish to compute integrals of the form
d b f (x, y)dxdy. c a
Consider the example f = x2y, where c = a = 0 and d = 2, b = 1. We have
2 1 x 2 ydxdy. 0 0
Begin by integrating with respect to x, treating y as a constant
1 1 1 yx2dx yx3 |1 y. 3 0 3 0
Next, we integrate the latter expression with respect to y.
2 1 1 1 1 2 ydy y 2 |2 4 . 3 3 2 0 6 3 0
39
Examples Example 2: Compute
(3xy 2z)dxdydz,
where the limits of integration are 0 and 1, in each case. Begin with x.
3x 2 y 3y ( 2zx) |1 2z. 2 0 2
Next, y
3y2 3 ( 2zy) |1 2z. 4 0 4
Finally, z
3z 7 ( z 2 ) |1 . 4 0 4
40
20