Untitled
Untitled
Untitled
The midterm exam consists of 4 problems. You have 120 minutes to answer
the questions. In addition you have 15 minutes to scan and upload your
solutions to Nestor. Upload your solutions in a single file. For the filename,
use the format Lastname Studentnumber Midterm. You can achieve 100 points
which includes a bonus of 10 points.
1. [5+5+10=20 Points]
Let f : R2 → R be defined as
x3 −y 3
x2 +y 2
if (x, y) 6= (0, 0)
f (x, y) = .
0 if (x, y) = (0, 0)
1. (a) Using polar coordiantes (x, y) = (r cos θ, r sin θ) we get for r > 0,
r3 cos3 θ − r3 sin3 θ
f (r cos θ, r sin θ) = 2 2 2 2 = r(cos3 θ − sin3 θ)
r cos θ + r sin θ
which goes to 0 = f (0, 0) for r → 0. Hence f is continuous at (0, 0).
(b) By definition
f (tv, tw) − f (0, 0)
Du f (0, 0) = lim
t→0 t
t3 v 3 −t3 w3
2 2 2 2 − 0
= lim t v +t w
t→0 t
= lim v 3 − w3
t→0
= v − w3 .
3
(c) Choosing u = (1, 0) in part (b) we get fx (0, 0) = 1 and similarly choosing
u = (0, 1) we get fy (0, 0) = −1. The linearization of f at (0, 0) hence is
L(x, y) = f (0, 0) + fx (0, 0)(x − 0) + fy (0, 0)(y − 0) = x − y.
For the differentiability of f at (0, 0) we need to study the limit of
f (x, y) − L(x, y)
k(x, y)k
for (x, y) → (0, 0). For (x, y) 6= (0, 0) we have
x −y 3 3
f (x, y) − L(x, y) x2 +y 2
−(x − y) x3 − y 3 − (x − y)(x2 + y 2 )
= = .
k(x, y)k (x2 + y 2 )1/2 (x2 + y 2 )3/2
Using polar coordinates we get for r > 0,
x3 − y 3 − (x − y)(x2 + y 2 ) r3 cos3 θ − r3 sin3 θ − (r cos θ − r sin θ)(r2 cos2 θ + r2 sin2 θ)
=
(x2 + y 2 )1/2 (r2 cos2 θ + r2 sin2 θ)3/2
= cos3 θ − sin3 θ − (cos θ − sin θ)
3 3
which for θ = π/4 gives √12 − √12 − √12 − √12 = 0 and for θ = −π/4
3 3
gives √12 + √12 − √12 + √12 = − √12 and hence has no limit for r → 0.
We conclude that f is not differentiable at (0, 0).
2. (a) The tangent vector
r0 (t) = −3 cos2 t sin t i + 3 sin2 t cos t j + (−2 cos t sin t − 2 sin t cos t) k
= −3 cos2 t sin t i + 3 sin2 t cos t j − 4 cos t sin t k
has length
1/2
kr0 (t)k = 9 cos4 t sin2 t + 9 sin4 t cos2 t + 16 cos2 t sin2 t
1/2
= cos2 t sin2 t 9(cos2 t + sin2 t) + 16
1/2
= cos t sin t 25 = 5 cos t sin t,
where we used that cos t and sin t are non-negative for t ∈ [0, π/2]. The arc
length is hence
ˆ t ˆ t
0 5 τ =t 5 5
s(t) = kr (τ )k dτ = 5 cos τ sin τ dτ = sin2 (τ )τ =0 = sin2 t = (1−cos2 t).
0 0 2 2 2
So sin2 t = 25 s and cos2 = 1 − 25 s. The parametrization by arc length is thus
given by
2 2 4
r̃(s) = r(t(s)) = ((1 − s)3/2 i + ( s)3/2 j + (1 − s) k
5 5 5
with s ∈ [s(0), s(π/2)] = [0, 5/2].
(b) The unit tangent vector at the point r̃(s), s ∈ [0, 5/2], is given by
1/2 1/2
dr̃(s) 3 2 3 2 4
T(s) = =− 1− s i+ s j− k
ds 5 5 5 5 5
which agrees with
1 0 1 2 2
r (t) = −3 cos t sin t i + 3 sin t cos t j − 4 cos t sin t k
kr0 (t)k 5 cos t sin t
3 3 4
= − cos t i + sin t j − k (1)
5 5 5
when substituting sin2 t = 52 s and cos2 = 1 − 52 s.
(c) The curvature at the point r̃(s), s ∈ [0, 5/2], is given by
1/2 1/2 !
dT(s)
d 3 2 3 2 4
κ(s) =
=
− 1 − s i + s j − k
ds
ds 5 5 5 5 5
−1/2 −1/2
3 2 1 2 321 2
=
− − 1− s i+ s j + 0 k
5 5 2 5 552 5
1/2
3 2 −1 2 −1
= 1− s + s
25 5 5
= ...
1/2
3 1
= .
5 10s − 4s2
Differentiating (1) with respect to t and dividing by kr0 (t)k which by the chain
rule corresponds to differentiating with s gives
1/2
1 9 2 9 2 3
sin t + cos t =
5 cos t sin t 25 25 25 cos t sin t
which agrees with the κ above when substituting sin2 t = 25 s and cos2 = 1 − 25 s.
3. (a) Let F (x, y, z) = x2 + 2y 2 + 3z 2 . Then the ellipsoid S is given by the equation
F (x, y, z) = 6. The gradient of F is ∇F (x, y, z) = 2x i + 4y j + 6z k and is
normal to S at (x, y, z) ∈ S. The tangent plane at (x0 , y0 , z0 ) ∈ S is given by
the equation
∇F (x0 , y0 , z0 ) · ((x − x0 ) i + (y − y0 ) j + (z − z0 ) k) = 0
i.e.
2x0 (x − x0 ) + 4y0 (y − y0 ) + 6z0 (z − z0 ) = 0.
For (x0 , y0 , z0 ) = (1, 1, 1) this gives
x + 2y + 3z = 6. (2)
−8 sin2 t + 4 cos2 t dt
=
ˆ0 π
−8 + 8 cos2 t + 4 cos2 t dt
=
ˆ0 π
12 cos2 t − 8 dt
=
0
t=π
12
= (cos t sin t + t) − 8t
2 t=0
= −2t|t=π
t=0
= −2π.