Calculus Quiz 1
April 19, 2007Name:
Id #:
1. (5 points) Evaluate Z π/6
0
excos x dx
Solution: Let I= Z π/6
0
excos x dx=exsin x|π0/6− Z π/6
0
exsin x dx
=exsin x|π0/6+excos x|π0/6− Z π/6
0
excos x dx=¡1 2+
√3
2
¢eπ/6−e−I
Therefore, I=¡1 4+
√3
4
¢eπ/6−e 2.
2. (5 points) Find
Z x2+1 x2+3x+2dx Solution:
Z x2+1
x2+3x+2dx= Z ¡
1+ −3x−1 x2+3x+2
¢dx=x+
Z ¡ A
x+1+ B x+2
¢dx
where A,B satisfy that−3x−1=A(x+2) +B(x+1)for all x∈R.
By setting x=−1 and x=−2,we get A=2 and B=−5,respectively.
Therefore,
Z x2+1
x2+3x+2dx=x+2ln(x+1)−5ln(x+2).
3. (5 points) Show that Z ∞
1
√ 1
1+x2dx is divergent.
Solution: Since lim
x→∞
√ 1 1+x2
1 x
=1,and Z ∞
1
1
xdx=lnx|∞1 =∞, Z ∞
1
√ 1
1+x2dx is divergent by the limit comparison test.
4. (5 points) Use the trapezoidal rule to approximate the integral Z 3
1
x3dx with n =5. Compare your approximation with the exact value.
Solution: Note that xi=1+2i
5 =5+2i
5 for i=0,1, . . . ,5.
Hence, T5(x3) =1 5
¡1+27+2
∑
4 i=1(5+2i)3 125
¢=20+ 8 25. Since the exact value is
Z 3
1
x3dx=x4
4 |31=20,the error is 8 25.
5. (5 points) Find the Taylor series of f(x) =tan−1x at x=0.
Solution: Note that d tan−1x
dx = 1
1+x2,and 1
1−u=
∑
∞k=0
uk.We get that 1
1+u =
∑
∞k=0
(−1)kuk, which implies that 1
1+x2 =
∑
∞k=0
(−1)kx2k.Hence, tan−1x=
Z 1
1+x2dx=
∑
∞k=0
(−1)kx2k+1 2k+1 .
Page 2