Solutions to review exam 1

MA1132 (Advanced Calculus)
Instructor: Petronela Radu
Tuesday, February 19, 2013
Solutions to Sample Exam 1
1.
P
(a) Write the Maclaurin series of f (x) = ln (1 − x). Write the series with the
notation, as well as an enumeration of (the first few) terms of the series.
Solution:
The derivatives of the function f (that is infinitely times differentiable away from
x = 1) are
f 0 (x) =
1
,
x−1
f 00 (x) = −
1
,
(x − 1)2
f (n) (x) = (−1)n+1
f 000 (x) =
2!
, ...,
(x − 1)3
(n − 1)!
(x − 1)n
Therefore, the Maclaurin series is given by
∞
X
f (n) (0)
n=0
n!
n
x =
∞
X
(−1)(n − 1)!
n=0
n!
∞
X
1
x2 x3
xn
x =
(−1) xn = −x− − −...− −....
n
2 3
n
n=0
n
It can be shown that the series converges for x ∈ [−1, 1).
(b) Write the fifth order Taylor polynomial for f (x) = sin (2 − x) at x = 1.
Solution: We start by computing the derivatives
f 0 (x) = − cos(2 − x), f 00 (x) = − sin(2 − x), f 000 (x) = cos(2 − x),
f (4) (x) = sin(2 − x), f (5) (x) = − cos(2 − x).
The fifth order Taylor polynomial at x = 1 is then
P5 (x) = sin 1 − (cos 1)x −
sin 1 2 cos 1 3 sin 1 4 cos 1 5
x +
x +
x −
x.
2
3!
4!
5!
(c) Find the radius and interval of convergence for the following power series:
∞
X
(−2)k−1 2k−1
i.
x
(2k − 1)
k=1
Solution: We use the ratio test so we compute
2
(−2)k x2k+1
(2k
−
1)
= lim 2(2k + 1)|x| = 2|x|2
lim ·
k→∞
(2k + 1)
(−2)k−1 x2k−1 k→∞
2k − 1
1
2
In order
√ to guarantee convergence of the series we must have 2|x| < 1, i.e.
|x| < 2/2. We check the endpoints of the interval:
√
√
∞
X
2
(−1)k−1 2
x=
:
converges as an alternating series.
2
(2k
−
1)
2
k=1
√
∞
X
(−1)k
2
again, converges as an alternating series.
(2k
−
1)
2
k=1
√
Therefore the
radius
of
convergence
is
R
=
2/2, while the interval of conver√
√
gence is [− 2/2, 2/2].
∞
X
2k + 3
ii.
(x + 2)k
k · k!
k=1
Solution: Again, the ratio test will be used, so compute
(2k + 5)(x + 2)k+1
k · k!
= lim k(2k + 5)|x + 2| = 0.
·
lim k
k→∞
(k + 1) · (k + 1)! (2k + 3)(x + 2) k→∞ (k + 1)2 (2k + 3)
√
2
:
x=−
2
Since this limit is always less than 1, we have that the series converges for all
x, hence the radius of convergence R = ∞ and the interval of convergence is
(−∞, ∞).
2. Find the partials
∂f
∂f
and
evaluated at (x0 , y0 ) = (1, 1) for
∂x
∂y
f (x, y) = e(x+2y−3) sin(πx)
Solution:
We compute
∂f
(x, y) = e(x+2y−3) (sin(πx) + π cos πx),
∂x
∂f
(x, y) = 2e(x+2y−3) sin(πx).
∂y
Evaluated at the point (1,1) these functions give us
∂f
(1, 1) = e0 (0 − π) = −π,
∂x
∂f
(1, 1) = 2e0 sin(π) = 0.
∂y
3. Find parametric equations for the tangent line to the parametric curve
x(t) = ((1 + t) cos(πt), (1 + t) sin(πt), 2t − 1)
at the point where t = 1/2.
2
Solution: The tangent vector to the curve is given by the vector
x0 (t) = (cos(πt) − π(1 + t) sin(πt), sin(πt) + π(1 + t) cos(πt), 2).
At t = 1/2 the tangent vector will be given by v = x0 (1/2) = (−3π/2, 1, 2). The parametric equations of a line passing through a point x0 of direction v are given by
x = x0 + tv,
t ∈ R.
At t = 1/2 we obtain the point x0 = (0, 3/2, 0) so the parametric equations are


x1 = −3tπ/2
x2 = 3/2 + t , t ∈ R.


x3 = 2.
4. For f (x, y) = (x + y)5 cos(πx) and (x0 , y0 ) = (1/2, 1/2) find the equation of the tangent
plane to the graph z = f (x, y) at the point on the graph where (x, y) = (x0 , y0 ).
Solution: The equation of the tangent plane to the graph gives the linear approximation of
a surface:
z = f (x0 , y0 ) + fx (x0 , y0 )(x − x0 ) + fy (x0 , y0 )(y − y0 ).
We have
fx (1/2, 1/2) = [5(x + y)4 cos(πx) − π(x + y)5 sin(πx)]|(x=1/2,y=1/2) = −π
fy (1/2, 1/2) = [5(x + y)4 cos(πx)]|(x=1/2,y=1/2) = 0
The equation of the tangent plane is then given by
z = f (1/2, 1/2) − π(x − 1/2)
or 2z + 2πx = π, since f (1/2, 1/2) = 0.
3