U3 Dec2021
U3 Dec2021
1. Compute the following improper integrals (choose only two; 2 points each integral):
Z ∞
(a) e−2x sen(4x) dx
0
Z ∞
1
(b) √ dx
0 (x + 1) x
Z e2 √
(c) x log(x) dx
0
2. (2 p.) Find the area of the region bounded by the graphs of the functions
x2 − 18
f (x) = 2 and g(x) = 18 − x2
x +9
27
Remark: another expression for the function f is f (x) = 1 − .
x2+9
(a) (0.75 p.) Find an upper bound M2 such that |f ′′ (x)| ≤ M2 , ∀x ∈ [0, π2 ].
(b) (2 p.) Compute the two approximations of I obtained by using the composite trapezoid
and Simpson's rules when we evaluate the function at ve points in each case. Find upper
bounds on the errors.
(c) (0.5 p.) Determine the number of points at which we have to evaluate the function f to
approximate I up to an error 10−6 by using the composite trapezoid rule.
(d) (0.75 p.) Determine the number of points at which we have to evaluate the function f
to approximate I up to an error 10−6 by using the composite Simpson's rule. Write the
formula of the estimate.
Formulas
Trapezoid rule (composite)
Z b
I= f (x) dx
a
n−1
!
b−a X
I∗ = f (a) + 2 f (xk ) + f (b)
2n k=1
b−a
where xk = a + k , k = 0, 1, . . . , n
n
(b − a)3
|I − I ∗ | ≤ M2
12 · n2
where |f ′′ (x)| ≤ M2 , ∀x ∈ [a, b].
b−a
where xk = a + k , k = 0, 1, . . . , 2n
2n
(b − a)5
|I − I ∗ | ≤ M4
25 · 90 · n4
where |f (4) (x)| ≤ M4 , ∀x ∈ [a, b].