

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Maple Lab for Calculus II Lab 9
The topic of improper integrals involves both definite integrals and limits. While Maple usually can evaluate an improper integral directly as if it were a proper integral, the main objective of this lab is to illustrate how to use it to help you to understand individual steps involved in evaluating improper integrals.
Important Maple command introduced in this lab:
Command/Example Description assuming; Examples: solve(abs(x)=a,x) assuming a>0; limit(xexp(ax),x=infinity) assuming a<0; int(sec(x),x=0..a) assuming a>0 and a<Pi/2;
It is used to compute the value of an expres- sion under assumptions. Its general form is: (expression) assuming (property);, where (ex- pression) is an expression or input to be eval- uated and (property) is an assumed property.
Recall from §8.8 of the text that an improper integral can be identified as a definite integral over an infinite interval or with a unbounded integrand within the interval of integration. The skills involved in evaluating an improper integral include identifying its improperness, reformulating the integral as an appropriate limit, finding the integral using the Fundamental Theorem of Calculus, and evaluating the limit. You need to understand and work through those steps, especially when the integral involves parameters.
We will work through some problems to illustrate how to use Maple to carry out individual steps involved in evaluating improper integrals. As you and your TA work through those activities, feel free to experiment with other problems. At the minimum, you should check your work and answers for some homework problems.
Activity/Example 1: Improper integrals with unbounded integrands
0
ln x dx is improper.
Activity/Example 2: Improper integrals over infinite intervals
−∞
x x^2 + 1
dx as two appropriate limits and find the new integrals using the FTOC.
Activity/Example 3: Improper integrals with parameters. Example 2 on Page 571 of the text: For what values of p does
1
xp^
dx converge?.
Fall 2008 Created 10/14/
Maple Lab for Calculus II Lab 9
restart;
f:=x->ln(x); plot(f(x),x=0..5);
limit(f(x),x=0,right);
Limit(Int(f(x),x=a..5),a=0,right);
I1:=int(f(x),x=a..5); limit(I1,a=0,right);
I2:=Limit(Int(x/(x^2+1),x=a..0),a=-infinity) +Limit(Int(x/(x^2+1),x=0..b),b=infinity);
I2:=Limit(int(x/(x^2+1),x=a..0),a=-infinity) +Limit(int(x/(x^2+1),x=0..b),b=infinity); I2:=limit(int(x/(x^2 +1),x=a..0),a=-infinity) +limit(int(x/(x^2+1),x=0..b),b=infinity);
I21:=limit(int(x/(x^2+1),x=a..0),a=-infinity); I22:=limit(int(x/(x^2+1),x=0..b),b=infinity); I2:=I21+I22;
I1:=int(f(x),x=0..5); I2:=int(x/(x^2+1),x=-infinity..infinity);
I3:=int(1/x^p,x=1..infinity);
I3 assuming p>1; I3 assuming p<1; I3 assuming p=1;
I3:=int(1/x,x=1..infinity);
x
dx = ln |x|. In conclusion, the improper integral
1
xp^
dx diverges
if p ≤ 1 and converges to (^) p−^11 if p > 1. (You need this fact in Chapter 10).
Repeat Activity/Example 1, 2, and 3 for the following 3 integrals, respectively:
∫ (^) π/ 2
0
sec(x) dx 2)
0
xe−x^ dx 3)
2
x(ln(x))p^
dx
Finish lab activities and do exercises 62 and 63 on page 579 of the text. Please show work and steps.
Fall 2008 Created 10/14/