Engineering Maths
Engineering Maths
1. Let
2
g(x, y, z) = e−(x+y) + z 2 (x + y).
Suppose that a piece of fruit is sitting on a table in a room, and at each point (x, y, z)
in the space within the room, g(x, y, z) gives the strength of the odor of the fruit.
Furthermore, suppose that a certain bug always flies in the direction in which the
fruit odor increases fastest. Suppose also that the bug always flies with a speed of 2
feet/second.
What is the velocity vector of the bug when it is at the position (2, −2, 1)?
2. The path of a particle in space is given by the functions x(t) = 2t, y(t) = cos(t), and
z(t) = sin(t). Suppose the temperature in this space is given by a function H(x, y, z).
Find dH
dt
, the rate of change of the temperature at the particle’s position. (Since the
actual function H(x, y, z) is not given, your answer will be in terms of derivatives of
H.)
3. Let
f (x, y) = x3 − xy + cos(π(x + y)).
(a) Find a vector normal to the level curve f (x, y) = 1 at the point where x = 1,
y = 1.
(b) Find the equation of the line tangent to the level curve f (x, y) = 1 at the point
where x = 1, y = 1.
(c) Find a vector normal to the graph z = f (x, y) at the point x = 1, y = 1.
(d) Find the equation of the plane tangent to the graph z = f (x, y) at the point
x = 1, y = 1.
1
5. We say that a line in 3-space is normal to a surface at a point of intersection if the
line is normal to (i.e. perpendicular to) the tangent plane of the surface at that point.
Let S be the surface defined by
x2 + y 2 + 2z 2 = 4.
(a) Find the parametric equations of the line that is normal to the surface S at the
point (1, 1, 1).
(b) The line found in (a) will intersect the surface S at two points. One of them is
(1, 1, 1), by construction. Find the other point of intersection.
6. Let
f (x, y) = (x − y)3 + 2xy + x2 − y.
(a) Find the function L(x, y) that gives the linear approximation of f near the point
(1, 2).
(b) Find the function Q(x, y) that gives the quadratic approximation of f near the
point (1, 2)
7. For each of the following functions, determine the set of points where the function is
not differentiable. Briefly explain how you know it is not differentiable; use a picture
if it helps.
(You do not have to prove that it is not differentiable; just identify the set of points
based on your understanding of what differentiable means.)
¯ ¯
(a) f (x, y) = ¯x2 + y 2 − 1¯
(b) f (x, y) = (x2 + y 2 )1/4
2
(c) f (x, y) = e−x +y
x3 − xy + 1
(d) f (x, y) =
x2 − y 2
8. Suppose w = Q(x, y, z), where Q is a differentiable function. Next suppose that
x = f (t), y = g(t) and z = h(t).
dw
(a) Use the chain rule to find an expression for dt
in terms of Q, f , g, h and their
derivatives (e.g. Qx , f 0 , etc.).
(b) Show that the expression in (a) may be written as
dw d~r
= (grad Q(~r(t)) · ,
dt dt
where · is the dot product, ~r(t) = f (t)~i + g(t)~j + h(t)~k is the vector form of the
parameterized curve x = f (t), y = g(t), and z = h(t), and, if ~r = a~i + b~j + c~k,
Q(~r) means Q(a, b, c).
2
9. (a) Give an example of a function f (x, y) for which (0, 0) is a local minimum but for
which the second derivative test fails to determine this classification.
(b) Give an example of a function that has a global maximum at the point (3, 2).
(c) Suppose f is a differentiable function, and
f (0, 0) = 0, fx (0, 0) = 0, fy (0, 0) = 0,
fxx (0, 0) = 4, fyy (0, 0) = 0, and fxy (0, 0) = 3
i. If possible, classify the origin as a local maximum, local minimum, or saddle
point.
ii. Sketch a possible contour diagram of f near the origin. Be sure to label your
contour lines.
(d) Let R be the region in the plane where x2 + y 2 ≤ 4. Either give an example of
a function defined on R which has no global maximum, or explain why such a
function is not possible.
f (x, y) = xy 2 + x3 − 2xy,
and classify each critical points as either a local maximum, local minimum, or saddle
point (if possible).
3
Solutions
1. Since the bug flies in the direction in which the fruit odor increases fastest, it flies in
the direction of grad g. The gradient of g is
³ ´ ³ ´
grad g(x, y, z) = −2(x + y)e−(x+y) + z 2 ~i + −2(x + y)e−(x+y) + z 2 ~j
2 2
and
grad g(2, −2, 1) = ~i + ~j.
The bug always has a speed of 2, so the velocity vector must have a magnitude of 2.
A vector with magnitude 2 and in the same direction as the gradient is
grad g(2, −2, 1) 2
2 = √ (~i + ~j).
kgrad g(2, −2, 1)k 2
3. (a) The gradient of f is normal to the level curve at each point. We find
and
grad f (1, 1) = 2~i − ~j,
so one possible answer is 2~i − ~j.
(b) The line is
2(x − 1) − (y − 1) = 0, or 2x − y = 1.
(c) The graph is the level surface g(x, y, z) = 0 of the function g(x, y, z) = f (x, y) −
z. The gradient of g is normal to the level surface at each point. We have
grad g(x, y, z) = grad f (x, y) − ~k. The point on the surface where (x, y) = (1, 1)
is (1, 1, f (1, 1)) = (1, 1, 1). A vector normal to the graph at (1, 1, 1) is
4
(c) The graph is the level surface g(x, y, z) = 0 of the function g(x, y, z) = f (x, y) −
z. The gradient of g is normal to the level surface at each point. We have
grad g(x, y, z) = grad f (x, y) − ~k. The point on the surface where (x, y) = (1, 3)
is (1, 3, f (1, 3)) = (1, 3, 1). A vector normal to the graph at (1, 3, 1) is
5. (a) In vector form, the equation of a line is ~r = ~r0 + t~v , where ~r0 is the position
vector of a point in the line, and ~v is a vector in the direction of the line. We
already have ~r0 = ~i + ~j + ~k. Let f (x, y, z) = x2 + y 2 + 2z 2 . Since the gradient
vector of f is perpendicular to the level surface, we can use it for ~v . That is,
~v = grad f (1, 1, 1) = 2~i + 2~j + 4~k. Thus the equation of the line is
or
x = 1 + 2t, y = 1 + 2t, z = 1 + 4t.
(b) We can find the points by first finding the values of t at which the line intersects
the surface x2 +y 2 +2z 2 = 4. Plugging the parametric equations into the equation
of the surface, we have
5
6. (a) First get the numbers:
f (1, 2) = −1 + 4 + 1 − 2 = 2,
fx (x, y) = 3(x − y)2 + 2y + 2x, fx (1, 2) = 3 + 4 + 2 = 9,
fy (x, y) = −3(x − y)2 + 2x − 1, fy (1, 2) = −3 + 2 − 1 = −2.
Then
L(x, y) = f (1, 2) + fx (1, 2)(x − 1) + fy (1, 2)(y − 2)
= 2 + 9(x − 1) − 2(y − 2).
7. (a) This function is not differentiable on the circle x2 + y 2 = 1. The graph has a
“corner” at these points.
(b) This function is notp differentiable at the origin. Consider the cross section y = 0:
f (x, 0) = (x2 )1/4 = |x|. The graph has a cusp (i.e. a point) at x = 0.
(c) This function is the composition of polynomials and the exponential function, so
it is differentiable everywhere.
(d) This function is not differentiable at points where the denominator is zero; that
is, where x2 = y 2 . This gives the lines y = x and y = −x.
8. (a)
dw dx dy dz
= Qx (x, y, z) + Qy (x, y, z) + Qz (x, y, z)
dt dt dt dt
= Qx (f (t), g(t), h(t))f 0 (t) + Qy (f (t), g(t), h(t))g 0 (t) + Qz (f (t), g(t), h(t))h0 (t)
= Qx (~r(t))f 0 (t) + Qy (~r(t))g 0 (t) + Qz (~r(t))h0 (t)
(b) Since
grad Q(x, y, z) = Qx (x, y, z)~i + Qy (x, y, z)~j + Qz (x, y, z)~k,
we have
grad Q(~r(t)) = Qx (~r(t))~i + Qy (~r(t))~j + Qz (~r(t))~k,
Also,
d~r
= f 0 (t)~i + g 0 (t)~j + h0 (t)~k
dt
6
so we have
dw
= Qx (~r(t))f 0 (t) + Qy (~r(t))g 0 (t) + Qz (~r(t))h0 (t)
dt
d~r
= (grad Q(~r(t)) ·
dt
9. (a) One possibility is f (x, y) = x4 + y 4 . (See your class notes, or see Example 7 on
page 708 of the text.)
(b) A quadratic function seems like the simplest choice. One possible solution is
f (x, y) = −(x − 3)2 − (y − 2)2 .
(c) i. Since fx (0, 0) = 0 and fy (0, 0) = 0, we know (0, 0) is a critical point of f . We
find D = fxx (0, 0)fyy (0, 0) − fxy (0, 0)2 = −9 < 0, so (0, 0) is a saddle point.
ii. The second derivative test tells us that the graph is a saddle. (Since the
second derivative test is based on the degree 2 Taylor approximation, this is
not a “monkey saddle” or something more complicated.) Since f (0, 0) = 0,
we know two contour lines (where f (x, y) = 0) will meet at (0, 0). One of
these must be along the y axis, since fyy (0, 0) = 0. (If there was not a contour
line tangent to the y axis at (0, 0), we would not have fyy (0, 0) = 0.) Now,
since fxy (0, 0) = 3, fx will increase along the positive y axis. This means that
f (x, y) > 0 just to the right of the positive y axis, and f (x, y) < 0 just to the
left of the positive y axis.
Since fxx (0, 0) = 4 > 0, f (x, 0) > 0 along the x axis. Now consider the values
of f in the second quadrant (x < 0, y > 0). Near the x axis, f (x, y) > 0,
but near the y axis, f (x, y) < 0. So the contour line f (x, y) = 0 must cut
through the second quadrant. (It must also, therefore, cut through the fourth
quadrant.)
Here is a possible contour diagram:
1 −1
2
0
1.5
1
.5
−0
0
0.5
0.5
0.5
0
1.
1
5
0
y
1.
0
5
1
0.
5
0.5
−0.5
0
−0.5
1.5
−1
2
−1
−1 −0.5 0 0.5 1
x
This happens to be the function f (x, y) = 2x2 + 3xy (but you did not have
to find an actual function to sketch a qualitatively correct contour diagram).
7
(d) Here is one possibility:
(
1
x2 +y 2
(x, y) 6= (0, 0)
f (x, y) =
0 (x, y) = (0, 0)
We will need
fxx (x, y) = 6x, fyy (x, y) = 2x, and fxy (x, y) = 2y − 2.
The discriminant at a critical point (x0 , y0 ) is then
D(x0 , y0 ) = (6x0 )(2x0 ) − (2y0 − 2)2 = 12x20 − 4(y0 − 1)2 .