Skip to main content

CLP-3 Multivariable Calculus

Appendix D Solutions to Exercises

1 Vectors and Geometry in Two and Three Dimensions
1.1 Points

Exercises

1.1.1.
Solution.
  1. The point (x,y,z) satisfies x2+y2+z2=2x4y+4 if and only if it satisfies x22x+y2+4y+z2=4, or equivalently (x1)2+(y+2)2+z2=9. Since (x1)2+(y+2)2+z2 is the distance from (1,2,0) to (x,y,z), our point satisfies the given equation if and only if its distance from (1,2,0) is three. So the set is the sphere of radius 3 centered on (1,2,0).
  2. As in part (a), x2+y2+z2<2x4y+4 if and only if (x1)2+(y+2)2+z2<9. Hence our point satifies the given inequality if and only if its distance from (1,2,0) is strictly smaller than three. The set is the interior of the sphere of radius 3 centered on (1,2,0).
1.1.2.
Solution.
  1. x=y is a straight line and passes through the points (0,0) and (1,1). So it is the straight line through the origin that makes an angle 45 with the x- and y-axes. It is sketched in the figure on the left below.
  2. x+y=1 is the straight line through the points (1,0) and (0,1). It is sketched in the figure on the right above.
  3. x2+y2 is the square of the distance from (0,0) to (x,y). So x2+y2=4 is the circle with centre (0,0) and radius 2. It is sketched in the figure on the left below.
  4. The equation x2+y2=2y is equivalent to x2+(y1)2=1. As x2+(y1)2 is the square of the distance from (0,1) to (x,y), x2+(y1)2=1 is the circle with centre (0,1) and radius 1. It is sketched in the figure on the right above.
  5. As in part (d),
    x2+y2<2yx2+y22y<0x2+y22y+1<1x2+(y1)2<1
    As x2+(y1)2 is the square of the distance from (0,1) to (x,y), x2+(y1)2<1 is the set of points whose distance from (0,1) is strictly less than 1. That is, it is the set of points strictly inside the circle with centre (0,1) and radius 1. That set is the shaded region (not including the dashed circle) in the sketch below.
1.1.3.
Solution.
  1. For each fixed y0, z=x, y=y0 is a straight line that lies in the plane, y=y0 (which is parallel to the plane containing the x and z axes and is a distance y0 from it). This line passes through x=z=0 and makes an angle 45 with the xy-plane. Such a line (with y0=0) is sketched in the figure below. The set z=x is the union of all the lines z=x, y=y0 with all values of y0. As y0 varies z=x, y=y0 sweeps out the plane which contains the y-axis and which makes an angle 45 with the xy-plane. Here is a sketch of the part of the plane that is in the first octant.
  2. x+y+z=1 is the plane through the points (1,0,0), (0,1,0) and (0,0,1). Here is a sketch of the part of the plane that is in the first octant.
  3. x2+y2+z2 is the square of the distance from (0,0,0) to (x,y,z). So x2+y2+z2=4 is the set of points whose distance from (0,0,0) is 2. It is the sphere with centre (0,0,0) and radius 2. Here is a sketch of the part of the sphere that is in the first octant.
  4. x2+y2+z2=4, z=1 or equivalently x2+y2=3, z=1, is the intersection of the plane z=1 with the sphere of centre (0,0,0) and radius 2. It is a circle in the plane z=1 that has centre (0,0,1) and radius 3. The part of the circle in the first octant is the heavy quarter circle in the sketch
  5. For each fixed z0, x2+y2=4, z=z0 is a circle in the plane z=z0 with centre (0,0,z0) and radius 2. So x2+y2=4 is the union of x2+y2=4, z=z0 for all possible values of z0. It is a vertical stack of horizontal circles. It is the cylinder of radius 2 centered on the z-axis. Here is a sketch of the part of the cylinder that is in the first octant.
  6. For each fixed z00, the curve z=x2+y2, z=z0 is the circle in the plane z=z0 with centre (0,0,z0) and radius z0. As z=x2+y2 is the union of z=x2+y2, z=z0 for all possible values of z00, it is a vertical stack of horizontal circles. The intersection of the surface with the yz-plane is the parabola z=y2. Here is a sketch of the part of the paraboloid that is in the first octant.
1.1.4.
Solution.
  1. The z coordinate of any point is the signed distance from the point to the xy-plane. So the distance from (2,1,3) to the xy-plane is |3|=3.
  2. The y coordinate of any point is the signed distance from the point to the xz-plane. So the distance from (2,1,3) to the xz-plane is |1|=1.
  3. The distance from (2,1,3) to (x,0,0) is
    (2x)2+(10)2+(30)2=(x2)2+10
  4. Since (x2)20, the distance (x2)2+10 is minimized when x=2. Alternatively,
    ddx(x2)2+10=x2(x2)2+10=0x=2
    So the point on the x-axis that is closest to A is (2,0,0).
  5. As (2,0,0) is the point on the x-axis that is nearest (2,1,3), the distance from A to the x-axis is
    (22)2+(10)2+(30)2=12+32=10
1.1.5.
Solution.
Call the centre of the circumscribing circle (x¯,y¯). This centre must be equidistant from the three vertices. So
x¯2+y¯2=(x¯a)2+y¯2=(x¯b)2+(y¯c)2
or, subtracting x¯2+y¯2 from the three equal expressions,
0=a22ax¯=b22bx¯+c22cy¯
which implies
x¯=a2y¯=b2+c22bx¯2c=b2+c2ab2c
The radius is the distance from the vertex (0,0) to the centre (x¯,y¯), which is (a2)2+(b2+c2ab2c)2.
1.1.6. (✳).
Solution.
The distance from P to the point (0,0,1) is x2+y2+(z1)2. The distance from P to the specified plane is |z+1|. Hence the equation of the surface is
x2+y2+(z1)2=(z+1)2 or x2+y2=4z
All points on this surface have z0. The set of points on the surface that have any fixed value, z00, of z consists of a circle that is centred on the z-axis, is parallel to the xy-plane and has radius 2z0. The surface consists of a stack of these circles, starting with a point at the origin and with radius increasing vertically. The surface is a paraboloid and is sketched below.
1.1.7.
Solution.
Let (x,y,z) be a point in P. The distances from (x,y,z) to (3,2,3) and to (3/2,1,0) are
(x3)2+(y+2)2+(z3)2 and (x3/2)2+(y1)2+z2
respectively. To be in P, (x,y,z) must obey
(x3)2+(y+2)2+(z3)2=2(x3/2)2+(y1)2+z2(x3)2+(y+2)2+(z3)2=4(x3/2)2+4(y1)2+4z2
Squaring out both sides gives
x26x+9+y2+4y+4+z26z+9=4x212x+9+4y28y+4+4z2
and the simplifying gives
3x26x+3y212y+3z2+6z9=0x22x+y24y+z2+2z3=0(x1)2+(y2)2+(z+1)2=9
This is a sphere of radius 3 centered on (1,2,1).
1.1.8.
Solution.
For each fixed c0, the isobar p(x,y)=c is the curve x22cx+y2=3c2, or equivalently, (xc)2+y2=4c2. This is a circle with centre (c,0) and radius 2c. Here is a sketch of the isobars p(x,y)=c with c=0,1,2,3.

1.2 Vectors
1.2.9 Exercises

1.2.9.1.

Solution.
a+b=3,1, a+2b=4,2 2ab=3,1

1.2.9.2.

Solution.
If three points are collinear, then the vector from the first point to the second point, and the vector from the first point to the third point must both be parallel to the line, and hence must be parallel to each other (i.e. must be multiples of each other).
  1. The vectors 0,3,71,2,3=1,1,4 and 3,5,111,2,3=2,3,8 are not parallel (i.e. are not multiples of each other), so the three points are not on the same line.
  2. The vectors 1,2,20,3,5=1,1,3 and 3,0,40,3,5=3,3,9 are parallel (i.e. are multiples of each other), so the three points are on the same line.

1.2.9.3.

Solution.
By property 7 of Theorem 1.2.11,
(a)1,3,22,2,2=1×23×2+2×2=0(b)3,1,72,1,1=3×21×1+7×1=0(c)2,1,11,4,2=2×1+1×4+1×2=40
says that the vectors of parts (a) and (b) are perpendicular, while the vectors of part (c) are not perpendicular.

1.2.9.4.

Solution.
  1. The vector a has length
    |3,4|=32+42=25=5
    So the vector 153,4 has length 1 (i.e. is a unit vector) and is in the same direction as 3,4.
  2. Recall, from Definition 1.2.5, that a vector is parallel to a if and only if it is of the form sa for some nonzero real number s. Such a vector is a unit vector if and only if
    |sa|=1|s||3,4|=1|s|=1|3,4|=15s=±15
    So there are two unit vectors that are parallel to a, namely ±153,4.
  3. We have already found, in part (b), all vectors that are parallel to a and have length 1, namely ±153,4. To increase the lengths of those vectors to 10, we just need to multiply them by 10, giving ±1053,4=±23,4=±6,8.
  4. A vector x,y is perpendicular to a=3,4 if and only if
    0=x,y3,4=3x+4yy=34xx,y=x,34x=x44,3
    Such a vector is a unit vector if and only if
    |x|4|4,3|=1|x|4=1|4,3|=15x4=±15
    So there are two unit vectors that are perpendicular to a, namely ±154,3.

1.2.9.5.

Solution.
  1. The vector b has length
    |3,4,0|=32+42+02=25=5
    So the vector 153,4,0 has length 1 (i.e. is a unit vector) and is in the same direction as 3,4,0.
  2. Recall, from Definition 1.2.5, that a vector is parallel to b if and only if it is of the form sb for some nonzero real number s. Such a vector is a unit vector if and only if
    |sb|=1|s||3,4,0|=1|s|=1|3,4,0|=15s=±15
    So there are two unit vectors that are parallel to b, namely ±153,4,0.
  3. A vector x,y,z is perpendicular to a=3,4,0 if and only if
    0=x,y,z3,4,0=3x+4yy=34xx,y,z=x,34x,z
    Such a vector is a unit vector if and only if
    |x,34x,z|=1x2+916x2+z2=12516x2+z2=1
    There are infinitely many pairs x, z that obey 2516x2+z2=1. We can easily get two of them by setting x=0 and choosing z to obey z2=1, i.e. choosing z=±1. We can easily get two more of them by setting z=0 and choosing x to obey 2516x2=1, i.e. choosing x=±45. This gives us four vectors of length one that are perpendicular to b, namely
    ±0,0,1±45,3445,0=±154,3,0

1.2.9.6.

Solution.
projıı^a=(aıı^)ıı^=a1ıı^ and projȷȷ^a=(aȷȷ^)ȷȷ^=a2ȷȷ^.

1.2.9.7.

Solution.
The vector from (1,2,3) to (4,0,5) is 3,2,2. The vector from (1,2,3) to (3,6,4) is 2,4,1. The dot product between these two vectors is 3,2,22,4,1=0, so the vectors are perpendicular and the triangle does contain a right angle.

1.2.9.8.

Solution.
The area of a parallelogram is the length of its base time its height.
We can choose the base to be a. Then, if θ is the angle between its sides a and b, its height is |b|sinθ. So
area=|a||b|sinθ=|a×b|

1.2.9.9.

Solution.
The volume of a parallelepiped is the area of its base time its height. We can choose the base to be the parallelogram determined by the vectors b and c. It has area |b×c|. The vector b×c is perpendicular to the base.
Denote by θ the angle between a and the perpendicular b×c. The height of the parallelepiped is |a||cosθ|. So
volume=|a||cosθ||b×c|=|a(b×c)|

1.2.9.10.

Solution.
(a)
ıı^×ȷȷ^=det[ıı^ȷȷ^k^100010]=ıı^(0×00×1)ȷȷ^(1×00×0)+k^(1×10×0)=k^ȷȷ^×k^=det[ıı^ȷȷ^k^010001]=ıı^(1×10×0)ȷȷ^(0×10×0)+k^(0×01×0)=ıı^k^×ıı^=det[ıı^ȷȷ^k^001100]=ıı^(0×01×0)ȷȷ^(0×01×1)+k^(0×00×1)=ȷȷ^
(b)
a(a×b)=a1(a2b3a3b2)a2(a1b3a3b1)+a3(a1b2a2b1)=0b(a×b)=b1(a2b3a3b2)b2(a1b3a3b1)+b3(a1b2a2b1)=0

1.2.9.11.

Solution.
This statement is false. The two numbers ab, ac are equal if and only if a(bc)=0. This in turn is the case if and only if a is perpendicular to bc (under the convention that 0 is perpendicular to all vectors). For example, if a=1,0,0, b=0,1,0, c=0,0,1, then bc=0,1,1 is perpendicular to a so that ab=ac.

1.2.9.12.

Solution.
This statement is true. In the event that b and c are parallel, b×c=0 so that a×(b×c)=0=0b+0c, so we may assume that b and c are not parallel. Then as α and β run over R, the vector αb+βc runs over the plane that contains the origin and the vectors b and c. Call this plane P. Because d=b×c is nonzero and perpendicular to both b and c, P is the plane that contains the origin and is perpendicular to d. As a×(b×c)=a×d is always perpendicular to d, it lies in P.

1.2.9.13.

Solution.
None. The given equation is nonsense. The left hand side is a number while the right hand side is a vector.

1.2.9.14.

Solution.
If b and c are parallel, then b×c=0 and a(b×c)=0 for all a. If b and c are not parallel, a(b×c)=0 if and only if a is perpendicular to d=b×c. As we saw in question 1.2.9.12, the set of all vectors perpendicular to d is the plane consisting of all vectors of the form αb+βc with α and β real numbers. So a must be of this form.

1.2.9.15.

Solution.
(a) The sketch for part (a) is on the left below. To sketch the projections, we dropped perpendiculars
  • from C to the line from O to A, and
  • from C to the line from O to B.
By definition,
  • projOAOC is the vector OPA from O to the point PA, where the perpendicular from C to the line from O to A hits the line, and
  • projOBOC is the vector OPB from O to the point PB, where the perpendicular from C to the line from O to B hits the line.
To evaluate the projections we observe that the three lines from C to O, from C to A and from C to B all have exactly the same length (namely the radius of the circumscribing circle). Consequently (see the figure on the right above),
  • the triangle OCA is an isoceles triangle, so that PA is exactly the midpoint of the line segement from O to A. That is, PA is (a/2,0) and
    projOAOC=OPA=a/2,0
  • Similarly, the triangle OCB is an isoceles triangle, so that PB is exactly the midpoint of the line segement from O to B. That is PA is (b/2,c/2) and
    projOBOC=OPB=b/2,c/2
(b) Call the centre of the circumscribing circle (x¯,y¯). This centre must be equidistant from the three vertices. So
x¯2+y¯2=(x¯a)2+y¯2=(x¯b)2+(y¯c)2
or, subtracting x¯2+y¯2 from all three expression,
0=a22ax¯=b22bx¯+c22cy¯
which implies
x¯=a2y¯=b2+c22bx¯2c=b2+c2ab2c
(c) From part (b), we have
OAOC=a,0a2,b2+c2ab2c=a22=12|OA|2OBOC=b,ca2,b2+c2ab2c=ab2+b2+c2ab2=b2+c22=12|OB|2
So, by Equation 1.2.14,
projOAOC=OAOC|OA|2OA=12OA=a/2,0projOBOC=OBOC|OB|2OB=12OB=b/2,c/2

1.2.9.16.

Solution.
The center of the sphere is 12{(2,1,4)+(4,3,10)}=(3,2,7). The diameter (i.e. twice the radius) is |(2,1,4)(4,3,10)|=|(2,2,6)|=2|(1,1,3)|=211. So the radius of the sphere is 11 and the equation of the sphere is
(x3)2+(y2)2+(z7)2=11

1.2.9.17.

Solution.
Call the vertices of the triangle A, B and C with C being the vertex that joins the two sides. We can always choose our coordinate system so that C is at the origin. Let a be the vector from C to A and b be the vector from C to B.
  • Then the vector from C to the midpoint of the side from C to A is 12a and
  • the vector from C to the midpoint of the side from C to B is 12b so that
  • the vector joining the two midpoints is 12b12a.
As the vector from A to B is ba=2[12b12a], the line joining the midpoints is indeed parallel to the third side and half its length.

1.2.9.18.

Solution.
(a) By 1.2.17, the area is
|det[3143]|=|3×31×4|=|13|=13
(b) By 1.2.17, the area is
|det[4268]|=|4×82×6|=20

1.2.9.19. (✳).

Solution.
Note that
  • the point on W with x=0, y=0 obeys 0+3(0)+3z=6 and so has z=2
  • the point on W with x=0, y=2 obeys 0+3(2)+3z=6 and so has z=0
  • the point on W with x=3, y=0 obeys 3+3(0)+3z=6 and so has z=3
  • the point on W with x=3, y=2 obeys 3+3(2)+3z=6 and so has z=1
So the four corners of the parallelogram are (0,0,2), (0,2,0), (3,0,3) and (3,2,1). The vectors
d1=00,20,02=0,2,2d2=30,00,32=3,0,1
form two sides of the paralleogram. So the area of the parallelogram is
|d1×d2|=|det[ıı^ȷȷ^k^022301]|=|2ıı^6ȷȷ^6k^|=76=219

1.2.9.20.

Solution.
(a) By 1.2.18, the volume is
|det[411152116]|=|4det[5216]1det[1216]+(1)det[1511]|=|4(302)1(62)1(15)|=4×28+8+6=126
(b) By 1.2.18, the volume is
|det[212312025]|=|2det[1225]1det[3205]+2det[3102]|=|2(54)1(150)+2(60)|=|215+12|=|5|=5

1.2.9.21.

Solution.
ab=1,22,3=4cosθ=4513=.4961(a)θ=60.25ab=1,11,1=0cosθ=022=0(b)θ=90ab=1,12,2=4cosθ=428=1(c)θ=0ab=1,2,11,1,1=2cosθ=263=.4714(d)θ=61.87ab=1,2,33,0,1=0cosθ=01410=0(e)θ=90

1.2.9.22.

Solution.
By property 6 of Theorem 1.2.11,
cosθ=ab|a||b|=1×3+2×41+49+16=1155=.9839(a) θ=10.3cosθ=ab|a||b|=2×41×2+4×14+1+1616+4+1=1021=.4762(b) θ=61.6cosθ=ab|a||b|=1×32×1+1×01+4+19+1=160=.1291(c) θ=82.6

1.2.9.23.

Solution.
(a)2,42,y=2×2+4×y=4+4y=0  y=1(b)4,1y,y2=4×y1×y2=4yy2=0  y=0,4(c)3,1,12,5y,y2=6+5y+y2=0  y=2,3

1.2.9.24.

Solution.
(a) We want 0=uv=2α10 or α=5.
(b) We want 2/α=5/(2) or α=0.8.
(c) We want uv=2α10=|u||v|cos60=29α2+412. Squaring both sides gives
4α2+40α+100=294(α2+4)13α2160α284=0α=160±1602+4×13×2842613.88 or 1.574
Both of these α’s give uv<0 so no α works.

1.2.9.25.

Solution.
(a) The component of b in the direction a is
ba|a|=1×4+2×10+3×61+4+9=4214
(b) The projection of b on a is a vector of length 42/14 in direction a/|a|, namely 42141,2,3=3,6,9.
(c) The projection of b perpendicular to a is b minus its projection on a, namely 4,10,63,6,9=1,4,3.

1.2.9.26.

Solution.
1,2,3×4,5,6=det[ıı^ȷȷ^k^123456]=ıı^(2×63×5)ȷȷ^(1×63×4)+k^(1×52×4)=3ıı^+6ȷȷ^3k^

1.2.9.27.

Solution.
det[ıı^ȷȷ^k^152215]=ıı^det[5215]ȷȷ^det[1225]+k^det[1521](a)=ıı^(252)ȷȷ^(5+4)+k^(110)=27,9,9det[ıı^ȷȷ^k^235427]=ıı^det[3527]ȷȷ^det[2547]+k^det[2342](b)=ıı^(2110)ȷȷ^(14+20)+k^(4+12)=31,34,8det[ıı^ȷȷ^k^101045]=ıı^det[0145]ȷȷ^det[1105]+k^det[1004](c)=ıı^(04)ȷȷ^(50)+k^(40)=4,5,4

1.2.9.28.

Solution.
(a)p×p=det[ıı^ȷȷ^k^142142]=ıı^(4×22×4)ȷȷ^(2(2))+k^(4(4))=0,0,0(b)p×q=det[ıı^ȷȷ^k^142311]=ıı^(42)ȷȷ^(16)+k^(112)=6,5,13q×p=det[ıı^ȷȷ^k^311142]=ıı^(2+4)ȷȷ^(61)+k^(12+1)=6,5,13(c)p×(3r)=det[ıı^ȷȷ^k^142693]=ıı^(12+18)ȷȷ^(312)+k^(924)=6,9,153(p×r)=3det[ıı^ȷȷ^k^142231]=3(ıı^(4+6)ȷȷ^(14)+k^(38))=6,9,15
(d) As q+r=5,2,2
p×(q+r)=det[ıı^ȷȷ^k^142522]=ıı^(8+4)ȷȷ^(210)+k^(220)=4,8,18
(e) Using the values of p×q and 3(p×r) computed in parts (b) and (c)
p×q+p×r=6,5,13+136,9,15=4,8,18
q×r=det[ıı^ȷȷ^k^311231]=ıı^(13)ȷȷ^(3+2)+k^(92)=4,1,11p×(q×r)=det[ıı^ȷȷ^k^1424111]=ıı^(442)ȷȷ^(11+8)+k^(1+16)=46,19,15(p×q)×r=det[ıı^ȷȷ^k^6513231]=ıı^(539)ȷȷ^(6+26)+k^(1810)=44,32,8

1.2.9.29.

Solution.
Denote by θ the angle between the two vectors a=1,2,3 and b=3,2,1. The area of the triangle is one half times the length, |a|, of its base times its height h=|b|sinθ.
Thus the area of the triangle is 12|a||b|sinθ. By property 2 of the cross product in Theorem 1.2.23, |a×b|=|a||b|sinθ. So
area=12|a×b|=12|1,2,3×3,2,1|=12|ıı^(26)ȷȷ^(19)+k^(26)|=1216+64+16=26

1.2.9.30. (✳).

Solution.
The derivative of L is
dLdt=ddt(r(t)×r(t))=r(t)×r(t)+r(t)×r(t)=r(t)×r(t)+r(t)×(ρ(t)r(t))
Both terms vanish because the cross product of any two parallel vectors is zero. So dLdt=0 and L(t) is independent of t.

1.2.9.31.

Solution.
The parallelogram determined by the vectors a and b has vertices 0, a, b and a+b. As t varies from 0 to 1, t(a+b) traverses the diagonal from 0 to a+b. As s varies from 0 to 1, a+s(ba) traverses the diagonal from a to b. These two straight lines meet when s and t are such that
t(a+b)=a+s(ba)
or
(t+s1)a=(st)b
Assuming that a and b are not parallel (i.e. the parallelogram has not degenerated to a line segment), this is the case only when t+s1=0 and st=0. That is, s=t=12. So the two lines meet at their midpoints.

1.2.9.32.

Solution.
We may choose our coordinate axes so that A=(0,0,0), B=(s,0,0), C=(s,s,0), D=(0,s,0) and A=(0,0,s), B=(s,0,s), C=(s,s,s), D=(0,s,s).
(a) Then
|AC|=|s,s,s0,0,s|=|s,s,0|=2s|AB|=|s,0,00,0,s|=|s,0,s|=2s|AD|=|0,s,00,0,s|=|0,s,s|=2s|CB|=|s,0,0s,s,s|=|0,s,s|=2s|CD|=|0,s,0s,s,s|=|s,0,s|=2s|BD|=|0,s,0s,0,0|=|s,s,0|=2s
(b) E=12(s,s,s) so that EA=0,0,012s,s,s=12s,s,s and EC=s,s,012s,s,s=12s,s,s.
cosθ=s,s,ss,s,s|s,s,s||s,s,s|=s23s2=13θ=109.5

1.2.9.33.

Solution.
Suppose that the cube has height, length and width s. We may choose our coordinate axes so that the vertices of the cube are at (0,0,0), (s,0,0), (0,s,0), (0,0,s), (s,s,0), (0,s,s), (s,0,s) and (s,s,s).
We’ll start with a couple of examples. The diagonal from (0,0,0) to (s,s,s) is s,s,s. One face of the cube has vertices (0,0,0), (s,0,0), (0,s,0) and (s,s,0). One diagonal of this face runs from (0,0,0) to (s,s,0) and hence is s,s,0. The angle between s,s,s and s,s,0 is
arccos(s,s,ss,s,0|s,s,s||s,s,0|)=arccos(2s23s2s)=arccos(26)35.26
A second diagonal for the face with vertices (0,0,0), (s,0,0), (0,s,0) and (s,s,0) is that running from (s,0,0) to (0,s,0). This diagonal is s,s,0. The angle between s,s,s and s,s,0 is
arccos(s,s,ss,s,0|s,s,s||s,s,0|)=arccos(03s2s)=arccos(0)=90
Now we’ll consider the general case. Note that every component of every vertex of the cube is either 0 or s. In general, two vertices of the cube are at opposite ends of a diagonal of the cube if all three components of the two vertices are different. For example, if one end of the diagonal is (s,0,s), the other end is (0,s,0). The diagonals of the cube are all of the form ±s,±s,±s. All of these diagonals are of length 3s. Two vertices are on the same face of the cube if one of their components agree. They are on opposite ends of a diagonal for the face if their other two components differ. For example (0,s,s) and (s,0,s) are both on the face with z=s. Because the x components 0, s are different and the y components s, 0 are different, (0,s,s) and (s,0,s) are the ends of a diagonal of the face with z=s. The diagonals of the faces with z=0 or z=s are ±s,±s,0. The diagonals of the faces with y=0 or y=s are ±s,0,±s. The diagonals of the faces with x=0 or x=s are 0,±s,±s. All of these diagonals have length 2s. The dot product of one the cube diagonals ±s,±s,±s with one of the face diagonals ±s,±s,0, ±s,0,±s, 0,±s,±s is of the form ±s2±s2+0 and hence must be either 2s2 or 0 or 2s2. In general, the angle between a cube diagonal and a face diagonal is
arccos(2s2 or 0 or 2s23s2s)=arccos(2 or 0 or or26)5.26 or 90 or 144.74.

1.2.9.34.

Solution.
Denote by (x(t),y(t)) the position of the skier at time t. As long as the skier remains on the surface of the hill
y(t)=h(x(t))y(t)=h(x(t))x(t)y(t)=h(x(t))x(t)2+h(x(t))x(t)
So the velocity and acceleration vectors of the skier are
v(t)=1,h(x(t))x(t)a(t)=1,h(x(t))x(t)+0,h(x(t))x(t)2
The skier is subject to two forces. One is gravity. The other acts perpendicularly to the hill and has a magnitude such that the skier remains on the surface of the hill. From the velocity vector of the skier (which remain tangential to the hill as long as the skier remains of the surface of the hill),we see that one vector normal to the hill at (x(t),y(t)) is
n(t)=h(x(t)),1
This vector is not a unit vector, but that’s ok. By Newton’s law of motion
ma=mgȷȷ^+p(t)n(t)
for some function p(t). Dot both sides of this equation with n(t).
ma(t)n(t)=mgȷȷ^n(t)+p(t)|n(t)|2
Substituting in
mh(x(t))x(t)2=mg+p(t)[1+h(x(t))2]p(t)[1+h(x(t))2]=m(g+h(x(t))x(t)2)
As long as p(t)0, the hill is pushing up in order to keep the skier on the surface. When p(t) becomes negative, the hill has to pull on the skier in order to keep her on the surface. But the hill can’t pull, so the skier becomes airborne instead. This happens when
g+h(x(t))x(t)2=0
That is when x(t)=g/h(x(t)). At this time x(t)=x0, y(t)=y0 and the speed of the skier is
x(t)2+y(t)2=1+h(x0)2g/h(x0)

1.2.9.35.

Solution.
The marble is subject to two forces. The first, gravity, is mgk^ with m being the mass of the marble. The second is the normal force imposed by the plane. This forces acts in a direction perpendicular to the plane. One vector normal to the plane is aıı^+bȷȷ^+ck^. So the force due to the plane is Ta,b,c with T determined by the property that the net force perpendicular to the plane must be exactly zero, so that the marble remains on the plane, neither digging into nor flying off of it. The projection of the gravitational force onto the normal vector a,b,c is
mg0,0,1a,b,c|a,b,c|2a,b,c=mgca2+b2+c2a,b,c
The condition that determines T is thus
Ta,b,c+mgca2+b2+c2a,b,c=0T=mgca2+b2+c2
The total force on the marble is then (ignoring friction - which will have no effect on the direction of motion)
Ta,b,cmg0,0,1=mgca2+b2+c2a,b,cmg0,0,1=mgca,b,c0,0,a2+b2+c2a2+b2+c2=mgac,bc,a2b2a2+b2+c2
The direction of motion ac,bc,a2b2. If you want to turn this into a unit vector, just divide by (a2+b2)(a2+b2+c2). Note that the direction vector in perpendicular a,b,c and hence is parallel to the plane. If c=0, the plane is vertical. In this case, the marble doesn’t roll - it falls straight down. If a=b=0, the plane is horizontal. In this case, the marble doesn’t roll — it remains stationary.

1.2.9.36.

Solution.
By definition, the left and right hand sides are
a(b×c)=a1,a2,a3b2c3b3c2,b3c1b1c3,b1c2b2c1(lhs)=a1b2c3a1b3c2+a2b3c1a2b1c3+a3b1c2a3b2c1(a×b)c=a2b3a3b2,a3b1a1b3,a1b2a2b1c1,c2,c3(rhs)=a2b3c1a3b2c1+a3b1c2a1b3c2+a1b2c3a2b1c3
(lhs) and (rhs) are the same.

1.2.9.37.

Solution.
By definition,
b×c = (b2c3b3c2)ıı^(b1c3b3c1)ȷȷ^+(b1c2b2c1)k^

so that the left and right hand sides are

a×(b×c) = det[ıı^ȷȷ^k^a1a2a3b2c3b3c2b1c3+b3c1b1c2b2c1]=ıı^[a2(b1c2b2c1)a3(b1c3+b3c1)] ȷȷ^[a1(b1c2b2c1)a3(b2c3b3c2)] +k^[a1(b1c3+b3c1)a2(b2c3b3c2)](lhs)(ac)b(ab)c=(a1c1+a2c2+a3c3)(b1ıı^+b2ȷȷ^+b3k^)(a1b1+a2b2+a3b3)(c1ıı^+c2ȷȷ^+c3k^)=ıı^[a1b1c1+a2b1c2+a3b1c3a1b1c1a2b2c1a3b3c1] +ȷȷ^[a1b2c1+a2b2c2+a3b2c3a1b1c2a2b2c2a3b3c2] +k^[a1b3c1+a2b3c2+a3b3c3a1b1c3a2b2c3a3b3c3]=ıı^[a2b1c2+a3b1c3a2b2c1a3b3c1] +ȷȷ^[a1b2c1+a3b2c3a1b1c2a3b3c2] +k^[a1b3c1+a2b3c2a1b1c3a2b2c3](rhs)
(lhs) and (rhs) are the same.

1.2.9.38.

Solution.
By properties 9 and 10 of Theorem 1.2.23,
(a×b)(c×d)=a[b×(c×d)](by property 9 with c(c×d))=a[(bd)c(bc)d](by property 10)=(ac)(bd)(ad)(bc)
So
(a×b)(c×d)=(ac)(bd)(ad)(bc)

1.2.9.39.

Solution.
(a) AA=4,0,1 and BB=4,0,1 are opposite sides of the quadrilateral AABB. They have the same length and direction. The same is true for AB=1,3,0 and AB=1,3,0. So AABB is a parallelogram. Because, AAAB=4,0,11,3,0=40, the neighbouring edges of AABB are not perpendicular and so AABB is not a rectangle.
Similarly, the quadilateral ACCA has opposing sides AA=4,0,1=CC=4,0,1 and AC=1,0,4=AC=1,0,4 and so is a parallelogram. Because AAAC=4,0,11,0,4=0, the neighbouring edges of ACCA are perpendicular, so ACCA is a rectangle.
Finally, the quadilateral BCCB has opposing sides BB=4,0,1=CC=4,0,1 and BC=0,3,4=BC=0,3,4 and so is a parallelogram. Because BBBC=4,0,10,3,4=40, the neighbouring edges of BCCB are not perpendicular, so BCCB is not a rectangle.
(b) The length of AA is |4,0,1|=16+1=17.
(c) The area of a triangle is one half its base times its height. That is, one half times |AB| times |AC|sinθ, where θ is the angle between AB and AC. This is precisely 12|AB×AC|=12|1,3,0×1,0,4|=12|12,4,3|=132.
(d) The volume of the prism is the area of its base ABC, times its height, which is the length of AA times the cosine of the angle between AA and the normal to ABC. This coincides with 1212,4,34,0,1=12(48+3)=512, which is one half times the length of 12,4,3 (the area of ABC) times the length of 4,0,1 (the length of AA) times the cosine of the angle between 12,4,3 and 4,0,1 (the angle between the normal to ABC and AA).

1.2.9.40.

Solution.
Choose our coordinate axes so that the vertex opposite the face of area D is at the origin. Denote by a, b and c the vertices opposite the sides of area A, B and C respectively. Then the face of area A has edges b and c so that A=12|b×c|. Similarly B=12|c×a| and C=12|a×b|. The face of area D is the triangle spanned by ba and ca so that
D=12|(ba)×(ca)|=12|b×ca×cb×a|=12|b×c+c×a+a×b|
By hypothesis, the vectors a, b and c are all perpendicular to each other. Consequently the vectors b×c (which is a scalar times a), c×a (which is a scalar times b) and a×b (which is a scalar times c) are also mutually perpendicular. So, when we multiply out
D2=14[b×c+c×a+a×b][b×c+c×a+a×b]
all the cross terms vanish, leaving
D2=14[(b×c)(b×c)+(c×a)(c×a)+(a×b)(a×b)]=A2+B2+C2

1.2.9.41.

Solution.
As in problem 1.2.9.40,
D2=14[b×c+c×a+a×b][b×c+c×a+a×b]
But now (b×c)(a×c), instead of vanishing, is |b×c|=2A times |a×c|=2B times the cosine of the angle between b×c (which is perpendicular to the face of area A) and a×c (which is perpendicular to the face of area B). That is
(b×c)(a×c)=4ABcosγ(a×b)(c×b)=4ACcosβ(b×a)(c×a)=4BCcosα
(If you’re worried about the signs, that is, if you are worried about why (b×c)(a×c)=4ABcosγ rather than (b×c)(c×a)=4ABcosγ, note that when ab, (b×c)(a×c)|b×c|2 is positive and (b×c)(c×a)|b×c|2 is negative.) Now, expanding out
D2 = 14[b×c+c×a+a×b][b×c+c×a+a×b]= 14[(b×c)(b×c)+(c×a)(c×a)+(a×b)(a×b)+2(b×c)(c×a)+2(b×c)(a×b)+2(c×a)(a×b)]= A2+B2+C22ABcosγ2ACcosβ2BCcosα

1.3 Equations of Lines in 2d

Exercises

1.3.1.
Solution.
Since t can be any real number, these equation describe the same line. They’re both valid. For example, the point given by the first parametric equation with t=7, namely c+7d, is exactly the same as the point given by the second parametric equation with t=7, namely c(7)d.
1.3.2.
Solution.
In contrast to Question 1.3.1, the sign on c does generally matter. c is required to be a point on the line, but except in particular circumstances, there’s no reason to believe that c=c+td|t=0 is a point on the line. Indeed c is on the line if and only if there is a t with c+td=c, i.e. td=2c. That is the case if and only if d is parallel to c. So, only the first equation is correct in general.
1.3.3.
Solution.
Here is one answer of many.
Setting t=0 in the first equation shows that (1,9) is on the first line. To see that (1,9) is also on the second line, we substitute x=1, y=9 into the second equation to give
19,913=t1,12or8,4=t1,12
This equation is satisfied when t=8. So (1,9) is on both lines.
Setting t=0 in the second equation shows that (9,13) is on the second line. To see that (9,13) is also on the first line, we substitute x=9, y=13 into the first equation to give
91,139=t8,4or8,4=t8,4
This equation is satisfied when t=1. So (9,13) is on both lines.
Since both lines pass through (1,9) and (9,13), the lines are identical.
1.3.4.
Solution.
dx,dy is the direction of the line, so it can be any non-zero scalar multiple of 9,7.
x0,y0 can be any point on the line. Describing these is the same as describing the line itself. We’re trying to find all doubles x0,y0 that obey
{x03=9ty05=7t
for some real number t. That is,
t=x039=y0577(x03)=9(y05)7x0+24=9y0
Any of these steps could specify the possible values of x0,y0. Say, they can be any pair satisfying 7x0+24=9y0.
1.3.5.
Solution.
(a) The vector parametric equation is x,y=1,2+t3,2. The scalar parametric equations are x=1+3t, y=2+2t. The symmetric equation is x13=y22.
(b) The vector parametric equation is x,y=5,4+t2,1. The scalar parametric equations are x=5+2t, y=4t. The symmetric equation is x52=y41.
(c) The vector parametric equation is x,y=1,3+t1,2. The scalar parametric equations are x=1t, y=3+2t. The symmetric equation is x+11=y32.
1.3.6.
Solution.
(a) The vector 2,3 is perpendicular to 3,2 (you can verify this by taking the dot product of the two vectors) and hence is a direction vector for the line. The vector parametric equation is x,y=1,2+t2,3. The scalar parametric equations are x=12t, y=2+3t. The symmetric equation is x12=y23.
(b) The vector 1,2 is perpendicular to 2,1 and hence is a direction vector for the line. The vector parametric equation for the line is x,y=5,4+t1,2. The scalar parametric equations are x=5+t, y=4+2t. The symmetric equation is x5=y42.
(c) The vector 2,1 is perpendicular to 1,2 and hence is a direction vector for the line. The vector parametric equation is x,y=1,3+t2,1. The scalar parametric equations are the two component equations x=1+2t, y=3+t. The symmetric equation is x+12=y3.
1.3.7.
Solution.
(0,1) is one point on the line 3x4y=4. So 20,31=2,2 is a vector whose tail is on the line and whose head is at (2,3). 3,4 is a vector perpendicular to the line, so 153,4 is a unit vector perpendicular to the line. The distance from (2,3) to the line is the length of the projection of 2,2 on 153,4, which is the absolute value of 153,42,2. So the distance is 14/5.
1.3.8.
Solution.
(a) The midpoint of the side opposite a is 12(b+c). The vector joining a to that midpoint is 12b+12ca. The vector parametric equation of the line through a and 12(b+c) is
x(t)=a+t(12b+12ca)
Similarly, for the other two medians (but using s and u as parameters, rather than t)
x(s)=b+s(12a+12cb)x(u)=c+u(12a+12bc)
(b) The three medians meet at a common point if there are values of s,t and u such that
a+t(12b+12ca) = b+s(12a+12cb) = c+u(12a+12bc)(1t)a+t2b+t2c = s2a+(1s)b+s2c = u2a+u2b+(1u)c
Assuming that the triangle has not degenerated to a line segment, this is the case if and only if the coefficients of a, b and c match
1t=s2=u2t2=1s=u2t2=s2=1u
or
s=t=u, 1t=t2s=t=u=23
The medians meet at 13(a+b+c).
1.3.9.
Solution.
A normal vector to the line is the vector with its tail at the centre of C, (2,1), and its head at (52,1+32). So, we set n=52,1+322,1=12,32.
We know one point on the line is (52,1+32), so following Equation 1.3.3:
nxx+nyy=nxx0+nyy012x+32y=1252+32(1+32)12x+32y=2+32x+3y=4+3

1.4 Equations of Planes in 3d

Exercises

1.4.1.
Solution.
We are looking for a vector that is perpendicular to z=0 and hence is parallel to k^. To be parallel of k^, the vector has to be of the form ck^ for some real number c. For the vector to be nonzero, we need c0 and for the vector to be different from k^, we need c1. So three possible choices are k^, 2k^, 7.12345k^.
1.4.2.
Solution.
  1. Each point on the y-axis is of the form (0,y,0). Such a point is on the plane P if
    3(0)+12y+0=4y=8
    So the intersection of P with the y-axis is the single point (0,8,0).
  2. Each point on the z-axis is of the form (0,0,z). Such a point is on the plane P if
    3(0)+12(0)+z=4z=4
    So the intersection of P with the z-axis is the single point (0,0,4).
  3. The intersection of the plane P with the yz-plane is a line. We have shown in parts (a) and (b) that the points (0,8,0) and (0,0,4) are on that line. Here is a sketch of the part of that line that is in the first octant.
1.4.3.
Solution.
  1. If (x,y,z) is any point on the plane, then both the head and the tail of the vector from (x,y,z) to (0,0,0), namely x,y,z, lie in the plane. So the vector x,y,z must be perpendicular to 1,2,3 and
    0=x,y,z1,2,3=x+2y+3z
  2. If (x,y,z) is any point on the plane, then both the head and the tail of the vector from (x,y,z) to (0,0,1), namely x,y,z1, lie in the plane. So the vector x,y,z1 must be perpendicular to 1,1,3 and
    0=x,y,z11,1,3=x+y+3(z1)x+y+3z=3
  3. If both (1,2,3) and (1,0,0) are on the plane, then both the head and the tail of the vector from (1,2,3) to (1,0,0), namely 0,2,3, lie in the plane. So the vector 0,2,3 must be perpendicular to 4,5,6. As
    0,2,34,5,6=280
    the vector 0,2,3 is not perpendicular to 4,5,6. So there is no plane that passes through both (1,2,3) and (1,0,0) and has normal vector 4,5,6.
  4. If both (1,2,3) and (0,3,4) are on the plane, then both the head and the tail of the vector from (1,2,3) to (0,3,4), namely 1,1,1, lie in the plane. So the vector 1,1,1 must be perpendicular to 2,1,1. As
    1,1,12,1,1=0
    the vector 1,1,1 is indeed perpendicular to 2,1,1. So there is a plane that passes through both (1,2,3) and (0,3,4) and has normal vector 2,1,1. We now just have to build its equation.
    If (x,y,z) is any point on the plane, then both the head and the tail of the vector from (x,y,z) to (1,2,3), namely x1,y2,z3, lie in the plane. So the vector x1,y2,z3 must be perpendicular to 2,1,1 and
    0=x1,y2,z32,1,1=2(x1)+(y2)+(z3)2x+y+z=7
    As a check, note that both (x,y,z)=(1,2,3) and (x,y,z)=(0,3,4) obey the equation 2x+y+z=7.
1.4.4. (✳).
Solution.
Solution 1: That’s too easy. We just guess. The plane x+y+z=1 contains all three given points.
Solution 2: The plane does not pass through the origin. (You can see this by just making a quick sketch.) So the plane has an equation of the form ax+by+cz=1.
  • For (1,0,0) to be on the plane we need that
    a(1)+b(0)+c(0)=1a=1
  • For (0,1,0) to be on the plane we need that
    a(0)+b(1)+c(0)=1b=1
  • For (0,0,1) to be on the plane we need that
    a(0)+b(0)+c(1)=1c=1
So the plane is x+y+z=1.
Solution 3: Both the head and the tail of the vector from (1,0,0) to (0,1,0), namely 1,1,0, lie in the plane. Similarly, both the head and the tail of the vector from (1,0,0) to (0,0,1), namely 1,0,1, lie in the plane. So the vector
1,1,0×1,0,1=det[ıı^ȷȷ^k^110101]=1,1,1
is a normal vector for the plane. As (1,0,0) is a point in the plane,
1,1,1x1,y0,z0=0orx+y+z=1
is an equation for the plane.
1.4.5.
Solution.
  1. Solution 1: That’s too easy. We just guess. The plane x+y+z=2 contains all three given points.
    Solution 2: Both the head and the tail of the vector from (1,0,1) to (0,1,1), namely 1,1,0, lie in the plane. Similarly, both the head and the tail of the vector from (1,1,0) to (0,1,1), namely 1,0,1, lie in the plane. So the vector
    1,1,0×1,0,1=det[ıı^ȷȷ^k^110101]=1,1,1
    is a normal vector for the plane. As (0,1,1) is a point in the plane,
    1,1,1x0,y1,z1=0orx+y+z=2
    is an equation for the plane.
  2. Since
    [x+y+z](x,y,z)=(1,1,1)=32
    the point (1,1,1) is not on x+y+z=2.
  3. Since
    [x+y+z](x,y,z)=(0,0,0)=02
    the origin is not on x+y+z=2.
  4. Since
    [x+y+z](x,y,z)=(4,1,1)=2
    the point (4,1,1) is on x+y+z=2.
1.4.6.
Solution.
The vector from (1,2,3) to (2,3,4), namely 1,1,1 is parallel to the vector from (1,2,3) to (3,4,5), namely 2,2,2. So the three given points are collinear. Precisely, all three points (1,2,3), (2,3,4) and (3,4,5) are on the line x1,y2,z3=t1,1,1. There are many planes through that line.
1.4.7.
Solution.
(a) The plane must be parallel to 2,4,61,0,1=1,4,5 and to 1,2,11,0,1=0,2,2. So its normal vector must be perpendicular to both 1,4,5 and 0,2,2 and hence parallel to
1,4,5×0,2,2=det[ıı^ȷȷ^k^145022]=18,2,2
The plane is 9(x1)y(z1)=0 or 9xyz=8.
We can check this by observing that (1,0,1), (2,4,6) and (1,2,1) all satisfy 9xyz=8.
(b) The plane must be parallel to 4,4,41,2,3=3,2,7 and to 3,2,31,2,3=2,4,0. So its normal vector must be perpendicular to both 3,2,7 and 2,4,0 and hence parallel to
3,2,7×2,4,0=det[ıı^ȷȷ^k^327240]=28,14,16
The plane is 14(x1)7(y+2)8(z+3)=0 or 14x7y8z=52.
We can check this by observing that (1,2,3), (4,4,4) and (3,2,3) all satisfy 14x7y8z=52.
(c) The plane must be parallel to 5,2,11,2,3=4,4,4 and to 1,4,51,2,3=2,2,2. My, my. These two vectors are parallel. So the three points are all on the same straight line. Any plane containing the line contains all three points. If a,b,c is any vector perpendicular to 1,1,1 (i.e. which obeys a+b+c=0) then the plane a(x1)+b(y+2)+c(z+3)=0 or a(x1)+b(y+2)(a+b)(z+3)=0 or ax+by(a+b)z=4a+b contains the three given points.
We can check this by observing that (1,2,3), (5,2,1) and (1,4,5) all satisfy the equation ax+by(a+b)z=4a+b for all a and b.
1.4.8.
Solution.
(a) One point on the plane is (0,0,7). The vector from (1,2,3) to (0,0,7) is 0,0,71,2,3=1,2,4. A unit vector perpendicular to the plane is 131,1,1. The distance from (1,2,3) to the plane is the length of the projection of 1,2,4 on 131,1,1 which is
131,1,11,2,4=33=3
(b) One point on the plane is (0,0,5). The vector from (1,4,3) to (0,0,5) is 0,0,51,4,3=1,4,2. A unit vector perpendicular to the plane is 161,2,1. The distance from (1,4,3) to the plane is the length of the projection of 1,4,2 on 161,2,1 which is the absolute value of
161,2,11,4,2=76
or 7/6.
1.4.9. (✳).
Solution.
(a) The vector from C to A, namely 12,11,30=1,0,3 lies entirely inside Π. The vector from C to B, namely 22,01,20=0,1,2 also lies entirely inside Π. Consequently, the vector
1,0,3×0,1,2=det[ıı^ȷȷ^k^103012]=3,2,1
is perpendicular to Π. The equation of Π is then
3,2,1x2,y1,z=0or3x+2y+z=8
(b) Let E be (x,y,z). Then the vector from D to E, namely x6,y1,z2 has to be parallel to the vector 3,2,1, which is perpendicular to Π. That is, there must be a number t such that
x6,y1,z2=t3,2,1or x=6+3t, y=1+2t, z=2+t
As (x,y,z) must be in Π,
8=3x+2y+z=3(6+3t)+2(1+2t)+(2+t)=22+14t
which implies that t=1. So (x,y,z)=(6+3(1),1+2(1),2+(1))=(3,1,1).
1.4.10. (✳).
Solution.
We are going to need a direction vector for L in both parts (a) and (b). So we find one first.
  • The vector 1,1,0 is perpendicular to x+y=1 and hence to L.
  • The vector 1,2,1 is perpendicular to x+2y+z=3 and hence to L.
So the vector
1,1,0×1,2,1=det[ıı^ȷȷ^k^110121]=1,1,1
is a direction vector for L.
(a) The plane is to contain the point (2,3,4) and is to have 1,1,1 as a normal vector. So
1,1,1x2,y3,z4=0orxy+z=3
does the job.
(b) The plane is to contain the points A=(2,3,4) and (1,0,2) (which is on L) so that the vector 21,30,42=1,3,2 is to be parallel to the plane. The direction vector of L, namely 1,1,1, is also to be parallel to the plane. So the vector
1,3,2×1,1,1=det[ıı^ȷȷ^k^132111]=5,1,4
is to be normal to the plane. So
5,1,4x2,y3,z4=0or5x+y4z=3
does the job.
1.4.11. (✳).
Solution.
All planes that are parallel to the plane 4x+2y4z=3 must have 4,2,4 as a normal vector and hence must have an equation of the form 4x+2y4z=C for some constant C. We must find the C’s for which the distance from 4x+2y4z=3 to 4x+2y4z=C is 2. One point on 4x+2y4z=3 is (0,32,0). The two points (x,y,z) with
x0,y32,z0vector from(0,32,0) to (x,y,z)=±2 4,2,416+4+16unit vector=±264,2,4=±43,23,43
are the two points that are a distance 2 from (0,32,0) in the direction of the normal.The two points (x,y,z) are
(0+43,32+23,043)=(43,136,43) and (043,3223,0+43)=(43,56,43)
These two points lie on the desired planes, so the two desired planes are
4x+2y4z=4×43+2×1364×43=32+26+326=15
and
4x+2y4z=4×(4)3+2×564×43=32+10326=9
1.4.12. (✳).
Solution.
The two vectors
a=1,1,30,1,1=1,2,2b=2,0,10,1,1=2,1,2
both lie entirely inside the plane. So the vector
a×b=det[ıı^ȷȷ^k^122212]=6,6,3
is perpendicular to the plane. The vector c=136,6,3=2,2,1 is also perpendicular to the plane. The vector
d=1,2,30,1,1=1,1,2
joins the point to the plane. So, if θ is the angle between d and c, the distance is
|d|cosθ=cd|c|=69=2
1.4.13. (✳).
Solution.
(a) Let’s use z as the parameter and rename it to t. That is, z=t. Subtracting 2 times the W2 equation from the W1 equation gives
5y5z=5y=1z=1t or y1=t
Substituting the result into the equation for W2 gives
x+3(1t)+3t=6x=3 or x+3=0
So a parametric equation is
x+3,y1,z=t0,1,1
(b) Solution 1
We can also parametrize M using z=t:
x=2z+10=2t+10, y=2z+12=2t+12x,y,z=10,12,0+t2,2,1
So one point on M is (10,12,0) and one point on L is (3,1,0) and
v=(3)10,112,00=13,11,0
is one vector from a point on M to a point on L.
The direction vectors of L and M are 0,1,1 and 2,2,1, respectively. The vector
n=0,1,1×2,2,1=det[ıı^ȷȷ^k^011221]=3,2,2
is then perpendicular to both L and M.
The distance from L to M is then the length of the projection of v on n, which is
|vn||n|=|3922+0|9+4+4=17
(b) Solution 2 We can also parametrize M using z=s:
x=2z+10=2s+10, y=2z+12=2s+12x,y,z=10,12,0+s2,2,1
The vector from the point (3,1t,t) on L to the point (10+2s,12+2s,s) on M is
13+2s,11+2s+t,st
So the distance from the point (3,1t,t) on L to the point (10+2s,12+2s,s) on M is the square root of
D(s,t)=(13+2s)2+(11+2s+t)2+(st)2
That distance is minimized when
0=Ds=4(13+2s)+4(11+2s+t)+2(st)0=Dt=2(11+2s+t)2(st)
Cleaning up those equations gives
18s+2t=962s+4t=22
or
(E1)9s+t=48(E2)s+2t=11
Subtracting (E2) from twice (E1) gives
17s=85s=5
Substituting that into (E2) gives
2t=11+5t=3
Note that
13+2s=311+2s+t=2st=2
So the distance is
D(5,3)=32+(2)2+(2)2=17
1.4.14.
Solution.
The two planes x+y+z=3 and x+y+z=9 are parallel. The centre must be on the plane x+y+z=6 half way between them. So, the center is on x+y+z=6, 2xy=0 and 3xz=0. Solving these three equations, or equvalently,
y=2x, z=3x, x+y+z=6x=6
gives (1,2,3) as the centre. (1,1,1) is a point on x+y+z=3. (3,3,3) is a point on x+y+z=9. So 2,2,2 is a vector with tail on x+y+z=3 and head on x+y+z=9. Furthermore 2,2,2 is perpendicular to the two planes. So the distance between the planes is |2,2,2|=23 and the radius of the sphere is 3. The sphere is
(x1)2+(y2)2+(z3)2=3
1.4.15.
Solution.
Set y=0 and then solve 2x+3yz=0, x4y+2z=5, i.e. 2xz=0, x+2z=5, or equvalently
z=2x, x+2z=5x=5
The result, (1,0,2), is one point on the plane. Set y=5 and then solve 2x+3yz=0, x4y+2z=5, i.e. 2x+15z=0, x20+2z=5, or equivalently
z=2x+15, x20+4x+30=5
The result, (3,5,9), is another point on the plane. So three points on the plane are (2,0,1), (1,0,2) and (3,5,9). 2+1,00,1+2=1,0,3 and 2+3,05,19=1,5,8 are two vectors having both head and tail in the plane.
1,0,3×1,5,8=det[ıı^ȷȷ^k^103158]=15,5,5
is a vector perpendicular to the plane. 1515,5,5=3,1,1 is also a vector perpendicular to the plane. The plane is
3(x+1)(y0)+(z+2)=0or3xy+z=5
1.4.16.
Solution.
The vector n is perpendicular to the plane nx=c. So the line
x(t)=p+tn
passes through p and is perpendicular to the plane.
It crosses the plane at the value of t which obeys
nx(t)=corn[p+tn]=c
namely
t=[cnp]/|n|2
The vector
x(t)p=tn=n[cnp]/|n|2
has head on the plane nx=c, tail at p, and is perpendicular to the plane. So the distance is the length of that vector, which is
|cnp|/|n|
1.4.17.
Solution.
The distance from the point (x,y,z) to (1,2,3) is (x1)2+(y2)2+(z3)2 and the distance from (x,y,z)to (5,2,7) is (x5)2+(y2)2+(z7)2. Hence (x,y,z) is equidistant from (1,2,3) and (5,2,7) if and only if
(x1)2+(y2)2+(z3)2=(x5)2+(y2)2+(z7)2x22x+1+z26z+9=x210x+25+z214z+498x+8z=64x+z=8
This is the plane through (3,2,5)=12(1,2,3)+12(5,2,7) with normal vector 1,0,1=14(5,2,71,2,3).
1.4.18.
Solution.
The distance from the point x to a is (xa)(xa) and the distance from x to b is (xb)(xb). Hence x is equidistant from a and b if and only if
(xa)(xa)=(xb)(xb)|x|22ax+|a|2=|x|22bx+|b|22(ba)x=|b|2|a|2
This is the plane through 12a+12b with normal vector ba.
1.4.19. (✳).
Solution.
(a) One side of the triangle is AB=1,0,10,1,1=1,1,0. A second side of the triangle is AC=1,3,00,1,1=1,2,1. If the angle between AB and AC is θ and if we take AB as the base of the triangle, then the triangle has base length b=|AB| and height h=|AC|sinθ and hence
area=12bh=12|AB||AC|sinθ=12|AB×AC|=12|1,1,0×1,2,1|
As
1,1,0×1,2,1=det[ıı^ȷȷ^k^110121]=ıı^+ȷȷ^+3k^
we have
area=12|1,1,3|=12111.658
(b) A unit vector perpendicular to the plane containing the triangle is
n^=AB×AC|AB×AC|=1,1,311
The distance from P to the plane containing the triangle is the length of the projection of AP=5,10,20,1,1=5,11,1 on n^. If θ the angle between AP and n^, then this is
distance=|AP||cosθ|=|APn^|=|5,11,11,1,311|=3110.9045
1.4.20. (✳).
Solution.
Switch to a new coordinate system with
X=x1Y=y2Z=z+1
In this new coordinate system, the sphere has equation X2+Y2+Z2=2. So the sphere is centred at (X,Y,Z)=(0,0,0) and has radius 2. In the new coordinate system, the initial point (x,y,z)=(2,2,0) has (X,Y,Z)=(1,0,1) and our final point (x,y,z)=(2,1,1) has (X,Y,Z)=(1,1,0). Call the initial point P and the final point Q. The shortest path will follow the great circle from P to Q.
A great circle on a sphere is the intersection of the sphere with a plane that contains the centre of the sphere. Our strategy for finding the initial direction will be based on two observations.
  • The shortest path lies on the plane Π that contains the origin and the points P and Q. Since the shortest path lies on Π, our direction vector must also lie on Π and hence must be perpendicular to the normal vector to Π.
  • The shortest path also remains on the sphere, so our initial direction must also be perpendicular to the normal vector to the sphere at our initial point P.
As our initial direction is perpendicular to the two normal vectors, it is parallel to their cross product.
So our main job is to find normal vectors to the plane Π and to the sphere at P.
  • One way to find a normal vector to Π is to guess an equation for Π. As (0,0,0) is on Π, (0,0,0) must obey Π’s equation. So Π’s equation must be of the form aX+bY+cZ=0. That (X,Y,Z)=(1,0,1) is on Π forces a+c=0. That (X,Y,Z)=(1,1,0) is on Π forces ab=0. So we may take a=1, b=1 and c=1. That is, Π is X+YZ=0. (Check that all three points (0,0,0), (1,0,1) and (1,1,0) do indeed obey X+YZ=0.) A normal vector to Π is 1,1,1.
  • A second way to find a normal vector to Π is to observe that both
    • the vector from (0,0,0) to (1,0,1), that is 1,0,1, lies completely inside Π and
    • the vector from (0,0,0) to (1,1,0), that is 1,1,0, lies completely inside Π.
    So the vector
    1,0,1×1,1,0=det[ıı^ȷȷ^k^101110]=ıı^+ȷȷ^k^
    is perpendicular to Π.
  • The vector from the centre of the sphere to the point P on the sphere is perpendicular to the sphere at P. So a normal vector to the sphere at our initial point (X,Y,Z)=(1,0,1) is 1,0,1.
Since our initial direction
 3 
Note that the change of coordinates X=x1, Y=y2, Z=z+1 has absolutely no effect on any velocity or direction vector. If our position at time t is (x(t),y(t),z(t)) in the original coordinate system, then it is (X(t),Y(t),Z(t))=(x(t)1,y(t)2,z(t)+1) in the new coordinate system. The velocity vectors in the two coordinate systems x(t),y(t),z(t)=X(t),Y(t),Z(t) are identical.
must be perpendicular to both 1,1,1 and 1,0,1, it must be one of ±1,1,1×1,0,1. To get from (1,0,1) to (1,1,0) by the shortest path, our Z coordinate should decrease from 1 to 0. So the Z coordinate of our initial direction should be negative. This is the case for
1,1,1×1,0,1=det[ıı^ȷȷ^k^111101]=ıı^2ȷȷ^k^

1.5 Equations of Lines in 3d

Exercises

1.5.1.
Solution.
Note 1213,12,16=4,6,2. So, we actually only know one normal direction to the line we’re supposed to be describing. That means there are actually infinitely many lines satisfying the given conditions.
1.5.2.
Solution.
There are infinitely many correct answers. One is
L1: x,y,z1=t1,0,0L2: x,y,z2=t0,1,0L3: x,y,z3=t1,1,0L4: x,y,z4=t1,1,0
No two of the lines are parallel because
  • L1 and L2 are not parallel because 1,0,0×0,1,0=0,0,10.
  • L1 and L3 are not parallel because 1,0,0×1,1,0=0,0,10.
  • L1 and L4 are not parallel because 1,0,0×1,1,0=0,0,10.
  • L2 and L3 are not parallel because 0,1,0×1,1,0=0,0,10.
  • L2 and L4 are not parallel because 0,1,0×1,1,0=0,0,10.
  • L3 and L4 are not parallel because 1,1,0×1,1,0=0,0,20.
No two of the lines intersect because
  • every point on L1 has z=1 and
  • every point on L2 has z=2 and
  • every point on L3 has z=3 and
  • every point on L4 has z=4.
1.5.3.
Solution.
(a) The point (x,y,z) obeys both x2z=3 and y+12z=5 if and only if x,y,z=3+2z,512z,z=3,5,0+2,12,1z. So, introducing a new variable t obeying t=z, we get the vector parametric equation x,y,z=3,5,0+2,12,1t.
(b) The point (x,y,z) obeys
{2xy2z=34x3y3z=5}{2xy=2z34x3y=3z5}{4x2y=4z64x3y=3z5}{4x2y=4z6y=z1}
Hence the point (x,y,z) is on the line if and only if
x,y,z=14(2y+4z6),z1,z=32z2,z1,z=2,1,0+32,1,1z
So, introducing a new variable t obeying t=z, we get the vector parametric equation x,y,z=2,1,0+32,1,1t.
1.5.4.
Solution.
(a) The normals to the two planes are 1,1,1 and 1,2,3 respectively. The line of intersection must have direction perpendicular to both of these normals. Its direction vector is
1,1,1×1,2,3=det[ıı^ȷȷ^k^111123]=1,2,1
Substituting z=0 into the equations of the two planes and solving
{x+y=3x+2y=7}{x=3yx+2y=7}{x=3y3y+2y=7}
we see that z=0, y=4,x=1 lies on both planes. The line of intersection is x,y,z=1,4,0+t1,2,1. This can be checked by verifying that, for all values of t, x,y,z=1,4,0+t1,2,1 satisfies both x+y+z=3 and x+2y+3z=7.
(b) The equation x+y+z=3 is equivalent to 2x+2y+2z=6. So the two equations x+y+z=3 and 2x+2y+2z=7 are mutually contradictory. They have no solution. The two planes are parallel and do not intersect.
1.5.5.
Solution.
(a) Note that the value of the parameter t in the equation x,y,z=3,2,4+t4,2,1 need not have the same value as the parameter t in the equation x,y,z=2,1,2+t1,1,1. So it is much safer to change the name of the parameter in the first equation from t to s. In order for a point (x,y,z) to lie on both lines we need
3,2,4+s4,2,1=2,1,2+t1,1,1
or equivalently, writing out the three component equations and moving all s’s and t’s to the left and constants to the right,
4st=52st=1s+t=2
Adding the last two equations together gives 3s=3 or s=1. Substituting this into the last equation gives t=1. Note that s=t=1 does indeed satisfy all three equations so that x,y,z=3,2,44,2,1=1,0,3 lies on both lines. Any plane that contains the two lines must be parallel to both direction vectors 4,2,1 and 1,1,1. So its normal vector must be perpendicular to them, i.e. must be parallel to 4,2,1×1,1,1=3,3,6=31,1,2. The plane must contain (1,0,3) and be perpendicular to 1,1,2. Its equation is 1,1,2x1,y,z3=0 or x+y+2z=7. This can be checked by verifying that 3,2,4+s4,2,1 and 2,1,2+t1,1,1 obey x+y+2z=7 for all s and t respectively.
(b) In order for a point (x,y,z) to lie on both lines we need
3,2,4+s4,2,1=2,1,1+t1,1,1
or equivalently, writing out the three component equations and moving all s’s and t’s to the left and constants to the right,
4st=52st=1s+t=5
Adding the last two equations together gives 3s=6 or s=2. Substituting this into the last equation gives t=3. However, substituting s=2, t=3 into the first equation gives 11=5, which is impossible. The two lines do not intersect. In order for two lines to lie in a common plane and not intersect, they must be parallel. So, in this case no plane contains the two lines.
(c) In order for a point (x,y,z) to lie on both lines we need
3,2,4+s2,2,2=2,1,1+t1,1,1
or equivalently, writing out the three component equations and moving all s’s and t’s to the left and constants to the right,
2st=52st=12s+t=5
The first two equations are obviously contradictory. The two lines do not intersect. Any plane containing the two lines must be parallel to 1,1,1 (and hence automatically parallel to 2,2,2=21,1,1) and must also be parallel to the vector from the point (3,2,4), which lies on the first line, to the point (2,1,1), which lies on the second. The vector is 5,1,5. Hence the normal to the plane is 5,1,5×1,1,1=6,0,6=61,0,1. The plane perpendicular to 1,0,1 containing (2,1,1) is 1,0,1x2,y1,z+1=0 or x+z=1.
(d) Again the two lines are parallel, since 2,2,2=21,1,1. Furthermore the point 3,2,2=3,2,2+02,2,2=2,1,1+11,1,1 lies on both lines. So the two lines not only intersect but are identical. Any plane that contains the point (3,2,2) and is parallel to 1,1,1 contains both lines. In general, the plane ax+by+cz=d contains (3,2,2) if and only if d=3a+2b2c and is parallel to 1,1,1 if and only if a,b,c1,1,1=a+bc=0. So, for arbitrary a and b (not both zero) ax+by+(a+b)z=a works.
1.5.6.
Solution.
First observe that
  • 1,1,0 is perpendicular to x+y=0 and hence to the line, and
  • 1,1,2 is perpendicular to xy+2z=0 and hence to the line.
Consequently
1,1,0×1,1,2=det[ıı^ȷȷ^k^110112]=2,2,2
is perpendicular to both 1,1,0 and 1,1,2. So 122,2,2=1,1,1 > is also perpendicular to both 1,1,0 and 1,1,2 and hence is parallel to the line. As the point (2,1,1) is on the line, the vector equation of the line is
x2,y+1,z+1=t1,1,1
The scalar parametric equations for the line are
x2=t, y+1=t, z+1=t  or  x=2+t, y=1t, z=1t
The symmetric equations for the line are
(t=)x21=y+11=z+11orx2=y1=z1
1.5.7. (✳).
Solution.
Let’s parametrize L using y, renamed to t, as the parameter. Then y=t, so that
x+y=1x+t=1x=1t
and
x+2y+z=31t+2t+z=3z=2t
and
x,y,z=1,0,2+t1,1,1
is a vector parametric equation for L.
1.5.8.
Solution.
(a) The normal vectors to the two given planes are 1,2,3 and 1,2,1 respectively. Since the line is to be contained in both planes, its direction vector must be perpendicular to both 1,2,3 and 1,2,1, and hence must be parallel to
1,2,3×1,2,1=det[ıı^ȷȷ^k^123121]=8,2,4
or to 4,1,2. Setting z=0 in x+2y+3z=11, x2y+z=1 and solving
{x+2y=11x2y=1}{2y=11xx2y=1}{2y=11xx(11x)=1}{2y=11x2x=10}
we see that (5,3,0) is on the line. So the vector parametric equation of the line is x,y,z=5,3,0+t4,1,2=5+4t,3+t,2t.
(b) The vector from (1,0,1) to the point (5+4t,3+t,2t) on the line is 4+4t,3+t,12t. In order for (5+4t,3+t,2t) to be the point of the line closest to (1,0,1), the vector 4+4t,3+t,12t joining those two points must be perpendicular to the direction vector 4,1,2 of the line. (See Example 1.5.4.) This is the case when
4,1,24+4t,3+t,12t=0or16+16t+3+t+2+4t=0ort=1
The point on the line nearest (1,0,1) is thus (5+4t,3+t,2t)|t=1=(54,31,2)=(1,2,2). The distance from the point to the line is the length of the vector from (1,0,1) to the point on the line nearest (1,0,1). That vector is 1,2,21,0,1=0,2,1. So the distance is |0,2,1|=5.
1.5.9.
Solution.
(a) The plane P must be parallel to both 2,3,2 (since it contains L1) and 5,2,4 (since it is parallel to L2). Hence
2,3,2×5,2,4=det[ıı^ȷȷ^k^232524]=8,2,11
is normal to P. As the point (1,2,5) is on P, the equation of P is
8,2,11x1,y+2,z+5=0or8x+2y11z=59
(b) As L2 is parallel to P, the distance from L2 to P is the same as the distance from any one point of L2, for example (3,4,1), to P. As (1,2,5) is a point on P, the vector 1,2,53,4,1=4,6,4 has its head on P and tail at (3,4,1) on L2. The distance from L2 to P is the length of the projection of the vector 4,6,4 on the normal to P. (See Example 1.4.5.) This is
|proj8,2,114,6,4|=|4,6,48,2,11||8,2,11|=641894.655
1.5.10. (✳).
Solution.
(a) The line L must be perpendicular both to 2,1,1, which is a normal vector for the plane 2x+yz=5, and to 1,2,3, which is a direction vector for the line x=3t, y=12t and z=3t. Any such vector must be a nonzero constant times
2,1,1×1,2,3=det[ıı^ȷȷ^k^211123]=1,5,3
(b) For the point Q(a,b,c)
  • to be a distance 2 from the xy--plane, it is necessary that |c|=2, and
  • to be a distance 3 from the xz--plane, it is necessary that |b|=3, and
  • to be a distance 4 from the yz--plane, it is necessary that |a|=4.
As a<0, b>0, c>0, the point Q is (4,3,2) and the line L is
x=4+ty=35tz=23t
1.5.11. (✳).
Solution.
(a) The line L intersects the xy--plane when x+y+z=6, xy+2z=0, and z=0. When z=0 the equations of L reduce to x+y=6, xy=0. So the intersection point is (3,3,0).
The line L intersects the xz--plane when x+y+z=6, xy+2z=0, and y=0. When y=0 the equations of L reduce to x+z=6, x+2z=0. Substituting x=2z into x+z=6 gives z=6. So the intersection point is (12,0,6).
The line L intersects the yz--plane when x+y+z=6, xy+2z=0, and x=0. When x=0 the equations of L reduce to y+z=6, y+2z=0. Substituting y=2z into y+z=6 gives 3z=6. So the intersection point is (0,4,2).
(b) Our main job is to find a direction vector d for the line.
  • Since the line is to be parallel to y=z, d must be perpendicular to the normal vector for y=z, which is 0,1,1.
  • d must also be perpendicular to L. For a point (x,y,z) to be on L it must obey x+y=6z and xy=2z. Adding these two equations gives 2x=63z and subtracting the second equation from the first gives 2y=6+z. So for a point (x,y,z) to be on L it must obey x=33z2, y=3+z2. The point on L with z=0 is (3,3,0) and the point on L with z=2 is (0,4,2). So 03,43,20=3,1,2 is a direction vector for L.
So d must be perpendicular to both 0,1,1 and 3,1,2 and so must be a nonzero constant times
0,1,1×3,1,2=det[ıı^ȷȷ^k^011312]=3,3,3
We choose d=133,3,3=1,1,1. So
x,y,z=10,11,13+t1,1,1
is a vector parametric equation for the line. We can also write this as x=10+t, y=11+t, z=13+t.
1.5.12. (✳).
Solution.
(a) Since
x=2+3tt=x23y=4tt=y4
we have
x23=y4z=1
(b) The direction vector for the line r(t)=2ıı^k^+t(3ıı^+4ȷȷ^) is d=3ıı^+4ȷȷ^. A normal vector for the plane xy+2z=0 is n=±(ıı^ȷȷ^+2k^). The angle θ between d and n obeys
cosθ=dn|d||n|=156θ=arccos1561.49radians
(We picked n=ıı^+ȷȷ^2k^ to make 0θπ2.) Then the angle between d and the plane is
α=π2arccos1560.08radians
1.5.13. (✳).
Solution.
Let’s use z as the parameter and call it t. Then z=t and
x+y=11txy=13+t
Adding the two equations gives 2x=24 and subtracting the second equation from the first gives 2y=22t. So
(x,y,z)=(12,1t,t)
1.5.14. (✳).
Solution.
(a) The point (0,y,0), on the y--axis, is equidistant from (2,5,3) and (3,6,1) if and only if
|2,5,30,y,0|=|3,6,10,y,0|22+(5y)2+(3)2=(3)2+(6y)2+122y=8y=4
(b) The points (1,3,1) and r(0)=(0,0,2) are both on the plane. Hence the vector 1,3,10,0,2=1,3,1 joining them, and the direction vector of the line, namely 1,1,1 are both parallel to the plane. So
1,3,1×1,1,1=det[ıı^ȷȷ^k^131111]=4,2,2
is perpendicular to the plane. As the point (0,0,2) is on the plane and the vector 4,2,2 is perpendicular to the plane, the equation of the plane is
4(x0)2(y0)2(z2)=0 or 2xyz=2
1.5.15. (✳).
Solution.
(a) We are given one point on the line, so we just need a direction vector. That direction vector has to be perpendicular to the triangle ABC.
The fast way to get a direction vector is to observe that all three points A, B and C, and consequently the entire triangle ABC, are contained in the plane y=2. A normal vector to that plane, and consequently a direction vector for the desired line, is ȷȷ^.
Here is another, more mechanical, way to get a direction vector. The vector from A to B is 20,22,22=2,0,0 and the vector from A to C is 50,22,12=5,0,1. So a vector perpendicular to the triangle ABC is
2,0,0×5,0,1=det[ıı^ȷȷ^k^200501]=0,2,0
The vector 120,2,0=0,1,0 is also perpendicular to the triangle ABC.
So the specified line has to contain the point (0,2,2) and have direction vector 0,1,0. The parametric equations
x,y,z=0,2,2+t0,1,0
or
x=0, y=2+t, z=2
do the job.
(b) Let P be the point (x,y,z). Then the vector from P to A is 0x,2y,2z and the vector from P to B is 2x,2y,2z. These two vector are perpendicular if and only if
0=x,2y,2z2x,2y,2z=x(x2)+(y2)2+(z2)2=(x1)21+(y2)2+(z2)2
This is a sphere.
(c) The light ray that forms A~ starts at the origin, passes through A and then intersects the plane x+7y+z=32 at A~. The line from the origin through A has vector parametric equation
x,y,z=0,0,0+t0,2,2=0,2t,2t
This line intersects the plane x+7y+z=32 at the point whose value of t obeys
(0)+7(2t)y+(2t)z=32t=2
So A~ is (0,4,4).
1.5.16.
Solution.
The face opposite p is the triangle with vertices q, r and s. The centroid of this triangle is 13(q+r+s). The direction vector of the line through p and the centroid 13(q+r+s) is 13(q+r+s)p. The points on the line through p and the centroid 13(q+r+s) are those of the form
x=p+t[13(q+r+s)p]
for some real number t. Observe that when t=34
p+t[13(q+r+s)p]=14(p+q+r+s)
so that 14(p+q+r+s) is on the line. The other three lines have vector parametric equations
x=q+t[13(p+r+s)q]x=r+t[13(p+q+s)r]x=s+t[13(p+q+r)s]
When t=34, each of the three right hand sides also reduces to 14(p+q+r+s) so that 14(p+q+r+s) is also on each of these three lines.
1.5.17.
Solution.
We’ll use the procedure of Example 1.5.7. The vector
3,4,4×3,4,1=det[ıı^ȷȷ^k^344341]=20,15,0
is perpendicular to both lines. Hence so is n=1520,15,0=4,3,0. The point (2,7,2) is on the first line and the point (1,2,1) is on the second line. Hence v=2,7,21,2,1=3,9,3 is a vector joining the two lines. The desired distance is the length of the projection of v on n. This is
|projnv|=|3,9,34,3,0||4,3,0|=155=3

1.6 Curves and their Tangent Vectors
1.6.2 Exercises

1.6.2.1.

Solution.
We can find the time at which the curve hits a given point by considering the two equations that arise from the two coordinates. For the y-coordinate to be 0, we must have (t5)2=0, i.e. t=5. So, the point (1/2,0) happens when t=5.
Similarly, for the y-coordinate to be 25, we need (t5)2=25, so (t5)=±5. When t=0, the curve hits (1,25); when t=10, the curve hits (0,25).
So, in order, the curve passes through the points (1,25), (1/2,0), and (0,25).

1.6.2.2.

Solution.
The curve “crosses itself” when the same coordinates occur for different values of t, say t1 and t2. So, we want to know when sint1=sint2 and also t12=t22. Since t1 and t2 should be different, the second equation tells us t2=t1. Then the first equation tells us sint1=sint2=sin(t1)=sint1. That is, sint1=sint1, so sint1=0. That happens whenever t1=πn for an integer n.
So, the points at which the curve crosses itself are those points (0,(πn)2) where n is an integer. It passes such a point at times t=πn and t=πn. So, the curve hits this point 2πn time units apart.

1.6.2.3.

Solution.
(a) Since, on the specified part of the circle, x=a2y2 and y runs from 0 to a, the parametrization is r(y)=a2y2ıı^+yȷȷ^, 0ya.
(b) Let θ be the angle between
  • the radius vector from the origin to the point (acosθ,asinθ) on the circle and
  • the positive x-axis.
The tangent line to the circle at (acosθ,asinθ) is perpendicular to the radius vector and so makes angle ϕ=π2+θ with the positive x axis. (See the figure on the left below.) As θ=ϕπ2, the desired parametrization is
(x(ϕ),y(ϕ))=(acos(ϕπ2),asin(ϕπ2))=(asinϕ,acosϕ), π2ϕπ
(c) Let θ be the angle between
  • the radius vector from the origin to the point (acosθ,asinθ) on the circle and
  • the positive x-axis.
The arc from (0,a) to (acosθ,asinθ) subtends an angle π2θ and so has length s=a(π2θ). (See the figure on the right above.) Thus θ=π2sa and the desired parametrization is
(x(s),y(s))=(acos(π2sa),asin(π2sa)), 0sπ2a

1.6.2.4.

Solution.
Pretend that the circle is a spool of thread. As the circle rolls it dispenses the thread along the ground. When the circle rolls θ radians it dispenses the arc length θa of thread and the circle advances a distance θa. So centre of the circle has moved θa units to the right from its starting point, x=a. The centre of the circle always has y-coordinate a. So, after rolling θ radians, the centre of the circle is at position c(θ)=(a+aθ,a).
Now, let’s consider the position of P on the circle, after the circle has rolled θ radians.
From the diagram, we see that P is acosθ units above the centre of the circle, and asinθ units to the right of it. So, the position of P is (a+aθ+asinθ,a+acosθ).
Remark: this type of curve is known as a cycloid.

1.6.2.5.

Solution.
We aren’t concerned with x, so we can eliminate it by solving for it in one equation, and plugging that into the other. Since C lies on the plane, x=yz, so:
1=x214y2+3z2=(yz)214y2+3z2=34y2+4z2+2yz

Completing the square,

1=12y2+(2z+y2)21y22=(2z+y2)2

Since y is small, the left hand is close to 1 and the right hand side is close to (2z)2. So (2z2)1. Since z is negative, z12 and 2z+y2<0. Also, 1y22 is positive, so it has a real square root.

1y22=2z+y2121y22y4=z

1.6.2.6.

Solution.
To determine whether the particle is rising or falling, we only need to consider its z-coordinate: z(t)=(t1)2(t3)2. Its derivative with respect to time is z(t)=4(t1)(t2)(t3). This is positive when 1<t<2 and when 3<t, so the particle is increasing on (1,2)(3,) and decreasing on (0,1)(2,3).
If r(t) is the position of the particle at time t, then its speed is |r(t)|. We differentiate:
r(t)=etıı^1t2ȷȷ^+4(t1)(t2)(t3)k^
So, r(1)=1eıı^1ȷȷ^ and r(3)=1e3ıı^19ȷȷ^. The absolute value of every component of r(1) is greater than or equal to that of the corresponding component of r(3), so |r(1)|>|r(3)|. That is, the particle is moving more swiftly at t=1 than at t=3.
Note: We could also compute the sizes of both vectors directly: |r(1)|=(1e)2+(1)2, and |r(3)|=(1e3)2+(19)2.

1.6.2.7.

Solution.
The red vector is r(t+h)r(t). The arclength of the segment indicated by the blue line is the (scalar) s(t+h)s(t).
Remark: as h approaches 0, the curve (if it’s differentiable at t) starts to resemble a straight line, with the length of the vector r(t+h)r(t) approaching the scalar s(t+h)s(t). This step is crucial to understanding Lemma 1.6.12.

1.6.2.8.

Solution.
Velocity is a vector-valued quantity, so it has both a magnitude and a direction. Speed is a scalar--the magnitude of the velocity. It does not include a direction.

1.6.2.9. (✳).

Solution.
By the product rule
ddt[(r×r)r]=(r×r)r+(r×r)r+(r×r)r
The first term vanishes because r×r=0. The second term vanishes because r×r is perpendicular to r. So
ddt[(r×r)r]=(r×r)r
which is (c).

1.6.2.10. (✳).

Solution.
We have
v(t)=r(t)=52ıı^+5e5tȷȷ^+5e5tk^
and hence
|v(t)|=|r(t)|=5|2ıı^+e5tȷȷ^+e5tk^|=52+e10t+e10t
Since 2+e10t+e10t=(e5t+e5t)2, that’s (d).

1.6.2.11.

Solution.
(a) By definition,
r(t)=acostıı^+asintȷȷ^+ctk^v(t)=r(t)=asintıı^+acostȷȷ^+ck^dsdt(t)=|v(t)|=a2+c2a(t)=r(t)=acostıı^asintȷȷ^
The (x,y)=a(cost,sint) coordinates go around a circle of radius a and centre (0,0) counterclockwise. One circle is completed for each increase of t by 2π. At the same time, the z coordinate increases at a constant rate. Each time the (x,y) coordinates complete one circle, the z coordinate increases by 2πc. The path is a helix with radius a and with each turn having height 2πc.
(b) By definition,
r(t)=acostsintıı^+asin2tȷȷ^+acostk^=a2sin2tıı^+a1cos2t2ȷȷ^+acostk^v(t)=r(t)=acos2tıı^+asin2tȷȷ^asintk^dsdt(t)=|v(t)|=a1+sin2ta(t)=r(t)=2asin2tıı^+2acos2tȷȷ^acostk^
Write
x(t)=a2sin2ty(t)=a1cos2t2z(t)=acost
Then
x(t)2+[y(t)a2]2=a24sin22t+a24cos22t=a24
Thus the (x,y) coordinates go around a circle of radius a2 and centre (0,a2) counterclockwise. At the same time the z coordinate oscillates over the interval between 1 and 1 half as fast. In fact, one can say more about the curve.
x(t)2+y(t)2=a24sin22t+a24(1cos2t)2=a24sin22t+a24a22cos2t+a24cos22t=a22a22(12sin2t)=a2sin2tx(t)2+y(t)2+z(t)2=a2sin2t+a2cos2t=a2
So our curve lies on the intersection of the cylinder x2+[ya2]2=a24 and the sphere x2+y2+z2=a2. (Don’t worry if you didn’t think of trying to evaluate x(t)2+y(t)2+z(t)2.)

1.6.2.12. (✳).

Solution.
(a) Since r(t)=(2t,0,t2), the specified unit tangent at t=1 is
T^(1)=(2,0,1)5
(b) We are to find the arc length between r(0) and r(1). As dsdt=4t2+t4, the
arc length=104t2+t4 dt
The integrand is even, so
arc length=014t2+t4 dt=01t4+t2 dt=[13(4+t2)3/2]01=13[53/28]

1.6.2.13.

Solution.
By Lemma 1.6.12, the arclength of r(t) from t=0 to t=1 is 01|drdt(t)|dt. We’ll calculate this in a few pieces to make the steps clearer.
r(t)=(t,32t2,t3)drdt(t)=(1,6t,3t2)|drdt(t)|=12+(6t)2+(3t2)2=1+6t2+9t4=(3t2+1)2=3t2+101|drdt(t)|dt=01(3t2+1)dt=2

1.6.2.14.

Solution.
Since r(t) is the position of the particle, its acceleration is r(t).
r(t)=(t+sint,cost)r(t)=(1+cost,sint)r(t)=(sint,cost)|r(t)|=sin2t+cos2t=1
The magnitude of acceleration is constant, but its direction is changing, since r(t) is a vector with changing direction.

1.6.2.15. (✳).

Solution.
(a) The speed is
dsdt(t)=|r(t)|=|(2cost2tsint,2sint+2tcost,t2)|=(2cost2tsint)2+(2sint+2tcost)2+t4=4+4t2+t4=2+t2
so the length of the curve is
length =02dsdtdt=02(2+t2)dt=[2t+t33]02=203
(b) A tangent vector to the curve at r(π)=(2π,0,π33) is
r(π)=(2cosπ2πsinπ,2sinπ+2πcosπ,π2)=(2,2π,π2)
So parametric equations for the tangent line at r(π) are
x(t)=2π2ty(t)=2πtz(t)=π33+π2t

1.6.2.16. (✳).

Solution.
(a) As r(t)=(3cost,3sint,4t), the velocity of the particle is
r(t)=(3sint,3cost,4)
(b) As dsdt, the rate of change of arc length per unit time, is
dsdt(t)=|r(t)|=|(3sint,3cost,4)|=5
the arclength of its path between t=1 and t=2 is
12dt dsdt(t)=12dt 5=5

1.6.2.17. (✳).

Solution.
(a) As
r(t)=sintcos2tıı^+sin2tcostıı^+3sin2tcostk^=sintcost(costıı^+sintȷȷ^+3sintk^)dsdt(t)=|sintcost|cos2t+sin2t+9sin2t=|sintcost|1+9sin2t
the arclength from t=0 to t=π2 is
0π/2dsdt(t)dt=0π/2sintcost1+9sin2tdt=118110u duwith u=1+9sin2t, du=18sintcostdt=118[23u3/2]110=127(10101)
(b) The arclength from t=0 to t=π is
0πdsdt(t)dt=0π|sintcost|1+9sin2tdtDon't forget the absolute value signs!=20π/2|sintcost|1+9sin2tdt=20π/2sintcost1+9sin2tdt
since the integrand is invariant under tπt. So the arc length from t=0 to t=π is just twice the arc length from part (a), namely 227(10101).

1.6.2.18. (✳).

Solution.
Since
r(t)=t33ıı^+t22ȷȷ^+t2k^r(t)=t2ıı^+tȷȷ^+12k^dsdt(t)=|r(t)|=t4+t2+14=(t2+12)2=t2+12
the length of the curve is
s(t)=0tdsdt(u)du=0t(u2+12)du=t33+t2

1.6.2.19. (✳).

Solution.
Since
r(t)=tmıı^+tmȷȷ^+t3m/2k^r(t)=mtm1ıı^+mtm1ȷȷ^+3m2t3m/21k^dsdt=|r(t)|=2m2t2m2+9m24t3m2=mtm12+94tm
the arc length is
abdsdt(t)dt=abmtm12+94tm dt=492+94am2+94bmuduwith u=2+94tm, du=9m4tm1=49[23u3/2]2+94am2+94bm=827[(2+94bm)3/2(2+94am)3/2]

1.6.2.20.

Solution.
Given the position of the particle, we can find its velocity:
v(t)=r(t)=(cost,sint,1)
Applying the given formula,
L(t)=r×v=(sint,cost,t)×(cost,sint,1).
  • [Solution 1:] We can first compute the cross product, then differentiate:
    L(t)=(cost+tsint)ıı^+(tcostsint)ȷȷ^k^L(t)=tcostıı^tsintȷȷ^|L(t)|=t2(sin2t+cos2t)=t2=|t|
  • [Solution 2:] Using the product rule:
    L(t)=r(t)×v(t)+r(t)×v(t)=r(t)×r(t)0+r(t)×v(t)=(sint,cost,t)×(sint,cost,0)=tcostıı^tsintȷȷ^|L(t)|=t2cos2t+t2sint2=|t|

1.6.2.21. (✳).

Solution.
(a) The curve intersects E when
2(tsin(πt))2+2(tcos(πt))2+(t2)2=242t2+t4=24(t24)(t2+6)=0
Since we need t>0, the desired time is t=2 and the corresponding point is r(2)=2ȷȷ^+4k^.
(b) Since
r(t)=[sin(πt)+πtcos(πt)]ıı^+[cos(πt)πtsin(πt)]ȷȷ^+2tk^
a tangent vector to Γ at P is any nonzero multiple of
r(2)=2πıı^+ȷȷ^+4k^
(c) A normal vector to E at P is
(2x2+2y2+z2)|(0,2,4)=4x,4y,2z|(0,2,4)=0,8,8
Since r(2) and 0,8,8 are not parallel, Γ and E do not intersect at right angles.

1.6.2.22. (✳).

Solution.
ddt[|r(t)|2+|r(t)|2]=ddt[r(t)r(t)+r(t)r(t)]=2r(t)r(t)+2r(t)r(t)=2r(t)[r(t)+r(t)]=0 since r(t)=r(t)
Since ddt[|r(t)|2+|r(t)|2]=0 for all t, |r(t)|2+|r(t)|2 is independent of t.

1.6.2.23. (✳).

Solution.
(a) Since z=6u, y=z212=3u2 and x=yz18=u3,
r(u)=u3ıı^+3u2ȷȷ^+6uk^
(b)
r(u)=3u2ıı^+6uȷȷ^+6k^r(u)=6uıı^+6ȷȷ^dsdu(u)=|r(u)|=9u4+36u2+36=3(u2+2)
C ds=01dsdu du=013(u2+2) du=[u3+6u]01=7
(c) Denote by R(t) the position of the particle at time t. Then
R(t)=r(u(t))R(t)=r(u(t))dudt
In particular, if the particle is at (1,3,6) at time t1, then u(t1)=1 and
6ıı^+12ȷȷ^+12k^=R(t1)=r(1)dudt(t1)=(3ıı^+6ȷȷ^+6k^)dudt(t1)
which implies that dudt(t1)=2.
(d) By the product and chain rules,
R(t)=r(u(t))dudtR(t)=r(u(t))(dudt)2+r(u(t))d2udt2
In particular,
27ıı^+30ȷȷ^+6k^=R(t1)=r(1)(dudt(t1))2+r(1)d2udt2(t1)=(6ıı^+6ȷȷ^)22+(3ıı^+6ȷȷ^+6k^)d2udt2(t1)
Simplifying
3ıı^+6ȷȷ^+6k^=(3ıı^+6ȷȷ^+6k^)d2udt2(t1)d2udt2(t1)=1

1.6.2.24. (✳).

Solution.
(a) According to Newton,
mr(t)=F(t)so thatr(t)=3tıı^+sintȷȷ^+2e2tk^
Integrating once gives
r(t)=3t22ıı^costȷȷ^+e2tk^+c
for some constant vector c. We are told that r(0)=v0=π22ıı^. This forces c=π22ıı^+ȷȷ^k^ so that
r(t)=(π223t22)ıı^+(1cost)ȷȷ^+(e2t1)k^
Integrating a second time gives
r(t)=(π2t2t32)ıı^+(tsint)ȷȷ^+(12e2tt)k^+c
for some (other) constant vector c. We are told that r(0)=r0=12k^. This forces c=0 so that
r(t)=(π2t2t32)ıı^+(tsint)ȷȷ^+(12e2tt)k^
(b) The particle is in the plane x=0 when
0=(π2t2t32)=t2(π2t2)t=0,±π
So the desired time is t=π.
(c) At time t=π, the velocity is
r(π)=(π223π22)ıı^+(1cosπ)ȷȷ^+(e2π1)k^=π2ıı^+2ȷȷ^+(e2π1)k^

1.6.2.25. (✳).

Solution.
(a) Parametrize C by x. Since y=x2 and z=23x3,
r(x)=xıı^+x2ȷȷ^+23x3k^r(x)=ıı^+2xȷȷ^+2x2k^r(x)=2ȷȷ^+4xk^dsdx=|r(x)|=1+4x2+4x4=1+2x2
and
C ds=03dsdx dx=03(1+2x2) dx=[x+23x3]03=21
(b) The particle travelled a distance of 21 units in 72 time units. This corresponds to a speed of 217/2=6.
(c) Denote by R(t) the position of the particle at time t. Then
R(t)=r(x(t))R(t)=r(x(t))dxdt
By parts (a) and (b) and the chain rule
6=dsdt=dsdxdxdt=(1+2x2)dxdtdxdt=61+2x2
In particular, the particle is at (1,1,23) at x=1. At this time dxdt=61+2×1=2 and
R=r(1)dxdt=(ıı^+2ȷȷ^+2k^)2=2ıı^+4ȷȷ^+4k^
(d) By the product and chain rules,
R(t)=r(x(t))dxdtR(t)=r(x(t))(dxdt)2+r(x(t))d2xdt2
Applying ddt to 6=(1+2x(t)2)dxdt(t) gives
0=4x(dxdt)2+(1+2x2)d2xdt2
In particular, when x=1 and dxdt=2, 0=4×1(2)2+(3)d2xdt2 gives d2xdt2=163 and
R=(2ȷȷ^+4k^)(2)2(ıı^+2ȷȷ^+2k^)163=83(2ıı^+ȷȷ^2k^)

1.6.2.26.

Solution.
The question is already set up as an xy--plane, with the camera at the origin, so the vector in the direction the camera is pointing is (x(t),y(t)). Let θ be the angle the camera makes with the positive x-axis (due east). The camera, the object, and the due-east direction (positive x-axis) make a right triangle.
tanθ=yx

Differentiating implicitly with respect to t:

sec2θdθdt=xyyxx2dθdt=cos2θ(xyyxx2)=(xx2+y2)2(xyyxx2)=xyyxx2+y2

1.6.2.27.

Solution.
Define u(t)=eαtdrdt(t). Then
dudt(t)=αeαtdrdt(t)+eαtd2rdt2(t)=αeαtdrdt(t)geαtk^αeαtdrdt(t)=geαtk^
Integrating both sides of this equation from t=0 to t=T gives
u(T)u(0)=geαT1αk^u(T)=u(0)geαT1αk^=drdt(0)geαT1αk^=v0geαT1αk^
Substituting in u(T)=eαtdrdt(T) and multiplying through by eαT
drdt(T)=eαTv0g1eαTαk^
Integrating both sides of this equation from T=0 to T=t gives
r(t)r(0)=eαt1αv0gtαk^+geαt1α2k^r(t)=r0eαt1αv0+g1αteαtα2k^

1.6.2.28. (✳).

Solution.
(a) By definition,
v(t)=a(t)=cost,sint,0v(t)=sint+c1,cost+c2,c3
for some constants c1, c2, c3. To satisfy v(0)=0,1,1, we need c1=0, c2=0 and c3=1. So v(t)=sint,cost,1. Similarly,
r(t)=v(t)=sint,cost,1r(t)=cost+d1,sint+d2,t+d3
for some constants d1, d2, d3. To satisfy r(0)=1,0,0, we need d1=0, d2=0 and d3=0. So r(t)=cost,sint,t.
(b) To test for orthogonality, we compute the dot product
v(t)a(t)=sint,cost,1cost,sint,0=sintcostcostsint+1×0=0
so v(t)a(t) for all t.
(c) At t=π2 the particle is at r(π2)=0,1,π2 and has velocity v(π2)=1,0,1. So the tangent line must pass through 0,1,π2 and have direction vector 1,0,1. Here is a vector parametric equation for the tangent line.
r(u)=0,1,π2+u1,0,1
(d) True. Look at the path followed by the particle from the top so that we only see x and y coordinates. The path we see (call this the projected path) is x(t)=cost, y(t)=sint, which is a circle of radius one centred on the origin. Any tangent line to any circle always remains outside the circle. So no tangent line to the projected path can pass through the (0,0). So no tangent line to the path followed by the particle can pass through the z--axis and, in particular, through (0,0,0).

1.6.2.29. (✳).

Solution.
(a) Since
x(t)2+y(t)2=t2cos2(πt2)+t2sin2(πt2)=t2andz(t)2=t2
are the same, the path of the particle lies on the cone z2=x2+y2.
(b) By definition,
velocity=r(t)=[cos(πt2)πt2sin(πt2)]ıı^+[sin(πt2)+πt2cos(πt2)]ȷȷ^+k^speed=|r(t)|=[cos(πt2)πt2sin(πt2)]2+[sin(πt2)+πt2cos(πt2)]2+12=[cos2(πt2)2πt2cos(πt2)sin(πt2)+(πt2)2sin2(πt2)+sin2(πt2)+2πt2cos(πt2)sin(πt2)+(πt2)2cos2(πt2)+1]1/2=2+π2t24
(c) At t=1, the particle is at r(1)=(0,1,1) and has velocity r(1)=π2,1,1. So for t1, the particle is at
x,y,z=0,1,1+(t1)π2,1,1
This is also a vector parametric equation for the line.
(d) Assume that the particle’s speed remains constant as it flies along L. Then the x-coordinate of the particle at time t (for t1) is π2(t1). This takes the value 1 when t1=2π. So the particle hits x=1, 2π seconds after it flew off the cone.

1.6.2.30. (✳).

Solution.
(a) The tangent vectors to the two curves are
r1(t)=1,2t,3t2r2(t)=sint,cost,1
Both curves pass through P at t=0 and then the tangent vectors are
r1(0)=1,0,0r2(0)=0,1,1
So the angle of intersection, θ, is determined by
r1(0)r2(0)=|r1(0)||r2(0)|cosθ1,0,00,1,1=12cosθcosθ=0θ=90
(b) Our strategy will be to
  • find a vector v whose tail is on one line and whose head is on the other line and then
  • find a vector n that is perpendicular to both lines.
  • Then, if we denote by θ the angle between v and n, the distance between the two lines is |v|cosθ=|vn||n|
Here we go
  • So the first step is to find a v.
    • One point on the line r(t)=t,1+2t,1+3t is r(0)=0,1,1.
    • (x,y,z) is on the other line if and only if x+yz=4 and 2xz=4. In particular, if z=0 then x+y=4 and 2x=4 so that x=2 and y=2.
    • So the vector v=20,2(1),01=2,3,1 has its head on one line and its tail on the other line.
  • Next we find a vector n that is perpendicular to both lines.
    • First we find a direction vector for the line x+yz=4, 2xz=4. We already know that x=y=2, z=0 is on that line. We can find a second point on that line by choosing, for example, z=2 and then solving x+y=6, 2x=6 to get x=3, y=3. So one direction vector for the line x+yz=4, 2xz=4 is d1=32,32,20=1,1,2.
    • A second way to get a direction vector for the line x+yz=4, 2xz=4 is to observe that 1,1,1 is normal to x+yz=4 and so is perpendicular to the line and 2,0,1 is normal to 2xz=4 and so is also perpendicular to the line. So 1,1,1×2,0,1 is a direction vector for the line.
    • A direction vector for the line r(t)=t,1+2t,1+3t is d2=r(t)=1,2,3.
    • So
      n=d2×d1=det[ıı^ȷȷ^k^123112]=ıı^+ȷȷ^k^
      is perpendicular to both lines.
The distance between the two lines is then
|v|cosθ=|vn||n|=2,3,11,1,1|1,1,1|=63=23

1.7 Sketching Surfaces in 3d
1.7.2 Exercises

1.7.2.1. (✳).

Solution.
(a) φ=π3 is a surface of constant (spherical coordinate) φ. So it is a cone with vertex at the origin. We can express φ=π3 in cartesian coordinates by observing that 0φπ2 so that z0, and
φ=π3tanφ=32ρsinφ=32ρcosφx2+y2=32z
So the picture that corresponds to (a) is (C).
(b) As r and θ are cylindrical coordinates
r=2cosθr2=2rcosθx2+y2=2x(x1)2+y2=1
There is no z appearing in (x1)2+y2=1. So every constant z cross--section of (x1)2+y2=1 is a (horizontal) circle of radius 1 centred on the line x=1, y=0. It is a cylinder of radius 1 centred on the line x=1, y=0. So the picture that corresponds to (b) is (F).
(c) Each constant z cross--section of x2+y2=z2+1 is a (horizontal) circle centred on the z--axis. The radius of the circle is 1 when z=0 and grows as z moves away from z=0. So x2+y2=z2+1 consists of a bunch of (horizontal) circles stacked on top of each other, with the radius increasing with |z|. It is a hyperboloid of one sheet. The picture that corresponds to (c) is (D).
(d) Every point of y=x2+z2 has y0. Only (B) has that property. We can also observe that every constant y cross--section is a circle centred on x=z=0. The radius of the circle is zero when y=0 and increases as y increases. The surface y=x2+z2 is a paraboloid. The picture that corresponds to (d) is (B).
(e) As ρ and φ are spherical coordinates
ρ=2cosφρ2=2ρcosφx2+y2+z2=2zx2+y2+(z1)2=1
This is the sphere of radius 1 centred on (0,0,1). The picture that corresponds to (e) is (A).
(f) The only possibility left is that the picture that corresponds to (f) is (E).

1.7.2.2.

Solution.
Each solution below consists of three sketchs.
  • In the first sketch, we just redraw the given level curves with the x- and y-axes reoriented so that the sketch looks like we are high on the z-axis looking down at the xy-plane.
  • In the second sketch, we lift up each level curve f(x,y)=C and draw it in the horizontal plane z=C. That is we draw
    { (x,y,z) | f(x,y)=C, z=C, x0,y0 }={ (x,y,z) | z=f(x,y), z=C, x0,y0 }
  • Finally, in the third sketch, we draw the part of graph z=f(x,y) in the first octant, just by “filling in the gaps in the second sketch”.
(a)
(b)

1.7.2.3.

Solution.
We first add into the sketch of the graph the horizontal planes z=C, for C=3, 2, 1, 0.5, 0.25.
To reduce clutter, for each C, we have drawn in only
  • the (gray) intersection of the horizontal plane z=C with the yz--plane, i.e. with the vertical plane x=0, and
  • the (blue) intersection of the horizontal plane z=C with the graph z=f(x,y).
We have also omitted the label for the plane z=0.25.
The intersection of the plane z=C with the graph z=f(x,y) is line
{ (x,y,z) | z=f(x,y), z=C }={ (x,y,z) | f(x,y)=C, z=C }
Drawing this line (which is parallel to the x-axis) in the xy-plane, rather than in the plane z=C, gives a level curve. Doing this for each of C=3, 2, 1, 0.5, 0.25 gives five level curves.

1.7.2.4.

Solution.
(a) For each fixed c>0, the level curve x2+2y2=c is the ellipse centred on the origin with x semi axis c and y semi axis c/2. If c=0, the level curve x2+2y2=c=0 is the single point (0,0).
(b) For each fixed c0, the level curve xy=c is a hyperbola centred on the origin with asymptotes the x- and y-axes. If c>0, any x and y obeying xy=c>0 are of the same sign. So the hyperbola is contained in the first and third quadrants. If c<0, any x and y obeying xy=c>0 are of opposite sign. So the hyperbola is contained in the second and fourth quadrants. If c=0, the level curve xy=c=0 is the single point (0,0).
(c) For each fixed c0, the level curve xey=c is the logarithmic curve y=lncx. Note that, for c>0, the curve
  • is restricted to x>0, so that cx>0 and lncx is defined, and that
  • as x0+, y goes to , while
  • as x+, y goes to +, and
  • the curve crosses the x-axis (i.e. has y=0) when x=c.
and for c<0, the curve
  • is restricted to x<0, so that cx>0 and lncx is defined, and that
  • as x0, y goes to , while
  • as x, y goes to +, and
  • the curve crosses the x-axis (i.e. has y=0) when x=c.
If c=0, the level curve xey=c=0 is the y-axis, x=0.

1.7.2.5. (✳).

Solution.
If C=0, the level curve f=C=0 is just the line y=0. If C0 (of either sign), we may rewrite the equation, f(x,y)=2yx2+y2=C, of the level curve f=C as
x22Cy+y2=0x2+(y1C)2=1C2
which is the equation of the circle of radius 1|C| centred on (0,1C).
Remark. To be picky, the function f(x,y)=2yx2+y2 is not defined at (x,y)=(0,0). The question should have either specified that the domain of f excludes (0,0) or have specified a value for f(0,0). In fact, it is impossible to assign a value to f(0,0) in such a way that f(x,y) is continuous at (0,0), because limx0f(x,0)=0 while limy0f(0,|y|)=. So it makes more sense to have the domain of f being R2 with the point (0,0) removed. That’s why there is a little hole at the origin in the above sketch.

1.7.2.6. (✳).

Solution.
Observe that, for any constant C, the curve x2+4y2=C is the level curve f=eC.
  • If C=0, then x2+4y2=C=0 is the pair of lines y=±x2.
  • If C>0, then x2+4y2=C>0 is the hyperbola y=±12C+x2.
  • If C<0, then x2+4y2=C<0 is the hyperbola x=±|C|+4y2.

1.7.2.7. (✳).

Solution.
(a) We can rewrite the equation as
x2+y2=(z1)21
The right hand side is negative for |z1|<1, i.e. for 0<z<2. So no point on the surface has 0<z<2. For any fixed z, outside that range, the curve x2+y2=(z1)21 is the circle of radius (z1)21 centred on the z--axis. That radius is 0 when z=0,2 and increases as z moves away from z=0,2. For very large |z|, the radius increases roughly linearly with |z|. Here is a sketch of some level curves.
(b) The surface consists of two stacks of circles. One stack starts with radius 0 at z=2. The radius increases as z increases. The other stack starts with radius 0 at z=0. The radius increases as z decreases. This surface is a hyperboloid of two sheets. Here are two sketchs. The sketch on the left is of the part of the surface in the first octant. The sketch on the right of the full surface.

1.7.2.8. (✳).

Solution.
For each fixed z, 4x2+y2=1+z2 is an ellipse. So the surface consists of a stack of ellipses one on top of the other. The semi axes are 121+z2 and 1+z2. These are smallest when z=0 (i.e. for the ellipse in the xy-plane) and increase as |z| increases. The intersection of the surface with the xz-plane (i.e. with the plane y=0) is the hyperbola 4x2z2=1 and the intersection with the yz-pane (i.e. with the plane x=0) is the hyperbola y2z2=1. Here are two sketches of the surface. The sketch on the left only shows the part of the surface in the first octant (with axes).

1.7.2.9.

Solution.
(a) If c>0, f(x,y,z)=c, i.e. x2+y2+z2=c, is the sphere of radius c centered at the origin. If c=0, f(x,y,z)=c is just the origin. If c<0, no (x,y,z) satisfies f(x,y,z)=c.
(b) f(x,y,z)=c, i.e. x+2y+3z=c, is the plane normal to (1,2,3) passing through (c,0,0).
(c) If c>0, f(x,y,z)=c, i.e. x2+y2=c, is the cylinder parallel to the z-axis whose cross-section is a circle of radius c that is parallel to the xy-plane and is centered on the z-axis. If c=0, f(x,y,z)=c is the z-axis. If c<0, no (x,y,z) satisfies f(x,y,z)=c.

1.7.2.10.

Solution.
(a) The graph is z=sinx with (x,y) running over 0x2π, 0y1. For each fixed y0 between 0 and 1, the intersection of this graph with the vertical plane y=y0 is the same sin graph z=sinx with x running from 0 to 2π. So the whole graph is just a bunch of 2-d sin graphs stacked side-by-side. This gives the graph on the left below.
(b) The graph is z=x2+y2. For each fixed z00, the intersection of this graph with the horizontal plane z=z0 is the circle x2+y2=z0. This circle is centred on the z-axis and has radius z0. So the graph is the upper half of a cone. It is the sketch on the right above.
(c) The graph is z=|x|+|y|. For each fixed z00, the intersection of this graph with the horizontal plane z=z0 is the square |x|+|y|=z0. The side of the square with x,y0 is the straight line x+y=z0. The side of the square with x0 and y0 is the straight line xy=z0 and so on. The four corners of the square are (±z0,0,z0) and (0,±z0,z0). So the graph is a stack of squares. It is an upside down four-sided pyramid. The part of the pyramid in the first octant (that is, x,y,z0) is the sketch below.

1.7.2.11.

Solution.
(a) For each fixed z0, the z=z0 cross-section (parallel to the xy-plane) of this surface is an ellipse centered on the origin with one semiaxis of length 2 along the x-axis and one semiaxis of length 4 along the y-axis. So this is an elliptic cylinder parallel to the z-axis. Here is a sketch of the part of the surface above the xy--plane.
(b) This is a plane through (4,0,0), (0,4,0) and (0,0,2). Here is a sketch of the part of the plane in the first octant.
(c) For each fixed x0, the x=x0 cross-section parallel to the yz-plane is an ellipse with semiaxes 31+x0216 parallel to the y-axis and 21+x0216 parallel to the z-axis. As you move out along the x-axis, away from x=0, the ellipses grow at a rate proportional to 1+x216, which for large x is approximately |x|4. This is called a hyperboloid of one sheet. Its
(d) For each fixed y0, the y=x0 cross-section (parallel to the xz-plane) is a circle of radius |y| centred on the y-axis. When y0=0 the radius is 0. As you move further from the xz-plane, in either direction, i.e. as |y0| increases, the radius grows linearly. The full surface consists of a bunch of these circles stacked sideways. This is a circular cone centred on the y-axis.
(e) This is an ellipsoid centered on the origin with semiaxes 3, 12=23 and 3 along the x, y and z-axes, respectively.
(f) Completing three squares, we have that x2+y2+z2+4xby+9zb=0 if and only if (x+2)2+(yb2)2+(z+92)2=b+4+b24+814. This is a sphere of radius rb=12b2+4b+97 centered on 12(4,b,9).
(g) There are no points on the surface with x<0. For each fixed x0>0 the cross-section x=x0 parallel to the yz-plane is an ellipse centred on the x--axis with semiaxes x0 in the y-axis direction and 32x0 in the z--axis direction. As you increase x0, i.e. move out along the x-axis, the ellipses grow at a rate proportional to x0. This is an elliptic paraboloid with axis the x-axis.
(h) This is called a parabolic cylinder. For any fixed y0, the y=y0 cross-section (parallel to the xz-plane) is the upward opening parabola z=x2 which has vertex on the y-axis.

1.7.2.12.

Solution.
Since the level curves are circles centred at the origin (in the xy-plane), when z is a constant, the equation will have the form x2+y2=c for some constant. That is, our equation looks like
x2+y2=g(z),
where g(z) is a function depending only on z.
Because our cross-sections are so nicely symmetric, we know the intersection of the figure with the left side of the yz-plane as well: z=3(y1)=3(y+1) (when z0) and z=3(y1)=3(y+1) (when z<0). Below is the intersection of our surface with the yz plane.
Setting x=0, our equation becomes y2=g(z). Looking at the right side of the yz plane, this should lead to: {z=3(y1)if z0, y1z=3(y1)if z<0, y1}. That is:
|z|=3(y1)|z|3+1=y(|z|3+1)2=y2()
A quick check: when we squared both sides of the equation in (), we added another solution, |z|3+1=y. Let’s make sure we haven’t diverged from our diagram.
(|z|3+1)2=y2|z|3+1positive=±y{|z|3+1=yy>0|z|3+1=yy<0{|z|3+1=yy1|z|3+1=yy1{|z|=3(y1)y1|z|=3(y+1)y1{z=±3(y1)positivey1z=±3(y+1)negativey1{z=3(y1)y1, z0z=3(y1)y1, z0z=3(y+1)y1, z0z=3(y+1)y1, z0
This matches our diagram eactly. So, all together, the equation of the surface is
x2+y2=(|z|3+1)2

2 Partial Derivatives
2.1 Limits
2.1.2 Exercises

2.1.2.1.

Solution.
In general, this is false. Consider f(x,y)=12(110x)2(110y)2.
  • lim(x,y)(0,0)f(x,y)=1211=10 (the function is continuous)
  • f(0.1,0.1)=12(11)2(11)2=12
  • f(0.2,0.2)=12(12)2(12)2=10
We often (somewhat lazily) interpret the limit “lim(x,y)(0,0)f(x,y)=10” to mean that, as (x,y) gets closer and closer to the origin, f(x,y) gets closer and closer to 10. This isn’t exactly what the definition means, though. The definition tells us that, we can guarantee that f(x,y) be very close to 10 by choosing (x,y) very close to (0,0).
The function f(x,y) can also be very close to 10 for some (x,y)’s that are not close to (0,0). Moreover, we don’t know how close to (0,0) we have to be in order for f(x,y) to be “very close” to 10.

2.1.2.2.

Solution.
  1. The function we’re taking the limit of has its input as the position of the particle, and its output the size of the particle. So, f(x,y) gives the size of particles found at position (x,y). In the definition, we write x=(x,y). So, x is the position in the basin the particle was taken from.
  2. Our claim deals with particles very close to where the millstone hits the basin, so a is the position in the basin where the millstone hits.
  3. L is the limit of the function: in this case, 50 μm.

2.1.2.3.

Solution.
  1. By inspection, when y=0, then f(x,y)=1 as long as x0. So, if we follow the x-axis in towards the origin, f(x,y)=1 along this route.
  2. Also by inspection, when x=0, then f(x,y)=0 as long as y0. So, if we follow the y-axis in towards the origin, f(x,y)=0 along this route.
  3. Since two different directions give us different values as we approach the origin, lim(x,y)(0,0)f(x,y) does not exist.

2.1.2.4.

Solution.
  1. Since x=rcosθ and y=rsinθ, we have that
    f=x2y2=r2cos2θr2sin2θ=r2cos(2θ)
  2. When r=1, f=cos(2θ). So, f(x,y) runs between 1 and 1. It smallest value is 1 and its largest value is +1.
  3. The distance from (x,y) to the origin is r (for r0). So, at a distance r, our function is r2cos(2θ). Then f(x,y) runs over the interval [r2,r2]. It smallest value is r2 and its largest value is +r2.
  4. Using our answer to the last part, we have that |f|r2. So for 0<r<ϵ, we necessarily have that |f(x,y)|<ϵ whenever the distance from (x,y) to the origin is at most r.
  5. For every ϵ>0, if we choose (x,y) to be sufficiently close to (0,0) (in particular, within a distance r<ϵ), then f(x,y) is within distance ϵ of 0. By Definition 2.1.2, we have that lim(x,y)(0,0)f(x,y)=0.

2.1.2.5.

Solution.
By Theorem 2.1.6, f(x,y) is continuous over its domain. The domain of a polynomial is everywhere; in this case, R2. So, f(x,y) is continuous at (a,b). By the definition of continuity, lim(x,y)(a,b)f(x,y)=f(a,b).

2.1.2.6.

Solution.
(a) lim(x,y)(2,1) (xy+x2)=2(1)+22=2
(b) Switching to polar coordinates,
lim(x,y)(0,0) xx2+y2=limr0+0θ<2π rcosθr2=limr0+0θ<2π cosθr
which does not exist, since, for example,
  • if θ=0, then
    limr0+θ=0 cosθr=limr0+ 1r=+
  • while if θ=π, then
    limr0+θ=π cosθr=limr0+ 1r=
(c) Switching to polar coordinates,
lim(x,y)(0,0) x2x2+y2=limr0+0θ<2π r2cos2θr2=limr0+0θ<2π cos2θ
which does not exist, since, for example,
  • if θ=0, then
    limr0+θ=0 cos2θ=limr0+ 1=1
  • while if θ=π2, then
    limr0+θ=π/2 cos2θ=limr0+ 0=0
(d) Switching to polar coordinates,
lim(x,y)(0,0) x3x2+y2=limr0+0θ<2π r3cos3θr2=limr0+0θ<2π rcos3θ=0
since |cosθ|1 for all θ.
(e) Switching to polar coordinates,
lim(x,y)(0,0) x2y2x2+y4=limr0+0θ<2π r2cos2θ r2sin2θr2cos2θ+r4sin4θ=limr0+0θ<2π r2sin2θcos2θcos2θ+r2sin4θ=0
Here, we used that
|sin2θcos2θcos2θ+r2sin4θ|cos2θcos2θ+r2sin4θ{cos2θcos2θ if cosθ00 if cosθ=0}1
for all r>0.
(f) To start, observe that
lim(x,y)(0,0) (sinx)(ey1)xy=[limx0 sinxx][limy0 ey1y]
We may evaluate [limx0 sinxx] by l’Hôpital’s rule or by using the definition of the derivative to give
limx0 sinxx=limx0 sinxsin0x0=ddxsinx|x=0=cosx|x=0=1
Similarly, we may evaluate [limy0 ey1y] by l’Hôpital’s rule or by using the definition of the derivative to give
limy0 ey1y=limy0 eye0y0=ddyey|y=0=ey|y=0=1
So all together
lim(x,y)(0,0) (sinx)(ey1)xy=[limx0 sinxx][limy0 ey1y]=[1] [1]=1

2.1.2.7. (✳).

Solution.
(a) In polar coordinates, x=rcosθ, y=rsinθ, so that
x8+y8x4+y4=r8cos8θ+r8sin8θr4cos4θ+r4sin4θ=r4cos8θ+sin8θcos4θ+sin4θ
As
cos8θ+sin8θcos4θ+sin4θcos8θ+2cos4θsin4θ+sin8θcos4θ+sin4θ=(cos4θ+sin4θ)2cos4θ+sin4θ=cos4θ+sin4θ2
we have
0x8+y8x4+y42r4
As lim(x,y)(0,0)2r4=0, the squeeze theorem yields lim(x,y)(0,0)x8+y8x4+y4=0.
(b) In polar coordinates
xy5x8+y10=r6cosθsin5θr8cos8θ+r10sin10θ=1r2cosθsin5θcos8θ+r2sin10θ
As (x,y)(0,0) the first fraction 1r2 but the second factor can take many different values. For example, if we send (x,y) towards the origin along the y--axis, i.e. with θ=±π2,
lim(x,y)(0,0)x=0xy5x8+y10=limy00y10=0
but if we send (x,y) towards the origin along the line y=x, i.e. with θ=π4,5π4,
lim(x,y)(0,0)y=xxy5x8+y10=limx0x6x8+x10=limx01x211+x2=+
and if we send (x,y) towards the origin along the line y=x, i.e. with θ=π4,3π4,
lim(x,y)(0,0)y=xxy5x8+y10=limx0x6x8+x10=limx01x211+x2=
So xy5x8+y10 does not approach a single value as (x,y)(0,0) and the limit does not exist.

2.1.2.8. (✳).

Solution.
(a) In polar coordinates
x3y3x2+y2=r3cos3θr3sin3θr2=rcos3θrsin3θ
Since
|rcos3θrsin3θ|2r
and 2r0 as r0, the limit exists and is 0.
(b) The limit as we approach (0,0) along the x-axis is
limt0x2y4x2+y4|(x,y)=(t,0)=limt0t204t2+04=1
On the other hand the limit as we approach (0,0) along the y-axis is
limt0x2y4x2+y4|(x,y)=(0,t)=limt002t402+t4=1
These are different, so the limit as (x,y)0 does not exist.
We can gain a more detailed understanding of the behaviour of x2y4x2+y4 near the origin by switching to polar coordinates.
x2y4x2+y4=r2cos2θr4sin4θr2cos2θ+r4sin4θ=cos2θr2sin4θcos2θ+r2sin4θ
Now fix any θ and let r0 (so that we are approaching the origin along the ray that makes an angle θ with the positive x-axis). If cosθ0 (i.e. the ray is not part of the y-axis)
limr0cos2θr2sin4θcos2θ+r2sin4θ=cos2θcos2θ=1
But if cosθ=0 (i.e. the ray is part of the y-axis)
limr0cos2θr2sin4θcos2θ+r2sin4θ=limr0r2sin4θr2sin4θ=sin4θsin4θ=1

2.1.2.9. (✳).

Solution.
(a) In polar coordinates x=rcosθ, y=rsinθ
2x2+x2yy2x+2y2x2+y2=2r2cos2θ+r3cos2θsinθr3cosθsin2θ+2r2sin2θr2=2+r[cos2θsinθsin2θcosθ]
As
r|cos2θsinθsin2θcosθ|2r0 as r0
we have
lim(x,y)(0,0)2x2+x2yy2x+2y2x2+y2=2
(b) Since
x2y22x2y+x2(x2+y22y+1)2=x2(y1)2[x2+(y1)2]2
and, in polar coordinates centred on (0,1), x=rcosθ, y=1+rsinθ,
x2(y1)2[x2+(y1)2]2=r4cos2θsin2θr4=cos2θsin2θ
we have that the limit does not exist. For example, if we send (x,y) to (0,1) along the line y=1, so that θ=0, we get the limit 0, while if we send (x,y) to (0,1) along the line y=x+1, so that θ=π4, we get the limit 14.

2.1.2.10.

Solution.
(a) We have
limr0+f(rcosθ,rsinθ)=limr0+(rcosθ)2(rsinθ)(rcosθ)4+(rsinθ)2=limr0+r cos2θsinθr2cos4θ+sin2θ=limr0+r limr0+cos2θsinθr2cos4θ+sin2θ
Observe that, if sinθ=0, then
cos2θsinθr2cos4θ+sin2θ=0
for all r0. If sinθ0,
limr0+cos2θsinθr2cos4θ+sin2θ=cos2θsinθsin2θ=cos2θsinθ
So the limit limr0+cos2θsinθr2cos4θ+sin2θ exists (and is finite) for all fixed θ and
limr0+f(rcosθ,rsinθ)=0
(b) We have
limx0f(x,x2)=limx0x2x2x4+(x2)2=limx0x42x4=12
(c) Note that in part (a) we showed that as (x,y) approaches (0,0) along any straight line, f(x,y) approaches the limit zero. In part (b) we have just shown that as (x,y) approaches (0,0) along the parabola y=x2, f(x,y) approaches the limit 12, not zero. So f(x,y) takes values very close to 0, for some (x,y)’s that are really near (0,0) and also takes values very close to 12, for other (x,y)’s that are really near (0,0). There is no single number, L, with the property that f(x,y) is really close to L for all (x,y) that are really close to (0,0). So the limit does not exist.

2.1.2.11. (✳).

Solution.
(a) Since, in polar coordinates,
xyx2+y2=r2cosθsinθr2=cosθsinθ
we have that the limit does not exist. For example,
  • if we send (x,y) to (0,0) along the positive x-axis, so that θ=0, we get the limit sinθcosθ|θ=0=0,
  • while if we send (x,y) to (0,0) along the line y=x in the first quadrant, so that θ=π4, we get the limit sinθcosθ|θ=π/4=12.
(b) This limit does not exist, since if it were to exist the limit
lim(x,y)(0,0)xyx2+y2=lim(x,y)(0,0)xysin(xy) sin(xy)x2+y2=lim(x,y)(0,0)xysin(xy) lim(x,y)(0,0)sin(xy)x2+y2
would also exist. (Recall that limt0sintt=1.)
(c) Since
lim(x,y)(1,1)[x2+2xy2+y4]=(1)2+2(1)(1)2+(1)4=0lim(x,y)(1,1)[1+y4]=1+(1)4=2
and the second limit is nonzero,
lim(x,y)(1,1)x2+2xy2+y41+y4=02=0
(d) Since the limit along the positive x-axis
limt0t>0|y|x|(x,y)=(t,0)=limt0t>00t=limt0t>00=0
and the limit along the y-axis
limt0|y|x|(x,y)=(0,t)=limt0|t|0=limt01=1
are different, the limit as (x,y)0 does not exist.

2.1.2.12.

Solution.
(a) Let a be any nonzero constant. When y=x+x2a and x0,
x2yx=x2x2/a=a
So the limit along the curve y=x+x2a is
limt0x2yx|(x,y)=(t,t+t2/a)=limt0a=a
In particular, the limit along the curve y=x+x2, which is 1, and the limit along the curve y=xx2, which is 1, are different. So the limit as (x,y)0 does not exist.
(b) Let a be any nonzero constant. When y=x+x8a and x0,
x8yx=x8x8/a=a
So the limit along the curve y=x+x8a is
limt0x8yx|(x,y)=(t,t+t8/a)=limt0a=a
In particular, the limit along the curve y=x+x8, which is 1, and the limit along the curve y=xx8, which is 1, are different. So the limit as (x,y)0 does not exist.

2.2 Partial Derivatives
2.2.2 Exercises

2.2.2.1.

Solution.
  1. By definition
    fx(0,0)=limh0f(h,0)f(0,0)h
    One approximation to this is
    fx(0,0)f(h,0)f(0,0)h|h=0.1=1.1051710.1=1.0517
    Another approximation to this is
    fx(0,0)f(h,0)f(0,0)h|h=0.01=1.0100510.01=1.005
  2. By definition
    fy(0,0)=limh0f(0,h)f(0,0)h
    One approximation to this is
    fy(0,0)f(0,h)f(0,0)h|h=0.1=0.9950010.1=0.0500
    Another approximation to this is
    fy(0,0)f(0,h)f(0,0)h|h=0.01=0.9999510.01=.0050
  3. To take the partial derivative with respect to x at (0,0), we set y=0, differentiate with respect to x and then set x=0. So
    fx(0,0)=ddxexcos0|x=0=ex|x=0=1
    To take the partial derivative with respect to y at (0,0), we set x=0, differentiate with respect to y and then set y=0. So
    fy(0,0)=ddye0cosy|y=0=siny|y=0=0

2.2.2.2.

Solution.
If fy(0,0)<0, then f(0,y) decreases as y increases from 0. Thus moving in the positive y direction takes you downhill. This means you aren’t at the lowest point in a valley, since you can still move downhill. On the other hand, as fy(0,0)<0, f(0,y) also decreases as y increases towards 0 from slightly negative values. Thus if you move in the negative y-direction from y=0, your height z will increase. So you are not at a locally highest point—you’re not at a summit.

2.2.2.3. (✳).

Solution.
(a) By definition
fx(0,0)=limΔx0f(Δx,0)f(0,0)Δx=limΔx0(Δx2)(0)Δx2+020Δx=0
(b) By definition
fy(0,0)=limΔy0f(0,Δy)f(0,0)Δy=limΔy0(02)(Δy)02+Δy20Δy=0
(c) By definition
ddtf(t,t)|t=0=limt0f(t,t)f(0,0)t=limt0(t2)(t)t2+t20t=limt0t/2t=12

2.2.2.4.

Solution.
(a)
fx(x,y,z)=3x2y4z5fx(0,1,1)=0fy(x,y,z)=4x3y3z5fy(0,1,1)=0fz(x,y,z)=5x3y4z4fz(0,1,1)=0
(b)
wx(x,y,z)=yzexyz1+exyzwx(2,0,1)=0wy(x,y,z)=xzexyz1+exyzwy(2,0,1)=1wz(x,y,z)=xyexyz1+exyzwz(2,0,1)=0
(c)
fx(x,y)=x(x2+y2)3/2fx(3,4)=3125fy(x,y)=y(x2+y2)3/2fy(3,4)=4125

2.2.2.5.

Solution.
By the quotient rule
zx(x,y)=(1)(xy)(x+y)(1)(xy)2=2y(xy)2zy(x,y)=(1)(xy)(x+y)(1)(xy)2=2x(xy)2
Hence
xzx(x,y)+yzy(x,y)=2xy+2yx(xy)2=0

2.2.2.6. (✳).

Solution.
(a) We are told that z(x,y) obeys
()z(x,y)yy+x=ln(xyz(x,y))
for all (x,y) (near (1,2)). Differentiating () with respect to x gives
yzx(x,y)+1=1x+zx(x,y)z(x,y)zx(x,y)=1x1y1z(x,y)
or, dropping the arguments (x,y) and multiplying both the numerator and denominator by xz,
zx=zxzxyzx=z(1x)x(yz1)
Differentiating () with respect to y gives
z(x,y)+yzy(x,y)1=1y+zy(x,y)z(x,y)zy(x,y)=1y+1z(x,y)y1z(x,y)
or, dropping the arguments (x,y) and multiplying both the numerator and denominator by yz,
zy=z+yzyz2y2zy=z(1+yyz)y(yz1)
(b) When (x,y,z)=(1,2,1/2),
zx(1,2)=1x1y1z|(x,y,z)=(1,2,1/2)=11122=12zy(1,2)=1y+1zy1z|(x,y,z)=(1,2,1/2)=12+11222=0

2.2.2.7. (✳).

Solution.
We are told that the four variables T, U, V, W obey the single equation (TUV)2ln(WUV)=ln2. So they are not all independent variables. Roughly speaking, we can treat any three of them as independent variables and solve the given equation for the fourth as a function of the three chosen independent variables.
We are first asked to find UT. This implicitly tells to treat T, V and W as independent variables and to view U as a function U(T,V,W) that obeys
(E1)(TU(T,V,W)V)2ln(WU(T,V,W)V)=ln2
for all (T,U,V,W) sufficiently near (1,1,2,4). Differentiating (E1) with respect to T gives
2(TU(T,V,W)V)[U(T,V,W)+TUT(T,V,W)]ln(WU(T,V,W)V)(TU(T,V,W)V)21WU(T,V,W)VUT(T,V,W)V=0
In particular, for (T,U,V,W)=(1,1,2,4),
2((1)(1)2)[1+(1)UT(1,2,4)]ln(4(1)(2))((1)(1)2)214(1)(2)UT(1,2,4)(2)=0
This simplifies to
2[1+UT(1,2,4)]ln(2)UT(1,2,4)=0UT(1,2,4)=2ln(2)1+2ln(2)
We are then asked to find TV. This implicitly tells to treat U, V and W as independent variables and to view T as a function T(U,V,W) that obeys
(E2)(T(U,V,W)UV)2ln(WUV)=ln2
for all (T,U,V,W) sufficiently near (1,1,2,4). Differentiating (E2) with respect to V gives
2(T(U,V,W)UV) [TV(U,V,W) U1]ln(WUV)(T(U,V,W)UV)2UWUV=0
In particular, for (T,U,V,W)=(1,1,2,4),
2((1)(1)2)[(1)TV(1,2,4)1]ln(4(1)(2))((1)(1)2)214(1)(2)=0
This simplifies to
2[TV(1,2,4)1]ln(2)12=0TV(1,2,4)=114ln(2)

2.2.2.8. (✳).

Solution.
The function
u(ρ,r,θ)=[ρrcosθ]2+[ρrsinθ]ρr=ρ2r2cos2θ+ρ2r2sinθ
So
ur(ρ,r,θ)=2ρ2rcos2θ+2ρ2rsinθ
and
ur(2,3,π/2)=2(22)(3)(0)2+2(22)(3)(1)=24

2.2.2.9.

Solution.
By definition
fx(x0,y0)=limΔx0f(x0+Δx,y0)f(x0,y0)Δxfy(x0,y0)=limΔy0f(x0,y0+Δy)f(x0,y0)Δy
Setting x0=y0=0,
fx(0,0)=limΔx0f(Δx,0)f(0,0)Δx=limΔx0f(Δx,0)Δx=limΔx0((Δx)22×02)/(Δx0)Δx=limΔx01=1fy(0,0)=limΔy0f(0,Δy)f(0,0)Δy=limΔy0f(0,Δy)Δy=limΔy0(022(Δy)2)/(0Δy)Δy=limΔy02=2

2.2.2.10.

Solution.
As z(x,y)=f(x2+y2)
zx(x,y)=2xf(x2+y2)zy(x,y)=2yf(x2+y2)
by the (ordinary single variable) chain rule. So
yzxxzy=y(2x)f(x2+y2)x(2y)f(x2+y2)=0
and the differential equation is always satisfied, assuming that f is differentiable, so that the chain rule applies.

2.2.2.11.

Solution.
By definition
fx(0,0)=limΔx0f(Δx,0)f(0,0)Δx=limΔx0(Δx+2×0)2Δx+00Δx=limΔx0ΔxΔx=1
and
fy(0,0)=limΔy0f(0,Δy)f(0,0)Δy=limΔy0(0+2Δy)20+Δy0Δy=limΔy04ΔyΔy=4
(b) f(x,y) is not continuous at (0,0), even though both partial derivatives exist there. To see this, make a change of coordinates from (x,y) to (X,y) with X=x+y (the denominator). Of course, (x,y)(0,0) if and only if (X,y)(0,0). Now watch what happens when (X,y)(0,0) with X a lot smaller than y. For example, X=ay2. Then
(x+2y)2x+y=(X+y)2X=(ay2+y)2ay2=(1+ay)2a1a
This depends on a. So approaching (0,0) along different paths gives different limits. (You can see the same effect without changing coordinates by sending (x,y)(0,0) with x=y+ay2.) Even more dramatically, watch what happens when (X,y)(0,0) with X=y3. Then
(x+2y)2x+y=(X+y)2X=(y3+y)2y3=(1+y2)2y±

2.2.2.12.

Solution 1.
Let’s start by finding an equation for this surface. Every level curve is a horizontal circle of radius one, so the equation should be of the form
(xf1)2+(yf2)2=1
where f1 and f2 are functions depending only on z. Since the centre of the circle at height z is at position x=0, y=z, we see that the equation of our surface is
x2+(yz)2=1
The height of the surface at the point (x,y) is the z(x,y) found by solving that equation. That is,
()x2+(yz(x,y))2=1
We differentiate this equation implicitly to find zx(x,y) and zy(x,y) at the desired point (x,y)=(0,1). First, differentiating () with respect to y gives
0+2(yz(x,y))(1zy(x,y))=02(10)(1zy(0,1))=0 at (0,1,0)
so that the slope looking in the positive y direction is zy(0,1)=1. Similarly, differentiating () with respect to x gives
2x+2(yz(x,y))(0zx(x,y))=02x=2(yz(x,y))zx(x,y)zx(x,y)=xyz(x,y)zx(0,1)=0 at (0,1,0)
The slope looking in the positive x direction is zx(0,1)=0.
Solution 2.
Standing at (0,1,0) and looking in the positive y direction, the surface follows the straight line that
  • passes through the point (0,1,0), and
  • is parallel to the central line z=y,x=0 of the cylinder.
Shifting the central line one unit in the y-direction, we get the line z=y+1, x=0. (As a check, notice that (0,1,0) is indeed on z=y+1, x=0.) The slope of this line is 1.
Standing at (0,1,0) and looking in the positive x direction, the surface follows the circle x2+y2=1, z=0, which is the intersection of the cylinder with the xy-plane. As we move along that circle our z coordinate stays fixed at 0. So the slope in that direction is 0.

2.3 Higher Order Derivatives
2.3.3 Exercises

2.3.3.1.

Solution.
We have to derive a bunch of equalities.
  • Fix any real number x and set g(y,z)=fx(x,y,z). By (Clairaut’s) Theorem 2.3.4 gyz(y,z)=gzy(y,z), so
    fxyz(x,y,z)=gyz(y,z)=gzy(y,z)=fxzy(x,y,z)
  • For every fixed real number z, (Clairaut’s) Theorem 2.3.4 gives fxy(x,y,z)=fyx(x,y,z). So
    fxyz(x,y,z)=zfxy(x,y,z)=zfyx(x,y,z)=fyxz(x,y,z)
    So far, we have
    fxyz(x,y,z)=fxzy(x,y,z)=fyxz(x,y,z)
  • Fix any real number y and set g(x,z)=fy(x,y,z). By (Clairaut’s) Theorem 2.3.4 gxz(x,z)=gzx(x,z). So
    fyxz(x,y,z)=gxz(x,z)=gzx(x,z)=fyzx(x,y,z)
    So far, we have
    fxyz(x,y,z)=fxzy(x,y,z)=fyxz(x,y,z)=fyzx(x,y,z)
  • For every fixed real number y, (Clairaut’s) Theorem 2.3.4 gives fxz(x,y,z)=fzx(x,y,z). So
    fxzy(x,y,z)=yfxz(x,y,z)=yfzx(x,y,z)=fzxy(x,y,z)
    So far, we have
    fxyz(x,y,z)=fxzy(x,y,z)=fyxz(x,y,z)=fyzx(x,y,z)=fzxy(x,y,z)
  • Fix any real number z and set g(x,y)=fz(x,y,z). By (Clairaut’s) Theorem 2.3.4 gxy(x,y)=gyx(x,y). So
    fzxy(x,y,z)=gxy(x,y)=gyx(x,y)=fzxy(x,y,z)
    We now have all of
    fxyz(x,y,z)=fxzy(x,y,z)=fyxz(x,y,z)=fyzx(x,y,z)=fzxy(x,y,z)=fzxy(x,y,z)

2.3.3.2.

Solution.
No such f(x,y) exists, because if it were to exist, then we would have that fxy(x,y)=fyx(x,y). But
fxy(x,y)=yfx(x,y)=yey=eyfyx(x,y)=xfy(x,y)=xex=ex
are not equal.

2.3.3.3.

Solution.
(a) We have
fx(x,y)=2xy3fxx(x,y)=2y3fxy(x,y)=6xy2fyxy(x,y)=fxyy(x,y)=12xy
(b) We have
fx(x,y)=y2exy2fxx(x,y)=y4exy2fxxy(x,y)=4y3exy2+2xy5exy2fxy(x,y)=2yexy2+2xy3exy2fxyy(x,y)=(2+4xy2+6xy2+4x2y4)exy2=(2+10xy2+4x2y4)exy2
(c) We have
fu(u,v,w)=1(u+2v+3w)22fuv(u,v,w)=4(u+2v+3w)33fuvw(u,v,w)=36(u+2v+3w)4
In particular
3fuvw(3,2,1)=36(3+2×2+3×1)4=36104=92500

2.3.3.4.

Solution.
Let f(x,y)=x2+5y2. Then
fx=xx2+5y2fxx=1x2+5y212(x)(2x)(x2+5y2)3/2fxy=12(x)(10y)(x2+5y2)3/2fy=5yx2+5y2fyy=5x2+5y212(5y)(10y)(x2+5y2)3/2fyx=12(5y)(2x)(x2+5y2)3/2
Simplifying, and in particular using that 1x2+5y2=x2+5y2(x2+5y2)3/2,
fxx=5y2(x2+5y2)3/2fxy=fyx=5xy(x2+5y2)3/2fyy=5x2(x2+5y2)3/2

2.3.3.5.

Solution.
(a) As f(x,y,z)=arctan(exy) is independent of z, we have fz(x,y,z)=0 and hence
fxyz(x,y,z)=fzxy(x,y,z)=0
(b) Write u(x,y,z)=arctan(exy), v(x,y,z)=arctan(exz) and w(x,y,z)=arctan(eyz). Then
  • As u(x,y,z)=arctan(exy) is independent of z, we have uz(x,y,z)=0 and hence uxyz(x,y,z)=uzxy(x,y,z)=0
  • As v(x,y,z)=arctan(exz) is independent of y, we have vy(x,y,z)=0 and hence vxyz(x,y,z)=vyxz(x,y,z)=0
  • As w(x,y,z)=arctan(eyz) is independent of x, we have wx(x,y,z)=0 and hence wxyz(x,y,z)=0
As f(x,y,z)=u(x,y,z)+v(x,y,z)+w(x,y,z), we have
fxyz(x,y,z)=uxyz(x,y,z)+vxyz(x,y,z)+wxyz(x,y,z)=0
(c) In the course of evaluating fxx(x,0,0), both y and z are held fixed at 0. Thus, if we set g(x)=f(x,0,0), then fxx(x,0,0)=g(x). Now
g(x)=f(x,0,0)=arctan(exyz)|y=z=0=arctan(1)=π4
for all x. So g(x)=0 and g(x)=0 for all x. In particular,
fxx(1,0,0)=g(1)=0

2.3.3.6. (✳).

Solution.
(a) The first order derivatives are
fr(r,θ)=mrm1cosmθfθ(r,θ)=mrmsinmθ
The second order derivatives are
frr(r,θ)=m(m1)rm2cosmθfrθ(r,θ)=m2rm1sinmθfθθ(r,θ)=m2rmcosmθ
so that
frr(1,0)=m(m1), frθ(1,0)=0, fθθ(1,0)=m2
(b) By part (a), the expression
frr+λrfr+1r2fθθ=m(m1)rm2cosmθ+λmrm2cosmθm2rm2cosmθ
vanishes for all r and θ if and only if
m(m1)+λmm2=0m(λ1)=0λ=1

2.3.3.7.

Solution.
As
ut(x,y,z,t)=321t5/2e(x2+y2+z2)/(4αt)+14αt7/2(x2+y2+z2)e(x2+y2+z2)/(4αt)ux(x,y,z,t)=x2αt5/2e(x2+y2+z2)/(4αt)uxx(x,y,z,t)=12αt5/2e(x2+y2+z2)/(4αt)+x24α2t7/2e(x2+y2+z2)/(4αt)uyy(x,y,z,t)=12αt5/2e(x2+y2+z2)/(4αt)+y24α2t7/2e(x2+y2+z2)/(4αt)uzz(x,y,z,t)=12αt5/2e(x2+y2+z2)/(4αt)+z24α2t7/2e(x2+y2+z2)/(4αt)
we have
α(uxx+uyy+uzz)=32t5/2e(x2+y2+z2)/(4αt)+x2+y2+z24αt7/2e(x2+y2+z2)/(4αt)=ut

2.4 The Chain Rule
2.4.5 Exercises

2.4.5.1.

Solution.
(c) We’ll start with part (c) and follow the procedure given in §2.4.1. We are to compute the derivative of h(x,y,z)=f(u(x,y,z),v(x,y),w(x)) with respect to x. For this function, the template of Step 2 in §2.4.1 is
hx=fx
Note that
  • The function h appears once in the numerator on the left. The function f, from which h is constructed by a change of variables, appears once in the numerator on the right.
  • The variable, x, in the denominator on the left appears once in the denominator on the right.
Now we fill in the blanks with every variable that makes sense. In particular, since f is a function of u, v and w, it may only be differentiated with respect to u, v and w. So we add together three copies of our template — one for each of u, v and w:
hx=fuux+fvvx+fwdwdx
Since w is a function of only one variable, we use the ordinary derivative symbol dwdx, rather than the partial derivative symbol wx in the third copy. Finally we put in the only functional dependence that makes sense. The left hand side is a function of x, y and z, because h is a function of x, y and z. Hence the right hand side must also be a function of x, y and z. As f is a function of u, v and w, this is achieved by evaluating f at u=u(x,y,z), v=v(x,y) and w=w(x).
hx(x,y,z)=fu(u(x,y,z),v(x,y),w(x))ux(x,y,z)+fv(u(x,y,z),v(x,y),w(x))vx(x,y)+fw(u(x,y,z),v(x,y),w(x))dwdx(x)
(a) We again follow the procedure given in §2.4.1. We are to compute the derivative of h(x,y)=f(x,u(x,y)) with respect to x. For this function, the template of Step 2 in §2.4.1 is
hx=fx
Now we fill in the blanks with every variable that makes sense. In particular, since f is a function of x and u, it may only be differentiated with respect to x, and u. So we add together two copies of our template — one for x and one for u:
hx=fxdxdx+fuux
In dxdx we are to differentiate the (explicit) function x (i.e. the function F(x)=x) with respect to x. The answer is of course 1. So
hx=fx+fuux
Finally we put in the only functional depedence that makes sense. The left hand side is a function of x, and y, because h is a function of x and y. Hence the right hand side must also be a function of x and y. As f is a function of x, u, this is achieved by evaluating f at u=u(x,y).
hx(x,y)=fx(x,u(x,y))+fu(x,u(x,y))ux(x,y)
(b) Yet again we follow the procedure given in §2.4.1. We are to compute the derivative of h(x)=f(x,u(x),v(x)) with respect to x. For this function, the template of Step 2 in §2.4.1 is
dhdx=fx
(As h is function of only one variable, we use the ordinary derivative symbol dhdx on the left hand side.) Now we fill in the blanks with every variable that makes sense. In particular, since f is a function of x, u and v, it may only be differentiated with respect to x, u and v. So we add together three copies of our template — one for each of x, u and v:
dhdx=fxdxdx+fududx+fvdvdx=fx+fududx+fvdvdx
Finally we put in the only functional depedence that makes sense.
dhdx(x)=fx(x,u(x),v(x))+fu(x,u(x),v(x))dudx(x)+fv(x,u(x),v(x))dvdx(x)

2.4.5.2.

Solution.
To visualize, in a simplified setting, the situation from Example 2.4.10, note that w(x) is the rate of change of z as we slide along the blue line, while fx(x,y) is the change of z as we slide along the orange line.
In the partial derivative fx(x,y)ΔfΔx, we let x change, while y stays the same. Necessarily, that forces f to change as well. Starting at point P0, if we move x but keep y fixed, we end up at P2. According to the labels on the diagram, Δx is x2x1, and Δf is z2z1.
The function w(x) is a constant function, so we expect w(x)=0. In the approximation dwdxΔwΔx, we let x change, but w stays the same. Necessarily, to stay on the surface, this forces y to change. Starting at point P0, if we move x but keep z=f(x,y) fixed, we end up at P1. According to the labels on the diagram, Δx is x2x1 again, and Δw=z1z1=0.
To compare the two situations, note the first case has Δy=0 while the second case has Δf=0.

2.4.5.3. (✳).

Solution.
We are told in the statement of the question that w(t)=f(x(t),y(t),t). Applying the chain rule to w(t)=f(x(t),y(t),t), by following the procedure given in §2.4.1, gives
dwdt(t)=fx(x(t),y(t),t)dxdt(t)+fy(x(t),y(t),t)dydt(t)+ft(x(t),y(t),t)dtdt=fx(x(t),y(t),t)dxdt(t)+fy(x(t),y(t),t)dydt(t)+ft(x(t),y(t),t)
Substituting in the values given in the question
dwdt=2×13×2+5=1
On the other hand, we are told explicitly in the question that ft is 5. The reason that ft and dwdt are different is that
  • ft gives the rate of change of f(x,y,t) as t varies while x and y are held fixed, but
  • dwdt gives the rate of change of f(x(t),y(t),t). For the latter all of x=x(t), y=y(t) and t are changing at once.

2.4.5.4.

Solution.
The basic assumption is that the three quantites x, y and z are not independent. Given any two of them, the third is uniquely determined. They are assumed to satisfy a relationship F(x,y,z)=0, which can be solved to
  • determine x as a function of y and z (say x=f(y,z)) and can alternatively be solved to
  • determine y as a function of x and z (say y=g(x,z)) and can alternatively be solved to
  • determine z as a function of x and y (say z=h(x,y)).
As an example, if F(x,y,z)=xyz1, then
  • F(x,y,z)=xyz1=0 implies that x=1yz=f(y,z) and
  • F(x,y,z)=xyz1=0 implies that y=1xz=g(x,z) and
  • F(x,y,z)=xyz1=0 implies that z=1xy=h(x,y)
In general, saying that F(x,y,z)=0 determines x=f(y,z) means that
()F(f(y,z),y,z)=0
for all y and z. Set F(y,z)=F(f(y,z),y,z). Applying the chain rule to F(y,z)=F(f(y,z),y,z) (with y and z independent variables) gives
Fz(y,z)=Fx(f(y,z),y,z)fz(y,z)+Fz(f(y,z),y,z)
The equation () says that F(y,z)=F(f(y,z),y,z)=0 for all y and z. So differentiating the equation () with respect to z gives
Fz(y,z)=Fx(f(y,z),y,z)fz(y,z)+Fz(f(y,z),y,z)=0fz(y,z)=Fz(f(y,z),y,z)Fx(f(y,z),y,z)
for all y and z. Similarly, differentiating F(x,g(x,z),z)=0 with respect to x and F(x,y,h(x,y))=0 with respect to y gives
gx(x,z)=Fx(x,g(x,z),z)Fy(x,g(x,z),z)hy(x,y)=Fy(x,y,h(x,y))Fz(x,y,h(x,y))
If (x,y,z) is any point satisfying F(x,y,z)=0 (so that x=f(y,z) and y=g(x,z) and z=h(x,y)), then
fz(y,z)=Fz(x,y,z)Fx(x,y,z)gx(x,z)=Fx(x,y,z)Fy(x,y,z)hy(x,y)=Fy(x,y,z)Fz(x,y,z)
and
fz(y,z) gx(x,z) hy(x,y)=Fz(x,y,z)Fx(x,y,z) Fx(x,y,z)Fy(x,y,z) Fy(x,y,z)Fz(x,y,z)=1

2.4.5.5.

Solution.
The problem is that wx is used to represent two completely different functions in the same equation. The careful way to write the equation is the following. Let f(x,y,z) and g(x,y) be continuously differentiable functions and define w(x,y)=f(x,y,g(x,y)). By the chain rule,
wx(x,y)=fx(x,y,g(x,y))xx+fy(x,y,g(x,y))yx+fz(x,y,g(x,y))gx(x,y)=fx(x,y,g(x,y))+fz(x,y,g(x,y))gx(x,y)
While w(x,y)=f(x,y,g(x,y)), it is not true that wx(x,y)=fx(x,y,g(x,y)). For example, take f(x,y,z)=xz and g(x,y)=x. Then w(x,y)=f(x,y,g(x,y))=xg(x,y)=0 for all (x,y), so that wx(x,y)=0 while fx(x,y,z)=1 for all (x,y,z).

2.4.5.6.

Solution.
Method 1: Since w(s,t)=x(s,t)2+y(s,t)2+z(s,t)2 with x(s,t)=st, y(s,t)=scost and z(s,t)=ssint we can write out w(s,t) explicitly:
w(s,t)=(st)2+(scost)2+(ssint)2=s2(t2+1)ws(s,t)=2s(t2+1)andwt(s,t)=s2(2t)
Method 2: The question specifies that w(s,t)=x(s,t)2+y(s,t)2+z(s,t)2 with x(s,t)=st, y(s,t)=scost and z(s,t)=ssint. That is, w(s,t)=W(x(s,t),y(s,t),z(s,t)) with W(x,y,z)=x2+y2+z2. Applying the chain rule to w(s,t)=W(x(s,t),y(s,t),z(s,t)) and noting that Wx=2x, Wy=2y, Wz=2z, gives
ws(s,t)=Wx(x(s,t),y(s,t),z(s,t))xs(s,t)+Wy(x(s,t),y(s,t),z(s,t))ys(s,t)+Wz(x(s,t),y(s,t),z(s,t))zs(s,t)=2x(s,t) xs(s,t)+2y(s,t) ys(s,t)+2z(s,t) zs(s,t)=2(st) t+2(scost) cost+2(ssint) sint=2st2+2swt(s,t)=Wx(x(s,t),y(s,t),z(s,t))xt(s,t)+Wy(x(s,t),y(s,t),z(s,t))yt(s,t)+Wz(x(s,t),y(s,t),z(s,t))zt(s,t)=2x(s,t) xt(s,t)+2y(s,t) yt(s,t)+2z(s,t) zt(s,t)=2(st) s+2(scost) (ssint)+2(ssint) (scost)=2s2t

2.4.5.7.

Solution.
By definition,
3xy2f(2x+3y,xy)=x[y(yf(2x+3y,xy))]
We’ll compute the derivatives from the inside out. Let’s call F(x,y)=f(2x+3y,xy) so that the innermost derivative is G(x,y)=yf(2x+3y,xy)=yF(x,y). By the chain rule
G(x,y)=yF(x,y)=f1(2x+3y,xy)y(2x+3y)+f2(2x+3y,xy)y(xy)=3f1(2x+3y,xy)+xf2(2x+3y,xy)
Here the subscript 1 means take the partial derivative of f with respect to the first argument while holding the second argument fixed, and the subscript 2 means take the partial derivative of f with respect to the second argument while holding the first argument fixed. Next call the middle derivative H(x,y)=y(yf(2x+3y,xy)) so that
H(x,y)=yG(x,y)=y(3f1(2x+3y,xy)+xf2(2x+3y,xy))=3y(f1(2x+3y,xy))+xy(f2(2x+3y,xy))
By the chain rule (twice),
y(f1(2x+3y,xy))=f11(2x+3y,xy)y(2x+3y)+f12(2x+3y,xy)y(xy)=3f11(2x+3y,xy)+xf12(2x+3y,xy)y(f2(2x+3y,xy))=f21(2x+3y,xy)y(2x+3y)+f22(2x+3y,xy)y(xy)=3f21(2x+3y,xy)+xf22(2x+3y,xy)
so that
H(x,y)=3(3f11(2x+3y,xy)+xf12(2x+3y,xy))+x(3f21(2x+3y,xy)+xf22(2x+3y,xy))=9f11(2x+3y,xy)+6xf12(2x+3y,xy)+x2f22(2x+3y,xy)
In the last equality we used that f21(2x+3y,xy)=f12(2x+3y,xy). The notation f21 means first differentiate with respect to the second argument and then differentiate with respect to the first argument. For example, if f(x,y)=e2ysinx, then
f21(x,y)=x[y(e2ysinx)]=x[2e2ysinx]=2eycosx
Finally, we get to
3xy2f(2x+3y,xy)=xH(x,y)=x(9f11(2x+3y,xy)+6xf12(2x+3y,xy)+x2f22(2x+3y,xy))=9x(f11(2x+3y,xy))+6f12(2x+3y,xy)+6xx(f12(2x+3y,xy))+2xf22(2x+3y,xy)+x2x(f22(2x+3y,xy))
By three applications of the chain rule
3xy2f(2x+3y,xy)=9(2f111+yf112)+6f12+6x(2f121+yf122)+2xf22+x2(2f221+yf222)=6f12+2xf22+18f111+(9y+12x)f112+(6xy+2x2)f122+x2yf222
All functions on the right hand side have arguments (2x+3y,xy).

2.4.5.8.

Solution.
The given function is
g(s,t)=f(2s+3t,3s2t)
The first order derivatives are
gs(s,t)=2f1(2s+3t,3s2t)+3f2(2s+3t,3s2t)gt(s,t)=3f1(2s+3t,3s2t)2f2(2s+3t,3s2t)
The second order derivatives are
gss(s,t)=s(2f1(2s+3t,3s2t)+3f2(2s+3t,3s2t))=2(2f11+3f12)+3(2f21+3f22)=4f11+6f12+6f21+9f22=4f11(2s+3t,3s2t)+12f12(2s+3t,3s2t)+9f22(2s+3t,3s2t)gst(s,t)=t(2f1(2s+3t,3s2t)+3f2(2s+3t,3s2t))=2(3f112f12)+3(3f212f22)=6f11(2s+3t,3s2t)+5f12(2s+3t,3s2t)6f22(2s+3t,3s2t)gtt(s,t)=t(3f1(2s+3t,3s2t)2f2(2s+3t,3s2t))=3(3f112f12)2(3f212f22)=9f11(2s+3t,3s2t)12f12(2s+3t,3s2t)+4f22(2s+3t,3s2t)
Here f1 denotes the partial derivative of f with respect to its first argument, f12 is the result of first taking one partial derivative of f with respect to its first argument and then taking a partial derivative with respect to its second argument, and so on.

2.4.5.9. (✳).

Solution.
By the chain rule,
gs(s,t)=sf(st,s+t)=fx(st,s+t)s(st)+fy(st,s+t)s(s+t)=fx(st,s+t)+fy(st,s+t)2gs2(s,t)=s[fx(st,s+t)]+s[fy(st,s+t)]=2fx2(st,s+t)+2fyx(st,s+t)+2fxy(st,s+t)+2fy2(st,s+t)={2fx2(st,s+t)+22fxy(st,s+t)+2fy2(st,s+t)}
and
gt(s,t)=tf(st,s+t)=fx(st,s+t)t(st)+fy(st,s+t)t(s+t)=fx(st,s+t)+fy(st,s+t)2gt2(s,t)=t[fx(st,s+t)]+t[fy(st,s+t)]=[2fx2(st,s+t)+2fyx(st,s+t)]+[2fxy(st,s+t)+2fy2(st,s+t)]={2fx2(st,s+t)22fxy(st,s+t)+2fy2(st,s+t)}
Suppressing the arguments
2gs2+2gt2={2fx2+22fxy+2fy2}+{2fx222fxy+2fy2}=2[2fx2+2fy2]=0
as desired.

2.4.5.10. (✳).

Solution.
The notation in the statement of this question is horrendous — the symbol z is used with two different meanings in one equation. On the left hand side, it is a function of x and y, and on the right hand side, it is a function of s and t. Unfortunately that abuse of notation is also very common. Let us undo the notation conflict by renaming the function of s and t to F(s,t). That is,
F(s,t)=f(2s+t,st)
In this new notation, we are being asked to find a, b and c so that
a2fx2+b2fxy+c2fy2=2Fs2+2Ft2
with the arguments on the right hand side being (s,t) and the arguments on the left hand side being (2s+t,st).
By the chain rule,
Fs(s,t)=fx(2s+t,st)s(2s+t)+fy(2s+t,st)s(st)=2fx(2s+t,st)+fy(2s+t,st)2Fs2(s,t)=2s[fx(2s+t,st)]+s[fy(2s+t,st)]=42fx2(2s+t,st)+22fyx(2s+t,st)+22fxy(2s+t,st)+2fy2(2s+t,st)
and
Ft(s,t)=fx(2s+t,st)t(2s+t)+fy(2s+t,st)t(st)=fx(2s+t,st)fy(2s+t,st)2Ft2(s,t)=t[fx(2s+t,st)]t[fy(2s+t,st)]=2fx2(2s+t,st)2fyx(2s+t,st)2fxy(2s+t,st)+2fy2(2s+t,st)
Suppressing the arguments
2Fs2+2Ft2=52fx2+22fxy+22fy2
Finally, translating back into the (horrendous) notation of the question
2zs2+2zt2=52zx2+22zxy+22zy2
so that a=5 and b=c=2.

2.4.5.11. (✳).

Solution.
Let u(x,y)=x2y2 , and v(x,y)=2xy. Then F(x2y2,2xy)=F(u(x,y),v(x,y)). By the chain rule
yF(x2y2,2xy)=yF(u(x,y),v(xy))=Fu(u(x,y),v(xy))uy(x,y)+Fv(u(x,y),v(xy))vy(x,y)=Fu(x2y2,2xy) (2y)+Fv(x2y2,2xy)(2x)2xyF(x2y2,2xy)=x{2yFu(x2y2,2xy)+2xFv(x2y2,2xy)}=2yx[Fu(x2y2,2xy)]+2Fv(x2y2,2xy)+2xx[Fv(x2y2,2xy)]=4xyFuu(x2y2,2xy)4y2Fuv(x2y2,2xy)+2Fv(x2y2,2xy)+4x2Fvu(x2y2,2xy)+4xyFvv(x2y2,2xy)=2Fv(x2y2,2xy)4xyFuu(x2y2,2xy)+4(x2y2)Fuv(x2y2,2xy)+4xyFvv(x2y2,2xy)

2.4.5.12. (✳).

Solution.
For any (differentiable) function F, we have, by the chain and product rules,
ux(x,y)=x[eyF(xey2)]=eyx[F(xey2)]=eyF(xey2)x(xey2)=eyF(xey2) ey2uy(x,y)=y[eyF(xey2)]=eyF(xey2)+eyy[F(xey2)]=eyF(xey2)+eyF(xey2) y(xey2)=eyF(xey2)+eyF(xey2) (2xy)ey2
(a) In particular, when F(z)=ln(z), F(z)=1z and
ux(x,y)=ey1xey2 ey2=eyxuy(x,y)=eyln(xey2)+ey1xey2 (2xy)ey2=eyln(xey2)2yey=eyln(x)y2ey2yey
(b) In general
2xyux+uy=2xy eyF(xey2) ey2+eyF(xey2)+eyF(xey2) (2xy)ey2=eyF(xey2)=u

2.4.5.13. (✳).

Solution.
By the chain rule,
ht(s,t)=t[f(2s+3t)]+t[g(s6t)]=f(2s+3t)t(2s+3t)+g(s6t)t(s6t)=3f(2s+3t)6g(s6t)2ht2(s,t)=3t[f(2s+3t)]6t[g(s6t)]=3f(2s+3t)t(2s+3t)6g(s6t)t(s6t)=9f(2s+3t)+36g(s6t)
In particular
2ht2(2,1)=9f(7)+36g(4)=9(2)+36(1)=54

2.4.5.14. (✳).

Solution.
We’ll first compute the first order partial derivatives of w(x,y,z). Write u(x,y,z)=xz and v(x,y,z)=yz so that w(x,y,z)=f(u(x,y,z),v(x,y,z)). By the chain rule,
wx(x,y,z)=x[f(u(x,y,z),v(x,y,z))]=fu(u(x,y,z),v(x,y,z))ux(x,y,z)+fv(u(x,y,z),v(x,y,z))vx(x,y,z)=zfu(xz,yz)wy(x,y,z)=y[f(u(x,y,z),v(x,y,z))]=fu(u(x,y,z),v(x,y,z))uy(x,y,z)+fv(u(x,y,z),v(x,y,z))vy(x,y,z)=zfv(xz,yz)wz(x,y,z)=z[f(u(x,y,z),v(x,y,z))]=fu(u(x,y,z),v(x,y,z))uz(x,y,z)+fv(u(x,y,z),v(x,y,z))vz(x,y,z)=xfu(xz,yz)+yfv(xz,yz)
So
xwx+ywy=xzfu(xz,yz)+yzfv(xz,yz)=z[xfu(xz,yz)+yfv(xz,yz)]=zwz
as desired.

2.4.5.15. (✳).

Solution.
By definition z(r,t)=f(rcost,rsint).
(a) By the chain rule
zt(r,t)=t[f(rcost,rsint)]=fx(rcost,rsint)t(rcost)+fy(rcost,rsint)t(rsint)=rsint fx(rcost,rsint)+rcost fy(rcost,rsint)
(b) By linearity, the product rule and the chain rule
2zt2(r,t)=t[rsintfx(rcost,rsint)]+t[rcostfy(rcost,rsint)]=rcost fx(rcost,rsint)rsint t[fx(rcost,rsint)]rsint fy(rcost,rsint)+rcost t[fy(rcost,rsint)]=rcost fx(rcost,rsint)+r2sin2t 2fx2(rcost,rsint)r2sintcost 2 fyx(rcost,rsint)=rsint fy(rcost,rsint)r2sintcost 2 fxy(rcost,rsint)+r2cos2t 2fy2(rcost,rsint)=rcost fxrsint fy+r2sin2t 2fx22r2sintcost 2 fxy+r2cos2t 2fy2
with all of the partial derivatives of f evaluated at (rcost,rsint).

2.4.5.16. (✳).

Solution.
Write w(t)=z(x(t),y(t))=f(x(t),y(t)) with x(t)=2t2, y(t)=t3. We are to compute d2wdt2(1). By the chain rule
dwdt(t)=ddtf(x(t),y(t))=fx(x(t),y(t))dxdt(t)+fy(x(t),y(t))dydt(t)=4tfx(x(t),y(t))+3t2fy(x(t),y(t))
By linearity, the product rule, and the chain rule,
d2dt2f(x(t),y(t))=ddt[4tfx(x(t),y(t))]+ddt[3t2fy(x(t),y(t))]=4fx(x(t),y(t))+4tddt[fx(x(t),y(t))]=+6tfy(x(t),y(t))+3t2ddt[fy(x(t),y(t))]=4fx(2t2,t3)+4t[fxx(x(t),y(t))dxdt(t)+fxy(x(t),y(t))dydt(t)]=+6tfy(2t2,t3)+3t2[fyx(x(t),y(t))dxdt(t)+fyy(x(t),y(t))dydt(t)]=4fx(2t2,t3)+16t2fxx(2t2,t3)+12t3fxy(2t2,t3)=+6tfy(2t2,t3)+12t3fyx(2t2,t3)+9t4fyy(2t2,t3)
In particular, when t=1, and since fxy(2,1)=fyx(2,1),
d2dt2f(x(t),y(t))|t=1=4(5)+16(2)+12(1)=+6(2)+12(1)+9(4)=28

2.4.5.17. (✳).

Solution.
By the chain rule
Gt(γ,s,t)=t[F(γ+s,γs,At)]=Fx(γ+s,γs,At)t(γ+s)+Fy(γ+s,γs,At)t(γs)+Fz(γ+s,γs,At)t(At)=AFz(γ+s,γs,At)
and
Gγ(γ,s,t)=γ[F(γ+s,γs,At)]=Fx(γ+s,γs,At)γ(γ+s)+Fy(γ+s,γs,At)γ(γs)+Fz(γ+s,γs,At)γ(At)(E1)=Fx(γ+s,γs,At)+Fy(γ+s,γs,At)
and
Gs(γ,s,t)=s[F(γ+s,γs,At)]=Fx(γ+s,γs,At)s(γ+s)+Fy(γ+s,γs,At)s(γs)+Fz(γ+s,γs,At)s(At)(E2)=Fx(γ+s,γs,At)Fy(γ+s,γs,At)
We can evaluate the second derivatives by applying the chain rule to the four terms on the right hand sides of
2Gγ2(γ,s,t)=γ[Gγ(γ,s,t)]=γ[Fx(γ+s,γs,At)]+γ[Fy(γ+s,γs,At)]2Gs2(γ,s,t)=s[Gs(γ,s,t)]=s[Fx(γ+s,γs,At)]s[Fy(γ+s,γs,At)]
Alternatively, we can observe that replacing F by Fx in (E1) and (E2) gives
γ[Fx(γ+s,γs,At)]=2Fx2(γ+s,γs,At)+2Fyx(γ+s,γs,At)s[Fx(γ+s,γs,At)]=2Fx2(γ+s,γs,At)2Fyx(γ+s,γs,At)
replacing F by Fy in (E1) and (E2) gives
γ[Fy(γ+s,γs,At)]=2Fxy(γ+s,γs,At)+2Fy2(γ+s,γs,At)s[Fy(γ+s,γs,At)]=2Fxy(γ+s,γs,At)2Fy2(γ+s,γs,At)
Consequently
2Gγ2(γ,s,t)=2Fx2(γ+s,γs,At)+2Fyx(γ+s,γs,At)=+2Fxy(γ+s,γs,At)+2Fy2(γ+s,γs,At)=2Fx2(γ+s,γs,At)+22Fyx(γ+s,γs,At)=+2Fy2(γ+s,γs,At)
and
2Gs2(γ,s,t)=2Fx2(γ+s,γs,At)2Fyx(γ+s,γs,At)=[2Fxy(γ+s,γs,At)2Fy2(γ+s,γs,At)]=2Fx2(γ+s,γs,At)22Fyx(γ+s,γs,At)=+2Fy2(γ+s,γs,At)
So, suppressing the arguments,
2Gγ2+2Gs2Gt=22Fx2+22Fy2AFz=2FzAFz=0
if A=2.

2.4.5.18. (✳).

Solution.
By the chain rule
gs(s,t)=s[f(asbt)]=f(asbt)s(asbt)=af(asbt)
In particular
gs(b,a)=af(abba)=af(0)=10a

2.4.5.19. (✳).

Solution.
We are told that the function z(x,y) obeys
()f(xz(x,y),yz(x,y))=0
for all x and y. By the chain rule,
x[f(xz(x,y),yz(x,y))]=fu(xz(x,y),yz(x,y))x[xz(x,y)]+fv(xz(x,y),yz(x,y))x[yz(x,y)]=fu(xz(x,y),yz(x,y))[z(x,y)+xzx(x,y)]+fv(xz(x,y),yz(x,y))yzx(x,y)y[f(xz(x,y),yz(x,y))]=fu(xz(x,y),yz(x,y))y[xz(x,y)]+fv(xz(x,y),yz(x,y))y[yz(x,y)]=fu(xz(x,y),yz(x,y))xzy(x,y)+fv(xz(x,y),yz(x,y))[z(x,y)+yzy(x,y)]
so differentiating () with respect to x and with respect to y gives
fu(xz(x,y),yz(x,y))[z(x,y)+xzx(x,y)]+fv(xz(x,y),yz(x,y))yzx(x,y)=0fu(xz(x,y),yz(x,y))xzy(x,y)+fv(xz(x,y),yz(x,y))[z(x,y)+yzy(x,y)]=0
or, leaving out the arguments,
fu[z+xzx]+fvyzx=0fuxzy+fv[z+yzy]=0
Solving the first equation for zx and the second for zy gives
zx=zfuxfu+yfvzy=zfvxfu+yfv
so that
xzx+yzy=xzfuxfu+yfvyzfvxfu+yfv=z(xfu+yfv)xfu+yfv=z
as desired.
Remark: This is of course under the assumption that xfu+yfv is nonzero. That is equivalent, by the chain rule, to the assumption that z[f(xz,yz)] is non zero. That, in turn, is almost, but not quite, equivalent to the statement that f(xz,yz)=0 is can be solved for z as a function of x and y.

2.4.5.20. (✳).

Solution.
(a) By the chain rule
ws(s,t)=s[u(2s+3t,3s2t)]=ux(2s+3t,3s2t)s(2s+3t)+uy(2s+3t,3s2t)s(3s2t)=2ux(2s+3t,3s2t)+3uy(2s+3t,3s2t)
and
wss(s,t)=2s[ux(2s+3t,3s2t)]+3s[uy(2s+3t,3s2t)]=[4uxx(2s+3t,3s2t)+6uxy(2s+3t,3s2t)]+[6uyx(2s+3t,3s2t)+9uyy(2s+3t,3s2t)]=4uxx(2s+3t,3s2t)+12uxy(2s+3t,3s2t)+9uyy(2s+3t,3s2t)
(b) Again by the chain rule
wt(s,t)=t[u(2s+3t,3s2t)]=ux(2s+3t,3s2t)t(2s+3t)+uy(2s+3t,3s2t)t(3s2t)=3ux(2s+3t,3s2t)2uy(2s+3t,3s2t)
and
wtt(s,t)=3t[ux(2s+3t,3s2t)]2t[uy(2s+3t,3s2t)]=[9uxx(2s+3t,3s2t)6uxy(2s+3t,3s2t)][6uyx(2s+3t,3s2t)4uyy(2s+3t,3s2t)]=9uxx(2s+3t,3s2t)12uxy(2s+3t,3s2t)+4uyy(2s+3t,3s2t)
Consquently, for any constant A,
wssAwtt=(49A)uxx+(12+12A)uxy+(94A)uyy
Given that uxx+uyy=0, this will be zero, as desired, if A=1. (Then (49A)=(94A)=13.)

2.4.5.21. (✳).

Solution.
This question uses bad (but standard) notation, in that the one symbol f is used for two different functions, namely f(x,y) and f(r,θ)=f(x,y)|x=rcosθ,y=rsinθ. Let us undo this notation conflict by renaming the function of r and θ to F(r,θ). That is,
F(r,θ)=f(rcosθ,rsinθ)
Similarly, rename g, viewed as a function of r and θ, to G(r,θ). That is,
G(r,θ)=g(rcosθ,rsinθ)
In this new notation, we are being asked
  • in part (a) to find Fθ, Fr and Frθ in terms of r, θ, fx and fy, and
  • in part (b) to express Fr and Fθ in terms of r, θ and Gr, Gθ.
(a) By the chain rule
Fθ(r,θ)=θ[f(rcosθ,rsinθ)]=fx(rcosθ,rsinθ) θ(rcosθ)+fy(rcosθ,rsinθ) θ(rsinθ)(E1)=rsinθfx(rcosθ,rsinθ)+rcosθfy(rcosθ,rsinθ)Fr(r,θ)=r[f(rcosθ,rsinθ)]=fx(rcosθ,rsinθ) r(rcosθ)+fy(rcosθ,rsinθ) r(rsinθ)(E2)=cosθfx(rcosθ,rsinθ)+sinθfy(rcosθ,rsinθ)
and
Frθ(r,θ)=θ[Fr(r,θ)]=θ[cosθfx(rcosθ,rsinθ)+sinθfy(rcosθ,rsinθ)]=sinθ fx(rcosθ,rsinθ)+cosθθ[fx(rcosθ,rsinθ)]+cosθ fy(rcosθ,rsinθ)+sinθθ[fy(rcosθ,rsinθ)]=sinθ fx(rcosθ,rsinθ)+cosθ[fxx(rcosθ,rsinθ)(rsinθ)+fxy(rcosθ,rsinθ)(rcosθ)]+cosθ fy(rcosθ,rsinθ)+sinθ[fyx(rcosθ,rsinθ)(rsinθ)+fyy(rcosθ,rsinθ)(rcosθ)]=sinθfx+cosθfyrsinθcosθfxx+r[cos2θsin2θ]fxy+rsinθcosθfyy
with the arguments of fx, fy, fxx, fxy and fyy all being (rcosθ,rsinθ).
(b) Replacing f by g in (E1) gives
Gθ(r,θ)=θ[g(rcosθ,rsinθ)]=rsinθgx(rcosθ,rsinθ)+rcosθgy(rcosθ,rsinθ)=rsinθfy(rcosθ,rsinθ)rcosθfx(rcosθ,rsinθ)=rr[f(rcosθ,rsinθ)]by (E2)
Replacing f by g in (E2) gives
Gr(r,θ)=r[g(rcosθ,rsinθ)]=cosθgx(rcosθ,rsinθ)+sinθgy(rcosθ,rsinθ)=cosθfy(rcosθ,rsinθ)sinθfx(rcosθ,rsinθ)=1rθ[f(rcosθ,rsinθ)]by (E1)
or
r[f(rcosθ,rsinθ)]=1rθ[g(rcosθ,rsinθ)]θ[f(rcosθ,rsinθ)]=rr[g(rcosθ,rsinθ)]

2.4.5.22. (✳).

Solution.
By the chain rule
zs(s,t)=sf(g(s,t),h(s,t))=fx(g(s,t),h(s,t))gs(s,t)+fy(g(s,t),h(s,t))hs(s,t)zt(s,t)=tf(g(s,t),h(s,t))=fx(g(s,t),h(s,t))gt(s,t)+fy(g(s,t),h(s,t))ht(s,t)
In particular
zs(1,2)=fx(g(1,2),h(1,2))gs(1,2)+fy(g(1,2),h(1,2))hs(1,2)=fx(3,6)gs(1,2)+fy(3,6))hs(1,2)=7×(1)+8×(5)=47zt(1,2)=fx(g(1,2),h(1,2))gt(1,2)+fy(g(1,2),h(1,2))ht(1,2)=7×4+8×10=108
Hence z(1,2)=47,108.

2.4.5.23. (✳).

Solution.
(a) By the product and chain rules
wx(x,y)=x[eyf(xy)]=eyx[f(xy)]=eyf(xy)x(xy)=eyf(xy)wy(x,y)=y[eyf(xy)]=eyf(xy)+eyy[f(xy)]=eyf(xy)+eyf(xy)y(xy)=eyf(xy)eyf(xy)
Hence
w+wx+wy=eyf(xy)+eyf(xy)eyf(xy)eyf(xy)=0
as desired.
(b) Think of x=u33uv2, y=3u2vv3 as two equations in the two unknowns u, v with x, y just being given parameters. The question implicitly tells us that those two equations can be solved for u, v in terms of x, y, at least near (u,v)=(2,1), (x,y)=(2,11). That is, the question implicitly tells us that the functions u(x,y) and v(x,y) are determined by
x=u(x,y)33u(x,y)v(x,y)2y=3u(x,y)2v(x,y)v(x,y)3
Applying x to both sides of the equation x=u(x,y)33u(x,y)v(x,y)2 gives
1=3u(x,y)2ux(x,y)3ux(x,y)v(x,y)26u(x,y)v(x,y)vx(x,y)
Then applying x to both sides of y=3u(x,y)2v(x,y)v(x,y)3 gives
0=6u(x,y)ux(x,y)v(x,y)+3u(x,y)2vx(x,y)3v(x,y)2vx(x,y)
Substituting in x=2, y=11, u=2, v=1 gives
1=12ux(2,11)3ux(2,11)12vx(2,11)=9ux(2,11)12vx(2,11)0=12ux(2,11)+12vx(2,11)3vx(2,11)=12ux(2,11)+9vx(2,11)
From the second equation vx(2,11)=43ux(2,11). Substituting into the first equation gives
1=9ux(2,11)12[43ux(2,11)]=25ux(2,11)
so that ux(2,11)=125 and vx(2,11)=475. The question also tells us that z(x,y)=u(x,y)2v(x,y)2. Hence
zx(x,y)=2u(x,y)ux(x,y)2v(x,y)vx(x,y)zx(2,11)=4ux(2,11)2vx(2,11)=4125+2475=2075=415

2.4.5.24. (✳).

Solution.
(a) We are told that
x(u,v)2y(u,v)cos(uv)=vx(u,v)2+y(u,v)2sin(uv)=4πu
Applying u to both equations gives
2x(u,v)xu(u,v)yu(u,v)cos(uv)+vy(u,v)sin(uv)=02x(u,v)xu(u,v)+2y(u,v)yu(u,v)vcos(uv)=4π
Setting u=π2, v=0, x(π2,0)=1, y(π2,0)=1 gives
2xu(π2,0)yu(π2,0)=02xu(π2,0)+2yu(π2,0)=4π
Substituting yu(π2,0)=2xu(π2,0), from the first equation, into the second equation gives 6xu(π2,0)=4π so that xu(π2,0)=23π and yu(π2,0)=43π.
(b) We are told that z(u,v)=x(u,v)4+y(u,v)4. So
zu(u,v)=4x(u,v)3 xu(u,v)+4y(u,v)3 yu(u,v)
Substituting in u=π2, v=0, x(π2,0)=1, y(π2,0)=1 and using the results of part (a),
zu(π2,0)=4x(π2,0)3 xu(π2,0)+4y(π2,0)3 yu(π2,0)=4(23π)+4(43π)=8π

2.4.5.25. (✳).

Solution.
This question uses bad (but standard) notation, in that the one symbol f is used for two different functions, namely f(u,v) and f(x,y)=f(u,v)|u=x+y,v=xy. A better wording is
  • [] Let f(u,v) and F(x,y) be differentiable functions such that F(x,y)=f(x+y,xy). Find a constant, α, such that
    Fx(x,y)2+Fy(x,y)2=α{fu(x+y,xy)2+fv(x+y,xy)2}
By the chain rule
Fx(x,y)=fu(x+y,xy)x(x+y)+fv(x+y,xy)x(xy)=fu(x+y,xy)+fv(x+y,xy)Fy(x,y)=fu(x+y,xy)y(x+y)+fv(x+y,xy)y(xy)=fu(x+y,xy)fv(x+y,xy)
Hence
Fx(x,y)2+Fy(x,y)2=[fu(x+y,xy)+fv(x+y,xy)]2+[fu(x+y,xy)fv(x+y,xy)]2=2fu(x+y,xy)2+2fv(x+y,xy)2
So α=2 does the job.

2.4.5.26.

Solution.
Recall that u(x,t)=v(ξ(x,t),η(x,t)). By the chain rule
ux(x,t)=vξ(ξ(x,t),η(x,t))ξx+vη(ξ(x,t),η(x,t))ηx=vξ(ξ(x,t),η(x,t))+vη(ξ(x,t),η(x,t))ut(x,t)=vξ(ξ(x,t),η(x,t))ξt+vη(ξ(x,t),η(x,t))ηt=cvξ(ξ(x,t),η(x,t))+cvη(ξ(x,t),η(x,t))
Again by the chain rule
2ux2(x,t)=x[vξ(ξ(x,t),η(x,t))]+x[vη(ξ(x,t),η(x,t))]=2vξ2(ξ(x,t),η(x,t))ξx+2vηξ(ξ(x,t),η(x,t))ηx+2vξη(ξ(x,t),η(x,t))ξx+2vη2(ξ(x,t),η(x,t))ηx=2vξ2(ξ(x,t),η(x,t))+22vξη(ξ(x,t),η(x,t))+2vη2(ξ(x,t),η(x,t))
and
2ut2(x,t)=ct[vξ(ξ(x,t),η(x,t))]+ct[vη(ξ(x,t),η(x,t))]=c[2vξ2(ξ(x,t),η(x,t))ξt+2vηξ(ξ(x,t),η(x,t))ηt]+c[2vξη(ξ(x,t),η(x,t))ξt+2vη2(ξ(x,t),η(x,t))ηt]=c22vξ2(ξ(x,t),η(x,t))2c22vξη(ξ(x,t),η(x,t))+c22vη2(ξ(x,t),η(x,t))
so that
2ux2(x,t)1c22ut2(x,t)=42vξη(ξ(x,t),η(x,t))
Hence
2ux2(x,t)1c22ut2(x,t)=0 for all (x,t)42vξη(ξ(x,t),η(x,t))=0 for all (x,t)2vξη(ξ,η)=0 for all (ξ,η)
(b) Now 2vξη(ξ,η)=ξ[vη]=0. Temporarily rename vη=w. The equation wξ(ξ,η)=0 says that, for each fixed η, w(ξ,η) is a constant. The value of the constant may depend on η. That is, vη(ξ,η)=w(ξ,η)=H(η), for some function H. (As a check, observe that ξH(η)=0.) So the derivative of v with respect to η, (viewing ξ as a constant) is H(η).
Let G(η) be any function whose derivative is H(η) (i.e. an indefinite integral of H(η)). Then η[v(ξ,η)G(η)]=H(η)H(η)=0. This is the case if and only if, for each fixed ξ, v(ξ,η)G(ξ,η) is a constant, independent of η. That is, if and only if
v(ξ,η)G(η)=F(ξ)
for some function F. Hence
2ux2(x,t)1c22ut2(x,t)=02vξη(ξ,η)=0 for all (ξ,η)v(ξ,η)=F(ξ)+G(η) for some functions F and Gu(x,t)=v(ξ(x,t),η(x,t))=F(ξ(x,t))+G(η(x,t))u(x,t)=F(xct)+G(x+ct)
(c) We’ll give the interpretation of F(xct). The case G(x+ct) is similar. Suppose that u(x,t)=F(xct). Think of u(x,t) as the height of water at position x and time t. Pick any number z. All points (x,t) in space time for which xct=z have the same value of u, namely F(z). So if you move so that your position is x=z+ct (i.e. you move the right with speed c) you always see the same wave height. Thus F(xct) represents a wave moving to the right with speed c.
Similarly, G(x+ct) represents a wave moving to the left with speed c.

2.4.5.27.

Solution.
(a) We are told to evaluate yz. So y has to be a function of z and possibly some other variables. We are also told that x, y, and z are related by the single equation eyzx2zlny=π. So we are to think of x and z as being independent variables and think of y(x,z) as being determined by solving eyzx2zlny=π for y as a function of x and z. That is, the function y(x,z) obeys
ey(x,z)zx2zlny(x,z)=π
for all x and z. Applying z to both sides of this equation gives
[y(x,z)+zyz(x,z)]ey(x,z)zx2lny(x,z)x2z1y(x,z)yz(x,z)=0yz(x,z)=x2lny(x,z)y(x,z)ey(x,z)zzey(x,z)zx2zy(x,z)
(b) We are told to evaluate dydx. So y has to be a function of the single variable x. We are also told that x and y are related by F(x,y,x2y2)=0. So the function y(x) has to obey
F(x,y(x),x2y(x)2)=0
for all x. Applying ddx to both sides of that equation and using the chain rule gives
F1(x,y(x),x2y(x)2) dxdx+F2(x,y(x),x2y(x)2) dydx(x)+F3(x,y(x),x2y(x)2)ddx[x2y(x)2]=0F1(x,y(x),x2y(x)2)+F2(x,y(x),x2y(x)2) dydx(x)+F3(x,y(x),x2y(x)2)[2x2y(x)dydx(x)]=0dydx(x)=F1(x,y(x),x2y(x)2)+2xF3(x,y(x),x2y(x)2)F2(x,y(x),x2y(x)2)2y(x)F3(x,y(x),x2y(x)2)
(c) The hard part of this question is figuring out what it is that we are to compute. We are asked to find some derivative of some function y. But what function? Four variables appear in this question. Namely x, y, u and v. But we are not free to assign arbitrary values to all four of them. They have to be related by the two equations xyuv=1 and x+y+u+v=0. If we assign values to any two of x, y, u and v, the values of the other two are to be determined by solving xyuv=1, x+y+u+v=0. That is, we may choose any two of x, y, u and v to be independent variables (i.e. variables that may be assigned any value). Then the other two variables are functions of those independent variables that are determined by solving the given equations.
We are told to evaluate (yx)u. According to Definition 2.2.2, (yx)u is the partial derivative of y with respect to x with u being held fixed. So x and u have to be independent variables and y has to be a function of x and u. The fourth variable v also has to be a function of x and u. The functions y(x,u) and v(x,u) must obey
xy(x,u)uv(x,u)=1x+y(x,u)+u+v(x,u)=0
for all x and u. Applying x to both sides of both of these equations gives
yuv + xyxuv + xyuvx=01+yx+0+vx=0
Substituting, vx=1yx, from the second equation, into the first equation gives
yuv + xyxuvxyu(1+yx)=0
Now u cannot be 0 because xy(x,u)uv(x,u)=1. So
yv + xyxvxy(1+yx)=0(yx)u(x,u)=y(x,u)v(x,u)xy(x,u)xy(x,u)xv(x,u)

2.5 Tangent Planes and Normal Lines
2.5.3 Exercises

2.5.3.1.

Solution.
Write F(x,y,z)=x2+y2+(z1)21 and G(x,y,z)=x2+y2+(z+1)21. Let S1 denote the surface F(x,y,z)=0 and S2 denote the surface G(x,y,z)=0. First note that F(0,0,0)=G(0,0,0)=0 so that the point (0,0,0) lies on both S1 and S2. The gradients of F and G are
F(x,y,z)=Fx(x,y,z),Fy(x,y,z),Fz(x,y,z)=2x,2y,2(z1)G(x,y,z)=Gx(x,y,z),Gy(x,y,z),Gz(x,y,z)=2x,2y,2(z+1)
In particular,
F(0,0,0)=0,0,2G(0,0,0)=0,0,2
so that the vector k^=12F(0,0,0)=12G(0,0,0) is normal to both surfaces at (0,0,0). So the tangent plane to both S1 and S2 at (0,0,0) is
k^x0,y0,z0=0orz=0
Denote by P the plane z=0. Thus S1 is tangent to P at (0,0,0) and P is tangent to S2 at (0,0,0). So it is reasonable to say that S1 and S2 are tangent at (0,0,0).

2.5.3.2.

Solution.
Denote by S the surface G(x,y,z)=0 and by C the parametrized curve r(t)=(x(t),y(t),z(t)). To start, we’ll find the tangent plane to S at r0 and the tangent line to C at r0.
  • The tangent vector to C at r0 is x(t0),y(t0),z(t0), so the parametric equations for the tangent line to C at r0 are
    (E1)xx0=tx(t0)yy0=ty(t0)zz0=tz(t0)
  • The gradient Gx(x0,y0,z0),Gy(x0,y0,z0),Gz(x0,y0,z0) is a normal vector to the surface S at (x0,y0,z0). So the tangent plane to the surface S at (x0,y0,z0) is
    Gx,Gy,Gzxx0,yy0,zz0=0
    with the derivatives of G evaluated at (x0,y0,z0), or
    Gx(x0,y0,z0)(xx0)+Gy(x0,y0,z0)(yy0)(E2)+Gz(x0,y0,z0)(zz0)=0
Next, we’ll show that the tangent vector x(t0),y(t0),z(t0) to C at r0 and the normal vector Gx(x0,y0,z0),Gy(x0,y0,z0),Gz(x0,y0,z0) to S at r0 are perpendicular to each other. To do so, we observe that, for every t, the point (x(t),y(t),z(t)) lies on the surface G(x,y,z)=0 and so obeys
G(x(t),y(t),z(t))=0
Differentiating this equation with respect to t gives, by the chain rule,
0=ddtG(x(t),y(t),z(t))=Gx(x(t),y(t),z(t)) x(t)+Gy(x(t),y(t),z(t)) y(t)+Gz(x(t),y(t),z(t)) z(t)
Then setting t=t0 gives
Gx(x0,y0,z0) x(t0)+Gy(x0,y0,z0) y(t0)(E3)+Gz(x0,y0,z0) z(t0)=0
Finally, we are in a position to show that if (x,y,z) is any point on the tangent line to C at r0, then (x,y,z) is also on the tangent plane to S at r0. As (x,y,z) is on the tangent line to C at r0 then there is a t such that, by (E1),
Gx(x0,y0,z0){xx0}+Gy(x0,y0,z0){yy0}+Gz(x0,y0,z0){zz0}=Gx(x0,y0,z0){tx(t0)}+Gy(x0,y0,z0){ty(t0)}+Gz(x0,y0,z0){tz(t0)}=t[Gx(x0,y0,z0)x(t0)+Gy(x0,y0,z0)y(t0)+Gz(x0,y0,z0) z(t0)]=0
by (E3). That is, (x,y,z) obeys the equation, (E2), of the tangent plane to S at r0 and so is on that tangent plane. So the tangent line to C at r0 is contained in the tangent plane to S at r0.

2.5.3.3.

Solution.
Use S1 to denote the surface F(x,y,z)=0, S2 to denote the surface G(x,y,z)=0 and C to denote the curve of intersection of S1 and S2.
  • Since C is contained in S1, the tangent line to C at (x0,y0,z0) is contained in the tangent plane to S1 at (x0,y0,z0), by Q[2.5.3.2]. In particular, any tangent vector, t, to C at (x0,y0,z0) must be perpendicular to F(x0,y0,z0), the normal vector to S1 at (x0,y0,z0). (See Theorem 2.5.1.)
  • Since C is contained in S2, the tangent line to C at (x0,y0,z0) is contained in the tangent plane to S2 at (x0,y0,z0), by Q[2.5.3.2]. In particular, any tangent vector, t, to C at (x0,y0,z0) must be perpendicular to G(x0,y0,z0), the normal vector to S2 at (x0,y0,z0).
So any tangent vector to C at (x0,y0,z0) must be perpendiular to both F(x0,y0,z0) and G(x0,y0,z0). One such tangent vector is
t=F(x0,y0,z0)×G(x0,y0,z0)
(Because the vectors F(x0,y0,z0) and G(x0,y0,z0) are nonzero and not parallel, t is nonzero.) So the normal plane in question passes through (x0,y0,z0) and has normal vector n=t. Consquently, the normal plane is
nxx0,yy0,zz0=0where n=t=F(x0,y0,z0)×G(x0,y0,z0)

2.5.3.4.

Solution.
Use S1 to denote the surface z=f(x,y), S2 to denote the surface z=g(x,y) and C to denote the curve of intersection of S1 and S2.
  • Since C is contained in S1, the tangent line to C at (x0,y0,z0) is contained in the tangent plane to S1 at (x0,y0,z0), by Q[2.5.3.2]. In particular, any tangent vector, t, to C at (x0,y0,z0) must be perpendicular to fx(x0,y0)ıı^fy(x0,y0)ȷȷ^+k^, the normal vector to S1 at (x0,y0,z0). (See Theorem 2.5.1.)
  • Since C is contained in S2, the tangent line to C at (x0,y0,z0) is contained in the tangent plane to S2 at (x0,y0,z0), by Q[2.5.3.2]. In particular, any tangent vector, t, to C at (x0,y0,z0) must be perpendicular to gx(x0,y0)ıı^gy(x0,y0)ȷȷ^+k^, the normal vector to S2 at (x0,y0,z0).
So any tangent vector to C at (x0,y0,z0) must be perpendicular to both of the vectors fx(x0,y0)ıı^fy(x0,y0)ȷȷ^+k^ and gx(x0,y0)ıı^gy(x0,y0)ȷȷ^+k^. One such tangent vector is
t=[fx(x0,y0)ıı^fy(x0,y0)ȷȷ^+k^]×[gx(x0,y0)ıı^gy(x0,y0)ȷȷ^+k^]=det[ıı^ȷȷ^k^fx(x0,y0)fy(x0,y0)1gx(x0,y0)gy(x0,y0)1]=gy(x0,y0)fy(x0,y0),fx(x0,y0)gx(x0,y0),fx(x0,y0)gy(x0,y0)fy(x0,y0)gx(x0,y0)
So the tangent line in question passes through (x0,y0,z0) and has direction vector d=t. Consquently, the tangent line is
xx0,yy0,zz0=td
or
x=x0+t[gy(x0,y0)fy(x0,y0)]y=y0+t[fx(x0,y0)gx(x0,y0)]z=z0+t[fx(x0,y0)gy(x0,y0)fy(x0,y0)gx(x0,y0)]

2.5.3.5. (✳).

Solution.
We are going to use Theorem 2.5.1. To do so, we need the first order derivatives of f(x,y) at (x,y)=(1,1). So we find them first.
fx(x,y)=2xyx4+2y2x2y(4x3)(x4+2y2)2fx(1,1)=23+432=29fy(x,y)=x2x4+2y2x2y(4y)(x4+2y2)2fy(1,1)=13432=19
The tangent plane is
z=f(1,1)+fx(1,1)(x+1)+fy(1,1)(y1)=1329(x+1)19(y1)=2929x19y
or 2x+y+9z=2.

2.5.3.6. (✳).

Solution.
The equation of the given surface is of the form G(x,y,z)=9 with G(x,y,z)=27x2+y2+z2+3. So, by Theorem 2.5.5, a normal vector to the surface at (2,1,1) is
G(2,1,1)=12 27(x2+y2+z2+3)3/2(2x,2y,2z)|(x,y,z)=(2,1,1)=2,1,1
and the equation of the tangent plane is
2,1,1x2,y1,z1=0or2x+y+z=6

2.5.3.7.

Solution.
(a) The specified graph is z=f(x,y)=x2y2 or F(x,y,z)=x2y2z=0. Observe that f(2,1)=3. The vector
F(2,1,3)=Fx(x,y,z),Fy(x,y,z),Fz(x,y,z)|(x,y,z)=(2,1,3)=2x,2y,1|(x,y,z)=(2,1,3)=4,2,1
is a normal vector to the graph at (2,1,3). So the tangent plane is
4(x+2)2(y1)(z3)=0 or 4x+2y+z=3
and the normal line is
x,y,z=2,1,3+t4,2,1
(b) The specified graph is z=f(x,y)=exy or F(x,y,z)=exyz=0. Observe that f(2,0)=1. The vector
F(2,0,1)=Fx(x,y,z),Fy(x,y,z),Fz(x,y,z)|(x,y,z)=(2,0,1)=yexy,xexy,1|(x,y,z)=(2,0,1)=0,2,1
is a normal vector to the graph at (2,0,1). So the tangent plane is
0(x2)+2(y0)(z1)=0 or 2yz=1
and the normal line is
x,y,z=2,0,1+t0,2,1

2.5.3.8. (✳).

Solution.
We may use G(x,y,z)=xyz2+y2z33x2=0 as an equation for the surface. Note that (1,1,2) really is on the surface since
G(1,1,2)=(1)(1)(2)2+(1)2(2)33(1)2=4+831=0
By Theorem 2.5.5, since
Gx(x,y,z)=yz22xGx(1,1,2)=6Gy(x,y,z)=xz2+2yz3Gy(1,1,2)=12Gz(x,y,z)=2xyz+3y2z2Gz(1,1,2)=8
one normal vector to the surface at (1,1,2) is G(1,1,2)=6,12,8 and an equation of the tangent plane to the surface at (1,1,2) is
6,12,8x+1,y1,z2=0or6x+12y+8z=22
or
z=34x32y+114

2.5.3.9. (✳).

Solution.
(a) The surface is G(x,y,z)=zx2+2xyy2=0. When x=a and y=2a and (x,y,z) is on the surface, we have z=a22(a)(2a)+(2a)2=a2. So, by Theorem 2.5.5, a normal vector to this surface at (a,2a,a2) is
G(a,2a,a2)=2x+2y,2x2y,1|(x,y,z)=(a,2a,a2)=2a,2a,1
and the equation of the tangent plane is
2a,2a,1xa,y2a,za2=0or2ax2ay+z=a2
(b) The two planes are parallel when their two normal vectors, namely 2a,2a,1 and 1,1,1, are parallel. This is the case if and only if a=12.

2.5.3.10. (✳).

Solution.
The first order partial derivatives of f are
fx(x,y)=4xy(x2+y2)2fx(1,2)=825fy(x,y)=2x2+y24y2(x2+y2)2fy(1,2)=251625=625
So, by Theorem 2.5.1, a normal vector to the surface at (x,y)=(1,2) is 825,625,1. As f(1,2)=45, the tangent plane is
825,625,1x+1,y2,z45=0or825x625yz=85
and the normal line is
x,y,z=1,2,45+t825,625,1

2.5.3.11. (✳).

Solution.
A normal vector to the surface x2+9y2+4z2=17 at the point (x,y,z) is 2x,18y,8z. A normal vector to the plane x8z=0 is 1,0,8. So we want 2x,18y,8z to be parallel to 1,0,8, i.e. to be a nonzero constant times 1,0,8. This is the case whenever y=0 and z=2x with x0. In addition, we want (x,y,z) to lie on the surface x2+9y2+4z2=17. So we want y=0, z=2x and
17=x2+9y2+4z2=x2+4(2x)2=17x2x=±1
So the allowed points are ±(1,0,2).

2.5.3.12. (✳).

Solution.
The equation of S is of the form G(x,y,z)=x2+2y2+2yz=1. So one normal vector to S at the point (x0,y0,z0) is
G(x0,y0,z0)=2x0ıı^+(4y0+2)ȷȷ^k^
and the normal line to S at (x0,y0,z0) is
(x,y,z)=(x0,y0,z0)+t2x0,4y0+2,1
For this normal line to pass through the origin, there must be a t with
(0,0,0)=(x0,y0,z0)+t2x0,4y0+2,1
or
(E1)x0+2x0t=0(E2)y0+(4y0+2)t=0(E3)z0t=0
Equation (E3) forces t=z0. Substituting this into equations (E1) and (E2) gives
(E1)x0(1+2z0)=0(E2)y0+(4y0+2)z0=0
The question specifies that x00, so (E1) forces z0=12. Substituting z0=12 into (E2) gives
y01=0y0=1
Finally x0 is determined by the requirement that (x0,y0,z0) must lie on S and so must obey
z0=x02+2y02+2y0112=x02+2(1)2+2(1)1x02=12
So the allowed points P are (12,1,12) and (12,1,12).

2.5.3.13. (✳).

Solution.
Let (x0,y0,z0) be a point on the hyperboloid z2=4x2+y21 where the tangent plane is parallel to the plane 2xy+z=0. A normal vector to the plane 2xy+z=0 is 2,1,1. Because the hyperboloid is G(x,y,z)=4x2+y2z21 and G(x,y,z)=8x,2y,2z, a normal vector to the hyperboloid at (x0,y0,z0) is G(x0,y0,z0)=8x0,2y0,2z0. So (x0,y0,z0) satisfies the required conditions if and only if there is a nonzero t obeying
8x0,2y0,2z0=t2,1,1 and z02=4x02+y021x0=t4, y0=z0=t2 and z02=4x02+y021t24=t24+t241 and x0=t4, y0=z0=t2t=±2(x0,y0,z0)=±(12,1,1)

2.5.3.14.

Solution.
One vector normal to the surface F(x,y,z)=4x2+9y2z2=0 at (2,1,5) is
F(2,1,5)=8x,18y,2z|(2,1,5)=16,18,10
One vector normal to the surface G(x,y,z)=6x+3y+2z=5 at (2,1,5) is
G(2,1,5)=6,3,2
Now
  • The curve lies in the surface z2=4x2+9y2. So the tangent vector to the curve at (2,1,5) is perpendicular to the normal vector 1216,18,10=8,9,5.
  • The curve also lies in the surface 6x+3y+2z=5. So the tangent vector to the curve at (2,1,5) is also perpendicular to the normal vector 6,3,2.
  • So the tangent vector to the curve at (2,1,5) is parallel to
    8,9,5×6,3,2=det[ıı^ȷȷ^k^895632]=3,14,30
The desired vectors are
±33,14,30|3,14,30|=±311053,14,30

2.5.3.15.

Solution.
Let (x0,y0,z0) be any point on the surface. A vector normal to the surface at (x0,y0,z0) is
(xye(x2+y2)/2z)|(x0,y0,z0)=y0e(x02+y02)/2x02y0e(x02+y02)/2,x0e(x02+y02)/2x0y02e(x02+y02)/2,1
The tangent plane to the surface at (x0,y0,z0) is horizontal if and only if this vector is vertical, which is the case if and only if its x- and y-components are zero, which in turn is the case if and only if
y0(1x02)=0 and x0(1y02)=0{y0=0 or x0=1 or x0=1} and {x0=0 or y0=1 or y0=1}(x0,y0)=(0,0) or (1,1) or (1,1) or (1,1) or (1,1)
The values of z0 at these points are 0, e1, e1, e1 and e1, respectively. So the horizontal tangent planes are z=0, z=e1 and z=e1. At the highest and lowest points of the surface, the tangent plane is horizontal. So the largest and smallest values of z are e1 and e1, respectively.

2.5.3.16. (✳).

Solution.
(a) A normal vector to the surface at (0,2,1) is
(xy2x+yz+x2+y2+z37)|(0,2,1)=y2+2x,x+z+2y,y+3z2|(0,2,1)=0,5,5
So the tangent plane is
0(x0)+5(y2)+5(z1)=0 or y+z=3
The vector parametric equations for the normal line are
r(t)=0,2,1+t0,5,5
(b) Differentiating
xy2x+yz(x,y)+x2+y2+z(x,y)3=7
gives
y2+yzx(x,y)+2x+3z(x,y)2zx(x,y)=0zx(x,y)=22xyy+3z(x,y)2x+z(x,y)+yzy(x,y)+2y+3z(x,y)2zy(x,y)=0zy(x,y)=x+2y+z(x,y)y+3z(x,y)2
In particular, at (0,2,1), zy(0,2)=4+12+3=1.
(c) Differentiating zx with respect to y gives
zxy(x,y)=1y+3z(x,y)222xy[y+3z(x,y)2]2(1+6z(x,y)zy(x,y))=1y+3z(x,y)222xy[y+3z(x,y)2]2(16z(x,y)x+2y+z(x,y)y+3z(x,y)2)
As an alternate solution, we could also differentiate zy with respect to x. This gives
zyx(x,y)=1+zx(x,y)y+3z(x,y)2+x+2y+z(x,y)[y+3z(x,y)2]26z(x,y)zx(x,y)=1y+3z(x,y)2(1+22xyy+3z(x,y)2)+x+2y+z(x,y)[y+3z(x,y)2]26z(x,y)22xyy+3z(x,y)2

2.5.3.17. (✳).

Solution.
(a) A vector perpendicular to x2+z2=10 at (1,1,3) is
(x2+z2)|(1,1,3)=(2xıı^+2zk^)|(1,1,3)=2ıı^+6k^ or 122,0,6=1,0,3
(b) A vector perpendicular to y2+z2=10 at (1,1,3) is
(y2+z2)|(1,1,3)=(2yȷȷ^+2zk^)|(1,1,3)=2ȷȷ^+6k^ or 120,2,6=0,1,3
A vector is tangent to the specified curve at the specified point if and only if it perpendicular to both (1,0,3) and (0,1,3). One such vector is
0,1,3×1,0,3=det[ıı^ȷȷ^k^013103]=3,3,1
(c) The specified tangent line passes through (1,1,3) and has direction vector 3,3,1 and so has vector parametric equation
r(t)=1,1,3+t3,3,1

2.5.3.18. (✳).

Solution.
r(t)=x(t),y(t),z(t) intersects z3+xyz2=0 when
z(t)3+x(t)y(t)z(t)2=0(t2)3+(t3)(t)(t2)2=02t6=2t=1
since t is required to be positive. The direction vector for the curve at t=1 is
r(1)=3ıı^+ȷȷ^+2k^
A normal vector for the surface at r(1)=1,1,1 is
(z3+xyz)|(1,1,1)=[yzıı^+xzȷȷ^+(3z2+xy)k^](1,1,1)=ıı^+ȷȷ^+4k^
The angle θ between the curve and the normal vector to the surface is determined by
|3,1,2||1,1,4|cosθ=3,1,21,1,41418cosθ=127×36cosθ=12cosθ=27θ=40.89
The angle between the curve and the surface is 9040.89=49.11 (to two decimal places).

2.5.3.19.

Solution.
Let (x,y,z) be any point on the paraboloid z=x2+y2. The square of the distance from (1,1,0) to this point is
D(x,y)=(x1)2+(y1)2+z2=(x1)2+(y1)2+(x2+y2)2
We wish to minimize D(x,y). That is, to find the lowest point on the graph z=D(x,y). At this lowest point, the tangent plane to z=D(x,y) is horizontal. So at the minimum, the normal vector to z=D(x,y) has x and y components zero. So
0=Dx(x,y)=2(x1)+2(x2+y2)(2x)0=Dy(x,y)=2(y1)+2(x2+y2)(2y)
By symmetry (or multiplying the first equation by y, multiplying the second equation by x and subtracting) the solution will have x=y with
0=2(x1)+2(x2+x2)(2x)=8x3+2x2
Observe that the value of 8x3+2x2=2(4x3+x1) at x=12 is 0. (See Appendix A.16 of the CLP-2 text for some useful tricks that can help you guess roots of polynomials with integer coefficients.) So (x12) is a factor of
4x3+x1=4(x3+x414)=4(x12)(x2+12x+12)
and the minimizing (x,y) obeys x=y and
0=8x3+2x2=8(x12)(x2+12x+12)=0
By the quadratic root formula, x2+12x+12 has no real roots, so the only solution is x=y=12, z=(12)2+(12)2=12 and the distance is (121)2+(121)2+(12)2=32.

2.6 Linear Approximations and Error
2.6.3 Exercises

2.6.3.1.

Solution.
(a) The first order partial derivatives of P(x,y) at x=x0 and y=y0 are
Px(x0,y0)=mx0m1y0nPy(x0,y0)=nx0my0n1
So, by (2.6.1), the linear approximation is
P(x0+Δx,y0+Δy)P(x0,y0)+Px(x0,y0)Δx+Py(x0,y0)ΔyP(x0,y0)+mx0m1y0nΔx+nx0my0n1Δy
(b) By part (a)
P(x0+Δx,y0+Δy)P(x0,y0)P(x0,y0)mx0m1y0nΔx+nx0my0n1Δyx0my0n=mΔxx0+nΔyy0
Hence
P%100|mΔxx0+nΔyy0||m|100|Δxx0|+|n|100|Δyy0||m|x%+|n|y%
Warning. The answer mx%+ny%, without absolute values on m and n, can be seriously wrong. As an example, suppose that m=1, n=1, x0=y0=1, Δx=0.05 and Δy=0.05. Then
P%100|mΔxx0+nΔyy0|=100|(1)0.051+(1)0.051|=10%
while
mx%+ny%=m100|Δxx0|+n100|Δyy0|=(1)100|0.051|+(1)100|0.051|=0
The point is that m and n being of opposite sign does not guarantee that there is a cancelation between the two terms of mΔxx0+nΔyy0, because Δxx0 and Δyy0 can also be of opposite sign.

2.6.3.2.

Solution.
We used that ddθsinθ=cosθ. That is true only if θ is given in radians, not degrees. (See Lemma 2.8.3 and Warning 3.4.23 in the CLP-1 text.) So we have to convert 2 to radians, which is 2×π180=π90. The correct computation is
Y(0.9,π90)=Y(10.1,0+π90)0 + (0)(0.1) + (1)(π90)=π900.035
Just out of general interest, 0.9sinπ90=0.0314 to four decimal places.

2.6.3.3.

Solution.
Apply the linear approximation f(0.01,1.05)f(0,1)+fx(0,1)(0.01)+fy(0,1)(0.05), with
f(x,y)=sin(πxy+lny)f(0,1)=sin0=0fx(x,y)=πycos(πxy+lny)fx(0,1)=πcos0=πfy(x,y)=(πx+1y)cos(πxy+lny)fy(0,1)=cos0=1
This gives
f(0.01,1.05)f(0,1)+fx(0,1)(0.01)+fy(0,1)(0.05)=0+π(0.01)+1(0.05)=0.01π+0.050.0814

2.6.3.4. (✳).

Solution.
We are going to need the first order derivatives of f(x,y) at (x,y)=(1,1). So we find them first.
fx(x,y)=2xyx4+2y2x2y(4x3)(x4+2y2)2fx(1,1)=23+432=29fy(x,y)=x2x4+2y2x2y(4y)(x4+2y2)2fy(1,1)=13432=19
The linear approximation to f(x,y) about (1,1) is
f(x,y)f(1,1)+fx(1,1)(x+1)+fy(1,1)(y1)=1329(x+1)19(y1)
In particular
f(0.9,1.1)1329(0.1)19(0.1)=2790=0.3

2.6.3.5.

Solution.
Let the four numbers be x1, x2, x3 and x4. Let the four rounded numbers be x1+ε1, x2+ε2, x3+ε3 and x4+ε4. Then 0x1,x2,x3,x450 and |ε1|,|ε2|,|ε3|,|ε4|0.05. If P(x1,x2,x3,x4)=x1x2x3x4, then the error in the product introduced by rounding is, using the four variable variant of the linear approximation (2.6.2),
|P(x1+ε1,x2+ε2,x3+ε3,x4+ε4)P(x1,x2,x3,x4)||Px1(x1,x2,x3,x4)ε1+Px2(x1,x2,x3,x4)ε2+Px3(x1,x2,x3,x4)ε3+Px4(x1,x2,x3,x4)ε4|=|x2x3x4ε1+x1x3x4ε2+x1x2x4ε3+x1x2x3ε4|4×50×50×50×0.05=25000

2.6.3.6. (✳).

Solution.
Denote by x and y the lengths of sides with x=3±0.1 and y=4±0.2. Then the length of the hypotenuse is f(x,y)=x2+y2. Note that
f(x,y)=x2+y2f(3,4)=5fx(x,y)=xx2+y2fx(3,4)=35fy(x,y)=yx2+y2fy(3,4)=45
By the linear approximation
f(x,y)f(3,4)+fx(3,4)(x3)+fy(3,4)(y4)=5+35(x3)+45(y4)
So the approximate maximum error in calculating the length of the hypotenuse is
35(0.1)+45(0.2)=1.15=0.22

2.6.3.7. (✳).

Solution.
The function R(R1,R2) is defined implictly by
()1R(R1,R2)=1R1+1R2
In particular
1R(2,8)=12+18=58R(2,8)=85
We wish to use the linear approximation
R(R1,R2)R(2,8)+RR1(2,8)(R12)+RR2(2,8)(R28)
To do so, we need the partial derivatives RR1(2,8) and RR2(2,8). To find them, we differentiate () with respect to R1 and R2:
1R(R1,R2)2RR1(R1,R2)=1R121R(R1,R2)2RR2(R1,R2)=1R22
Setting R1=2 and R2=8 gives
1(8/5)2RR1(2,8)=14RR1(2,8)=16251(8/5)2RR2(2,8)=164RR2(2,8)=125
So the specified change in R is
R(1.9,8.1)R(2,8)1625(0.1)+125(0.1)=15250=0.06

2.6.3.8.

Solution.
First, we compute the values of the partial derivatives of R(R1,R2,R3) at the measured values of R1, R2, R3. Applying Ri, with i=1,2,3 to both sides of the defining equation
1R(R1,R2,R3)=1R1+1R2+1R3
for R(R1,R2,R3) gives
1R(R1,R2,R3)2 RR1(R1,R2,R3)=1R121R(R1,R2,R3)2 RR2(R1,R2,R3)=1R221R(R1,R2,R3)2 RR3(R1,R2,R3)=1R32
When R1=25Ω, R2=40Ω and R3=50Ω
1R(25,40,50)=125+140+150=8+5+4200R(25,40,50)=20017=11.765
Substituting in these values of R1, R2, R3 and R,
RR1(25,40,50)=R(25,40,50)2252=64172=0.221RR2(25,40,50)=R(25,40,50)2402=25172=0.0865RR3(25,40,50)=R(25,40,50)2502=16172=0.0554
If the absolute errors in measuring R1, R2 and R3 are denoted ε1, ε2 and ε3, respectively, then, , using the linear approximation (2.6.2), the corresponding error E in R is
E=R(25+ε1,40+ε2,50+ε3)R(25,40,50)RR1(25,40,50)ε1+RR2(25,40,50)ε2+RR3(25,40,50)ε3
and obeys
|E|64172|ε1|+25172|ε2|+16172|ε3|or|E|0.221|ε1|+0.0865|ε2|+0.0554|ε3|
We are told that the percentage error in each measurement is no more that 0.5%. So
|ε1|0.510025=18=0.125|ε2|0.510040=15=0.2|ε3|0.510050=14=0.25
so that
|E|8172+5172+4172=117or|E|0.221×0.125+0.0865×0.2+0.0554×0.25=0.059

2.6.3.9.

Solution.
By the linear approximation
ΔSSA(20,12)ΔA+SW(20,12)ΔW
with S(A,W)=AAW=1+WAW. So
S(A,W)=AAWS(20,12)=208=52SA(A,W)=W(AW)2SA(20,12)=1282=316SW(A,W)=A(AW)2SW(20,12)=2082=516
For any given ΔA and ΔW, the percentage error is
|100ΔSS|=|10025(316ΔA+516ΔW)|
We are told that |ΔA|0.01 and |ΔW|0.02. To maximize |10025(316ΔA+516ΔW)| take ΔA=0.01 and ΔW=+0.02. So the maximum percentage error is
10025[316(0.01)+516(0.02)]=25×1316=1340=0.325%

2.6.3.10. (✳).

Solution.
The linear approximation to P(s,r) at (2,2) is
P(s,r)P(2,2)+Ps(2,2)(s2)+Pr(2,2)(r2)
As
P(2,2)=(2)(2)[4(2)2(2)22]=40(which we don't actually need) Ps(2,2)=[12s2rr32r]s=r=2=84Pr(2,2)=[4s33sr22s]s=r=2=4
the linear approximation is
P(s,r)40+84(s2)+4(r2)
Under method 1, the maximum error in P will have magnitude at most (approximately)
84(0.01)+4(0.1)=1.24
Under method 2, the maximum error in P will have magnitude at most (approximately)
84(0.02)+4(0.02)=1.76
Method 1 is better.

2.6.3.11.

Solution.
Using the four variable variant of the linear approximation (2.6.2),
ΔSSpΔp+SΔ+SwΔw+ShΔh=Cp4wh3[Δpp+4ΔΔww3Δhh]
When w0.1 and h0.2,
Δww10Δw3Δhh15Δh
So a change in height by Δh=ε produces a change in sag of about ΔS=15ε times Cp4wh3, while a change Δw in width by the same ε produces a change in sag of about ΔS=10ε times the same Cp4wh3. The sag is more sensitive to Δh.

2.6.3.12. (✳).

Solution.
The first order partial derivatives of f are
fx(x,y)=4xy(x2+y2)2fx(1,2)=825fy(x,y)=2x2+y24y2(x2+y2)2fy(1,2)=251625=625
The linear approximation of f(x,y) about (1,2) is
f(x,y)f(1,2)+fx(1,2)(x+1)+fy(1,2)(y2)=45+825(x+1)625(y2)
In particular, for x=0.8 and y=2.1,
f(0.8,2.1)45+825(0.2)625(0.1)=0.84

2.6.3.13. (✳).

Solution.
(a) The function f(x,y) obeys
()xyf(x,y)+x+y2+f(x,y)3=0
for all x and y (sufficiently close to (1,1)). Differentiating () with respect to x gives
yf(x,y)+xyfx(x,y)+1+3f(x,y)2fx(x,y)=0fx(x,y)=yf(x,y)+13f(x,y)2+xy
Without knowing f(x,y) explicitly, there’s not much that we can do with this.
(b) f(1,1) obeys
(1)(1)f(1,1)+(1)+(1)2+f(1,1)3=0f(1,1)3f(1,1)=0
Since f(1,1)<0 we may divide this equation by f(1,1)<0, giving f(1,1)21=0. Since f(1,1)<0, we must have f(1,1)=1. By part (a)
fx(1,1)=(1)f(1,1)+13f(1,1)2+(1)(1)=0
To get the linear approximation, we still need fy(1,1). Differentiating () with respect to y gives
xf(x,y)+xyfy(x,y)+2y+3f(x,y)2fy(x,y)=0
Then setting x=1, y=1 and f(1,1)=1 gives
(1)(1)+(1)(1)fy(1,1)+2(1)+3(1)2fy(1,1)=0fy(1,1)=32
So the linear approximation is
f(x,y)f(1,1)+fx(1,1)(x+1)+fy(1,1)(y1)=132(y1)
(c) By part (b),
f(1.02,0.97)132(0.971)=0.955

2.6.3.14. (✳).

Solution.
By definition, the differential at x=a, y=b is
fx(a,b)dx+fy(a,b)dy
so we have to determine the partial derivatives fx(a,b) and fy(a,b). We are told that
ef(x,y)+yf(x,y)=x+y
for all x and y. Differentiating this equation with respect to x and with respect to y gives, by the chain rule,
ef(x,y)fx(x,y)+yfx(x,y)=1ef(x,y)fy(x,y)+f(x,y)+yfy(x,y)=1
Solving the first equation for fx and the second for fy gives
fx(x,y)=1ef(x,y)+yfy(x,y)=1f(x,y)ef(x,y)+y
So the differential at x=a, y=b is
dxef(a,b)+b+1f(a,b)ef(a,b)+bdy
Since we can’t solve explicitly for f(a,b) for general a and b. There’s not much more that we can do with this.
(b) In particular, when a=1 and b=0, we have
ef(1,0)+0f(1,0)=1+0ef(1,0)=1f(1,0)=0
and the linear approximation simpifies to
f(1+dx,dy)f(1,0)+dxef(1,0)+0+1f(1,0)ef(1,0)+0dy=dx+dy
Choosing dx=0.01 and dy=0.01, we have
f(0.99,0.01)0.01+0.01=0

2.6.3.15. (✳).

Solution.
Let C(A,B,θ)=A2+B22ABcosθ. Then C(3,4,π2)=5. Differentiating C2=A2+B22ABcosθ gives
2CCA(A,B,θ)=2A2Bcosθ10CA(3,4,π2)=62CCB(A,B,θ)=2B2Acosθ10CB(3,4,π2)=82CCθ(A,B,θ)=2ABsinθ10Cθ(3,4,π2)=24
Hence the approximate maximum error in the computed value of C is
|ΔC||CA(3,4,π2)ΔA+CB(3,4,π2)ΔB+Cθ(3,4,π2)Δθ|(0.6)(0.1)+(0.8)(0.1)+(2.4)π180=π75+0.140.182

2.6.3.16. (✳).

Solution.
Substituting (x0,y0)=(3,4) and (x,y)=(3.02,3.96) into
f(x,y)f(x0,y0)+fx(x0,y0)(xx0)+fy(x0,y0)(yy0)
gives
f(3.02,3.96)f(3,4)+0.02fx(3,4)0.04fy(3,4)=60+0.02(20+365)0.04(15+485)=59.560
since
fx(x,y)=yx2+y2+x2yx2+y2fy(x,y)=xx2+y2+xy2x2+y2

2.6.3.17. (✳).

Solution.
The volume of a cylinder of diameter d and height h is V(d,h)=π(d2)2h. The wording of the question is a bit ambiguous in that it does not specify if the given dimensions are inside dimensions or outside dimensions. Assume that they are outside dimensions. Then the volume of the can, including the metal, is V(8,12) and the volume of the interior, excluding the metal, is
V(82×0.04,122×0.04)V(8,12)+Vd(8,12)(2×0.04)+Vh(8,12)(2×0.04)=V(8,12)+12π×8×12×(2×0.04)+π(82)2(2×0.04)=V(8,12)π×128×0.04
So the volume of metal is approximately π×128×0.04=5.12π16.1cc. (To this level of approximation, it doesn’t matter whether the dimensions are inside or outside dimensions.)

2.6.3.18. (✳).

Solution.
(a) The function z(x,y) obeys
z(x,y)3z(x,y)+2xyy2=0
for all (x,y) near (2,4). Differentiating with respect to x and y
3z(x,y)2zx(x,y)zx(x,y)+2y=03z(x,y)2zy(x,y)zy(x,y)+2x2y=0
Substituting in x=2, y=4 and z(2,4)=1 gives
3zx(2,4)zx(2,4)+8=0zx(2,4)=43zy(2,4)zy(2,4)+48=0zy(2,4)=2
The linear approximation is
z(x,y)z(2,4)+zx(2,4)(x2)+zy(2,4)(y4)=14(x2)+2(y4)=14x+2y
(b) Substituting in x=2.02 and y=3.96 gives
z(2.02,3.96)14×0.02+2×(0.04)=0.84

2.6.3.19. (✳).

Solution.
(a) We are told that
z(x,y)3xyz(x,y)24x=0
for all (x,y) (sufficiently near (1,1)). Differentiating this equation with respect to x gives
3z(x,y)2zx(x,y)yz(x,y)22xyz(x,y)zx(x,y)4=0zx=4+yz23z22xyz
and differentiating with respect to y gives
3z(x,y)2zy(x,y)xz(x,y)22xyz(x,y)zy(x,y)=0zy=xz23z22xyz
(b) When (x,y,z)=(1,1,2),
zx(1,1)=4+(1)(2)23(2)22(1)(1)(2)=1zy(1,1)=(1)(2)23(2)22(1)(1)(2)=12
(c) Under the linear approximation at (1,1)
z(x,y)z(1,1)+zx(1,1)(x1)+zy(1,1)(y1)=2+(x1)+12(y1)
So errors of ±0.03 in x and ±0.02 in y leads of errors of about
±[0.03+12(0.02)]=±0.04
in z.
(d) By the chain rule
ddθz(x(θ),y(θ))=zx(x(θ),y(θ))x(θ)+zy(x(θ),y(θ))y(θ)=zx(1+cosθ,sinθ)sinθ+zy(1+cosθ,sinθ)cosθ
At A, x=2, y=0, z=2 (since z3(2)(0)z24(2)=0) and θ=0, so that
zx(2,0)=4+(0)(2)23(2)22(2)(0)(2)=13zy(2,0)=(2)(2)23(2)22(2)(0)(2)=23
and
dzdθ=13sin(0)+23cos(0)=23
At B, x=1, y=1, z=2 and θ=π2, so that, by part (b),
zx(1,1)=1zy(1,1)=12
and
dzdθ=sinπ2+12cosπ2=1

2.6.3.20. (✳).

Solution.
We are going to need the first order partial derivatives of f(x,y)=yex at (x,y)=(1,e). Here they are.
fx(x,y)=yexfx(1,e)=ee1=1fy(x,y)=exfy(1,e)=e1
(a) The linear approximation to f(x,y) at (x,y)=(1,e) is
f(x,y)f(1,e)+fx(1,e)(x1)+fy(1,e)(ye)=1(x1)+e1(ye)
The maximum error is then approximately
1(0.1)+e1(0.1)=1+e110
(b) The equation of the graph is g(x,y,z)=f(x,y)z=0. Any vector that is a nonzero constant times
g(1,e,1)=fx(1,e),fy(1,e),1=1,e1,1
is perpendicular to g=0 at (1,e,1).

2.6.3.21. (✳).

Solution.
(a) We are told that for all x,y (with (x,y,z) near (2,1/2,1)), the function z(x,y) obeys
()z(x,y)4xy2z(x,y)2+y=0
Differentiating () with respect to x gives
4z(x,y)3zx(x,y)y2z(x,y)22xy2z(x,y)zx(x,y)=0zx(x,y)=y2z(x,y)24z(x,y)32xy2z(x,y)
Similarly, differentiating this equation with respect to y gives
4z(x,y)3zy(x,y)2xyz(x,y)22xy2z(x,y)zy(x,y)+1=0zy(x,y)=2xyz(x,y)214z(x,y)32xy2z(x,y)
(b) Substituting (x,y,z)=(2,1/2,1) into the results of part (a) gives
zx(2,1/2)=1/441=112zy(2,1/2)=2141=1
(c) Under the linear approximation about (2,1/2),
f(x,y)f(2,1/2)+fx(2,1/2)(x2)+fy(2,1/2)(y+1/2)=1+112(x2)(y+0.5)
In particular
f(1.94,0.4)10.06120.1
so that
f(1.94,0.4)10.105
(d) The tangent plane is
z=f(2,1/2)+fx(2,1/2)(x2)+fy(2,1/2)(y+1/2)=1+112(x2)(y+0.5)
or
x12yz=13

2.6.3.22. (✳).

Solution.
(a) The linear approximation to f(x,y) at (1,3) is
f(x,y)f(1,3)+fx(1,3)(x1)+fy(1,3)(y3)=1+3(x1)2(y3)
So the change is z is approximately
3(1.21)2(2.63)=1.4
(b) The equation of the tangent plane is
z=f(1,3)+fx(1,3)(x1)+fy(1,3)(y3)=1+3(x1)2(y3)
or
3x2yz=4

2.6.3.23. (✳).

Solution.
Think of the volume as being the function V(p,T) of pressure and temperature that is determined implicitly (at least for p1, T5 and V2) by the equation
()(pV(p,T)2+16)(V(p,T)1)=TV(p,T)2
To determine the approximate change in V, we will use the linear approximation to V(p,T) at p=1, T=5. So we will need the partial derivatives Vp(1,5) and VT(1,5). As the equation () is valid for all p near 1 and T near 5, we may differentiate () with respect to p, giving
(V2+2pVVp)(V1)+(pV2+16)Vp=2TVVp
and we may also differentiate () with respect to T, giving
(2pVVT)(V1)+(pV2+16)VT=V2+2TVVT
In particular, when p=1, V=2, T=5,
(4+4Vp(1,5))(21)+(4+16)Vp(1,5)=20Vp(1,5)Vp(1,5)=14VT(1,5)(21)+(4+16)VT(1,5)=4+20VT(1,5)VT(1,5)=1
so that the change in V is
V(1.2,5.3)V(1,5)Vp(1,5)(0.2)+VT(1,5)(0.3)=0.2+0.3=0.1

2.6.3.24. (✳).

Solution.
Since
fx(2,1)=2xex2+4y2|(x,y)=(2,1)=4fy(2,1)=8yex2+4y2|(x,y)=(2,1)=8
The tangent plane to z=f(x,y) at (2,1) is
z=f(2,1)+fx(2,1)(x2)+fy(2,1)(y1)=14(x2)+8(y1)=14x+8y
and the tangent plane approximation to the value of f(1.99,1.01) is
f(1.99,1.01)14(1.992)+8(1.011)=1.12

2.6.3.25. (✳).

Solution.
(a) The linear approximation to f(x,y) at (a,b) is
f(x,y)f(a,b)+fx(a,b)(xa)+fy(a,b)(yb)=ln(4a2+b2)+8a4a2+b2(xa)+2b4a2+b2(yb)
In particular, for a=0 and b=1,
f(x,y)2(y1)
and, for x=0.1 and y=1.2,
f(0.1,1.2)0.4
(b) The point (a,b,c) is on the surface z=f(x,y) if and only if
c=f(a,b)=ln(4a2+b2)
Note that this forces 4a2+b2 to be nonzero. The tangent plane to the surface z=f(x,y) at the point (a,b,c) is parallel to the plane 2x+2yz=3 if and only if 2,2,1 is a normal vector for the tangent plane. That is, there is a nonzero number t such that
2,2,1=tfx(a,b),fy(a,b), 1=t8a4a2+b2,2b4a2+b2,1
For the z--coordinates to be equal, t must be 1. Then, for the x-- and y--coordinates to be equal, we need
8a4a2+b2=22b4a2+b2=2
Note that these equations force both a and b to be nonzero. Dividing these equations gives 8a2b=1 and hence b=4a. Substituting b=4a into either of the two equations gives
8a20a2=2a=15
So a=15, b=45 and
c=ln(452+4252)=ln45

2.6.3.26. (✳).

Solution.
(a) The surface has equation G(x,y,z)=x2z3+ysin(πx)+y2=0. So a normal vector to the surface at (1,11) is
G(1,1,1)=[(2xz3+πycos(πx))ıı^+(sin(πx)+2y)ȷȷ^+3z2x2k^](x,y,z)=(1,1,1)=(2π)ıı^+2ȷȷ^+3k^
So the equation of the tangent plane is
(2π)(x1)+2(y1)+3(z+1)=0or(2+π)x+2y+3z=π3
(b) The functions z(x,y) obeys
x2z(x,y)3+ysin(πx)+y2=0
for all x and y. Differentiating this equation with respect to x gives
2xz(x,y)3+3x2z(x,y)2zx(x,y)+πycos(πx)=0
Evaluating at (1,1,1) gives
2+3zx(1,1)π=0zx(1,1)=π+23
(c) Using the linear approximation about (x,y)=(1,1),
z(x,1)z(1,1)+zx(1,1) (x1)
gives
z(0.97,1)1+π+23 (0.03)=1π+2100=π+102100

2.6.3.27. (✳).

Solution.
(a) The function F(y,z) obeys F(y,z)4+y4+z4+F(y,z)yz=17 for all y and z near y=1, z=2. Applying the derivatives y and z to this equation gives
4F(y,z)3Fy(y,z)+4y3+Fy(y,z)yz+F(y,z)z=04F(y,z)3Fz(y,z)+4z3+Fz(y,z)yz+F(y,z)y=0
Substiututing F(1,2)=0, y=1 and z=2 gives
4+2Fy(1,2)=0  Fy(1,2)=232+2Fz(1,2)=0  Fz(1,2)=16
(b) Using the tangent plane to x=F(y,z) at y=1 and z=2, which is
xF(1,2)+Fy(1,2)(y1)+Fz(1,2)(z2)
with y=1.01 and z=1.98 gives
x=F(1.01,1.98)F(1,2)+Fy(1,2)(1.011)+Fz(1,2)(1.982)=02(.01)16(0.02)=0.3

2.7 Directional Derivatives and the Gradient
2.7.2 Exercises

2.7.2.1. (✳).

Solution.
The partial derivatives, at a general point (x,y,z) and also at the point of interest (0,1,1), are
fx(x,y,z)=yzexyzfx(0,1,1)=1fy(x,y,z)=xzexyzfy(0,1,1)=0fz(x,y,z)=xyexyzfz(0,1,1)=0
So f(0,1,1)=1,0,0 and the specified directional derivative is
D0,1,12f(0,1,1)=1,0,00,1,12=0

2.7.2.2. (✳).

Solution.
In two dimensions, write g(x,y)=y2+sin(xy). Then
g=gx,gy=ycos(xy),2y+xcos(xy)
In three dimensions, write g(x,y,z)=y2+sin(xy). Then
g=gx,gy,gz=ycos(xy),2y+xcos(xy),0

2.7.2.3.

Solution.
(a) The gradient of f is f(x,y)=3,4. So the specified rate of change is
3,42,0|2,0|=3
(b) The gradient of f is f(x,y,z)=x2,y2,z2. In particular, the gradient of f at the point (2,3,4) is f(2,3,4)=14,19,116. So the specified rate of change is
14,19,1161,1,13=6114430.2446

2.7.2.4.

Solution.
The gradient of f(x,y) is f(x,y)=y,x. In particular, the gradient of f at the point (2,0) is f(2,0)=0,2. So the rate of change in the direction that makes angle θ with respect to the x-axis, that is, in the direction cosθ,sinθ is
cosθ,sinθf(2,0)=cosθ,sinθ0,2=2sinθ
(a) To get a rate 1, we need
sinθ=12θ=30, 150
So the desired directions are
cosθ,sinθ=±32,12
(b) To get a rate 2, we need
sinθ=1θ=90
So the desired direction is
cosθ,sinθ=0,1
(c) To get a rate 3, we need
sinθ=32
No θ obeys this, since 1sinθ1 for all θ. So no direction works!

2.7.2.5.

Solution.
Denote f(a,b)=α,β. We are told that
α,β12,12=32orα+β=6α,β35,45=5or3α4β=25
Adding 4 times the first equation to the second equation gives 7α=49. Substituting α=7 into the first equation gives β=1. So f(a,b)=7,1.

2.7.2.6. (✳).

Solution.
Use a coordinate system with the positive y-axis pointing north, with the positive x-axis pointing east and with our current location being x=y=0. Denote by z(x,y) the elevation of the earth’s surface at (x,y). We are told that
z(0,0)(ȷȷ^)=4z(0,0)(ıı^ȷȷ^2)=2
The first equation implies that zy(0,0)=4 and the second equation implies that
zx(0,0)zy(0,0)2=2zx(0,0)=zy(0,0)+2=2
So the slope in the eastern direction is
z(0,0)ıı^=zx(0,0)=2

2.7.2.7. (✳).

Solution.
(a) Use f(P) to denote the gradient vector of f at P. We are told that
  • directional derivative of f at P is a maximum in the direction 2ıı^ȷȷ^+k^, which implies that f(P) is parallel to 2ıı^ȷȷ^+k^, and
  • the magnitude of the directional derivative in that direction is 36, which implies that |f(P)|=36.
So
f(P)=362ıı^ȷȷ^+k^|2ıı^ȷȷ^+k^|=6ıı^3ȷȷ^+3k^
(b) The directional derivative of f at P in the direction ıı^+ȷȷ^ is
f(P)ıı^+ȷȷ^|ıı^+ȷȷ^|=12(6ıı^3ȷȷ^+3k^)(ıı^+ȷȷ^)=32

2.7.2.8. (✳).

Solution.
(a) The gradient of f at (x,y)=(2,1) is
f(2,1)=y2,2xy|(x,y)=(2,1)=1,4
So the path of steepest ascent is in the direction 1171,4, which is a little west of south. The slope is
|f(2,1)|=|1,4|=17
(b) The directional derivative in the north direction is
D0,1f(2,1)=f(2,1)0,1=1,40,1=4
So the hiker descends with slope |4|=4.
(c) To contour, i.e. remain at the same height, the hiker should walk in a direction perpendicular to f(2,1)=1,4. Two unit vectors perpendicular to 1,4 are ±1174,1.

2.7.2.9.

Solution.
The gradient of h(x,y)=10002x23y2 is h(x,y)=(4x,6y). This gradient (which points in the direction of steepest ascent) must be parallel to the tangent to y=axb at all points on y=axb. A tangent to y=axb is 1,dydx=1,abxb1.
4x,6y1,abxb1abxb11=6y4x32y=abxb
This is true at all points on y=axb if and only if b=32. As (1,1) must also be on y=axb, we need 1=a1b, which forces a=1, b=32. Here is a contour map showing the hiking trail.

2.7.2.10. (✳).

Solution.
(a) The temperature gradient at (3,2,1) is
T(3,2,1)=4x,2y,2z|(x,y,z)=(3,2,1)=12,4,2
She wishes to fly in a direction that is perpendicular to T(3,2,1). That is, she wishes to fly in a direction a,b,c that obeys
0=12,4,2a,b,c=12a+4b2c
Any nonzero a,b,c that obeys 12a+4b2c=0 is an allowed direction. Four allowed unit vectors are ±0,1,25 and ±1,3,010.
(b) No they need not be the same. Four different explicit directions were given in part (a).
(c) To cool down as quickly as possible, she should move in the direction opposite to the temperature gradient. A unit vector in that direction is 6,2,141.

2.7.2.11. (✳).

Solution.
The temperature gradient at (2,1,3) is
T(2,1,3)=2x,z,y|(x,y,z)=(2,1,3)=4,3,1
(a) The bird is flying in the direction 42,31,43=2,2,1 at speed 2 and so has velocity v=22,2,1|2,2,1|=232,2,1. The rate of change of air temperature experienced by the bird at that instant is
T(2,1,3)v=234,3,12,2,1=10
(b) To maintain constant altitude (while not being stationary), the bird’s direction of travel has to be of the form a,b,0, for some constants a and b, not both zero. To keep the air temperature fixed, its direction of travel has to be perpendicular to T(2,1,3)=4,3,1. So a and b have to obey
0=a,b,04,3,1=4a+3bb=43a
and the direction of travel has to be a nonzero constant times 3,4,0. The two such unit vectors are ±153,4,0.

2.7.2.12. (✳).

Solution.
We are going to need, in both parts of this question, the gradient of f(x,y) at (x,y)=(1,43). So we find it first.
fx(x,y)=4x+3yfx(1,4/3)=0fy(x,y)=3x+2yfy(1,4/3)=13
so f(1,43)=0,13.
(a) The maximum rate of change of f at P is
|f(1,43)|=|0,13|=13
(b) If a,b is a unit vector, the directional derivative of f at P in the direction a,b is
Da,bf(1,43)=f(1,43)a,b=0,13a,b=b3
So we need b3=15 and hence b=35. For a,b to be a unit vector, we also need
a2+b2=1a2=1b2=13252=1625a=±45
So the allowed directions are ±45,35.

2.7.2.13. (✳).

Solution.
The slope of y=x2 at (1,1) is ddxx2|x=1=2. So a unit vector in the bug’s direction of motion is 1,25 and the bug’s velocity vector is v=0.011,25.
The temperature gradient at (1,1) is
T(1,1)=2xyex2,ex2|(x.y)=(1,1)=2e,e
and the rate of change of T (per unit time) that the bug feels as it passes through the point (1,1) is
T(1,1)v=0.0152e,e1,2=0.04e5

2.7.2.14. (✳).

Solution.
(a) We are to find the directional derivative in the direction
03,12,21=3,1,1
As the gradient of F is
F(x,y,z)=y1,x2y,2z
the directional derivative is
D3,1,1|3,1,1|F(3,2,1)=F(3,2,1)3,1,1|3,1,1|=21,32(2),2(1)3,1,1|3,1,1|=1,1,23,1,111=0
(b) The temperature decreases most rapidly in the direction opposite the gradient. A unit vector in that direction is
F(3,2,1)|F(3,2,1)|=1,1,2|1,1,2|=161,1,2
(c) The velocity vector at time 0 is
v=x(0),y(0),z(0)=3et,2sint,121+t|t=0=3,0,12
So the rate of change of temperature with respect to t at t=0 is
F(3,2,1)v=1,1,23,0,12=4
(d) For ıı^+5ȷȷ^+ak^ to be tangent to the level surface F(x,y,z)=3 at (3,2,1), ıı^+5ȷȷ^+ak^ must be perpendicular to F(3,2,1). So
0=1,5,a1,1,2=4+2a
So a=2.

2.7.2.15. (✳).

Solution.
(a) The first order partial derivatives of f and g are
fx(x,y,z)=2e(x2+y2+z2)2x(2x+y)e(x2+y2+z2)fx(0,1,1)=2e2fy(x,y,z)=e(x2+y2+z2)2y(2x+y)e(x2+y2+z2)fy(0,1,1)=e2fz(x,y,z)=2z(2x+y)e(x2+y2+z2)fz(0,1,1)=2e2gx(x,y,z)=zgx(0,1,1)=1gy(x,y,z)=2y+zgy(0,1,1)=1gz(x,y,z)=x+y+2zgz(0,1,1)=1
so that gradients are
f(0,1,1)=e22,1,2g(0,1,1)=1,1,1
(b) The bird’s velocity is the vector of length 6 in the direction of f(0,1,1), which is
v=62,1,2|2,1,2|=4,2,4
The rate of change of g (per unit time) seen by the bird is
g(0,1,1)v=1,1,14,2,4=10
(c) The direction of flight for the bat has to be perpendicular to both f(0,1,1)=e22,1,2 and g(0,1,1)=1,1,1. Any vector which is a non zero constant times
2,1,2×1,1,1=det[ıı^ȷȷ^k^212111]=1,0,1
is perpendicular to both f(0,1,1) and g(0,1,1). In addition, the direction of flight for the bat must have a positive z-component. So any vector which is a (strictly) positive constant times 1,0,1 is fine.

2.7.2.16. (✳).

Solution.
(a) Let’s use v to denote the bee’s velocity vector at time t=2.
  • The bee’s direction of motion is tangent to the curve. That tangent is perpendicular to both the normal vector to 3z+x2+y2=2 at (1,1,0), which is
    2x,2y,3|(x,y,z)=(1,1,0)=2,2,3
    and the normal vector to z=x2y2 at (1,1,0), which is
    2x,2y,1|(x,y,z)=(1,1,0)=2,2,1
    So v has to be some constant times
    2,2,3×2,2,1=det[ıı^ȷȷ^k^223221]=4,8,8
    or, equivalently, some constant times 1,2,2.
  • Since the z-component of v has to be positive, v has to be a positive constant times 1,2,2.
  • Since the speed has to be 6, v has to have length 6.
As |1,2,2|=3
v=21,2,2=2,4,4
(b) Solution 1: Suppose that the bee is at (x(t),y(t),z(t)) at time t. Then the temperature that the bee feels at time t is
T(x(t),y(t),z(t),t)=x(t)y(t)3x(t)+2y(t)t+z(t)
Then the rate of change of temperature (per unit time) felt by the bee at time t=2 is
ddtT(x(t),y(t),z(t),t)|t=2=x(2)y(2)+x(2)y(2)3x(2)+2y(2)2+2y(2)+z(2)
Recalling that, at time t=2, the bee is at (1,1,0) and has velocity 2,4,4
ddtT(x(t),y(t),z(t),t)|t=2=(2)(1)+(1)(4)3(2)+2(4)2+2(1)+4=10
(b) Solution 2: Suppose that the bee is at (x(t),y(t),z(t)) at time t. Then the temperature that the bee feels at time t is
T(x(t),y(t),z(t),t)
By the chain rule, the rate of change of temperature (per unit time) felt by the bee at time t=2 is
ddtT(x(t),y(t),z(t),t)|t=2=[Tx(x(t),y(t),z(t),t)x(t)+Ty(x(t),y(t),z(t),t)y(t)+Tz(x(t),y(t),z(t),t)z(t)+Tt(x(t),y(t),z(t),t)]t=2
Recalling that T=xy3x+2yt+z, we have
ddtT(x(t),y(t),z(t),t)|t=2=[y(2)3]x(2)+[x(2)+2×2]y(2)+z(2)+2y(2)
Also recalling that, at time t=2, the bee is at (1,1,0) and has velocity 2,4,4
ddtT(x(t),y(t),z(t),t)|t=2=[2](2)+[5](4)+4+2=10

2.7.2.17. (✳).

Solution.
(a) We are to find the rate of change of T(x,y,z) at (1,2,1) in the direction 1,1,01,2,1=0,1,1. That rate of change (per unit distance) is the directional derivative
D0,1,12T(1,2,1)=T(1,2,1)0,1,12
As
Tx(x,y,z)=20xe2x2y23z2Tx(1,2,1)=20e9Ty(x,y,z)=10ye2x2y23z2Ty(1,2,1)=20e9Tz(x,y,z)=30ze2x2y23z2Tz(1,2,1)=30e9
the directional derivative
D0,1,12T(1,2,1)=e920,20,300,1,12=502e9=252e9
(b) The direction of maximum rate of decrease is T(1,2,1). A unit vector in that direction is 2,2,317.
(c) The maximum rate of decrease at P is |T(1,2,1)|=10e9|2,2,3|=1017e9.

2.7.2.18. (✳).

Solution.
Denote by a,b,c the gradient of the function f at P. We are told
a,b,c1,0,0=2a,b,c121,1,0=2a,b,c131,1,1=53
Simplifying
a=2a+b=2a+b+c=5
From these equations we read off, in order, a=2, b=4 and c=3. The function f has maximum rate of change at P in the direction if the gradient of f. The unit vector in that direction is
2,4,3|2,4,3|=2,4,329
The maximum rate of change is the magnitude of the gradient, which is 29.

2.7.2.19. (✳).

Solution.
We are told that the direction of fastest increase for the function f(x,y) at the origin is given by the vector 1,2. This implies that f(0,0) is parallel to 1,2. This in turn implies that 1,2 is normal to the level curve of f(x,y) that passes through the origin. So 2,1, being perpendicular to 1,2, is tangent to the level curve of f(x,y) that passes through the origin. The unit vectors that are parallel to 2,1 are ±152,1.

2.7.2.20. (✳).

Solution.
Write h(x,y)=10000.02x20.01y2 so that the hill is z=h(x,y).
(a) The direction of steepest ascent at (0,100,900) is the direction of maximum rate of increase of h(x,y) at (0,100) which is h(0,100)=0,0.01(2)(100)=0,2. In compass directions that is South.
(b) The slope of the hill there is
h(0,100)0,1=hy(0,100)=2
(c) Denote by (x(t),y(t),z(t)) your position at time t and suppose that you are at (0,100,900) at time t=0. Then we know
  • z(t)=10000.02x(t)20.01y(t)2, so that z(t)=0.04x(t)x(t)0.02y(t)y(t), since you are on the hill and
  • x(0)=0 and y(0)>0 since you are going in the direction of steepest descent and
  • x(0)2+y(0)2+z(0)2=25 since you are moving at speed 5.
Since x(0) and y(0)=100, we have z(0)=0.02(100)y(0)=2y(0). So
25=x(0)2+y(0)2+z(0)2=5 y(0)2y(0)=5x(0),y(0),z(0)=0,5,25
and your rate of change of altitude is
ddth(x(t),y(t))|t=0=h(0,100)x(0),y(0)=0,20,5=25

2.7.2.21. (✳).

Solution.
Reading through the question as a whole we see that we will need
  • for part (a), the gradient of PT at (2t,t21,cost)|t=0=(0,1,1)
  • for part (b), the gradients of both P and T at (0,1,1) and
  • for part (c), the gradient of T at (0,1,1) and the gradient of S=z3+xz+y2 at (0,1,1) (to get the normal vector to the surface at that point).
So, by way of preparation, let’s compute all of these gradients.
P(x,y,z)=2x1+z2ıı^+4y1+z2ȷȷ^(x2+2y2)2z(1+z2)2k^P(0,1,1)=2ȷȷ^k^T(x,y,z)=yıı^+xȷȷ^2zk^T(0,1,1)=ıı^2k^S(x,y,z)=zıı^+2yȷȷ^+(x+3z2)k^S(0,1,1)=ıı^2ȷȷ^+3k^
To get the gradient of PT we use the product rule
(PT)(x,y,z)=T(x,y,z)P(x,y,z)+P(x,y,z)T(x,y,z)
so that
(PT)(0,1,1)=T(0,1,1)P(0,1,1)+P(0,1,1)T(0,1,1)=(5+01)(2ȷȷ^k^)+0+21+1(ıı^2k^)=ıı^8ȷȷ^6k^
(a) Since ddt(PT)2=2(PT)ddt(PT), and the velocity vector of the plane at time 0 is
ddt2t,t21,cost|t=0=2,2t,sint|t=0=2,0,0
we have
ddt(PT)2|t=0=2P(0,1,1)T(0,1,1) (PT)(0,1,1)2,0,0=2 0+21+1 (5+01)1,8,62,0,0=16
(b) The direction should be perpendicular to P(0,1,1) (to keep P constant) and should also be perpendicular to T(0,1,1) (to keep T constant). So any nonzero constant times
±P(0,1,1)×T(0,1,1)=±0,2,1×1,0,2=±det[ıı^ȷȷ^k^021102]=±4,1,2
are allowed directions.
(c) We want the direction to be as close as possible to T(0,1,1)=1,0,2 while still being tangent to the surface, i.e. being perpendicular to the normal vector S(0,1,1)=1,2,3. We can get that optimal direction by subtracting from T(0,1,1) the projection of T(0,1,1) onto the normal vector.
The projection of T(0,1,1) onto the normal vector S(0,1,1) is
projS(0,1,1)T(0,1,1)=T(0,1,1)S(0,1,1)|S(0,1,1)|2S(0,1,1)=1,0,21,2,3|1,2,3|21,2,3=7141,2,3
So the optimal direction is
d=T(0,1,1)projS(0,1,1)T(0,1,1)=1,0,27141,2,3=12,1,12
So any positive non zero multiple of 1,2,1 will do. Note, as a check, that 1,2,1 has dot product zero, i.e. is perpendicular to, S(0,1,1)=1,2,3.

2.7.2.22. (✳).

Solution.
Write f(a,b,c)=F,G,H. We are told that
Duf=161,1,2F,G,H=0Dvf=131,1,1F,G,H=0Dwf=131,1,1F,G,H=4
so that
(E1)F+G+2H=0(E2)FGH=0(E3)F+G+H=43
Adding (E2) and (E3) gives 2F=43 or F=23. Substituting F=23 into (E1) and (E2) gives
(E1)G+2H=23(E2)GH=23
Adding (E1) and (E2) gives H=43 and substituting H=43 back into (E2) gives G=63. All together
f(a,b,c)=32,6,4

2.7.2.23. (✳).

Solution.
(a) The expression limt0f((1,1)+tu)f(1,1)t is the directional derivative of f at (1,1) in the direction u, which is Duf(1,1)=f(1,1)u. This is mazimized when u is parallel to f(1,1). Since
fx(x,y)=2xy2exyx2y2exyfy(x,y)=2x2yexyx2y2exy
we have
f(1,1)=e21,1
so that the desired unit vector u is 121,1.
(b) In order to remain at elevation e2, the ant must move so that Duf(1,1)=0. This is the case if uf(1,1). For example, we can take u=1,1. When the ant moves in this direction, while remaining on the surface of the hill, its vertical component of velocity is zero. So v=c1,1,0 for any nonzero constant c.
(c) In order to maximize its instantaneous rate of level increase, the ant must choose the x and y coordinates of its velocity vector in the same direction as f(1,1). Namely u=c1,1 for any c>0. To make u a unit vector, we choose c=12. The corresponding value of the z coordinate of its velocity vector is the rate of change of f per unit horizontal distance travelled, which is the directional derivative
Duf(1,1)=f(1,1)u=e21,1c,c=2ce2
So v=121,1,2e2. Any positive multiple of this vector is also a correct answer.

2.7.2.24. (✳).

Solution.
(a) The direction of motion at s=1 is given by the tangent vector
r(s)=s2,2,2s|s=1=1,2,2
Since the length of the velocity vector must be 3,
velocity=v=31,2,2|1,2,2|=1,2,2
(b) The rate of change of temperature per unit distance felt by the sparrow at s=1 is T(13,2,1)v|v|. The rate of change of temperature per unit time felt by the sparrow at s=1 is
T(13,2,1)v|v| |v|=T(13,2,1)v=v6x,y,4z|(13,2,1)=1,2,22,2,4=14/s
(c) The temperature decreases at maximum rate in the direction opposite the temperature gradient, which is (any positive constant times) 2,2,4.
(d) The eagle is moving at right angles to the direction of motion of the sparrow, which is 1,2,2. As the eagle is also moving in a direction for which the temperature remains constant, it must be moving perpendicularly to the temperature gradient, 2,2,4. So the direction of the eagle must be (a posiitve constant times) one of
±1,2,2×2,2,4=±det[ıı^ȷȷ^k^122224]=±4,0,2
or equivalently, any positive constant times ±2,0,1.

2.7.2.25. (✳).

Solution.
(a) The moth is moving the direction of the temperature gradient at (3,4,0), which is
T(3,4,0)=2002xıı^+2yȷȷ^+2zk^(1+x2+y2+z2)2|(3,4,0)=4003ıı^+4ȷȷ^262
Since the speed of the moth is 1m/s its velocity vector is a vector of length one in direction 4002623,4,0 and hence is v=3,4,0|3,4,0|=35,45,0.
(b) The rate of change of temperature (per unit time) the moth feels at that time is
T(3,4,0)v=4002623,4,035,45,0=400×25262×5=5001692.96/s

2.7.2.26. (✳).

Solution.
(a) We are told that T(x,y,z)=k|x,y,z|=kx2+y2+z2 for some constant k and that
120=T(1,2,2)=k|1,2,2|k=120×1+22+22=360
(b) The (unit) direction from (1,2,2) to (2,1,3) is d=2,1,31,2,2|2,1,31,2,2|=1,1,1|1,1,1|=131,1,1. The desired rate of change of temperature is
DdT(1,2,2)=T(1,2,2)d=360xıı^+yȷȷ^+zk^(x2+y2+z2)3/2|1,2,2d=3601,2,2271,1,13=40337.70
degrees per unit distance.
(c) At (x,y,z), the direction of greatest increase is in the direction of the temperature gradient at (x,y,z), which is T(x,y,z)=360xıı^+yȷȷ^+zk^(x2+y2+z2)3/2 and which points opposite to the radius vector. That is, it points towards the origin. This argument only fails at (x,y,z)=(0,0,0), where the gradient, and indeed T(x,y,z), is not defined.

2.7.2.27. (✳).

Solution.
(a) The shoreline is f(x,y)=0 or x2+4x+4y2=32 or (x+2)2+4y2=36, which is an ellipse centred on (2,0) with semiaxes 6 in the x-direction and 3 in the y-direction.
(b,c) The gradient of f at (1,1) is
f(1,1)=[(2x4)ıı^8yȷȷ^](1,1)=2ıı^8ȷȷ^
To remain at constant depth, he should swim perpendicular to the depth gradient. So he should swim in direction ±1174,1. To increase his depth as rapidly as possible, he should swim in the direction of the depth gradient, which is 1171,4.

2.7.2.28.

Solution.
(a) The curve on which the temperature is T0 is x22y2=T0. If T0=0, this is the pair of straight lines y=±x2. If T0>0, it is a hyperbola on which x2=2y2+T0T0. If T0<0, it is a hyperbola on which 2y2=x2T0|T0|. Here is a sketch which show the isotherms T=0, 1, 1 as well as the branch of the T=2 isotherm that contains the ant’s location (2,1).
Note that the temperature gradient is T(x,y)=2x,4y. In particular, the temperature gradient at (2,1) is T(2,1)=4,4.
(b) To achieve maximum rate of cooling, the ant should move in the direction opposite the temperature gradient at (2,1). So the direction of maximum rate of cooling is
4,442=1,12
(c) If the ant moves in the direction of part (b), its rate of cooling per unit distance is |T(2,1)|=|4,4|=42. It the ant is moving at speed v, its rate of cooling per unit time is 42v.
(d) If the ant moves from (2,1) in direction 1,2 its temperature increases at the rate
D1,25T(2,1)=4,41,25=125
per unit distance. So, if the ant is moving at speed v, its rate of decrease of temperature per unit time is 125v
(e) Suppose that the ant moves along the curve y=y(x). For the ant to always experience maximum rate of cooling (or maximum rate of heating), the tangent to this curve must be parallel to T(x,y) at every point of the curve. A tangent to the curve at (x,y) is 1,dydx(x). This is parallel to T(x,y)=2x,4y when
dydx1=4y2xdyy=2dxxlny=2lnx+Cy=Cx2
To pass through (2,1), we need C=4, so y=4x2.

2.7.2.29. (✳).

Solution.
The first order partial derivatives of f, both at a general point (x,y,z) and at the point (1,0,π/2), are
fx(x,y,z)=2xfx(1,0,π/2)=2fy(x,y,z)=zsin(yz)fy(1,0,π/2)=0fz(x,y,z)=ysin(yz)fz(1,0,π/2)=0
(a) The rate of increase of f is largest in the direction of f(1,0,π/2)=2,0,0. A unit vector in that direction is ıı^.
(b) The gradient vector f(1,0,π/2)=2,0,0 is a normal vector to the surface f=1 at (1,0,π/2). So the specified tangent plane is
2,0,0x1,y0,zπ/2=0orx=1
(c) The vector from the point (0,1,0) to the point (1,1,0), on T, is 1,0,0, which is perpendicular to T. So (1,1,0) is the point on T nearest (0,1,0) and the distance from (0,1,0) to T is |1,0,0|=1.
(d) The vector 1,0,1 is perpendicular to the plane x+z=0. So the angle between the planes T and x+z=0 is the same as the angle θ between the vectors 1,0,0 and 1,0,1, which obeys
|1,0,0| |1,0,1| cosθ=|1,0,01,0,1|=1cosθ=12θ=π4

2.7.2.30. (✳).

Solution.
(a) We are being asked for the directional derivative of T in the direction of the unit vector from P=(2,1,1) to Q=(3,2,2), which is 1,1,13. That directional derivative is
T(P)1,1,13=1,2,31,1,13=23
(b) The linear approximation to T at P is
T(2+Δx,1+Δy,1+Δz)T(P)+Tx(P)Δx+Ty(P)Δy+Tz(P)Δz=5+Δx+2Δy+3Δz
Applying this with Δx=0.1, Δy=0, Δz=0.2 gives
T(1.9,1,1.2)5+(0.1)+2(0)+3(0.2)=5.5
(c) For the rate of change of T to be zero, the direction of motion must be perpendicular to T(P)=1,2,3. For the rate of change of S to also be zero, the direction of motion must also be perpendicular to S(P)=1,0,1. The vector
1,2,3×1,0,1=det[ıı^ȷȷ^k^123101]=2,2,2
is perpendicular to both T(P) and S(P). So the desired unit vectors are ±1,1,13.

2.7.2.31. (✳).

Solution.
We are going to need the gradients of both F and G at (0,1,2). So we compute
Fx(x,y,z)=y2+zFy(x,y,z)=2xyFz(x,y,z)=3z2+xGx(x,y,z)=3Gy(x,y,z)=1Gz(x,y,z)=4
and then
F(0,1,2)=3,0,12G(0,1,2)=3,1,4
(a) The linear approximation to F at (0,1,2) is
F(x,y,z)F(0,1,2)+Fx(0,1,2)x+Fy(0,1,2)(y1)+Fz(0,1,2)(z2)=8+3x+12(z2)
In particular
F(0.1,0.9,1.8)F(0,1,2)3(0.1)+12(0.2)=2.1
(b) The direction along which G increases most rapidly at P is G(0,1,2)=3,1,4. The directional derivative of F in that direction is
D3,1,426F(0,1,2)=F(0,1,2)3,1,426=3,0,123,1,426>0
So F increases.
(c) For the rate of change of F to be zero, a,b,c must be perpendicular to F(0,1,2)=3,0,12.
For the rate of change of G to be zero, a,b,c must be perpendicular to G(0,1,2)=3,1,4.
So any nonzero constant times
det[ıı^ȷȷ^k^3012314]=12,24,3=34,8,1
is an allowed direction.

2.7.2.32. (✳).

Solution.
(a) Since
z=100x2+2x+4y2+11=100(x+1)2+4y2+10
the bottom of the crater is at x=1, y=0 (where the denominator is a minimum) and the contours (level curves) are ellipses having equations (x+1)2+4y2=C. In the sketch below, the filled dot represents the bottom of the crater and the open dot represents the car park. The contours sketched are (from inside out) z=7.5,5,2.5,1. Note that the trail crosses the contour lines at right angles.
(b) The trail is to be parallel to
z=100(x2+2x+4y2+11)2(2x+2,8y)
At the car park z(4,5)10,401,4. To move towards the bottom of the crater, we should leave in the direction 1,4.

2.7.2.33. (✳).

Solution.
We have
h(x,y)=200e(x2+2y2)x,2y
and, in particular,
h(3,2)=200e173,4
(a) At (3,2) the dune slopes downward the most steeply in the direction opposite h(3,2), which is (any positive multiple of) 3,4.
(b) The rate is Dȷȷ^h(3,2)=h(3,2)ȷȷ^=800e17.
(c) To remain at the same height, you should walk perpendicular to h(3,2). So you should walk in one of the directions ±(45,35).
(d) Suppose that you are walking along a steepest descent curve. Then the direction from (x,y) to (x+dx,y+dy), with (dx,dy) infinitesmal, must be opposite to h(x,y)=200e(x2+2y2)(x,2y). Thus (dx,dy) must be parallel to (x,2y) so that the slope
dydx=2yxdyy=2dxxlny=2lnx+C
We must choose C to obey ln2=2ln3+C in order to pass through the point (3,2). Thus C=ln29 and the curve is lny=2lnx+ln29 or y=29x2.

2.7.2.34. (✳).

Solution.
(a) Denote f(1,2)=a,b. We are told that
Duf(1,2)=u(a,b)=35a+45b=10Dvf(1,2)=v(a,b)=35a45b=2
Adding these two equations gives 65a=12, which forces a=10, and subtracting the two equations gives 85b=8, which forces b=5, as desired.
(b) The rate of change of f at (1,2) in the direction of the vector ıı^+2ȷȷ^ is
ıı^+2ȷȷ^|ıı^+2ȷȷ^|f(1,2)=151,210,5=458.944
(c) Applying (2.6.1), which is
f(x0+Δx,y0+Δy)f(x0,y0)+fx(x0,y0)Δx+fy(x0,y0)Δy
with x0=1, Δx=0.01, y0=2, and Δy=0.05, gives
f(1.01,2.05)f(1,2)+fx(1,2)×(1.011)+fy(1,2)×(2.052)=7+10×0.01+5×0.05=7.35

2.8 A First Look at Partial Differential Equations
2.8.3 Exercises

2.8.3.1.

Solution.
We start by evaluating ut(x,t) and uxx(x,t)+u(x,t) when u(x,t)=etx2.
u(x,t)=etx2ut(x,t)=etx2ux(x,t)=2xetx2uxx(x,t)=2etx2+4x2etx2
So
uxx(x,t)+u(x,t)=[2etx2+4x2etx2]+etx2=[4x21]etx2
For this to equal g(x)ut(x,t)=g(x)etx2, we need g(x)=14x2.

2.8.3.2.

Solution.
(a) Fix any y0 and set v(x)=u(x,y0). Then
dvdx(x)=ux(x,y0)=0
So, for each fixed y0, v(x)=u(x,y0), which is a function of x, has to be a constant. The constant may be different for each different choice of y0. So u(x,y0)=C(y0) with C(y0) depending only on y0, not on x. Or, renaming y0 back to y, u(x,y)=C(y) with C(y) being any function of the single variable y.
(b) Fix any y0 and set v(x)=u(x,y0). Then
dvdx(x)=ux(x,y0)=f(x)
In words, v(x) has to have derivative f(x), i.e. be an antiderivative of f(x). So if F(x) is any function whose derivative is f(x), i.e. if F(x) is any antiderivative of f(x), then, for each fixed y0, v(x)=u(x,y0)=F(x)+C, with C being a constant. The constant may be different for each different choice of y0. So u(x,y0)=F(x)+C(y0) with C(y0) depending only on y0, not on x. Or, renaming y0 back to y, u(x,y)=F(x)+C(y) with F(x) being any antiderivative of f(x) and C(y) being any function of the single variable y.

2.8.3.3.

Solution.
(a) If u(x,y)=x33xy2, then
ux=3x23y2uxx=6xuy=6xyuyy=6x
So uxx(x,y)+uyy(x,y)=6x6x=0 and x33xy2 is harmonic.
(b) If u(x,y)=x3y3, then
ux=3x2uxx=6xuy=3y2uyy=6y
So uxx(x,y)+uyy(x,y)=6x6y is not identically zero and x3y3 is not harmonic.
(c) If u(x,y)=sin(x)cos(y), then
ux=cos(x)cos(y)uxx=sin(x)cos(y)uy=sin(x)sin(y)uyy=sin(x)cos(y)
So uxx(x,y)+uyy(x,y)=2sin(x)cos(y) is not identically zero and sin(x)cos(y) is not harmonic.
(d) If u(x,y)=e7xcos(7y), then
ux=7e7xcos(7y)uxx=49e7xcos(7y)uy=7e7x sin(7y)uyy=49e7xcos(7y)
So uxx(x,y)+uyy(x,y)=49e7xcos(7y)49e7xcos(7y)=0 and e7xcos(7y) is harmonic.
(e) If u(x,y)=ln(x2+y2), then
ux=2xx2+y2uxx=2x2+y24x2(x2+y2)2uy=2yx2+y2uyy=2x2+y24y2(x2+y2)2
So
uxx(x,y)+uyy(x,y)=2x2+y24x2(x2+y2)2+2x2+y24y2(x2+y2)2=4x2+y24x2+y2(x2+y2)2=4x2+y24x2+y2=0
and ln(x2+y2) is harmonic.

2.8.3.4. (✳).

Solution.
We evaluate both sides of the given PDE with u=u(x,t)=et+ax+etax. Since
u(x,t)=et+ax+etaxut(x,t)=et+ax+etaxux(x,t)=aet+axaetaxuxx(x,t)=a2et+ax+a2etax
the left hand side of the PDE is
5ut=5et+ax+5etax
and the right hand side of the PDE is
uxx+u=(a2et+ax+a2etax)+(et+ax+etax)=(a2+1)et+ax+(a2+1)etax
The left and right hand sides are equal if and only if
5=(a2+1)a2=4a=±2

2.8.3.5.

Solution.
We evaluate uxx+uyy+uzz with u=u(x,y,z)=e3x+4ysin(az). Since
u(x,y,z)=e3x+4ysin(az)ux(x,y,z)=3e3x+4ysin(az)uxx(x,y,z)=9e3x+4ysin(az)uy(x,y,z)=4e3x+4ysin(az)uyy(x,y,z)=16e3x+4ysin(az)uz(x,y,z)=ae3x+4ycos(az)uzz(x,y,z)=a2e3x+4ysin(az)
We have
uxx+uyy+uzz=(9+16a2)e3x+4ysin(az)
This is zero (for all x, y, z) if and only if
a2=9+16=25a=±5

2.8.3.6.

Solution.
We evaluate both sides of the given PDE with u=u(x,t)=sin(at)cos(bx). Since
u(x,t)=sin(at)cos(bx)ut(x,t)=acos(at)cos(bx)utt(x,t)=a2sin(at)cos(bx)ux(x,t)=bsin(at)sin(bx)uxx(x,t)=b2sin(at)cos(bx)
the left hand side of the PDE is
utt=a2sin(at)cos(bx)
and the right hand side of the PDE is
uxx=b2sin(at)cos(bx)
The left and right hand sides are equal if and only if
a2=b2a=±b

2.8.3.7.

Solution.
We simply evaluate the two terms on the left hand side when z=z(x,y)=F(x2+y2). By the chain rule,
yzx=yxF(x2+y2)=yF(x2+y2)x(x2+y2)=yF(x2+y2)(2x)=2xyF(x2+y2)xzy=xyF(x2+y2)=xF(x2+y2)y(x2+y2)=xF(x2+y2)(2y)=2xyF(x2+y2)
So
yzxxzy=2xyF(x2+y2)2xyF(x2+y2)=0
and z(x,y)=F(x2+y2) really does solve the PDE yzxxzy=0 for any differentiable function F.

2.8.3.8.

Solution.
We evaluate both sides of the given PDE with u=u(x,t)=f(t)cos(2x). Since
u(x,t)=f(t)cos(2x)ut(x,t)=f(t)cos(2x)ux(x,t)=2f(t)sin(2x)uxx(x,t)=4f(t)cos(2x)
the left hand side of the PDE is
ut(x,t)=f(t)cos(2x)
and the right hand side of the PDE is
uxx(x,t)=4f(t)cos(2x)
The left and right hand sides are equal if and only if
f(t)=4f(t)
This is the type of ordinary differential equation that we studied in Section 3.3, on exponential growth and decay, in the CLP-1 text. We found in Theorem 3.3.2 there that the general solution to this ODE is f(t)=Ce4t with C being an arbitrary constant.

2.8.3.9.

Solution.
Let u1(x,t) and u2(x,t) obey 2t2u1(x,t)=2x2u1(x,t) and 2t2u2(x,t)=2x2u2(x,t). Then u(x,t)=a1u1(x,t)+a2u2(t,x) obeys
utt(x,t)=2t2[a1u1(x,t)+a2u2(t,x)]=a12t2u1(x,t)+a22t2u2(x,t)=a12x2u1(x,t)+a22x2u2(x,t)=2x2[a1u1(x,t)+a2u2(t,x)]=uxx(x,t)
as desired.

2.8.3.10.

Solution.
We evaluate uxx+uyy with u(x,y)=v(ax+by,cx+dy). Since, by the chain rule,
u(x,y)=v(ax+by,cx+dy)ux(x,y)=avx(ax+by,cx+dy)+cvy(ax+by,cx+dy)uy(x,y)=bvx(ax+by,cx+dy)+dvy(ax+by,cx+dy)uxx(x,y)=a2vxx(ax+by,cx+dy)+acvxy(ax+by,cx+dy)+cavyx(ax+by,cx+dy)+c2vyy(ax+by,cx+dy)uyy(x,y)=b2vxx(ax+by,cx+dy)+bdvxy(ax+by,cx+dy)+dbvyx(ax+by,cx+dy)+d2vyy(ax+by,cx+dy)
we have
uxx+uyy=(a2+b2)vxx(ax+by,cx+dy)+(c2+d2)vyy(ax+by,cx+dy)+2(ac+bd)vxy(ax+by,cx+dy)
  • If a2+b2=c2+d2, i.e. if a,b and c,d have the same length, then the first line of the right hand side is zero, since vxx+vyy=0.
  • If a,bc,d=ac+bd=0, i.e. if a,b and c,d are mutally perpendicular, then the second line of the right hand side is zero.
So if a,b and c,d have the same length and are mutally perpendicular, then uxx+uyy=0. The missing word is “perpendicular”.

2.8.3.11.

Solution.
In preparation for substituting into the PDE, we compute uxx, uyy and uzz.
u(x,y,z)=r(x,y,z)n=(x2+y2+z2)n/2ux(x,y,z)=n2(x2+y2+z2)n/21 x(x2+y2+z2)=nx (x2+y2+z2)n/21uxx(x,y,z)=n (x2+y2+z2)n/21+nx (n/21)(x2+y2+z2)n/22(2x)=n (x2+y2+z2)n/21+n(n2)x2(x2+y2+z2)n/22uy(x,y,z)=n2(x2+y2+z2)n/21 y(x2+y2+z2)=ny (x2+y2+z2)n/21uyy(x,y,z)=n (x2+y2+z2)n/21+ny (n/21)(x2+y2+z2)n/22(2y)=n (x2+y2+z2)n/21+n(n2)y2(x2+y2+z2)n/22uz(x,y,z)=n2(x2+y2+z2)n/21 z(x2+y2+z2)=nz (x2+y2+z2)n/21uzz(x,y,z)=n (x2+y2+z2)n/21+nz (n/21)(x2+y2+z2)n/22(2z)=n (x2+y2+z2)n/21+n(n2)z2(x2+y2+z2)n/22)
So
uxx+uyy+uzz=3n(x2+y2+z2)n/21+n(n2) (x2+y2+z2)(x2+y2+z2)n/22=3n(x2+y2+z2)n/21+n(n2) (x2+y2+z2)n/21=[3n+n22n] (x2+y2+z2)n/21
This is zero if and only if
n+n2=n(1+n)=0n=0,1

2.8.3.12.

Solution.
(a) Substituting u(x,t)=X(x)T(t) into the given PDE yields
X(x)T(t)=ut=xux=xX(x)T(t)
Then dividing both sides by X(x)T(t) gives
T(t)T(t)=xX(x)X(x)
as desired.
(b) The left hand side T(t)T(t) is independent of x, and the right hand side xX(x)X(x) is independent of t. The left and right hand sides are equal to each other, so both are independent of both t and x, i.e. are constant. If we call the constant λ, then
T(t)T(t)=xX(x)X(x)=λT(t)=λT(t),X(x)=λxX(x)
(c) The equation T(t)=λT(t) is the type of ordinary differential equation that we studied in Section 3.3, on exponential growth and decay, in the CLP-1 text. We found in Theorem 3.3.2 there that the general solution to this ODE is T(t)=Ceλt with C being an arbitrary constant, which we require to be positive to make T>0. The equation X(x)=λxX(x) is a separable ODE. We studied such ODE’s in Section 2.4 in the CLP-2 text. To solve it, we divide across by X(x), giving
X(x)X(x)=λxddxlnX(x)=λxassuming X,x>0lnX(x)=λlnx+Kwith K constantX(x)=Kxλwith K=eK>0 constant
So
u(x,t)=X(x)T(t)=Deλtxλwith D=CK>0 a constant
solves the PDE ut=xux for x>0.

2.8.3.13.

Solution.
By the chain rule,
ddtu(X(t),Y(t))=ux(X(t),Y(t))dXdt(t)+uy(X(t),Y(t))dYdt(t)=α(X(t),Y(t))ux(X(t),Y(t))+β(X(t),Y(t))uy(X(t),Y(t))
But evaluating α(x,y)ux(x,y)+β(x,y)uy(x,y)=0 at x=X(t), y=Y(t) gives
α(X(t),Y(t))ux(X(t),Y(t))+β(X(t),Y(t))uy(X(t),Y(t))=0
so
ddtu(X(t),Y(t))=0

2.8.3.14.

Solution.
(a) Suppose that u(x,y) obeys the PDE
3ux(x,y)+6uy(x,y)=u(x,y)
Define v(X,Y)=u(X,Y+2X). Then, by the chain rule,
vX(X,Y)=X[u(X,Y+2X)]=ux(X,Y+2X)+2uy(X,Y+2X)=13{3ux(X,Y+2X)+6uy(X,Y+2X)}=13u(X,Y+2X)=13v(X,Y)
(b) Define v(X,Y)=u(X,XeY). Then, by the chain rule,
vX(X,Y)=X[u(X,XeY)]=ux(X,XeY)+eYuy(X,XeY)
Now notice that if xux(x,y)+yuy(x,y)=u(x,y), then, evaluating at x=X and y=XeY gives
Xux(X,XeY)+XeYuy(X,XeY)=u(X,XeY)
So
vX(X,Y)=1X{Xux(X,XeY)+XeYuy(X,XeY)}=1Xu(X,XeY)=1Xv(X,Y)

2.9 Maximum and Minimum Values
2.9.4 Exercises

2.9.4.1. (✳).

Solution.
a) (i) f is zero at critical points. The point T is a local maximum and the point U is a saddle point. The remaining points P, R, S, are not critical points.
(a) (ii) Only U is a saddle point.
(a) (iii) We have fy(x,y)>0 if f increases as you move vertically upward through (x,y). Looking at the diagram, we see
fy(P)<0fy(Q)<0fy(R)=0fy(S)>0fy(T)=0fy(U)=0
So only S works.
(a) (iv) The directional derivative of f in the direction 0,1 is f0,1=fy. It is negative if and only if fy>0. So, again, only S works.
(b) (i) The function z=F(x,2) is increasing at x=1, because the y=2.0 graph in the diagram has positive slope at x=1. So Fx(1,2)>0.
(b) (ii) The function z=F(x,2) is also increasing (though slowly) at x=2, because the y=2.0 graph in the diagram has positive slope at x=2. So Fx(2,2)>0. So F does not have a critical point at (2,2).
(b) (iii) From the diagram the looks like Fx(1,1.9)>Fx(1,2.0)>Fx(1,2.1). That is, it looks like the slope of the y=1.9 graph at x=1 is larger than the slope of the y=2.0 graph at x=1, which in turn is larger than the slope of the y=2.1 graph at x=1. So it looks like Fx(1,y) decreases as y increases through y=2, and consequently Fxy(1,2)<0.

2.9.4.2.

Solution.
The height x2+y2 at (x,y) is the distance from (x,y) to (0,0). So the minimum height is zero at (0,0,0). The surface is a cone. The cone has a point at (0,0,0) and the derivatives zx and zy do not exist there. The maximum height is achieved when (x,y) is as far as possible from (0,0). The highest points are at (±1,±1,2). There zx and zy exist but are not zero. These points would not be the highest points if it were not for the restriction |x|,|y|1.

2.9.4.3.

Solution.
Define f(t)=g(a+td) and determine t0 by x0=a+t0d. Then f(t)=g(a+td)d. To see this, write a=a1,a2,a3 and d=d1,d2,d3. Then
f(t)=g(a1+td1,a2+td2,a3+td3)
So, by the chain rule,
f(t)=gx(a1+td1,a2+td2,a3+td3)d1+gy(a1+td1,a2+td2,a3+td3)d2+gz(a1+td1,a2+td2,a3+td3)d3=g(a+td)d
Then x0 is a local max or min of the restriction of g to the specified line if and only if t0 is a local max or min of f(t). If so, f(t0) necessarily vanishes. So if x0 is a local max or min of the restriction of g to the specified line, then g(x0)d=0, i.e. g(x0)d, and x0=a+t0d for some t0. The second condition is to ensure that x0 lies on the line.

2.9.4.4. (✳).

Solution.
(a)
  • The level curve z=0 is y2x2=0, which is the pair of 45 lines y=±x.
  • When C>0, the level curve z=C4 is (y2x2)2=C4, which is the pair of hyperbolae y2x2=C2, y2x2=C2 or
    y=±x2+C2x=±y2+C2
    The hyperbola y2x2=C2 crosses the y--axis (i.e. the line x=0) at (0,±C). The hyperbola y2x2=C2 crosses the x--axis (i.e. the line y=0) at (±C,0).
Here is a sketch showing the level curves z=0, z=1 (i.e. C=1), and z=16 (i.e. C=2).
(b) As fx(x,y)=4x(y2x2) and fy(x,y)=4y(y2x2), we have fx(0,0)=fy(0,0)=0 so that (0,0) is a critical point. Note that
  • f(0,0)=0,
  • f(x,y)0 for all x and y.
So (0,0) is a local (and also absolute) minimum.
(c) Note that
fxx(x,y)=4y2+12x2fxx(x,y)=0fyy(x,y)=12y24x2fyy(x,y)=0fxy(x,y)=8xyfxx(x,y)=0
As fxx(0,0)fyy(0,0)fxy(0,0)2=0, the Second Derivative Test (Theorem 2.9.16) tells us absolutely nothing.

2.9.4.5. (✳).

Solution.
Write f(x,y)=x2+cxy+y2. Then
fx(x,y)=2x+cyfx(0,0)=0fy(x,y)=cx+2yfy(0,0)=0fxx(x,y)=2fxy(x,y)=cfyy(x,y)=2
As fx(0,0)=fy(0,0)=0, we have that (0,0) is always a critical point for f. According to the Second Derivative Test, (0,0) is also a saddle point for f if
fxx(0,0)fyy(0,0)fxy(0,0)2<04c2<0|c|>2
As a remark, the Second Derivative Test provides no information when the expression fxx(0,0)fyy(0,0)fxy(0,0)2=0, i.e. when c=±2. But when c=±2,
f(x,y)=x2±2xy+y2=(x±y)2
and f has a local minimum, not a saddle point, at (0,0).

2.9.4.6. (✳).

Solution.
To find the critical points we will need the gradient of f, and to apply the second derivative test of Theorem 2.9.16 we will need all second order partial derivatives. So we need all partial derivatives of f up to order two. Here they are.
f=x3y32xy+6fx=3x22yfxx=6xfxy=2fy=3y22xfyy=6yfyx=2
The critical points are the solutions of
fx=3x22y=0fy=3y22x=0
Substituting y=32x2, from the first equation, into the second equation gives
3(32x2)22x=02x(3323x3+1)=0x=0, 23
So there are two critical points: (0,0), (23,23).
The classification is
criticalpoint fxxfyyfxy2 fxx type
(0,0) 0×0(2)2<0 saddle point
(23,23) (4)×(4)(2)2>0 4 local max

2.9.4.7. (✳).

Solution.
To find the critical points we will need the gradient of f, and to apply the second derivative test of Theorem 2.9.16 we will need all second order partial derivatives. So we need all partial derivatives of f up to order two. Here they are.
f=x3+x2y+xy29xfx=3x2+2xy+y29fxx=6x+2yfxy=2x+2yfy=x2+2xyfyy=2xfyx=2x+2y
(Of course, fxy and fyx have to be the same. It is still useful to compute both, as a way to catch some mechanical errors.)
The critical points are the solutions of
(E1)fx=3x2+2xy+y29=0(E2)fy=x(x+2y)=0
Equation (E2) is satisfied if at least one of x=0, x=2y.
  • If x=0, equation (E1) reduces to y29=0, which is satisfied if y=±3.
  • If x=2y, equation (E1) reduces to
    0=3(2y)2+2(2y)y+y29=9y29
    which is satisfied if y=±1.
So there are four critical points: (0,3), (0,3), (2,1) and (2,1). The classification is
criticalpoint fxxfyyfxy2 fxx type
(0,3) (6)×(0)(6)2<0 saddle point
(0,3) (6)×(0)(6)2<0 saddle point
(2,1) (10)×(4)(2)2>0 10 local max
(2,1) (10)×(4)(2)2>0 10 local min

2.9.4.8. (✳).

Solution.
The region of interest is
D={ (x,y,z) | x0, y0, z0, 2x+y+z=5 }
First observe that, on the boundary of this region, at least one of x, y and z is zero. So f(x,y,z)=x2y2z is zero on the boundary. As f takes values which are strictly bigger than zero at all points of D that are not on the boundary, the minimum value of f is 0 on
D={ (x,y,z) | x0, y0, z0, 2x+y+z=5,at least one of x,y,z zero }
The maximum value of f will be taken at a critical point. On D
f=x2y2(52xy)=5x2y22x3y2x2y3
So the critical points are the solutions of
0=fx(x,y)=10xy26x2y22xy30=fy(x,y)=10x2y4x3y3x2y2
or, dividing by the first equation by xy2 and the second equation by x2y, (recall that x,y0)
106x2y=0or3x+y=5104x3y=0or4x+3y=10
Substituting y=53x, from the first equation, into the second equation gives
4x+3(53x)=105x+15=10x=1, y=53(1)=2
So the maximum value of f is (1)2(2)2(522)=4 at (1,2,1).

2.9.4.9.

Solution.
To find the critical points we will need the gradient of f, and to apply the second derivative test of Theorem 2.9.16 we will need all second order partial derivatives. So we need all partial derivatives of f up to order two. Here they are.
f=x2+y2+x2y+4fx=2x+2xyfxx=2+2yfxy=2xfy=2y+x2fyy=2
The critical points are the solutions of
fx=0fy=02x(1+y)=02y+x2=0x=0 or y=12y+x2=0
When x=0, y must be 0. When y=1, x2 must be 2. So, there are three critical points: (0,0), (±2,1).
The classification is
criticalpoint fxxfyyfxy2 fxx type
(0,0) 2×202>0 2>0 local min
(2,1) 0×2(22)2<0 saddle point
(2,1) 0×2(22)2<0 saddle point

2.9.4.10. (✳).

Solution.
To find the critical points we will need the gradient of f, and to apply the second derivative test of Theorem 2.9.16 we will need all second order partial derivatives. So we need all partial derivatives of f up to order two. Here they are.
f=x3+x22xy+y2xfx=3x2+2x2y1fxx=6x+2fxy=2fy=2x+2yfyy=2fyx=2
(Of course, fxy and fyx have to be the same. It is still useful to compute both, as a way to catch some mechanical errors.)
The critical points are the solutions of
(E1)fx=3x2+2x2y1=0(E2)fy=2x+2y=0
Substituting y=x, from (E2), into (E1) gives
3x21=0x=±13=0
So there are two critical points: ±(13,13).
The classification is
criticalpoint fxxfyyfxy2 fxx type
(13,13) (23+2)×(2)(2)2>0 23+2>0 local min
(13,13) (23+2)×(2)(2)2<0 saddle point

2.9.4.11. (✳).

Solution.
To find the critical points we will need the gradient of f and to apply the second derivative test of Theorem 2.9.16 we will need all second order partial derivatives. So we need all partial derivatives of f up to order two. Here they are.
f=x3+xy23x24y2+4fx=3x2+y26xfxx=6x6fxy=2yfy=2xy8yfyy=2x8fyx=2y
(Of course, fxy and fyx have to be the same. It is still useful to compute both, as a way to catch some mechanical errors.)
The critical points are the solutions of
fx=3x2+y26x=0fy=2(x4)y=0
The second equation is satisfied if at least one of x=4, y=0 are satisfied.
  • If x=4, the first equation reduces to y2=24, which has no real solutions.
  • If y=0, the first equation reduces to 3x(x2)=0, which is satisfied if either x=0 or x=2.
So there are two critical points: (0,0), (2,0).
The classification is
criticalpoint fxxfyyfxy2 fxx type
(0,0) (6)×(8)(0)2>0 6 local max
(2,0) 6×(4)(0)2<0 saddle point

2.9.4.12.

Solution.
The specified function and its first order derivatives are
f(x,y)=xyx3y2fx(x,y)=y3x2y2fy(x,y)=x2x3y
  • First, we find the critical points.
    fx=0y(13x2y)=0y=0 or 3x2y=1fy=0x(12x2y)=0x=0 or 2x2y=1
    • If y=0, we cannot have 2x2y=1, so we must have x=0.
    • If 3x2y=1, we cannot have x=0, so we must have 2x2y=1. Dividing gives 1=3x2y2x2y=32 which is impossible.
    So the only critical point in the square is (0,0). There f=0.
  • Next, we look at the part of the boundary with x=0. There f=0.
  • Next, we look at the part of the boundary with y=0. There f=0.
  • Next, we look at the part of the boundary with x=1. There f=yy2. As ddy(yy2)=12y, the max and min of yy2 for 0y1 must occur either at y=0, where f=0, or at y=12, where f=14, or at y=1, where f=0.
  • Next, we look at the part of the boundary with y=1. There f=xx3. As ddx(xx3)=13x2, the max and min of xx3 for 0x1 must occur either at x=0, where f=0, or at x=13, where f=233, or at x=1, where f=0.
All together, we have the following candidates for max and min.
point (0,0) x=0 y=0 (1,0) (1,12) (1,1) (0,1) (13,1) (1,1)
value of f 0 0 0 0 14 0 0 233 0
min min min min min min max min
The largest and smallest values of f in this table are
min=0max=2330.385

2.9.4.13.

Solution.
The specified temperature and its first order derivatives are
T(x,y)=(x+y)ex2y2Tx(x,y)=(12x22xy)ex2y2Ty(x,y)=(12xy2y2)ex2y2
  • First, we find the critical points.
    Tx=02x(x+y)=1Ty=02y(x+y)=1
    As x+y may not vanish, this forces x=y and then x=y=±12. So the only critical points are (12,12) and (12,12).
  • On the boundary x=cosθ and y=sinθ, so T=(cosθ+sinθ)e1. This is a periodic function and so takes its max and min at zeroes of dTdθ=(sinθ+cosθ)e1. That is, when sinθ=cosθ, which forces sinθ=cosθ=±12.
All together, we have the following candidates for max and min.
point (12,12) (12,12) (12,12) (12,12)
value of T 1e0.61 1e 2e0.52 2e
max min
The largest and smallest values of T in this table are
min=1emax=1e

2.9.4.14. (✳).

Solution.
Both of the functions f(x,y)=x2+y2 (i.e. (ii)) and f(x,y)=x2+y2 (i.e. (iv)) are invariant under rotations around the (0,0). So their level curves are circles centred on the origin. In polar coordinates x2+y2 is r. So the sketched level curves of the function in (ii) are r=0,0.1,0.2,,1.9,2. They are equally spaced. So at this point, we know that the third picture goes with (iv) and the fourth picture goes with (ii).
Notice that the lines x=y, x=y and y=0 are all level curves of the function f(x,y)=y(x+y)(xy)+1 (i.e. of (iii)) with f=1. So the first picture goes with (iii). And the second picture goes with (i).
Here are the pictures with critical points marked on them. There are saddle points where level curves cross and there are local max’s or min’s at “bull’s eyes”.
(i)
(ii)
(iii)
(iv)

2.9.4.15. (✳).

Solution.
To find the critical points we will need the gradient of f, and to apply the second derivative test of Theorem 2.9.16 we will need all second order partial derivatives. So we need all partial derivatives of f up to order two. Here they are.
f=x3+3xy+3y26x3y6fx=3x2+3y6fxx=6xfxy=3fy=3x+6y3fyy=6fyx=3
(Of course, fxy and fyx have to be the same. It is still useful to compute both, as a way to catch some mechanical errors.)
The critical points are the solutions of
(E1)fx=3x2+3y6=0(E2)fy=3x +6y3=0
Subtracting equation (E2) from twice equation (E1) gives
6x23x9=0(2x3)(3x+3)=0
So we must have either x=32 or x=1.
  • If x=32, (E2) reduces to 92+6y3=0 so y=14.
  • If x=1, (E2) reduces to 3+6y3=0 so y=1.
So there are two critical points: (32,14) and (1,1).
The classification is
criticalpoint fxxfyyfxy2 fxx type
(32,14) (9)×(6)(3)2>0 9 local min
(1,1) (6)×(6)(3)2<0 saddle point

2.9.4.16. (✳).

Solution.
(a) To find the critical points we will need the gradient of h and to apply the second derivative test of Theorem 2.9.16 we will need all second order partial derivatives. So we need all partial derivatives of f up to order two. Here they are.
h=y(4x2y2)hx=2xyhxx=2yhxy=2xhy=4x23y2hyy=6yhyx=2x
(Of course, hxy and hyx have to be the same. It is still useful to compute both, as a way to catch some mechanical errors.)
The critical points are the solutions of
hx=2xy=0hy=4x23y2=0
The first equation is satisfied if at least one of x=0, y=0 are satisfied.
  • If x=0, the second equation reduces to 43y2=0, which is satisfied if y=±23.
  • If y=0, the second equation reduces to 4x2=0 which is satisfied if x=±2.
So there are four critical points: (0,23), (0,23), (2,0), (2,0).
The classification is
criticalpoint hxxhyyhxy2 hxx type
(0,23) (43)×(123)(0)2>0 43 local max
(0,23) (43)×(123)(0)2>0 43 local min
(2,0) 0×0(4)2<0 saddle point
(2,0) 0×0(4)2<0 saddle point
(b) The absolute max and min can occur either in the interior of the disk or on the boundary of the disk. The boundary of the disk is the circle x2+y2=1.
  • Any absolute max or min in the interior of the disk must also be a local max or min and, since there are no singular points, must also be a critical point of h. We found all of the critical points of h in part (a). Since 2>1 and 23>1 none of the critical points are in the disk.
  • At each point of x2+y2=1 we have h(x,y)=3y with 1y1. Clearly the maximum value is 3 (at (0,1)) and the minimum value is 3 (at (0,1)).
So all together, the maximum and minimum values of h(x,y) in x2+y21 are 3 (at (0,1)) and 3 (at (0,1)), respectively.

2.9.4.17. (✳).

Solution.
The maximum and minimum must either occur at a critical point or on the boundary of R.
  • The critical points are the solutions of
    0=fx(x,y)=22x0=fy(x,y)=8y
    So the only critical point is (1,0).
  • On the side x=1, 1y1 of the boundary of R
    f(1,y)=24y2
    This function decreases as |y| increases. So its maximum value on 1y1 is achieved at y=0 and its minimum value is achieved at y=±1.
  • On the side x=3, 1y1 of the boundary of R
    f(3,y)=24y2
    This function decreases as |y| increases. So its maximum value on 1y1 is achieved at y=0 and its minimum value is achieved at y=±1.
  • On both sides y=±1, 1x3 of the boundary of R
    f(x,±1)=1+2xx2=2(x1)2
    This function decreases as |x1| increases. So its maximum value on 1x3 is achieved at x=1 and its minimum value is achieved at x=3 and x=1 (both of whom are a distance 2 from x=1).
So we have the following candidates for the locations of the min and max
point (1,0) (1,0) (1,±1) (1,±1) (3,0) (3,±1)
value of f 6 2 2 2 2 2
max min min
So the minimum is 2 and the maximum is 6.

2.9.4.18. (✳).

Solution.
Since h=4,2 is never zero, h has no critical points and the minimum of h on the disk x2+y21 must be taken on the boundary, x2+y2=1, of the disk. To find the minimum on the boundary, we parametrize x2+y21 by x=cosθ, y=sinθ and find the minimum of
H(θ)=4cosθ2sinθ+6
Since
0=H(θ)=4sinθ2cosθx=cosθ=2sinθ=2y
So
1=x2+y2=4y2+y2=5y2y=±15, x=±25
At these two points
h=64x2y=610y=6105=625
The minimum is 625.

2.9.4.19. (✳).

Solution.
(a) Thinking a little way ahead, to find the critical points we will need the gradient of f and to apply the second derivative test of Theorem 2.9.16 we will need all second order partial derivatives. So we need all partial derivatives of f up to order two. Here they are.
f=xy(x+y3)fx=2xy+y23yfxx=2yfxy=2x+2y3fy=x2+2xy3xfyy=2xfyx=2x+2y3
(Of course, fxy and fyx have to be the same. It is still useful to compute both, as a way to catch some mechanical errors.)
The critical points are the solutions of
fx=y(2x+y3)=0fy=x(x+2y3)=0
The first equation is satisfied if at least one of y=0, y=32x are satisfied.
  • If y=0, the second equation reduces to x(x3)=0, which is satisfied if either x=0 or x=3.
  • If y=32x, the second equation reduces to x(x+64x3)=x(33x)=0 which is satisfied if x=0 or x=1.
So there are four critical points: (0,0), (3,0), (0,3), (1,1).
The classification is
criticalpoint fxxfyyfxy2 fxx type
(0,0) 0×0(3)2<0 saddle point
(3,0) 0×6(3)2<0 saddle point
(0,3) 6×0(3)2<0 saddle point
(1,1) 2×2(1)2>0 2 local min
(b) The absolute max and min can occur either in the interior of the triangle or on the boundary of the triangle. The boundary of the triangle consists of the three line segments.
L1={ (x,y) | x=0, 0y8 }L2={ (x,y) | y=0, 0x8 }L3={ (x,y) | x+y=8, 0x8 }
  • Any absolute max or min in the interior of the triangle must also be a local max or min and, since there are no singular points, must also be a critical point of f. We found all of the critical points of f in part (a). Only one of them, namely (1,1) is in the interior of the triangle. (The other three critical points are all on the boundary of the triangle.) We have f(1,1)=1.
  • At each point of L1 we have x=0 and so f(x,y)=0.
  • At each point of L2 we have y=0 and so f(x,y)=0.
  • At each point of L3 we have f(x,y)=x(8x)(5)=40x5x2=5[8xx2] with 0x8. As ddx(40x5x2)=4010x, the max and min of 40x5x2 on 0x8 must be one of 5[8xx2]x=0=0 or 5[8xx2]x=8=0 or 5[8xx2]x=4=80.
So all together, we have the following candidates for max and min, with the max and min indicated.
point(s) (1,1) L1 L2 (0,8) (8,0) (4,4)
value of f 1 0 0 0 0 80
min max

2.9.4.20. (✳).

Solution.
Thinking a little way ahead, to find the critical points we will need the gradient of f, and to apply the second derivative test of Theorem 2.9.16 we will need all second order partial derivatives. So we need all partial derivatives of f up to order two. Here they are.
f=3x2y+y33x23y2+4fx=6xy6xfxx=6y6fxy=6xfy=3x2+3y26yfyy=6y6fyx=6x
(Of course, fxy and fyx have to be the same. It is still useful to compute both, as a way to catch some mechanical errors.)
The critical points are the solutions of
fx=6x(y1)=0fy=3x2+3y26y=0
The first equation is satisfied if at least one of x=0, y=1 are satisfied.
  • If x=0, the second equation reduces to 3y26y=0, which is satisfied if either y=0 or y=2.
  • If y=1, the second equation reduces to 3x23=0 which is satisfied if x=±1.
So there are four critical points: (0,0), (0,2), (1,1), (1,1).
The classification is
criticalpoint fxxfyyfxy2 fxx type
(0,0) (6)×(6)(0)2>0 6 local max
(0,2) 6×6(0)2>0 6 local min
(1,1) 0×0(6)2<0 saddle point
(1,1) 0×0(6)2<0 saddle point

2.9.4.21. (✳).

Solution.
(a) Since
f=2x36xy+y2+4yfx=6x26yfxx=12xfxy=6fy=6x+2y+4fyy=2
the critical points are the solutions of
fx=0fy=0y=x2y3x+2=0y=x2x23x+2=0y=x2x=1 or 2
So, there are two critical points: (1,1), (2,4).
criticalpoint fxxfyyfxy2 fxx type
(1,1) 12×2(6)2<0 saddle point
(2,4) 24×2(6)2>0 24 local min
(b) There are no critical points in the interior of the allowed region, so both the maximum and the minimum occur only on the boundary. The boundary consists of the line segments (i) x=1, 0y1, (ii) y=1, 0x1 and (iii) y=1x, 0x1.
  • First, we look at the part of the boundary with x=1. There f=y22y+2. As ddy(y22y+2)=2y2 vanishes only at y=1, the max and min of y22y+2 for 0y1 must occur either at y=0, where f=2, or at y=1, where f=1.
  • Next, we look at the part of the boundary with y=1. There f=2x36x+5. As ddx(2x36x+5)=6x26, the max and min of 2x36x+5 for 0x1 must occur either at x=0, where f=5, or at x=1, where f=1.
  • Next, we look at the part of the boundary with y=1x. There
    f=2x36x(1x)+(1x)2+4(1x)=2x3+7x212x+5
    As
    ddx(2x3+7x212x+5)=6x2+14x12=2(3x2+7x6)=2(3x2)(x+3)
    the max and min of 2x3+7x212x+5 for 0x1 must occur either at x=0, where f=5, or at x=1, where f=2, or at x=23, where
    f=2(827)6(23)(13)+19+43=1636+3+3627=1927
So all together, we have the following candidates for max and min, with the max and min indicated.
point (1,0) (1,1) (0,1) (23,13)
value of f 2 1 5 1927
max min

2.9.4.22. (✳).

Solution.
We have
f(x,y)=x4+y44xy+2fx(x,y)=4x34yfxx(x,y)=12x2fy(x,y)=4y34xfyy(x,y)=12y2fxy(x,y)=4
At a critical point
fx(x,y)=fy(x,y)=0y=x3 and x=y3x=x9 and y=x3x(x81)=0, y=x3(x,y)=(0,0) or (1,1) or (1,1)
Here is a table giving the classification of each of the three critical points.
criticalpoint fxxfyyfxy2 fxx type
(0,0) 0×0(4)2<0 saddle point
(1,1) 12×12(4)2>0 12 local min
(1,1) 12×12(4)2>0 12 local min

2.9.4.23. (✳).

Solution.
(a) We have
f(x,y)=xy(x+2y6)fx(x,y)=2xy+2y26yfxx(x,y)=2yfy(x,y)=x2+4xy6xfyy(x,y)=4xfxy(x,y)=2x+4y6
At a critical point
fx(x,y)=fy(x,y)=02y(x+y3)=0 and x(x+4y6)=0{y=0 or x+y=3} and {x=0 or x+4y=6}{x=y=0} or {y=0, x+4y=6} or {x+y=3, x=0} or {x+y=3, x+4y=6}(x,y)=(0,0) or (6,0) or (0,3) or (2,1)
Here is a table giving the classification of each of the four critical points.
criticalpoint fxxfyyfxy2 fxx type
(0,0) 0×0(6)2<0 saddle point
(6,0) 0×2462<0 saddle point
(0,3) 6×062<0 saddle point
(2,1) 2×822>0 2 local min
(b) Observe that xy=4 and x+2y=6 intersect when x=62y and
(62y)y=42y26y+4=02(y1)(y2)=0(x,y)=(4,1) or (2,2)
The shaded region in the sketch below is D.
None of the critical points are in D. So the max and min must occur at either (2,2) or (4,1) or on xy=4, 2<x<4 (in which case F(x)=f(x,4x)=4(x+8x6) obeys F(x)=432x2=0x=±22) or on x+2y=6, 2<x<4 (in which case f(x,y) is identically zero). So the min and max must occur at one of
(x,y) f(x,y)
(2,2) 2×2(2+2×26)=0
(4,1) 4×1(4+2×16)=0
(22,2) 4(22+226)<0
The maximum value is 0 and the minimum value is 4(426)1.37.

2.9.4.24. (✳).

Solution.
We have
f(x,y)=x4+y44xyfx(x,y)=4x34yfxx(x,y)=12x2fy(x,y)=4y34xfyy(x,y)=12y2fxy(x,y)=4
At a critical point
fx(x,y)=fy(x,y)=0y=x3 and x=y3x=x9 and y=x3x(x81)=0, y=x3(x,y)=(0,0) or (1,1) or (1,1)
Here is a table giving the classification of each of the three critical points.
criticalpoint fxxfyyfxy2 fxx type
(0,0) 0×0(4)2<0 saddle point
(1,1) 12×12(4)2>0 12 local min
(1,1) 12×12(4)2>0 12 local min

2.9.4.25. (✳).

Solution.
The coldest point must be either on the boundary of the plate or in the interior of the plate.
  • On the semi--circular part of the boundary 0y2 and x2+y2=4 so that T=ln(1+x2+y2)y=ln5y. The smallest value of ln5y is taken when y is as large as possible, i.e. when y=2, and is ln520.391.
  • On the flat part of the boundary, y=0 and 2x2 so that T=ln(1+x2+y2)y=ln(1+x2). The smallest value of ln(1+x2) is taken when x is as small as possible, i.e. when x=0, and is 0.
  • If the coldest point is in the interior of the plate, it must be at a critical point of T(x,y). Since
    Tx(x,y)=2x1+x2+y2Ty(x,y)=2y1+x2+y21
    a critical point must have x=0 and 2y1+x2+y21=0, which is the case if and only if x=0 and 2y1y2=0. So the only critical point is x=0, y=1, where T=ln210.307.
Since 0.391<0.307<0, the coldest temperture is 0.391 and the coldest point is (0,2).

2.9.4.26. (✳).

Solution.
We have
f(x,y)=x3+xy2xfx(x,y)=3x2+y21fxx(x,y)=6xfy(x,y)=2xyfyy(x,y)=2xfxy(x,y)=2y
At a critical point
fx(x,y)=fy(x,y)=0xy=0 and 3x2+y2=1{x=0 or y=0} and 3x2+y2=1(x,y)=(0,1) or (0,1) or (13,0) or (13,0)
Here is a table giving the classification of each of the four critical points.
criticalpoint fxxfyyfxy2 fxx type
(0,1) 0×022<0 saddle point
(0,1) 0×0(2)2<0 saddle point
(13,0) 23×2302>0 23 local min
(13,0) 23×(23)02>0 23 local max

2.9.4.27. (✳).

Solution.
(a) We have
g(x,y)=x210yy2gx(x,y)=2xgxx(x,y)=2gy(x,y)=102ygyy(x,y)=2gxy(x,y)=0
At a critical point
gx(x,y)=gy(x,y)=02x=0 and 102y=0(x,y)=(0,5)
Since gxx(0,5)gyy(0,5)gxy(0,5)2=2×(2)02<0, the critical point is a saddle point.
(b) The extrema must be either on the boundary of the region or in the interior of the region.
  • On the semi-elliptical part of the boundary 2y0 and x2+4y2=16 so that g=x210yy2=1610y5y2=215(y+1)2. This has a minimum value of 16 (at y=0,2) and a maximum value of 21 (at y=1). You could also come to this conclusion by checking the critical point of 1610y5y2 (i.e. solving ddy(1610y5y2)=0) and checking the end points of the allowed interval (namely y=0 and y=2).
  • On the flat part of the boundary y=0 and 4x4 so that g=x2. The smallest value is taken when x=0 and is 0 and the largest value is taken when x=±4 and is 16.
  • If an extremum is in the interior of the plate, it must be at a critical point of g(x,y). The only critical point is not in the prescribed region.
Here is a table giving all candidates for extrema:
(x,y) g(x,y)
(0,2) 16
(±4,0) 16
(±12,1) 21
(0,0) 0
From the table the smallest value of g is 0 at (0,0) and the largest value is 21 at (±23,1).

2.9.4.28. (✳).

Solution.
We have
f(x,y)=x33xy23x23y2fx(x,y)=3x23y26xfxx(x,y)=6x6fy(x,y)=6xy6yfyy(x,y)=6x6fxy(x,y)=6y
At a critical point
fx(x,y)=fy(x,y)=03(x2y22x)=0 and 6y(x+1)=0{x=1 or y=0} and x2y22x=0(x,y)=(1,3) or (1,3) or (0,0) or (2,0)
Here is a table giving the classification of each of the four critical points.
criticalpoint fxxfyyfxy2 fxx type
(0,0) (6)×(6)02>0 6 local max
(2,0) 6×(18)02<0 saddle point
(1,3) (12)×0(63)2<0 saddle point
(1,3) (12)×0(63)2<0 saddle point

2.9.4.29. (✳).

Solution.
The maximum must be either on the boundary of D or in the interior of D.
  • On the circular part of the boundary r=2, 0θπ2 (in polar coordinates) so that f=r2cosθsinθer2/2=2sin(2θ)e2. This has a maximum value of 2e2 at θ=π4 or x=y=2.
  • On the two flat parts of the boundary x=0 or y=0 so that f=0.
  • If the maximum is in the interior of D, it must be at a critical point of f(x,y). Since
    fx(x,y)=e(x2+y2)/2[yx2y]fy(x,y)=e(x2+y2)/2[xxy2]
    (x,y) is a critical point if and only if
    y(1x2)=0 and x(1y2)=0{y=0 or x=1 or x=1} and {x=0 or y=1 or y=1}
    There are two critical points with x,y0, namely (0,0) and (1,1). The first of these is on the boundary of D and the second is in the interior of D.
Here is a table giving all candidates for the maximum:
(x,y) g(x,y)
(2,2) 2e20.271
(x,0) 0
(0,y) 0
(1,1) e10.368
Since e>2, we have that 2e2=e12e<e1 and the largest value is e1.

2.9.4.30.

Solution.
Suppose that the bends are made a distance x from the ends of the fence and that the bends are through an angle θ. Here is a sketch of the enclosure.
It consists of a rectangle, with side lengths 1002x and xsinθ, together with two triangles, each of height xsinθ and base length xcosθ. So the enclosure has area
A(x,θ)=(1002x)xsinθ+212xsinθxcosθ=(100x2x2)sinθ+12x2sin(2θ)
The maximize the area, we need to solve
0=Ax=(1004x)sinθ+xsin(2θ)(1004x)+2xcosθ=00=Aθ=(100x2x2)cosθ+x2cos(2θ)(1002x)cosθ+xcos(2θ)=0
Here we have used that the fence of maximum area cannot have sinθ=0 or x=0, because in either of these two cases, the area enclosed will be zero. The first equation forces cosθ=1004x2x and hence cos(2θ)=2cos2θ1=(1004x)22x21. Substituting these into the second equation gives
(1002x)1004x2x+x[(1004x)22x21]=0(1002x)(1004x)+(1004x)22x2=06x2200x=0x=1003cosθ=100/3200/3=12θ=60A=(10010032100232)32+1210023232=25003

2.9.4.31.

Solution.
Suppose that the box has side lengths x, y and z. Here is a sketch.
Because the box has to have volume V we need that V=xyz. We wish to minimize the area A=xy+2yz+2xz of the four sides and bottom. Substituting in z=Vxy,
A=xy+2Vx+2VyAx=y2Vx2Ay=x2Vy2
To minimize, we want Ax=Ay=0, which is the case when yx2=2V, xy2=2V. This forces yx2=xy2. Since V=xyz is nonzero, neither x nor y may be zero. So x=y=(2V)1/3, z=22/3V1/3.

2.9.4.32. (✳).

Solution.
(a) The maximum and minimum can occur either in the interior of the disk or on the boundary of the disk. The boundary of the disk is the circle x2+y2=4.
  • Any absolute max or min in the interior of the disk must also be a local max or min and, since there are no singular points, must also be a critical point of h. Since Tx=8x and Ty=2y, the only critical point is (x,y)=(0,0), where T=20. Since 4x2+y20, we have T(x,y)=204x2y220. So the maximum value of T (even in R2) is 20.
  • At each point of x2+y2=4 we have T(x,y)=204x2y2=204x2(4x2)=163x2 with 2x2. So T is a minimum when x2 is a maximum. Thus the minimum value of T on the disk is 163(±2)2=4.
So all together, the maximum and minimum values of T(x,y) in x2+y24 are 20 (at (0,0)) and 4 (at (±2,0)), respectively.
(b) To increase its temperature as quickly as possible, the ant should move in the direction of the temperature gradient T(1,1)=8x,2y|(x,y)=(1,1)=8,2. A unit vector in that direction is 1174,1.
(c) The ant’s rate f increase of temperature (per unit time) is
T(1,1)2,1=8,22,1=18
(d) We are being asked to find the (x,y)=(x,2x2) which maximizes
T(x,2x2)=204x2(2x2)2=16x4
The maximum of 16x4 is obviously 16 at x=0. So the ant should go to (0,202)=(0,2).

2.9.4.33. (✳).

Solution.
To find the critical points we will need the gradient of f and to apply the second derivative test of Theorem 2.9.16 we will need all second order partial derivatives. So we need all partial derivatives of f up to order two. Here they are.
f=3kx2y+y33x23y2+4fx=6kxy6xfxx=6ky6fxy=6kxfy=3kx2+3y26yfyy=6y6fyx=6kx
(Of course, fxy and fyx have to be the same. It is still useful to compute both, as a way to catch some mechanical errors.)
The critical points are the solutions of
fx=6x(ky1)=0fy=3kx2+3y26y=0
The first equation is satisfied if at least one of x=0, y=1k are satisfied. (Recall that k>0.)
  • If x=0, the second equation reduces to 3y(y2)=0, which is satisfied if either y=0 or y=2.
  • If y=1k, the second equation reduces to 3kx2+3k26k=3kx2+3k2(12k)=0.
Case k<12: If k<12, then 3k2(12k)>0 and the equation 3kx2+3k2(12k)=0 has no real solutions. In this case there are two critical points: (0,0), (0,2) and the classification is
criticalpoint fxxfyyfxy2 fxx type
(0,0) (6)×(6)(0)2>0 6 local max
(0,2) (12k6)×6(0)2<0 saddle point
Case k=12: If k=12, then 3k2(12k)=0 and the equation 3kx2+3k2(12k)=0 reduces to 3kx2=0 which has as its only solution x=0. We have already seen this third critical point, x=0, y=1k=2. So there are again two critical points: (0,0), (0,2) and the classification is
criticalpoint fxxfyyfxy2 fxx type
(0,0) (6)×(6)(0)2>0 6 local max
(0,2) (12k6)×6(0)2=0 unknown
Case k>12: If k>12, then 3k2(12k)<0 and the equation 3kx2+3k2(12k)=0 reduces to 3kx2=3k2(2k1) which has two solutions, namely x=±1k3(2k1). So there are four critical points: (0,0), (0,2), (1k3(2k1),1k) and (1k3(2k1),1k) and the classification is
criticalpoint fxxfyyfxy2 fxx type
(0,0) (6)×(6)(0)2>0 6 local max
(0,2) (12k6)×6(0)2>0 12k6>0 local min
(1k3(2k1),1k) (66)×(6k6)(>0)2<0 saddle point
(1k3(2k1),1k) (66)×(6k6)(<0)2<0 saddle point

2.9.4.34. (✳).

Solution.
(a) For x,y>0,
fx=21x2y=0y=12x2fy=41xy2=0
Substituting y=12x2, from the first equation, into the second gives 44x3=0 which forces x=1, y=12. At x=1, y=12,
f(1,12)=2+2+2=6
(b) The second derivatives are
fxx(x,y)=2x3yfxy(x,y)=1x2y2fyy(x,y)=2xy3
In particular
fxx(1,12)=4fxy(1,12)=4fyy(1,12)=16
Since fxx(1,12)fyy(1,12)fxy(1,12)2=4×1642=48>0 and fxx(1,12)=4>0, the point (1,12) is a local minimum.
(c) As x or y tends to infinity (with the other at least zero), 2x+4y tends to +. As (x,y) tends to any point on the first quadrant part of the x- and y--axes, 1xy tends to +. Hence as x or y tends to the boundary of the first quadrant (counting infinity as part of the boundary), f(x,y) tends to +. As a result (1,12) is a global (and not just local) minimum for f in the first quadrant. Hence f(x,y)f(1,12)=6 for all x,y>0.

2.9.4.35.

Solution.
We wish to choose m and b so as to minimize the (square of the) rms error E(m,b)=i=1n(mxi+byi)2.
0=Em=i=1n2(mxi+byi)xi=m[i=1n2xi2]+b[i=1n2xi][i=1n2xiyi]0=Eb=i=1n2(mxi+byi)=m[i=1n2xi]+b[i=1n2][i=1n2yi]
There are a lot of symbols in those two equations. But remember that only two of them, namely m and b, are unknowns. All of the xi’s and yi’s are given data. We can make the equations look a lot less imposing if we define Sx=i=1nxi, Sy=i=1nyi, Sx2=i=1nxi2 and Sxy=i=1nxiyi. In terms of this notation, the two equations are (after dividing by two)
(1)Sx2m+Sxb=Sxy(2)Sxm+nb=Sy
This is a system of two linear equations in two unknowns. One way
 25 
This procedure is probably not the most efficient one. But it has the advantage that it always works, it does not require any ingenuity on the part of the solver, and it generalizes easily to larger linear systems of equations.
to solve them, is to use one of the two equations to solve for one of the two unknowns in terms of the other unknown. For example, equation (2) gives that
b=1n(SySxm)
If we now substitute this into equation (1) we get
Sx2m+Sxn(SySxm)=Sxy(Sx2Sx2n)m=SxySxSyn
which is a single equation in the single unkown m. We can easily solve it for m. It tells us that
m=nSxySxSynSx2Sx2
Then substituting this back into b=1n(SySxm) gives us
b=SynSxn(nSxySxSynSx2Sx2)=SySx2SxSxynSx2Sx2

2.10 Lagrange Multipliers
2.10.2 Exercises

2.10.2.1. (✳).

Solution.
(a) f(x,y)=x2+y2 is the square of the distance from the point (x,y) to the origin. There are points on the curve xy=1 that have either x or y arbitrarily large and so whose distance from the origin is arbitrarily large. So f has no maximum on the curve. On the other hand f will have a minimum, achieved at the points of xy=1 that are closest to the origin.
(b) On the curve xy=1 we have y=1x and hence f=x2+1x2. As
ddx(x2+1x2)=2x2x3=2x3(x41)
and as no point of the curve has x=0, the minimum is achieved when x=±1. So the minima are at ±(1,1), where f takes the value 2.

2.10.2.2.

Solution.
(a) As you leave (x0,y0,z0) walking in the direction d0, f has to be decreasing, or at least not increasing, because f takes its largest value on S at (x0,y0,z0). So the directional derivative
(E1)Dd/|d|f(x0,y0,z0)=f(x0,y0,z0)d|d|0
As you leave (x0,y0,z0) walking in the direction d0, f also has to be decreasing, or at least not increasing, because f still takes its largest value on S at (x0,y0,z0). So the directional derivative
(E2)Dd/|d|f(x0,y0,z0)=f(x0,y0,z0)d|d|0
(E1) and (E2) can both be true only if the directional derivative
Dd/|d|f(x0,y0,z0)=f(x0,y0,z0)d|d|=0
(b) By Definition 2.7.5, the directional derivative is
Dd/|d|f(x0,y0,z0)=f(x0,y0,z0)d|d|
  • As (x0,y0,z0) is a local maximum for f on S, the method of Lagrange multipliers, Theorem 2.10.2, gives that f(x0,y0,z0)=λg(x0,y0,z0) for some λ.
  • By Theorem 2.5.5, the vector g(x0,y0,z0) is perpendicular to the surface S at (x0,y0,z0), and, in particular, is perpendicular to the vector d, which after all is tangent to the surface S at (x0,y0,z0).
So g(x0,y0,z0)d=0 and the directional derivative
Dd/|d|f(x0,y0,z0)=f(x0,y0,z0)d|d|=0

2.10.2.3.

Solution.
We are to find the maximum and minimum of f(x,y,z)=x+yz subject to the constraint g(x,y,z)=x2+y2+z21=0. According to the method of Lagrange multipliers, we need to find all solutions to
(E1)fx=1=2λx=λgx  x=12λ(E2)fy=1=2λy=λgy  y=12λ(E3)fz=1=2λz=λgz  z=12λ(E4)x2+y2+z2=1  3(12λ)2=1  λ=±32
Thus the critical points are (13,13,13), where f=3 and (13,13,13), where f=3. So, the max is f=3 and the min is f=3.

2.10.2.4.

Solution.
The ellipsoid x2a2+y2b2+z2c2=1 passes through the point (1,2,1) if and only if 1a2+4b2+1c2=1. We are to minimize f(a,b,c)=43πabc subject to the constraint that g(a,b,c)=1a2+4b2+1c21=0. According to the method of Lagrange multipliers, we need to find all solutions to
(E1)fa=43πbc=2λa3=λga32πλ=a3bc(E2)fb=43πac=8λb3=λgb32πλ=14ab3c(E3)fc=43πab=2λc3=λgc32πλ=abc3(E4)1a2+4b2+1c2=1
The equations 32πλ=a3bc=14ab3c force b=2a (since we want a,b,c>0). The equations 32πλ=a3bc=abc3 force a=c. Hence, by (E4),
1=1a2+4b2+1c2=3a2a=c=3, b=23

2.10.2.5. (✳).

Solution.
So we are to minimize f(x,y)=x2+y2 subject to the constraint g(x,y)=x2y1=0. According to the method of Lagrange multipliers, we need to find all solutions to
(E1)fx=2x=2λxy=λgx(E2)fy=2y=λx2=λgy(E3)x2y=1
  • Equation (E1), 2x(1λy)=0, gives that either x=0 or λy=1.
  • But substituting x=0 in (E3) gives 0=1, which is impossible.
  • Also note that λ=0 is impossible, since substituting λ=0 in (E1) and (E2) gives x=y=0, which violates (E3).
  • So y=1λ.
  • Substituting y=1λ into (E2) gives 2λ=λx2 or x2=2λ2. So x=±2λ.
  • Substituting y=1λ, x=±2λ into (E3) gives 2λ3=1 or λ3=2 or λ=23.
  • λ=21/3 gives x=±21213=±216 and y=213.
So the two critical points are (216,213) and (216,213). For both of these critical points,
x2+y2=213+223=213+12213=3223=343

2.10.2.6. (✳).

Solution.
Let r and h denote the radius and height, respectively, of the cylinder. We can always choose our coordinate system so that the axis of the cylinder is parallel to the z--axis.
  • If the axis of the cylinder does not lie exactly on the z--axis, we can enlarge the cylinder sideways. (See the first figure below. It shows the y=0 cross--section of the cylinder.) So we can assume that the axis of the cylinder lies on the z--axis
  • If the top and/or the bottom of the cylinder does not touch the sphere x2+y2+z2=1, we can enlarge the cylinder vertically. (See the second figure below.)
  • So we may assume that the cylinder is
    { (x,y,z) | x2+y2r2, h/2zh/2 }
    with r2+(h/2)2=1. See the third figure below.
So we are to maximize the volume, f(r,h)=πr2h, of the cylinder subject to the constraint g(r,h)=r2+h241=0. According to the method of Lagrange multipliers, we need to find all solutions to
(E1)fr=2πrh=2λr=λgr(E2)fh=πr2=λh2=λgh(E3)r2+h24=1
Equation (E1), 2r(πhλ)=0, gives that either r=0 or λ=πh. Clearly r=0 cannot give the maximum volume, so λ=πh. Substituting λ=πh into (E2) gives
πr2=12πh2r2=h22
Substituting r2=h22 into (E3) gives
h22+h24=1h2=43
Clearly both r and h have to be positive, so h=23 and r=23.

2.10.2.7. (✳).

Solution.
For this problem the objective function is f(x,y)=xy and the constraint function is g(x,y)=x2+2y21. To apply the method of Lagrange multipliers we need f and g. So we start by computing the first order derivatives of these functions.
fx=yfy=xgx=2xgy=4y
So, according to the method of Lagrange multipliers, we need to find all solutions to
(E1)y=λ(2x)(E2)x=λ(4y)(E3)x2+2y21=0
First observe that none of x, y, λ can be zero, because if at least one of them is zero, then (E1) and (E2) force x=y=0, which violates (E3). Dividing (E1) by (E2) gives yx=x2y so that x2=2y2 or x=±2y. Then (E3) gives
2y2+2y2=1y=±12
The method of Lagrange multipliers, Theorem 2.10.2, gives that the only possible locations of the maximum and minimum of the function f are (±12,±12). So the maximum and minimum values of f are 122 and 122, respectively.

2.10.2.8. (✳).

Solution.
This is a constrained optimization problem with the objective function being f(x,y)=x2+y2 and the constraint function being g(x,y)=x4+y41. By Theorem 2.10.2, any minimum or maximum (x,y) must obey the Lagrange multiplier equations
(E1)fx=2x=4λx3=λgx(E2)fy=2y=4λy3=λgy(E3)x4+y4=1
for some real number λ. By equation (E1), 2x(12λx2)=0, which is obeyed if and only if at least one of x=0, 2λx2=1 is obeyed. Similarly, by equation (E2), 2y(12λy2)=0, which is obeyed if and only if at least one of y=0, 2λy2=1 is obeyed.
  • If x=0, (E3) reduces to y4=1 or y=±1. At both (0,±1) we have f(0,±1)=1.
  • If y=0, (E3) reduces to x4=1 or x=±1. At both (±1,0) we have f(±1,0)=1.
  • If both x and y are nonzero, we have x2=12λ=y2. Then (E3) reduces to
    2x4=1
    so that x2=y2=12 and x=±21/4, y=±21/4. At all four of these points, we have f=2.
So the minimum value of f on x4+y4=1 is 1 and the maximum value of f on x4+y4=1 is 2.

2.10.2.9. (✳).

Solution.
The function f(x,y,z)=(x1)2+(y+2)2+(z1)2 gives the square of the distance from the point (x,y,z) to the point (1,2,1). So it suffices to find the (x,y,z) which minimizes f(x,y,z)=(x1)2+(y+2)2+(z1)2 subject to the constraint g(x,y,z)=z2+x2+y22y10=0. By Theorem 2.10.2, any local minimum or maximum (x,y,z) must obey the Lagrange multiplier equations
(E1)fx=2(x1)=2λx=λgx(E2)fy=2(y+2)=2λ(y1)=λgy(E3)fz=2(z1)=2λz=λgz(E4)z2+x2+y22y=10
for some real number λ. Now
(E1)x=11λ(E2)y=2+λ1λ(E3)z=11λ
(Note that λ cannot be 1, because if it were (E1) would reduce to 2=0.) Substituting these into (E4), and using that
y2=2+λ1λ22λ1λ=4λ1λ
gives
1(1λ)2+1(1λ)2+2+λ1λ 4λ1λ=102+(2+λ)(4λ)=10(1λ)211λ222λ=0λ=0 or λ=2
When λ=0, we have (x,y,z)=(1,2,1) (nasty!), which gives distance zero and so is certainly the closest point. When λ=2, we have (x,y,z)=(1,4,1), which does not give distance zero and so is certainly the farthest point.

2.10.2.10. (✳).

Solution.
We are to maximize and minimize f(x,y,z)=x2+y2120z2 subject to the constraints g(x,y,z)=x+2y+z10=0 and h(x,y,z)=x2+y2z=0. By Theorem 2.10.8, any local minimum or maximum (x,y,z) must obey the double Lagrange multiplier equations
(E1)fx=2x=λ+2μx=λgx+μhx(E2)fy=2y=2λ+2μy=λgy+μhy(E3)fz=z10=λμ=λgz+μhz(E4)x+2y+z=10(E5)x2+y2z=0
for some real numbers λ and μ.
Equation (E1) gives 2(1μ)x=λ and equation (E2) gives (1μ)y=λ. So
2(1μ)x=(1μ)y(1μ)(2xy)=0
So at least one of μ=1 and y=2x must be true.
  • If μ=1, equations (E1) and (E2) both reduce to λ=0 and then the remaining equations reduce to
    (E3)z10=1(E4)x+2y+z=10(E5)x2+y2z=0
    Then (E3) implies z=10, and (E4) in turn implies x+2y+10=10 so that x=2y. Finally, substituting z=10 and x=2y into (E5) gives
    4y2+y210=05y2=10y=±2
  • If y=2x, equations (E4) and (E5) reduce to
    (E4)5x+z=10(E5)5x2z=0
    Substituting z=5x2, from (E5), into (E4) gives
    5x2+5x10=0x2+x2=0(x+2)(x1)=0
    So we have either x=2, y=2x=4, z=5x2=20 or x=1, y=2x=2, z=5x2=5. (In both cases, we could now solve (E1) and (E3) for λ and μ, but we don’t care what the values of λ and μ are.)
So we have the following candidates for the locations of the min and max
point (22,2,10) (22,2,10) (2,4,20) (1,2,5)
value of f 8+25 8+25 4+1620 1+42520
max max min
So the maximum is 5 and the minimum is 0.

2.10.2.11. (✳).

Solution.
The function f(x,y,z)=x2+y2+z2 gives the square of the distance from the point (x,y,z) to the origin. So it suffices to find the (x,y,z) (in the first octant) which minimizes f(x,y,z)=x2+y2+z2 subject to the constraint g(x,y,z)=x3y2z63=0. To start, we’ll find the minimizers in all of R3. By Theorem 2.10.2, any local minimum or maximum (x,y,z) must obey the Lagrange multiplier equations
(E1)fx=2x=3λx2y2z=λgx(E2)fy=2y=2λx3yz=λgy(E3)fz=2z=λx3y2=λgz(E4)x3y2z=63
for some real number λ.
Multiplying (E1) by 2x, (E2) by 3y, and (E3) by 6z gives
(E1')4x2=6λx3y2z(E2')6y2=6λx3y2z(E3')12z2=6λx3y2z
The three right hand sides are all identical. So the three left hand sides must all be equal.
4x2=6y2=12z2x=±3z, y=±2z
Equation (E4) forces x and z to have the same sign. So we must have x=3z and y=±2z. Substituting this into (E4) gives
(3z)3(±2z)2z=63z6=1z=±1
So our minimizer (in all of R3) must be one of (3,±2,1) or (3,±2,1). All of these points give exactly the same value of f (namely 3+2+1=6). That is all four points are a distance 6 from the origin and all other points on x3y2z=63 have distance from the origin strictly greater than 6. So the first octant point on x3y2z=63 that is closest to the origin is (3,2,1).

2.10.2.12. (✳).

Solution.
This is a constrained optimization problem with the objective function being
f(x,y,z)=xyz
and the constraint function being
G(x,y,z)=x2+xy+y2+3z29
By Theorem 2.10.2, any local minimum or maximum (x,y,z) must obey the Lagrange multiplier equations
(E1)fx=yz=λ(2x+y)=λGx(E2)fy=xz=λ(2y+x)=λGy(E3)fz=xy=6λz=λGz(E4)x2+xy+y2+3z2=9
for some real number λ.
  • If λ=0, then, by (E1), yz=0 so that f(x,y,z)=xyz=0. This cannot possibly be the maximum value of f because there are points (x,y,z) on g(x,y,z)=9 (for example x=y=1, z=2) with f(x,y,z)>0.
  • If λ0, then multiplying (E1) by x, (E2) by y, and (E3) by z gives
    xyz=λ(2x2+xy)=λ(2y2+xy)=6λz22x2+xy=2y2+xy=6z2x=±y, z2=16(2x2+xy)
    • If x=y, then z2=x22 and, by (E4)
      x2+x2+x2+32x2=9x2=2x=y=±2, z=±1
      For these points
      f(x,y,z)=2z={2if z=12if z=1
    • If x=y, then z2=x26 and, by (E4)
      x2x2+x2+x22=9x2=6x=y=±6, z=±1
      For these points
      f(x,y,z)=6z={6if z=16if z=1
So the maximum is 6 and is achieved at (6,6,1) and (6,6,1).

2.10.2.13. (✳).

Solution.
In order for a sphere of radius r centred on the origin to be enclosed in the ellipsoid, every point of the ellipsoid must be at least a distance r from the origin. So the largest allowed r is the distance from the origin to the nearest point on the ellipsoid.
We have to minimize f(x,y,z)=x2+y2+z2 subject to the constraint g(x,y,z)=2(x+1)2+y2+2(z1)28. By Theorem 2.10.2, any local minimum or maximum (x,y,z) must obey the Lagrange multiplier equations
(E1)fx=2x=4λ(x+1)=λgx(E2)fy=2y=2λy=λgy(E3)fz=2z=4λ(z1)=λgz(E4)2(x+1)2+y2+2(z1)2=8
for some real number λ.
By equation (E2), 2y(1λ)=0, which is obeyed if and only if at least one of y=0, λ=1 is obeyed.
  • If y=0, the remaining equations reduce to
    (E1)x=2λ(x+1)(E3)z=2λ(z1)(E4)(x+1)2+(z1)2=4
    Note that 2λ cannot be 1 — if it were, (E1) would reduce to 0=1. So equation (E1) gives
    x=2λ12λorx+1=112λ
    Equation (E3) gives
    z=2λ12λorz1=112λ
    Substituting x+1=112λ and z1=112λ into (E4) gives
    1(12λ)2+1(12λ)2=41(12λ)2=2112λ=±2
    So we now have two candidates for the location of the max and min, namely (x,y,z)=(1+2,0,12) and (x,y,z)=(12,0,1+2).
  • If λ=1, the remaining equations reduce to
    (E1)x=2(x+1)(E3)z=2(z1)(E4)2(x+1)2+y2+2(z1)2=8
    Equation (E1) gives x=2 and equation (E3) gives z=2. Substituting these into (E4) gives
    2+y2+2=8y2=4y=±2
So we have the following candidates for the locations of the min and max
point (1+2,0,12) (12,0,1+2) (2,2,2) (2,2,2)
value of f 2(322) 2(3+22) 12 12
min max max
Recalling that f(x,y,z) is the square of the distance from (x,y,z) to the origin, the maximum allowed radius for the enclosed sphere is 6420.59.

2.10.2.14. (✳).

Solution.
(a) We are to maximize f(x,y,z)=z subject to the constraints g(x,y,z)=x+y+z2=0 and h(x,y,z)=x2+y2+z22=0. By Theorem 2.10.8, any local minimum or maximum (x,y,z) must obey the double Lagrange multiplier equations
(E1)fx=0=λ+2μx=λgx+μhx(E2)fy=0=λ+2μy=λgy+μhy(E3)fz=1=λ+2μz=λgz+μhz(E4)x+y+z=2(E5)x2+y2+z2=2
for some real numbers λ and μ. Subtracting (E2) from (E1) gives 2μ(xy)=0. So at least one of μ=0 and y=x must be true.
  • If μ=0, equations (E1) and (E3) reduce to λ=0 and λ=1, which is impossible. So μ0.
  • If y=x, equations (E2) through (E5) reduce to
    (E2)λ+2μx=0(E3)λ+2μz=1(E4)2x+z=2(E5)2x2+z2=2
    By (E4), x=2z2. Substituting this into (E5) gives
    2(2z)24+z2=2(2z)2+2z2=43z24z=0z=0, 43
The maximum z is thus 43.
(b) Presumably the “lowest point” is the point with the minimal z--coordinate. By our work in part (a), we have that the minimal value of z on C is 0. We have also already seen in part (a) that y=x. When z=0, (E4) reduces to 2x=2. So the desired point is (1,1).

2.10.2.15. (✳).

Solution.
(a) This is a constrained optimization problem with the objective function being f(x,y,z)=(x2)2+(y+2)2+(z4)2 and the constraint function being g(x,y,z)=x2+y2+z26. By Theorem 2.10.2, any local minimum or maximum (x,y,z) must obey the Lagrange multiplier equations
(E1)fx=2(x2)=2λx=λgx(E2)fy=2(y+2)=2λy=λgy(E3)fz=2(z4)=2λz=λgz(E4)x2+y2+z2=6
for some real number λ. Simplifying
(E1)x2=λx(E2)y+2=λy(E2)z4=λz(E4)x2+y2+z2=6
Note that we cannot have λ=1, because then (E1) would reduce to 2=0. Substituting x=21λ, from (E1), and y=21λ, from (E2), and z=41λ, from (E3), into (E4) gives
4(1λ)2+4(1λ)2+16(1λ)2=6(1λ)2=41λ=±2
and hence
(x,y,z)=±(2,2,4)2=±(1,1,2)
So we have the following candidates for the locations of the min and max
point (1,1,2) (1,1,2)
value of f 6 54
min max
So the minimum is 6 and the maximum is 54.
(b) f(x,y,z) is the square of the distance from (x,y,z) to (2,2,4). So the point on the sphere x2+y2+z2=6 that is farthest from the point (2,2,4) is the point from part (a) that maximizes f, which is (1,1,2).

2.10.2.16. (✳).

Solution.
(a) This is a constrained optimization problem with the objective function being f(x,y,z)=(x2)2+(y1)2+z2 and the constraint function being g(x,y,z)=x2+y2+z21. By Theorem 2.10.2, any local minimum or maximum (x,y,z) must obey the Lagrange multiplier equations
(E1)fx=2(x2)=2λx=λgx(E2)fy=2(y1)=2λy=λgy(E3)fz=2z=2λz=λgz(E4)x2+y2+z2=1
for some real number λ. By equation (E3), 2z(1λ)=0, which is obeyed if and only if at least one of z=0, λ=1 is obeyed.
  • If z=0 and λ1, the remaining equations reduce to
    (E1)x2=λx(E2)y1=λy(E4)x2+y2=1
    Substituting x=21λ, from (E1), and y=11λ, from (E2), into (E3) gives
    4(1λ)2+1(1λ)2=1(1λ)2=51λ=±5
    and hence
    (x,y,z)=±15(2,1,0)
    To aid in the evaluation of f(x,y,z) at these points note that, at these points,
    x2=λx=2λ1λ,y1=λy=λ1λf(x,y,z)=4λ2(1λ)2+λ2(1λ)2=5λ2(1λ)2=λ2=(15)2
  • If λ=1, the remaining equations reduce to
    (E1)x2=x(E2)y1=y(E4)x2+y2+z2=1
    Since 20 and 10, neither (E1) nor (E2) has any solution.
So we have the following candidates for the locations of the min and max
point 15(2,1,0) 15(2,1,0)
value of f (15)2 (1+5)2
min max
So the minimum is (51)2=625.
(b) The function f(x,y,z)=(x2)2+(y1)2+z2 is the square of the distance from the point (x,y,z) to the point (2,1,0). So the minimum of f subject to the constraint x2+y2+z2=1 is the square of the distance from (2,1,0) to the point on the sphere x2+y2+z2=1 that is nearest (2,1,0).

2.10.2.17. (✳).

Solution.
For this problem the objective function is f(x,y,z)=(x+z)ey and the constraint function is g(x,y,z)=x2+y2+z26. To apply the method of Lagrange multipliers we need f and g. So we start by computing the first order derivatives of these functions.
fx=eyfy=(x+z)eyfz=eygx=2xgy=2ygz=2z
So, according to the method of Lagrange multipliers, we need to find all solutions to
(E1)ey=λ(2x)(E2)(x+z)ey=λ(2y)(E3)ey=λ(2z)(E4)x2+y2+z26=0
First notice that, since ey0, equation (E1) guarantees that λ0 and x0 and equation (E3) guarantees that z0 too.
  • So dividing (E1) by (E3) gives xz=1 and hence x=z.
  • Then subbing x=z into (E2) gives 2zey=λ(2y). Dividing this equation by (E3) gives 2z=yz or y=2z2.
  • Then subbing x=z and y=2z2 into (E4) gives
    z2+4z4+z26=04z4+2z26=0(2z2+3)(2z22)=0
  • As 2z2+3>0, we must have 2z22=0 or z=±1.
Recalling that x=z and y=2z2, the method of Lagrange multipliers, Theorem 2.10.2, gives that the only possible locations of the maximum and minimum of the function f are (1,2,1) and (1,2,1). To complete the problem, we only have to compute f at those points.
point (1,2,1) (1,2,1)
value of f 2e2 2e2
max min
Hence the maximum value of (x+z)ey on x2+y2+z2=6 is 2e2 and the minimum value is 2e2.

2.10.2.18. (✳).

Solution.
Let (x,y) be a point on 2x2+4xy+5y2=30. We wish to maximize and minimize x2+y2 subject to 2x2+4xy+5y2=30. Define L(x,y,λ)=x2+y2λ(2x2+4xy+5y230). Then
(1)0=Lx=2xλ(4x+4y)(12λ)x2λy=0(2)0=Ly=2yλ(4x+10y)2λx+(15λ)y=00=Lλ=2x2+4xy+5y230
Note that λ cannot be zero because if it is, (1) forces x=0 and (2) forces y=0, but (0,0) is not on the ellipse. So equation (1) gives y=12λ2λx. Substituting this into equation (2) gives 2λx+(15λ)(12λ)2λx=0. To get a nonzero (x,y) we need
2λ+(15λ)(12λ)2λ=00=4λ2+(15λ)(12λ)=6λ27λ+1=(6λ1)(λ1)
So λ must be either 1 or 16. Substituting these into either (1) or (2) gives
λ=1x2y=0x=2y8y28y2+5y2=30y=±6λ=1623x13y=0y=2x2x2+8x2+20x2=30x=±1
The farthest points are ±6(2,1). The nearest points are ±(1,2).

2.10.2.19.

Solution.
Let (x,y) be a point on 3x22xy+3y2=4. This point is at the end of a major axis when it maximizes its distance from the centre, (0,0), of the ellipse. It is at the end of a minor axis when it minimizes its distance from (0,0). So we wish to maximize and minimize f(x,y)=x2+y2 subject to the constraint g(x,y)=3x22xy+3y24=0. According to the method of Lagrange multipliers, we need to find all solutions to
(E1)fx=2x=λ(6x2y)=λgx(13λ)x+λy=0(E2)fy=2y=λ(2x+6y)=λgyλx+(13λ)y=0(E3)3x22xy+3y2=4
To start, let’s concentrate on the first two equations. Pretend for a couple of minutes, that we already know the value of λ and are trying to find x and y. The system of equations (13λ)x+λy=0, λx+(13λ)y=0 has one obvious solution. Namely x=y=0. But this solution is not acceptable because it does not satisfy the equation of the ellipse. If you have already taken a linear algebra course, you know that a system of two linear homogeneous equations in two unknowns has a nonzero solution if and only if the determinant of the matrix of coefficients is zero. (You use this when you find eigenvalues and eigenvectors.) For the equations of interest, this is
det[13λλλ13λ]=(13λ)2λ2=(12λ)(14λ)=0λ=12,14
Even if you have not already taken a linear algebra course, you also come to this conclusion directly when you try to solve the equations. Note that λ cannot be zero because if it is, (E1) forces x=0 and (E2) forces y=0. So equation (E1) gives y=13λλx. Substituting this into equation (E2) gives λx(13λ)2λx=0. To get a nonzero (x,y) we need
λ(13λ)2λ=0λ2(13λ)2=0
By either of these two methods, we now know that λ must be either 12 or 14. Substituting these into either (E1) or (E2) and then using (E3) gives
λ=1212x+12y=0 x=y3x22x2+3x2=4 x=±1λ=1414x+14y=0 x=y3x2+2x2+3x2=4 x=±12
The ends of the minor axes are ±(12,12). The ends of the major axes are ±(1,1).

2.10.2.20. (✳).

Solution.
Let the box have dimensions x×y×z. Use units of money so that the sides and bottom cost one unit per square meter and the top costs two units per square meter. Then the top costs 2xy, the bottom costs xy and the four sides cost 2xz+2yz. We are to find the x, y and z that minimize the cost f(x,y,z)=2xy+xy+2xz+2yz subject to the constraint that g(x,y,z)=xyz96=0. By the method of Lagrange multipliers (Theorem 2.10.2), the minimizing x, y, z must obey
fx=3y+2z=λyz=λgxfy=3x+2z=λxz=λgyfz=2x+2y=λxy=λgz   xyz96=0
Multiplying the first equation by x, the second equation by y and the third equation by z and then substituting in xyz=96 gives
3xy+2xz=96λ3xy+2yz=96λ2xz+2yz=96λ
Subtracting the second equation from the first gives 2z(xy)=0. Since z=0 is impossible, we must have x=y. Substituting this in,
3x2+2xz=96λ4xz=96λ
Subtracting,
3x22xz=0z=32x96=xyz=32x3x3=64x=y=4, z=6 meters

2.10.2.21. (✳).

Solution.
We are to find the x, y and z that minimize the temperature T(x,y,z)=40xy2z subject to the constraint that g(x,y,z)=x2+y2+z21=0. By the method of Lagrange multipliers (Theorem 2.10.2), the minimizing x, y, z must obey
Tx=40y2z=λ(2x)=λgxTy=80xyz=λ(2y)=λgyTz=40xy2=λ(2z)=λgzx2+y2+z21=0
Multiplying the first equation by x, the second equation by y/2 and the third equation by z gives
40xy2z=2x2λ40xy2z=y2λ40xy2z=2z2λ
Hence we must have
2x2λ=y2λ=2z2λ
  • If λ=0, then 40y2z=0, 80xyz=0, 40xy2=0 which is possible only if at least one of x,y,z is zero so that T(x,y,z)=0.
  • If λ0, then
    2x2=y2=2z21=x2+y2+z2=x2+2x2+x2=4x2x=±12, y2=12, z=±12T=40(±12)12(±12)=±5
(The sign of x and z need not be the same.) So the hottest temperature is +5 and the coldest temperature is 5.

2.10.2.22. (✳).

Solution.
The optimal box will have vertices (±x,±y,0), (±x,±y, z) with x,y,z>0 and z=484x23y2. (If the lower vertices are not in the xy--plane, the volume of the box can be increased by lowering the bottom of the box to the xy--plane. If any of the four upper vertices are not on the hemisphere, the volume of the box can be increased by moving the upper vertices outwards to the hemisphere.) The volume of this box will be (2x)(2y)z. So we are to find the x, y and z that maximize the volume f(x,y,z)=4xyz subject to the constraint that g(x,y,z)=484x23y2z=0. By the method of Lagrange multipliers (Theorem 2.10.2), the minimizing x, y, z must obey
fx=4yz=8λx=λgxfy=4xz=6λy=λgyfz=4xy=λ=λgz484x23y2z=0
Multiplying the first equation by x, the second equation by y and the third equation by z gives
4xyz=8λx24xyz=6λy24xyz=λz
This forces 8λx2=6λy2=λz. Since λ cannot be zero (because that would force 4xyz=0), this in turn gives 8x2=6y2=z. Substituting in to the fourth equation gives
48z2z2z=02z=48z=24, 8x2=24, 6y2=24
The dimensions of the box of biggest volume are 2x=23 by 2y=4 by z=24.

2.10.2.23. (✳).

Solution.
Use units of money for which cardboard costs one unit per square meter. Then, if the bin has dimensions x×y×z, it costs 3xy+2xz+2yz. We are to find the x, y and z that minimize the cost f(x,y,z)=3xy+2xz+2yz subject to the constraint that g(x,y,z)=xyz12=0. By the method of Lagrange multipliers (Theorem 2.10.2), the minimizing x, y, z must obey
fx=3y+2z=λyz=λgxfy=3x+2z=λxz=λgyfz=2x+2y=λxy=λgz   xyz12=0
Multiplying the first equation by x, the second equation by y and the third equation by z and then substituting in xyz=12 gives
3xy+2xz=12λ3xy+2yz=12λ2xz+2yz=12λ
Subtracting the second equation from the first gives 2z(xy)=0. Since z=0 is impossible, we must have x=y. Substituting this in
3x2+2xz=12λ4xz=12λ
Subtracting
3x22xz=0z=32x12=xyz=32x3x3=8x=y=2, z=3 meters

2.10.2.24. (✳).

Solution.
If the box has dimensions x×y×z, it costs 24xy+16xz+16yz. We are to find the x, y and z that minimize the cost f(x,y,z)=24xy+16xz+16yz subject to the constraint that g(x,y,z)=xyz4=0. By the method of Lagrange multipliers (Theorem 2.10.2), the minimizing x, y, z must obey
fx=24y+16z=λyz=λgxfy=24x+16z=λxz=λgyfz=16x+16y=λxy=λgz      xyz4=0
Multiplying the first equation by x, the second equation by y and the third equation by z and then substituting in xyz=4 gives
24xy+16xz=4λ24xy+16yz=4λ16xz+16yz=4λ
Subtracting the second equation from the first gives 16z(xy)=0. Since z=0 is impossible, we must have x=y. Subbing this in
24x2+16xz=4λ32xz=4λ
Subtracting
24x216xz=0z=32x4=xyz=32x3x3=83x=y=233, z=32/3metres

2.10.2.25. (✳).

Solution.
The vertices of the pyramid are (0,0,0), (1a,0,0), (0,1b,0) and (0,0,1c). So the base of the pyramid is a triangle of area 121a1b and the height of the pyramid is 1c. So the volume of the pyramid is 16abc. The plane passes through (1,2,3) if and only if a+2b+3c=1. Thus we are to find the a, b and c that maximize the volume f(a,b,c)=16abc subject to the constraint that g(a,b,c)=a+2b+3c1=0. By the method of Lagrange multipliers (Theorem 2.10.2), the maximizing a, b, c must obey
fa=16a2bc=λ=λga6λa2bc=1fb=16ab2c=2λ=λgb6λab2c=12fc=16abc2=3λ=λgc6λabc2=13a+2b+3c=1
Dividing the first two equations gives ab=2 and dividing the first equation by the third gives ac=3. Substituting b=12a and c=13a in to the final equation gives
a+2b+3c=3a=1a=13, b=16, c=19
and the maximum volume is 3×6×96=27.

2.10.2.26. (✳).

Solution.
We’ll find the minimum distance2 and then take the square root. That is, we’ll find the minimum of f(x,y,z)=x2+y2+z2 subject to the constraints g(x,y,z)=xz4=0 and h(x,y,z)=x+y+z3=0. By Theorem 2.10.8, any local minimum or maximum (x,y,z) must obey the double Lagrange multiplier equations
(E1)fx=2x=λ+μ=λgx+μhx(E2)fy=2y=μ=λgy+μhy(E3)fz=2z=λ+μ=λgz+μhz(E4)xz=4(E5)x+y+z=3
for some real numbers λ and μ. Adding (E1)and (E3) and then subtracting 2 times (E2) gives
(E6)2x4y+2z=0orx2y+z=0
Substituting x=4+z (from (E4)) into (E5) and (E6) gives
(E5')y+2z=1(E6')2y+2z=4
Substituing y=12z (from (E5’)) into (E6’) gives
6z=6z=1y=12(1)=1x=4+(1)=3
So the closest point is (3,1,1) and the minimum distance is 32+12+(1)2=11.

2.10.2.27. (✳).

Solution 1.
This is a constrained optimization problem with objective function f(x,y,z)=6x+y2+xz and constraint function g(x,y,z)=x2+y2+z236. By Theorem 2.10.2, any local minimum or maximum (x,y,z) must obey the Lagrange multiplier equations
(E1)fx=6+z=2λx=λgx(E2)fy=2y=2λy=λgy(E3)fz=x=2λz=λgz(E4)x2+y2+z2=36
for some real number λ. By equation (E2), y(1λ)=0, which is obeyed if and only if at least one of y=0, λ=1 is obeyed.
  • If y=0, the remaining equations reduce to
    (E1)6+z=2λx(E3)x=2λz(E4)x2+z2=36
    Substituting (E3) into (E1) gives 6+z=4λ2z, which forces 4λ21 (since 60) and gives z=64λ21 and then x=12λ4λ21. Substituting this into (E4) gives
    144λ2(4λ21)2+36(4λ21)2=364λ2(4λ21)2+1(4λ21)2=14λ2+1=(4λ21)2
    Write μ=4λ2. Then this last equation is
    μ+1=μ22μ+1μ23μ=0μ=0,3
    When μ=0, we have z=6μ1=6 and x=0 (by (E4)). When μ=3, we have z=6μ1=3 and then x=±27=±33 (by (E4)).
  • If λ=1, the remaining equations reduce to
    (E1)6+z=2x(E3)x=2z(E4)x2+y2+z2=36
    Substituting (E3) into (E1) gives 6+z=4z and hence z=2. Then (E3) gives x=4 and (E4) gives 42+y2+22=36 or y2=16 or y=±4.
So we have the following candidates for the locations of the min and max
point (0,0,6) (33,0,3) (33,0,3) (4,4,2) (4,4,2)
value of f 0 273 273 48 48
min max max
Solution 2.
On the sphere we have y2=36x2z2 and hence f=36+6x+xzx2z2 and x2+z236. So it suffices to find the max and min of h(x,z)=36+6x+xzx2z2 on the disk D={ (x,z) | x2+z236 }.
  • If a max or min occurs at an interior point (x,z) of D, then (x,z) must be a critical point of h and hence must obey
    hx=6+z2x=0hz=x2z=0
    Substituting x=2z into the first equation gives 63z=0 and hence z=2 and x=4.
  • If a max or min occurs a point (x,z) on the boundary of D, we have x2+z2=36 and hence x=±36z2 and h=6x+zx=±(6+z)36z2 with 6z6. So the max or min can occur either when z=6 or z=+6 or at a z obeying
    0=ddz[(6+z)36z2]=36z2z(6+z)36z2
    or equivalently
    36z2z(6+z)=02z2+6z36=0z2+3z18=0(z+6)(z3)=0
    So the max or min can occur either when z=±6 or z=3.
So we have the following candidates for the locations of the min and max
point (0,0,±6) (33,0,3) (33,0,3) (4,4,2) (4,4,2)
value of f 0 273 273 48 48
min max max

2.10.2.28. (✳).

Solution.
By way of preparation, we have
Tx(x,y)=2xeyTy(x,y)=ey(x2+y2+2y)
(a-i) For this problem the objective function is T(x,y)=ey(x2+y2) and the constraint function is g(x,y)=x2+y2100. According to the method of Lagrange multipliers, Theorem 2.10.2, we need to find all solutions to
(E1)Tx=2xey=λ(2x)=λgx(E2)Ty=ey(x2+y2+2y)=λ(2y)=λgy(E3)x2+y2=100
(a-ii) According to equation (E1), 2x(eyλ)=0. This condition is satisfied if and only if at least one of x=0, λ=ey is obeyed.
  • If x=0, then equation (E3) reduces to y2=100, which is obeyed if y=±10. Equation (E2) then gives the corresponding values for λ, which we don’t need.
  • If λ=ey, then equation (E2) reduces to
    ey(x2+y2+2y)=(2y)eyey(x2+y2)=0
    which conflicts with (E3). So we can’t have λ=ey.
So the only possible locations of the maximum and minimum of the function T are (0,10) and (0,10). To complete the problem, we only have to compute T at those points.
point (0,10) (0,10)
value of T 100e10 100e10
max min
Hence the maximum value of T(x,y)=ey(x2+y2) on x2+y2=100 is 100e10 at (0,10) and the minimum value is 100e10 at (0,10).
We remark that, on x2+y2=100, the objective function T(x,y)=ey(x2+y2)=100ey. So of course the maximum value of T is achieved when y is a maximum, i.e. when y=10, and the minimum value of T is achieved when y is a minimum, i.e. when y=10.
(b-i) By definition, the point (x,y) is a critical point of T(x,y) if ane only if
(E1)Tx=2xey=0(E2)Ty=ey(x2+y2+2y)=0
(b-ii) Equation (E1) forces x=0. When x=0, equation (E2) reduces to
ey(y2+2y)=0y(y+2)=0y=0 or y=2
So there are two critical points, namely (0,0) and (0,2).
(c) Note that T(x,y)=ey(x2+y2)0 on all of R2. As T(x,y)=0 only at (0,0), it is obvious that (0,0) is the coolest point.
In case you didn’t notice that, here is a more conventional solution.
The coolest point on the solid disc x2+y2100 must either be on the boundary, x2+y2=100, of the disc or be in the interior, x2+y2<100, of the disc.
In part (a-ii) we found that the coolest point on the boundary is (0,10), where T=100e10.
If the coolest point is in the interior, it must be a critical point and so must be either (0,0), where T=0, or (0,2), where T=4e2.
So the coolest point is (0,0).

2.10.2.29. (✳).

Solution.
(a) A normal vector to F(x,y,z)=4x2+4y2+z2=96 at (x0,y0,z0) is F(x0,y0,z0)=8x0,8y0,2z0. (Note that this normal vector is never the zero vector because (0,0,0) is not on the surface.) So the tangent plane to 4x2+4y2+z2=96 at (x0,y0,z0) is
8x0(xx0)+8y0(yy0)+2z0(zz0)=0or8x0x+8y0y+2z0z=8x02+8y02+2z02
This plane is of the form x+y+z=c if and only if 8x0=8y0=2z0. A point (x0,y0,z0) with 8x0=8y0=2z0 is on the surface 4x2+4y2+z2=96 if and only if
4x02+4y02+z02=4x02+4x02+(4x0)2=9624x02=96x02=4x0=±2
When x0=±2, we have y0=±2 and z0=±8 (upper signs go together and lower signs go together) so that the tangent plane 8x0x+8y0y+2z0z=8x02+8y02+2z02 is
8(±2)x+8(±2)y+2(±8)z=8(±2)2+8(±2)2+2(±8)2or±x±y±z=2+2+8orx+y+z=12c=±12
(b) We are to find the x, y and z that minimize or maximize f(x,y,z)=x+y+z subject to the constraint that g(x,y,z)=4x2+4y2+z296=0. By the method of Lagrange multipliers (Theorem 2.10.2), the minimizing/maximizing x, y, z must obey
fx=1=λ(8x)=λgxfy=1=λ(8y)=λgyfz=1=λ(2z)=λgz4x2+4y2+z296=0
The first three equations give
x=18λy=18λz=12λwith λ0
Substituting this into the fourth equation gives
4(18λ)2+4(18λ)2+(12λ)2=96(116+116+14)1λ2=96λ2=38196=18×32λ=±116
Hence x=±2, y=±2 and z=±8 so that the largest and smallest values of x+y+z on 4x2+4y2+z296 are ±2±2±8 or ±12.
(c) The level surfaces of x+y+z are planes with equation of the form x+y+z=c. To find the largest (smallest) value of x+y+z on 4x2+4y2+z2=96 we keep increasing (decreasing) c until we get to the largest (smallest) value of c for which the plane x+y+z=c intersects 4x2+4y2+z2=96. For this value of c, x+y+z=c is tangent to 4x2+4y2+z2=96.

2.10.2.30.

Solution.
Note that if (x,y) obeys g(x,y)=xy1=0, then x is necessarily nonzero. So we may assume that x0. Then
There is a λ such that (x,y,λ) obeys (E1)there is a λ such that fx(x,y)=λgx(x,y), fy(x,y)=λgy(x,y),g(x,y)=0there is a λ such that fx(x,y)=λy,fy(x,y)=λx,xy=1there is a λ such that 1yfx(x,y)=1xfy(x,y)=λ,xy=11yfx(x,y)=1xfy(x,y),xy=1xfx(x,1x)=1xfy(x,1x),y=1xF(x)=ddxf(x,1x)=fx(x,1x)1x2fy(x,1x)=0,y=1x

3 Multiple Integrals
3.1 Double Integrals
3.1.7 Exercises

3.1.7.1.

Solution.
(a) The given double integral 1341dydx=Rdxdy where
R={ (x,y) | 1x3, 4y1 }
and so the integral is the area of a rectangle with sides of lengths 4 and 5. Thus 1341dydx=4×5=20.
(b) The given double integral 0204y2dxdy=Rdxdy where
R={ (x,y) | 0y2, 0x4y2 }={ (x,y) | x0, y0, y2, x2+y24 }
So R is the first quadrant part of the circular disk of radius 2 centred on (0,0). The area of the full disk is π22=4π. The given integral is one quarter of that, which is π.
(c) The given double integral 3309y29x2y2 dxdy=Rz(x,y) dxdy where z(x,y)=9x2y2 and
R={ (x,y) | 3y3, 0x9y2 }={ (x,y) | x0, 3y3,  x2+y29 }
So R is the right half of the circular disk of radius 3 centred on (0,0). By Equation (3.1.9), the given integral is the volume of the solid
V={(x,y,z)|(x,y)R, 0z9x2y2}={(x,y,z)|(x,y)R, z0, x2+y2+z29}
Thus V is the one quarter of the spherical ball of radius 3 and centre (0,0,0) with x0 and z0. So
3309y29x2y2 dxdy=14(43π33)=9π

3.1.7.2.

Solution.
(a) The integral with respect to x treats y as a constant. So
03f(x,y)dx=0312x2y3dx=[4x3y3]x=0x=3=108y3
(b) The integral with respect to y treats x as a constant. So
02f(x,y)dy=0212x2y3dy=[3x2y4]y=0y=2=48x2
(c) By part (a)
0203f(x,y)dxdy=02[03f(x,y)dx]dy=02108y3dy=[27y4]y=0y=2=27×16=432
(d) By part (b)
0302f(x,y)dydx=03[02f(x,y)dy]dx=0348x2dy=[16x3]x=0x=3=16×27=432
(e) This time
0302f(x,y)dxdy=03[0212x2y3dx]dy=03[4x3y3]02dy=0332y3dy=[8y4]03=8×81=648

3.1.7.3.

Solution.
The following figures show the domains of integration for the integrals in this problem.
(a)
(b)
(c)
(d)
(e)
(f)
(a)R(x2+y2)dxdy=0adx0bdy (x2+y2)=0adx(x2b+13b3)=13(a3b+ab3)(b)T(x3y)dxdy=0adx0b(1xa)dy(x3y)=0adx[bx(1xa)32b2(1xa)2]=[b2x2b3ax3+a2b2(1xa)3]0a=a2b2a2b3ab22=a2b6ab22(c)Rxy2dxdy=01dxx2xdy xy2=1301dx x(x3/2x6)=13(2718)=356(d)Dxcosydxdy=01dx01x2dy xcosy=01dx xsin(1x2)=12[cos(1x2)]01=12(1cos1)(e)Rxyeydxdy=01dyyydx xyey=01dy yy22yey=1201dy (1y)ey=12[yey+2ey]01=12(e2)(f)Txy1+x4dxdy=01dxx1dy xy1+x4=1201dx x(1x2)1+x4=1401dt 1t1+t2 where t=x2=14[arctant12ln(1+t2)]01=14(π412ln2)

3.1.7.4.

Solution.
The following figures show the domains of integration for the integrals in this problem.
(a)
(b)
(c)
(a)02dx1exdy=02dx [ex1]=[exx]02=e231e2dylny2dx=1e2dy [2lny]=[2yylny+y]1e2=e23(b)02dy42y242y2dx y=02dy 2y42y2=13[(42y2)3/2]02=8322dx02x22dy y=22dx [1x24]=202dx [1x24]=2[xx312]02=83(c)21dxx2+4x3x+2dy=21dx [x2x+2]=[x33x22+2x]21=9245dyy232+4+ydx=45dy [43y3+4+y]=[4y3y26+23(4+y)32]45=92
In part (c), we used that the equation y=x2+4x is equivalent to y+4=(x+2)2 and hence to x=2±y+4.

3.1.7.5. (✳).

Solution.
In the given integrals
  • y runs for 0 to 2, and
  • for each fixed y between 0 and 1, x runs from 0 to y and
  • for each fixed y between 1 and 2, x runs from 0 to 2y
The figure on the left below contains a sketch of that region together with the generic horizontal slices that were used to set up the given integrals.
To reverse the order of integration, we switch to vertical, rather than horizontal, slices, as in the figure on the right above. Looking at that figure, we see that
  • x runs for 0 to 1, and
  • for each fixed x in that range, y runs from x to 2x.
So the desired integral is
x=0x=1y=xy=2xf(x,y) dydx

3.1.7.6. (✳).

Solution.
(a) In the given integral
  • x runs from 0 to 1 and
  • for each fixed x between 0 and 1, y runs from x to 1
So the domain of integration is
D={ (x,y) | 0x1, xy1 }
It is sketched in the figure on the left below.
(b) The given integral decomposed the domain of integration into vertical strips like the blue strip in the figure on the right above. To reverse the order of integration, we instead use horizontal strips. Looking at the pink strip in the figure on the right above, we see that this entails
  • having y run from 0 to 1 and
  • for each fixed y between 0 and 1, having x run from 0 to y
This gives
01dy0ydx ex/y=01dy [yex/y]0y=01dy y(e1)=12(e1)

3.1.7.7. (✳).

Solution.
(a) On R
  • y runs from 1 to 4 (from 1 to 2 in the first integral and from 2 to 4 in the second).
  • For each fixed y between 1 and 2, x runs from 1y to y and
  • for each fixed y between 2 and 4, x runs from y2 to y.
The figure on the left below is a sketch of R, together with generic horizontal strips as were used in setting up the integral.
(b) To reverse the order of integration we use vertical strips as in the figure on the right above. Looking at that figure, we see that, on R,
  • x runs from 1/2 to 2.
  • For each fixed x between 1/2 and 1, y runs from 1x to 2x and
  • for each fixed x between 1 and 2, y runs from x2 to 2x.
So
I=1/211/x2xf(x,y)dydx+12x22xf(x,y)dydx
(c) When f(x,y)=xy,
I=121/yyxydxdy+24y/2yxydxdy=121y[y212y2]dy+241y[y2y28]dy=[y2+14y2]12+[y2y216]24=12+181214+2112+18=12

3.1.7.8. (✳).

Solution.
(a) When f(x,y)=x,
x=1x=3[y=x2y=2x+3xdy]dx=x=1x=3[x(2x+3x2)]dx=[2x33+3x22x44]13=18+272814+2332+14=18+1220+23=323
(b) On the region E
  • x runs from 1 to 3 and
  • for each x in that range, y runs from x2 to 2x+3
Here are two sketches of E, with the left one including a generic vertical strip as was used in setting up the given integral.
(c) To reverse the order of integration we use horizontal strips as in the figure on the right above. Looking at that figure, we see that, on the region E,
  • y runs from 0 to 9 and
  • for each y between 0 and 1, x runs from y to y
  • for each y between 1 and 9, x runs from (y3)/2 to y
So
I=01dyyydx x+19dy(y3)/2ydx x

3.1.7.9. (✳).

Solution.
The antiderivative of the function sin(y2) cannot be expressed in terms of familiar functions. So we do not want the inside integral to be over y. So we’ll use horizontal slices as in the figure
On the domain of integration
  • y runs from 0 to 4, and
  • for each fixed y in that range, x runs from y to y/2
The given integral
Dsin(y2) dA=04dyyy/2dx sin(y2)=04dy 32ysin(y2)=[34cos(y2)]04=34[1cos(16)]

3.1.7.10. (✳).

Solution.
(a) On the domain of integration
  • y runs from 0 to 1 and
  • for each fixed y in that range, x runs from y to 1.
The figure on the left below is a sketch of that domain, together with a generic horizontal strip as was used in setting up the integral.
(b) The inside integral, y1sin(πx2)x dx, in the given form of I looks really nasty. So let’s try exchanging the order of integration. Looking at the figure on the right above, we see that, on the domain of integration,
  • x runs from 0 to 1 and
  • for each fixed x in that range, y runs from 0 to x2.
So
I=01dx0x2dy sin(πx2)x=01dx xsin(πx2)=[cos(πx2)2π]01(Looks pretty rigged!)=1π

3.1.7.11. (✳).

Solution.
(a) Let’s call the triangle T. Here are two sketches of T, one including a generic vertical strip and one including a generic horizontal strip. Notice that the equation of the line through (0,0) and (1,1) is y=x.
First, we’ll set up the integral using vertical strips. Looking at the figure on the left above, we see that, on T,
  • x runs from 0 to 1 and
  • for each x in that range, y runs from x to 1.
So the integral
I=01dxx1dy y2sinxy
Next, we’ll set up the integral using horizontal strips. Looking at the figure on the right above, we see that, on T,
  • y runs from 0 to 1 and
  • for each y in that range, x runs from 0 to y.
So the integral
I=01dy0ydx y2sinxy
(b) To evaluate the inside integral, x1dy y2sinxy, of the vertical strip version, will require two integration by parts to get rid of the y2. So we’ll use the horizontal strip version.
I=01dy0ydx y2sinxy=01dy [ycosxy]0y=01dy [yycosy2]=[y22siny22]01(Look's pretty rigged!)=1sin12

3.1.7.12. (✳).

Solution.
If we call the triangular base region T, then the volume is
V=Tf(x,y) dA=Tex2 dxdy
If we set up the integral using horizontal slices, so that the inside integral is the x--integral, there will be a big problem — the integrand ex2 does not have an obvious anti--derivative. (In fact its antiderivative cannot be expressed in terms of familiar functions.) So let’s try vertical slices as in the sketch
Looking at that sketch we see that
  • x runs from 0 to 1, and
  • for each x in that range, y runs from 0 to x.
So the integral is
V=01dx0xdy ex2=01dx xex2=[12ex2]01=1e12

3.1.7.13. (✳).

Solution.
(a) On the domain of integration
  • y runs from 0 to 1 and
  • for each y in that range x runs from y to 2y. So the left hand side of the domain is the line x=y and the right hand side of the domain is x=2y.
The figure on the left below is a sketch of that domain, together with a generic horizontal strip as was used in setting up the integral.
(b) To reverse the order of integration we use vertical, rather than horizontal, strips. Looking at the figure on the right above, we see that, in the domain of integration
  • x runs from 0 to 2 and
  • for each x between 0 and 1, y runs from 0 to x, while
  • for each x between 1 and 2, y runs from 0 to 2x.
So the integral
I=01dx0xdy yx+12dx02xdy yx
(c) Using the answer to part (b)
I=01dx0xdy yx+12dx02xdy yx=1201dx x+1212dx (2x)2x=14+1212dx (4x4+x)=14+12[4ln24+412]=2ln21

3.1.7.14. (✳).

Solution.
(a) On the domain of integration,
  • x runs from 0 to 1, and
  • for each fixed x in that range, y runs from x to 1. We may rewrite y=x as x=y2, which is a rightward opening parabola.
Here are two sketches of the domain of integration, which we call D. The left hand sketch also shows a vertical slice, as was used in setting up the integral.
(b) The inside integral, x11+y3 dy, of the given integral looks pretty nasty. So let’s reverse the order of integration, by using horizontal, rather than vertical, slices. Looking at the figure on the right above, we see that
  • y runs from 0 to 1, and
  • for each fixed y in that range x runs from 0 to y2.
So
I=01dy0y2dx 1+y3=01dy y21+y3=12du3 uwith u=1+y3, du=3y2dy. Looks pretty rigged!=13[u3/23/2]12=2(221)9

3.1.7.15. (✳).

Solution.
(a) Observe that the parabola y2=x and the line y=x2 meet when x=y+2 and
y2=y+2y2y2=0(y2)(y+1)=0
So the points of intersection of x=y2 and y=x2 are (1,1) and (4,2). Here is a sketch of D.
To evaluate J, we’ll use horizontal slices as in the figure above. (If we were to use vertical slices we would have to split the integral in two, with 0x1 in one part and 1x4 in the other.) From the figure, we see that, on D,
  • y runs from 1 to 2 and
  • for each fixed y in that range, x runs from y2 to y+2.
Hence
J=D3y dA=12dyy2y+2dx 3y=312dy y(y+2y2)=3[y33+y2y44]12=3[83+44+131+14]=274
(b) On the domain of integration,
  • x runs from 0 to 4 and
  • for each fixed x in that range, y runs from 12x to 1.
The figure on the left below is a sketch of that domain, together with a generic vertical strip as was used in setting up the integral.
The inside integral, over y, looks pretty nasty because ey3 does not have an obvious antiderivative. So let’s reverse the order of integration. That is, let’s use horizontal, rather than vertical, strips. From the figure on the right above, we see that, on the domain of integration
  • y runs from 0 to 1 and
  • for each fixed y in that range, x runs from 0 to 4y2.
So
I=01dy04y2dx ey3=01dy 4y2ey3=4301du euwith u=y3, du=3y2dy(Looks rigged!)=43[e1]

3.1.7.16. (✳).

Solution.
(a) On the domain of integration
  • y runs from 4 to 0 and
  • for each y in that range, x runs from y (when y=x2) to 2.
The figure on the left below provides a sketch of the domain of integration. It also shows the generic horizontal slice that was used to set up the given iterated integral.
(b) The inside integral, y2cos(x3)dx looks nasty. So let’s reverse the order of integration and use vertical, rather than horizontal, slices. From the figure on the right above, on the domain of integration,
  • x runs from 0 to 2 and
  • for each x in that range, y runs from x2 to 0.
So the integral
40y2cos(x3)dxdy=02dxx20dy cos(x3)=02dx x2 cos(x3)=[sin(x3)3]02=sin(8)3

3.1.7.17. (✳).

Solution.
(a) On the domain of integration
  • y runs from 0 to 4 and
  • for each y in the range 0y1, x runs from y to y and
  • for each y in the range 1y4, x runs from y2 to y.
Both figures below provide sketches of the domain of integration.
To reverse the order of integration observe, from the figure on the right above that, on the domain of integration,
  • x runs from 1 to 2 and
  • for each x in that range, y runs from x2 to x+2.
So the integral
I=12x2x+2f(x,y) dydx
(b) We’ll use the integral with the order of integration reversed that we found in part (a). When f(x,y)=ex2x
I=12x2x+2ex2x dydx=12(x+2x2)ex2x dx=12(x2)(x+1)ex2x dx=12(x+1)ex dx=[xex]12=2e2+1e

3.1.7.18. (✳).

Solution.
On the domain of integration
  • y runs from 0 to 4. In inequalities, 0y4.
  • For each fixed y in that range, x runs from y to 8y. In inequalities, that is yx8y, or yx28y.
Here are two sketchs of the domain of integration.
(b) To reverse the order we observe, from the figure on the right above, that, on the domain of integration,
  • x runs from 0 to 8. In inequalities, 0x8.
  • For each fixed x between 0 and 2, y runs from 0 to x2. In inequalities, that is 0yx2.
  • For each fixed x between 2 and 8, y runs from 0 to 8x2. In inequalities, that is 0y8x2.
So the integral is
020x2f(x,y)dydx+2808x2f(x,y)dydx
(c) We’ll use the form of part (b).
020x21(1+y)2dydx+2808x21(1+y)2dydx=02[11+y]0x2dx28[11+y]08x2dx=02[111+x2]dx+28[119x2]dx=8arctanx|021628[13+x+13x]dx=8arctan216[ln(3+x)ln(3x)]28=8arctan216[ln3+838ln5]

3.1.7.19. (✳).

Solution.
The antiderivative of the function ey2 cannot be expressed in terms of elementary functions. So the inside integral 22xey2 dy cannot be evaluated using standard calculus 2 techniques. The trick for dealing with this integral is to reverse the order of integration. On the domain of integration
  • x runs from 1 to 0. In inequalities, 1x0.
  • For each fixed x in that range, y runs from 2 to 2x. In inequalities, 2y2x.
The domain of integration, namely
{ (x,y) | 1x0, 2y2x }
is sketched in the figure on the left below.
Looking at the figure on the right above, we see that we can also express the domain of integration as
{ (x,y) | 2y0, y/2x0 }
So the integral
1022xey2 dydx=20y/20ey2 dxdy=1220yey2 dy=12[12ey2]20=14[e41]

3.1.7.20. (✳).

Solution.
We first have to get a picture of the domain of integration. The first integral has domain of integration
{ (x,y) | 0x2, 0yx }
and the second integral has domain of integration
{ (x,y) | 2x6, 0y6x }
Here is a sketch. The domain of integration for the first integral is the shaded triangular region to the left of x=2 and the domain of integration for the second integral is the shaded region to the right of x=2.
To exchange the order of integration, we use horizontal slices as in the figure below.
The bottom slice has y=0 and the top slice has y=2. On the slice at height y, x runs from y to 6y2. So
I=02y6y2f(x,y) dxdy

3.1.7.21. (✳).

Solution.
(a), (b) Looking at the figure on the left below, we see that we can write the domain
D={ (x,y) | 0y1, 1yx1y }
So
Df(x,y) dA=01dy1y1ydx f(x,y)=011y1yf(x,y) dxdy
Looking at the figure on the right above, we see that we can write the domain
D={ (x,y) | 1x1, 0y1x2 }
So
Df(x,y) dA=11dx01x2dy f(x,y)=1101x2f(x,y) dydx
(c) Using the second form from part (b),
Dex(x3/3) dA=11dx01x2dy ex(x3/3)=11(1x2)ex(x3/3) dx=2/32/3eu duwith u=xx33, du=(1x2)dx=e2/3e2/3

3.1.7.22. (✳).

Solution.
(a) On the domain of integration,
  • x runs from 0 to 1 and
  • for each fixed x in that range, y runs from x2 to 1.
The figure on the left below is a sketch of that domain, together with a generic vertical strip as was used in setting up the integral.
(b) As it stands, the inside integral, over y, looks pretty nasty because sin(y3) does not have an obvious antiderivative. So let’s reverse the order of integration. The given integral was set up using vertical strips. So, to reverse the order of integration, we use horizontal strips as in the figure on the right above. Looking at that figure we see that, on the domain of integration,
  • y runs from 0 to 1 and
  • for each fixed y in that range, x runs from 0 to y.
So
I=01dy0ydx x3 sin(y3)=01dy sin(y3)[x44]0y=1401dy y2sin(y3)=14[cos(y3)3]01=1cos(1)12

3.1.7.23. (✳).

Solution.
(a) The solid is the set of all (x,y,z) obeying 0x3, 0y3 and 0z6xy. The base of this region is the set of all (x,y) for which there is a z such that (x,y,z) is in the solid. So the base is the set of all (x,y) obeying 0x3, 0y3 and 6xy0, i.e. xy6. This region is sketched in the figure on the left below.
(b) We’ll deompose the base region into vertical strips as in the figure on the right above. Observe that the line y=3 intersects the curve xy=6 at the point (2,3) and that on the base
  • x runs from 0 to 3 and that
  • for each fixed x between 0 and 2, y runs from 0 to 3, while
  • for each fixed x between 2 and 3, y runs from 0 to 6/x
and that, for each (x,y) in the base, z runs from 0 to 6xy. So the
Volume=02dx03dy (6xy)+23dx06/xdy (6xy)=02dx [6y12xy2]03+23dx [6y12xy2]06/x=02dx [1892x]+23dx [36x18x]=[18x94x2]02+[18lnx]23=27+18ln3234.30

3.1.7.24. (✳).

Solution.
In the given integral
  • x runs from 2 to 2 and
  • for each fixed x between 2 and 2, y runs from x2 to 4
So the domain of integration is
D={ (x,y) | 2x2, x2y4 }
This is sketched below.
The inside integral, x24cos(y3/2) dy, in the given integral looks really nasty. So let’s try exchanging the order of integration. The given integral was formed by decomposing the domain of integration D into horizontal strips, like the blue strip in the figure above. To exchange the order of integration we instead decompose the domain of integration D into vertical strips, like the pink strip in the figure above. To do so, we observe that, on D,
  • y runs from 0 to 4 and
  • for each fixed y between 0 and 4, x runs from y to y.
That is, we reexpress the domain of integration as
D={ (x,y) | 0y4, yxy }
and the given integral as
22x24cos(y3/2) dydx=04dyyydx cos(y3/2)=04dy 2ycos(y3/2)=4308dt costwhere t=y3/2, dt=32y dy=43sint|08=43sin81.319

3.1.7.25. (✳).

Solution.
(a) We may rewrite the equation x2+y2=2y of the cylinder as x2+(y1)2=1. We are (in part (c)) to find the volume of the set
V={ (x,y,z) | x2+(y1)21, 0z8+2xy }
When we look at this solid from far above (so that we can’t see z) we see the set of points (x,y) that obey x2+(y1)21 and 8+2xy0 (so that there is at least one allowed z for that (x,y)). All points in x2+(y1)21 have 1x1 and 0y2 and hence 2xy2 and 8+2xy0. So the domain of integration consists of the full disk
D={ (x,y) | x2+(y1)21 }
The volume is
I=D(8+2xy) dxdy
(b) We can express the double integral over D as iterated integrals by decomposing D into horizontal strips, like the pink strip in the figure below, and also by decomposing D into blue strips, like the blue strip in the figure below.
For horizontal strips, we use that, on D
  • y runs from 0 to 2 and,
  • for each fixed y between 0 and 2, x runs from 2yy2 to 2yy2
so that
D={ (x,y) | 0y2, 2yy2x2yy2 }
For vertical strips, we use that, on D
  • x runs from 1 to 1 and,
  • for each fixed x between 1 and 1, y runs from 11x2 to 1+1x2
so that
D={ (x,y) | 1x1, 11x2y1+1x2 }
Thus
I=02dy2yy22yy2dx (8+2xy)=11dx11x21+1x2dy (8+2xy)
(c) Since D8 dxdy is just 8 times the area of D, which is π,
Volume=8π+02dy2yy22yy2dx 2xy=8π+202dy y2yy22yy2dx x=8π
because 2yy22yy2dx x=0 for all y, because the integrand is odd and the domain of integration is even.

3.1.7.26. (✳).

Solution.
In the given integral
  • y runs from 0 to 9 and
  • for each fixed y between 0 and 9, x runs from y to 3
So the domain of integration is
D={ (x,y) | 0y9, yx3 }
This is sketched below.
The inside integral, y3sin(πx3) dx, in the given integral looks really nasty. So let’s try exchanging the order of integration. The given integral was formed by decomposing the domain of integration D into horizontal strips, like the blue strip in the figure above. To exchange the order of integration we instead decompose the domain of integration D into vertical strips, like the pink strip in the figure above. To do so, we observe that, on D,
  • x runs from 0 to 3 and
  • for each fixed x between 0 and 3, y runs from 0 to x2.
That is, we reexpress the domain of integration as
D={ (x,y) | 0x3, 0yx2 }
and the given integral as
09y3sin(πx3) dxdy=03dx0x2dy sin(πx3)=03dx x2sin(πx3)=13π027πdt sintwhere t=πx3, dt=3πx2dx=13πcost|027π=13πcost|0π=23π0.212

3.1.7.27. (✳).

Solution.
(a) In the given integral
  • x runs from 0 to 1, and
  • for each fixed x between 0 and 1, y runs from x to x.
So the region
R={ (x,y) | 0x1, xyx }
It is sketched below.
(b) The given integral was formed by decomposing the domain of integration R into vertical strips, like the pink strip in the figure above. To exchange the order of integration we instead decompose the domain of integration R into horizontal strips, like the blue strip in the figure above. To do so, we observe that, on R,
  • y runs from 1 to 1, and
  • for each fixed y between 1 and 1, x runs from y2 to 1.
So
I=11[y21sin(y33y)dx] dy
(c) The easy way to evaluate I is to observe that, since sin(y33y) is odd under yy, the integral
xxsin(y33y)dy=0
for all x. Hence I=0. The hard way is
I=11[y21sin(y33y)dx] dy=11(1y2)sin(y33y) dy=22sint dt3 where t=y33y, dt=3(y21)dy=13cost |22=0
again, since cos is even.

3.1.7.28. (✳).

Solution.
The parabola y2=2x+6 and the line y=x1 meet when x=y+1 with y2=2(y+1)+6 or y22y8=(y4)(y+2)=0. So they meet at (1,2) and (5,4). The domain of integration is sketched below.
On this domain
  • y runs from 2 to 4, and
  • for each fixed y between 2 and 4, x runs from y223 to y+1.
So the integral is
24dyy2/23y+1dx xy=24dy 12x2y|y2/23y+1=1224dy [y3+2y2+y14y5+3y39y]=1224dy [8y+2y2+4y314y5]=[2y2+13y3+12y4148y6]24=2(164)+13(64+8)+12(25616)148(409664)=24+24+12084=36

3.1.7.29.

Solution.
Looking down from the top, we see the cylinder x2+2y28. That gives the base region. The top of the solid, above any fixed (x,y) in the base region, is at z=8x (this is always positive because x never gets bigger than 8) . The bottom of the solid, below any fixed (x,y) in the base region, is at z=y4 (this is always negative because y is always smaller than 2). So the height of the solid at any (x,y) is
ztopzbottom=(8x)(y4)=12xy
The volume is
22dy82y282y2dx (12xy)
Recall, from Theorem 1.2.11 in the CLP-2 text, that if f(x) is an odd function (meaning that f(x)=f(x) for all x), then aaf(x) dx=0 (because the two integrals 0af(x) dx and a0f(x) dx have the same magnitude but opposite signs). Applying this twice gives
82y282y2dx x=0 and 22dy82y282y2dx y=22dy 2y82y2=0
since x and y82y2 are both odd. Thus
22dy82y282y2dx (xy)=0Volume=22dy82y282y2dx 12
so that the volume is just 12 times the area of the ellipse x2+2y2=8, which is
12(π82)=482π

3.2 Double Integrals in Polar Coordinates
3.2.5 Exercises

3.2.5.1.

Solution.
The first hand sketch below contains the points, (x1,y1), (x3,y3), (x5,y5), that are on the axes. The second hand sketch below contains the points, (x2,y2), (x4,y4), that are not on the axes.
Recall that the polar coordinates r, θ are related to the cartesian coordinates x, y, by x=rcosθ, y=rsinθ. So r=x2+y2 and tanθ=yx (assuming that x0 and r>0) and
(x1,y1)=(3,0)r1=3, tanθ1=0θ1=0 as (x1,y1) is on the positive x-axis(x2,y2)=(1,1)r2=2, tanθ2=1θ2=π4 as (x2,y2) is in the first octant(x3,y3)=(0,1)r3=1, cosθ3=0θ3=π2 as (x3,y3) is on the positive y-axis(x4,y4)=(1,1)r4=2, tanθ4=1θ4=3π4 as (x4,y4) is in the third octant(x5,y5)=(2,0)r5=2, tanθ5=0θ5=π as (x5,y5) is on the negative x-axis

3.2.5.2.

Solution.
In this solution, we’ll supress the subscripts. That is, we’ll write r in place of ri and θ in place of θi. Note that the distance from the point (rcosθ,rsinθ) to the origin is
r2cos2θ+r2sin2θ=r2=|r|
Thus r can be either the distance to the origin or minus the distance to the origin.
(a) The distance from (2,0) to the origin is 2. So either r=2 or r=2.
  • If r=2, then θ must obey
    (2,0)=(2cosθ,2sinθ)sinθ=0, cosθ=1θ=nπ, n integer , cosθ=1θ=nπ, n odd integer 
  • If r=2, then θ must obey
    (2,0)=(2cosθ,2sinθ)sinθ=0, cosθ=1θ=nπ, n integer , cosθ=1θ=nπ, n even integer 
In particular, (r=2,θ=0) has r<0 and 0θ<2π.
In the figure on the left below, the blue half-line is the set of all points with polar coordinates θ=π, r>0 and the orange half-line is the set of all points with polar coordinates θ=π, r<0. In the figure on the right below, the blue half-line is the set of all points with polar coordinates θ=0, r>0 and the orange half-line is the set of all points with polar coordinates θ=0, r<0.
(b) The distance from (1,1) to the origin is 2. So either r=2 or r=2.
  • If r=2, then θ must obey
    (1,1)=(2cosθ,2sinθ)sinθ=cosθ=12θ=π4+2nπ, n integer 
  • If r=2, then θ must obey
    (1,1)=(2cosθ,2sinθ)sinθ=cosθ=12θ=5π4+2nπ, n integer 
In particular, (r=2,θ=5π4) has r<0 and 0θ<2π.
In the figure on the left below, the blue half-line is the set of all points with polar coordinates θ=π4, r>0 and the orange half-line is the set of all points with polar coordinates θ=π4, r<0. In the figure on the right below, the blue half-line is the set of all points with polar coordinates θ=5π4, r>0 and the orange half-line is the set of all points with polar coordinates θ=5π4, r<0.
(c) The distance from (1,1) to the origin is 2. So either r=2 or r=2.
  • If r=2, then θ must obey
    (1,1)=(2cosθ,2sinθ)sinθ=cosθ=12θ=5π4+2nπ, n integer 
  • If r=2, then θ must obey
    (1,1)=(2cosθ,2sinθ)sinθ=cosθ=12θ=π4+2nπ, n integer 
In particular, (r=2,θ=π4) has r<0 and 0θ<2π.
In the figure on the left below, the blue half-line is the set of all points with polar coordinates θ=5π4, r>0 and the orange half-line is the set of all points with polar coordinates θ=5π4, r<0. In the figure on the right below, the blue half-line is the set of all points with polar coordinates θ=π4, r>0 and the orange half-line is the set of all points with polar coordinates θ=π4, r<0.
(d) The distance from (3,0) to the origin is 3. So either r=3 or r=3.
  • If r=3, then θ must obey
    (3,0)=(3cosθ,3sinθ)sinθ=0, cosθ=1θ=0+2nπ, n integer 
  • If r=3, then θ must obey
    (3,0)=(3cosθ,3sinθ)sinθ=0, cosθ=1θ=π+2nπ, n integer 
In particular, (r=3,θ=π) has r<0 and 0θ<2π.
In the figure on the left below, the blue half-line is the set of all points with polar coordinates θ=π, r>0 and the orange half-line is the set of all points with polar coordinates θ=π, r<0. In the figure on the right below, the blue half-line is the set of all points with polar coordinates θ=0, r>0 and the orange half-line is the set of all points with polar coordinates θ=0, r<0.
(e) The distance from (0,1) to the origin is 1. So either r=1 or r=1.
  • If r=1, then θ must obey
    (0,1)=(cosθ,sinθ)cosθ=0, sinθ=1θ=π2+2nπ, n integer 
  • If r=1, then θ must obey
    (0,1)=(cosθ,sinθ)cosθ=0, sinθ=1θ=3π2+2nπ, n integer 
In particular, (r=1,θ=3π2) has r<0 and 0θ<2π.
In the figure on the left below, the blue half-line is the set of all points with polar coordinates θ=3π2, r>0 and the orange half-line is the set of all points with polar coordinates θ=3π2, r<0. In the figure on the right below, the blue half-line is the set of all points with polar coordinates θ=π2, r>0 and the orange half-line is the set of all points with polar coordinates θ=π2, r<0.

3.2.5.3.

Solution.
(a) The lengths are
|er(θ)|=cos2θ+sin2θ=1|eθ(θ)|=(sinθ)2+cos2θ=1
As
er(θ)eθ(θ)=(cosθ)(sinθ)+(sinθ)(cosθ)=0
the two vectors are perpendicular and the angle between them is π2. The cross product is
er(θ)×eθ(θ)=det[ıı^ȷȷ^k^cosθsinθ0sinθcosθ0]=k^
(b) Note that for θ determined by x=rcosθ, y=rsinθ,
  • the vector er(θ) is a unit vector in the same direction as the vector from (0,0) to (x,y) and
  • the vector eθ(θ) is a unit vector that is perpendicular to er(θ).
  • The y-component of eθ(θ) has the same sign as the x-component of er(θ). The x-component of eθ(θ) has opposite sign to that of the y-component of er(θ).
Here is a sketch of (xi,yi), er(θi), eθ(θi) for i=1,3,5 (the points on the axes)
and here is a sketch (to a different scale) of (xi,yi), er(θi), eθ(θi) for i=2,4 (the points off the axes).

3.2.5.4.

Solution.
Here is a sketch of a,b and A,B.
(a) From the sketch,
a=rcosθb=rsinθ
(b) The length of the vector A,B is again r and the angle between A,B and the x-axis is θ+φ. So
A=rcos(θ+φ)=rcosθcosφrsinθsinφ=acosφbsinφB=rsin(θ+φ)=rsinθcosφ+rcosθsinφ=bcosφ+asinφ

3.2.5.5.

Solution.
(a) The region
R={ (x,y) | 0x2+y24, 0yx }
In polar coordinates,
  • the circle x2+y2=4 becomes r2=4 or r=2 and
  • the line y=x becomes rsinθ=rcosθ or tanθ=1 or θ=π4.
Thus the domain of integration is
R={ (rcosθ,rsinθ) | 0r2, 0θπ4 }
On this domain,
  • θ runs from 0 to π4.
  • For each fixed θ in that range, r runs from 0 to 2, as in the figure on the left below.
In polar coordinates dxdy=rdrdθ, so that
Rf(x,y)dxdy=0π4dθ02dr r f(rcosθ,rsinθ)
Alternatively, on R,
  • r runs from 0 to 2.
  • For each fixed r in that range, θ runs from 0 to π4, as in the figure on the right above.
So
Rf(x,y)dxdy=02dr0π4dθ r f(rcosθ,rsinθ)
(b) The region
R={ (x,y) | 1x2+y24, x0, y0 }
In polar coordinates,
  • the circle x2+y2=1 becomes r2=1 or r=1 and
  • the circle x2+y2=4 becomes r2=4 or r=2 and
  • the positive x-axis, x0, y=0, becomes θ=0 and
  • the positive y-axis, x=0, y0, becomes θ=π2.
Thus the domain of integration is
R={ (rcosθ,rsinθ) | 1r2, 0θπ2 }
On this domain,
  • θ runs from 0 to π2.
  • For each fixed θ in that range, r runs from 1 to 2, as in the figure on the left below.
In polar coordinates dxdy=rdrdθ, so that
Rf(x,y)dxdy=0π2dθ12dr r f(rcosθ,rsinθ)
Alternatively, on R,
  • r runs from 1 to 2.
  • For each fixed r in that range, θ runs from 0 to π2, as in the figure on the right above.
So
Rf(x,y)dxdy=12dr0π2dθ r f(rcosθ,rsinθ)
(c) The region
R={ (x,y) | (x1)2+y21, y0 }
In polar coordinates, the circle (x1)2+y2=1, or x22x+y2=0, is r22rcosθ=0 or r=2cosθ. Note that, on r=2cosθ,
  • when θ=0, r=2 and
  • as θ increases from 0 towards π2, r decreases but remains strictly bigger than 0 (look at the figure below), until
  • when θ=π2, r=0.
Thus the domain of integration is
R={ (rcosθ,rsinθ) | 0θπ2, 0r2cosθ }
On this domain,
  • θ runs from 0 to π2.
  • For each fixed θ in that range, r runs from 0 to 2cosθ, as in the figure on the left below.
In polar coordinates dxdy=rdrdθ, so that
Rf(x,y)dxdy=0π2dθ02cosθdr r f(rcosθ,rsinθ)
Alternatively, on R,
  • r runs from 0 (at the point (0,0)) to 2 (at the point (2,0)).
  • For each fixed r in that range, θ runs from 0 to arccosr2 (which was gotten by solving r=2cosθ for θ as a function of r), as in the figure on the right above.
So
Rf(x,y)dxdy=02dr0arccosr2dθ r f(rcosθ,rsinθ)
(d) The region
R={ (x,y) | 0y2, 0xy }
In polar coordinates,
  • the line y=2 becomes rsinθ=2 and
  • the positive y-axis, x=0, y0, becomes θ=π2 and
  • the line y=x becomes rsinθ=rcosθ or tanθ=1 or θ=π4.
Thus the domain of integration is
R={ (rcosθ,rsinθ) | π4θπ2, 0rsinθ2 }
On this domain,
  • θ runs from π4 to π2.
  • For each fixed θ in that range, r runs from 0 to 2sinθ, as in the first figure below.
In polar coordinates dxdy=rdrdθ, so that
Rf(x,y)dxdy=π4π2dθ02sinθdr r f(rcosθ,rsinθ)
Alternatively, on R,
  • r runs from 0 (at the point (0,0)) to 22 (at the point (2,2)).
  • For each fixed r between 0 and 2, θ runs from π4 to π2, as in the second figure above.
  • For each fixed r between 2 and 22, θ runs from π4 to arcsin2r (which was gotten by solving rsinθ=2 for θ as a function of r), as in the third figure above.
So
Rf(x,y)dxdy=02drπ4π2dθ r f(rcosθ,rsinθ)+222drπ4arcsin2rdθ r f(rcosθ,rsinθ)

3.2.5.6.

Solution.
(a) Let D denote the domain of integration. The symbols 12drπ4π4dθ say that, on D,
  • r runs from 1 to 2 and
  • for each r in that range, θ runs from π4 to π4.
In Cartesian coordinates
  • r=1 is the circle x2+y2=1 and
  • r=2 is the circle x2+y2=4 and
  • θ=π4 is the ray y=x, x0 and
  • θ=π4 is the ray y=x, x0.
So
D={ (x,y) | 1x2+y24, xyx, x0 }
Here are two sketches. D is the shaded region in the sketch on the right.
(b) Let D denote the domain of integration. The symbols 0π4dθ02sinθ+cosθdr say that, on D,
  • θ runs from 0 to π4 and
  • for each θ in that range, r runs from 0 to 2sinθ+cosθ.
In Cartesian coordinates
  • θ=0 is the positive x-axis and
  • θ=π4 is the ray y=x, x0 and
  • r=2sinθ+cosθ, or equivalently rcosθ+rsinθ=2, is the line x+y=2.
Looking at the sketch on the left below, we see that, since the lines y=x and x+y=2 cross at (1,1),
D={ (x,y) | 0y1, yx2y }
D is the shaded region in the sketch on the right.
(c) Let D denote the domain of integration. The symbols 02πdθ03cos2θ+9sin2θdr say that, on D,
  • θ runs all the way from 0 to 2π and
  • for each θ, r runs from 0 to 3cos2θ+9sin2θ.
In Cartesian coordinates
  • r=3cos2θ+9sin2θ, or equivalently r2cos2θ+9r2sin2θ=9, is the ellipse x2+9y2=9.
So D is the interior of the ellipse x2+9y2=9 and D is the shaded region in the lower sketch.

3.2.5.7.

Solution.
(a) In polar coordinates, the domain of integration, x2+y2a2, 0y3x, becomes
0ra, 0rsinθ3rcosθ or 0ra, 0θarctan3=π3
The integral is
S(x+y)dxdy=0adr0π3dθ r(rcosθ+rsinθ)=0adr r2[sinθcosθ]0π3=a33[3212+1]=a36[3+1]
(b) In polar coordinates, the domain of integration, x2+y22, x1,
becomes
r2, rcosθ1 or 1cosθr2
For 1cosθr2 to be nonempty, we need cosθ12 or |θ|π4. By symmetry under yy, the integral is
Sx dxdy=20π4dθ1cosθ2dr r(rcosθ)=20π4dθ cosθ r33|1cosθ2=230π4dθ [23/2cosθ1cos2θ]=23[23/2sinθtanθ]0π4=23[23/2121]=23
(c) In polar coordinates, the triangle with vertices (0,0),(1,0) and (1,1) has sides θ=0, θ=π4 and r=1cosθ (which is the polar coordinates version of x=1). The integral is
T(x2+y2) dxdy=0π4dθ01cosθdr r(r2)=0π4dθ r44|01cosθ=140π4dθ 1cos4θ=140π4dθ sec4θ=140π4dθ sec2θ(1+tan2θ)=1401dt (1+t2) where t=tanθ=14[t+t33]01=14 43=13
(d) In polar coordinates, the domain of integration, x2+y21, becomes 0r1, 0θ2π. So
x2+y21ln(x2+y2)dxdy=02πdθ01dr rlnr2=2π01dr rlnr2=π01ds lns where s=r2=π[slnss]01=π
To be picky, lns tends to as s tends to 0. So 01dslns is an improper integral. The careful way to evaluate it is
01ds lns=limε0+ε1ds lns=limε0+[slnss]ε1=limε0+[1εlnε+ε]=1
That limε0+εlnε=0 was shown in Example 3.7.15 of the CLP-1 text.

3.2.5.8.

Solution.
The top surface x2+y2+z2=2 meets the bottom surface z=x2+y2 when z obeys x2+y2=z=2z2. That is, when 0=z2+z2=(z1)(z+2). The root z=2 is inconsistent with z=x2+y20. So the top and bottom surfaces meet at the circle z=1, x2+y2=1.
In polar coordinates, the top surface is z2=2r2, or equivalently z=2r2, and the bottom surface is z=r2. So the height of the volume above the point with polar coordinates (r,θ) is 2r2r2 and
Volume=01dr02πdθ r[2r2r2]=2π01dr r[2r2r2]=2π[13(2r2)3/2r44]01=2π[1314+1323/2]=π[43276]2.26
In Cartesian coordinates
Volume=401dx01x2dy [2x2y2x2y2]
The y integral can be done using the substitution y=2x2cost, but it is easier to use polar coordinates.

3.2.5.9.

Solution.
For this region x and y run over the interior of the cylinder x2+(ya)2=a2. For each (x,y) inside the cylinder, z runs from x2+y2 to x2+y2. As x2+(ya)2=a2 if and only if x2+y22ay=0, the cylinder has equation r2=2arsinθ, or equivalently, r=2asinθ, in polar coordinates.
Thus (r,θ) runs over 0θπ, 0r2asinθ and for each (r,θ) in this region z runs from r to r. By symmetry under xx, the volume is
Volume=20π2dθ02asinθdr r[r(r)]=40π2dθ02asinθdr r2=430π2dθ (2asinθ)3=323a30π2dθ sinθ(1cos2θ)=323a310dt (1t2) where t=cosθ=323a3[tt33]10=649a3

3.2.5.10.

Solution.
The figure below shows the top view of the specified solid. (x,y) runs over the interior of the circle x2+y2=2ax. For each fixed (x,y) in this disk, z runs from 2ax to +2ax. In polar coordinates, the circle is r2=2arcosθ or r=2acosθ.
The solid is symmetric under yy and zz, so we can restrict to y0, z0 and multiply by 4. The volume is
Volume=40π2dθ02acosθdr r2arcosθ=40π2dθ 2acosθ 25 r5/2|02acosθ=850π2dθ (2acosθ)3=645a30π2dθ cosθ(1sin2θ)=645a301dt (1t2) where t=sinθ=645a3[tt33]01=12815a3

3.2.5.11. (✳).

Solution.
(a)
  • The equation x2+y22y is equivalent to the equation x2+(y1)2=1, which is the equation of the cylinder whose z=z0 cross--section is the horizontal circle of radius 1, centred on x=0, y=1, z=z0. The part of this cylinder in the first octant is sketched in the first figure below.
  • zx2+y2 is the equation of the cone with vertex (0,0,0), and axis the positive z--axis, whose radius at height z=2 is 2. The part of this cone in the first octant is sketched in the second figure below.
The region E is the part of the cylinder that is above the xy--plane (since z0) outside the cone (since zx2+y2). The part of E that is in the first octant is outlined in red in the figure below. Both x2+y22y and 0zx2+y2 are invariant under xx. So E is also invariant under xx. That is, E is symmetric about the yz--plane and contains, in the octant x0, y0, z0, a mirror image of the first octant part of E.
(b) In polar coordinates, x2+y22y becomes
r22rsinθr2sinθ
Let us denote by D the base region of the part of E in the first octant (i.e. the shaded region in the figure above). Think of D as being part of the xy--plane. In polar coordinates, on D
  • θ runs from 0 to π2. (Recall that D is contained in the first quadrant.)
  • For each θ in that range, r runs from 0 to 2sinθ.
Because
  • in polar coordinates dA=rdrdθ, and
  • the height of E above each point (x,y) in D is x2+y2, or, in polar coordinates, r, and
  • the volume of E is twice the volume of the part of E in the first octant,
we have
Volume(E)=20π2dθ02sinθdr r2=1630π2dθ sin3θ=1630π2dθ sinθ (1cos2θ)=16310du (1u2)with u=cosθ, du=sinθ dθ=163[113]=329

3.2.5.12. (✳).

Solution.
On the domain of integration
  • x runs for 0 to 2, and
  • for each fixed x in that range, y runs from 0 to 4x2. The equation y=4x2 is equivalent to x2+y2=4, y0.
This domain is sketched in the figure on the left below.
Considering that
  • the integrand, (x2+y2)32, is invariant under rotations about the origin and
  • the outer curve, x2+y2=4, is invariant under rotations about the origin
we’ll use polar coordinates. In polar coordinates,
  • the outer curve, x2+y2=4, is r=2, and
  • the integrand, (x2+y2)32 is r3, and
  • dA=rdrdθ
Looking at the figure on the right above, we see that the given integral is, in polar coordinates,
0π/2dθ02dr r(r3)=π2 255=16π5

3.2.5.13. (✳).

Solution.
(a) The region L is sketched in the figure on the left below.
(b) In polar coordinates
  • the circle x2+y2=2 is r2=2 or r=2, and
  • the circle x2+y2=4 is r2=4 or r=2, and
  • the line y=x is rsinθ=rcosθ, or tanθ=1, or (for the part in the first quadrant) θ=π4, and
  • the positive x--axis (y=0, x0) is θ=0
Looking at the figure on the right above, we see that, in L,
  • θ runs from 0 to π4, and
  • for each fixed θ in that range, r runs from 2 to 2.
  • dA is rdrdθ
So
M=0π/4dθ22dr rρ(rcosθ,rsinθ)
(c) When
ρ=2xyx2+y2=2r2cosθsinθr2=sin(2θ)
we have
M=0π/4dθ22dr rsin(2θ)=[0π/4sin(2θ) dθ][22r dr]=[12cos(2θ)]0π/4[r22]22=12 422=12

3.2.5.14. (✳).

Solution.
We’ll use polar coordinates. The domain of integration is
R2={ (rcosθ,rsinθ) | 0r<, 0θ2π }
The given integral is improper, so we’ll start by integrating r from 0 to an arbitrary R>0, and then we’ll take the limit R. In polar coordinates, the integrand 1(1+x2+y2)2=1(1+r2)2, and dA=rdrdθ, so
R21(1+x2+y2)2 dA=limR02πdθ0Rdrr(1+r2)2=limR02πdθ [12(1+r2)]0R=limR2π[1212(1+R2)]=π

3.2.5.15. (✳).

Solution.
Let’s switch to polar coordinates. In polar coordinates, the circle x2+y2=2 is r=2 and the line y=x is θ=π4.
In polar coordinates dA=rdrdθ, so the integral
Dyx2+y2dA=0π/4dθ02dr r rsinθy rx2+y2=0π/4dθ sinθ [r44]02=[cosθ]0π/4=112

3.2.5.16. (✳).

Solution.
(a) On the domain of integration
  • y runs from 0 to 1. In inequalities, 0y1.
  • For each fixed y in that range, x runs from 3y to 4y2. In inequalities, that is 3yx4y2. Note that the inequalities x4y2, x0 are equivalent to x2+y24, x0.
Note that the line x=3y and the circle x2+y24 intersect when 3y2+y2=4, i.e. y=±1. Here is a sketch.
(b) In polar coordinates, the circle x2+y2=4 is r=2 and the line x=3y, i.e. yx=13, is tanθ=13 or θ=π6. As dxdy=rdrdθ, the domain of integration is
{ (rcosθ,rsinθ) | 0θπ6, 0r2 }
and
013y4y2ln(1+x2+y2) dxdy=02dr0π/6dθ rln(1+r2)=π602dr rln(1+r2)=π1215duln(u)with u=1+r2, du=2rdr=π12[uln(u)u]15=π12[5ln(5)4]

3.2.5.17. (✳).

Solution.
Here is a sketch of D.
We’ll use polar coordinates. In polar coordinates the circle x2+y2=16 is r=4 and the line x=2 is rcosθ=2. So
D={(rcosθ,rsinθ) | π3θπ3, 2cosθr4 }
and, as dA=rdrdθ, the specified integral is
D(x2+y2)3/2 dA=π/3π/3dθ2/cosθ4dr r1r3=π/3π/3dθ [1r]2/cosθ4=π/3π/3dθ [cosθ214]=[sinθ2θ4]π/3π/3=32π6

3.2.5.18. (✳).

Solution.
(a) The inequality x2+y22x is equivalent to (x1)2+y21 and says that (x,y) is to be inside the disk of radius 1 centred on (1,0). Here is a sketch.
In polar coordinates, x=rcosθ, y=rsinθ so that the line y=x is θ=π4 and the circle x2+y2=2x is
r2=2rcosθorr=2cosθ
Consequently
D={ (rcosθ,rsinθ) | π2θπ4, 0r2cosθ }
(b) The solid has height z=r above the point in D with polar coordinates r, θ. So the
Volume=Dr dA=Dr2 drdθ=π/2π/4dθ02cosθdr r2=83π/2π/4dθ cos3θ=83π/2π/4dθ cosθ[1sin2θ]=83[sinθsin3θ3]π/2π/4=83[(12162)(1+13)]=40182+169

3.2.5.19. (✳).

Solution.
We’ll use polar coordinates. In D
  • θ runs from 0 to π2 and
  • for each fixed θ between 0 and π2, r runs from 1 to 1+cos(θ).
So the area of D is
area=A=0π/2dθ11+cosθdr r=0π/2dθ 12r2|11+cosθ=0π/2dθ [12cos2θ+cosθ]
We are interested in the average value of r on D, which is
ave dist=1A0π/2dθ11+cosθdr r2=1A0π/2dθ 13r3|11+cosθ=1A0π/2dθ [13cos3θ+cos2θ+cosθ]
Now we evaluate the integrals of the various powers of cosine.
0π/2cosθ dθ=sinθ|0π/2=10π/2cos2θ dθ=cosθsinθ2|0π/2+120π/2dθ=π40π/2cos3θ dθ=cos2θsinθ3|0π/2+230π/2cosθ dθ=23
So A=π8+1 and
ave dist=8π+8[29+π4+1]=2π+44/9π+81.442

3.2.5.20. (✳).

Solution.
(a) Observe that
  • the condition x2+y21 restricts G to the interior of the circle of radius 1 centred on the origin, and
  • the conditions 0x2y restricts G to x0, y0, i.e. to the first quadrant, and
  • the conditions x2y and y2x restrict x2y2x. So G lies below the (steep) line y=2x and lies above the (not steep) line y=x2.
Here is a sketch of G
(b) Observe that the line y=2x crosses the circle x2+y2=1 at a point (x,y) obeying
x2+(2x)2=x2+y2=15x2=1
and that the line x=2y crosses the circle x2+y2=1 at a point (x,y) obeying
(2y)2+y2=x2+y2=15y2=1
So the intersection point of y=2x and x2+y2=1 in the first octant is (15,25) and the intersection point of x=2y and x2+y2=1 in the first octant is (25,15).
We’ll set up the iterated integral using horizontal strips as in the sketch
Looking at that sketch, we see that, on G,
  • y runs from 0 to 25, and
  • for each fixed y between 0 and 15, x runs from y2 to 2y, and
  • for each fixed y between 15 and 25 x runs from y2 to 1y2.
So
Gf(x,y) dA=015dyy/22ydx f(x,y)+1525dyy/21y2dx f(x,y)
(b) In polar coordinates
  • the equation x2+y2=1 becomes r=1, and
  • the equation y=x/2 becomes rsinθ=r2cosθ or tanθ=12, and
  • the equation y=2x becomes rsinθ=2rcosθ or tanθ=2.
Looking at the sketch
we see that, on G,
  • θ runs from arctan12 to arctan2, and
  • for each fixed θ in that range, r runs from 0 to 1.
As dA=rdrdθ, and x=rcosθ, y=rsinθ,
Gf(x,y) dA=arctan12arctan2dθ01dr rf(rcosθ,rsinθ)

3.2.5.21. (✳).

Solution.
(a) On the domain of integration
  • y runs from 0 to 2 and
  • for each y in that range, x runs from y to 4y2. We can rewrite x=4y2 in the more familiar form x2+y2=4, x0.
The figure on the left below provides a sketch of the domain of integration. It also shows the generic horizontal slice that was used to set up the given iterated integral.
(b) To reverse the order of integration observe, we use vertical, rather than horizontal slices. From the figure on the right above that, on the domain of integration,
  • x runs from 0 to 2 and
  • for each x in the range 0x2, y runs from 0 to x.
  • for each x in the range 2x2, y runs from 0 to 4x2.
So the integral
J=020xyxex2+y2 dydx+2204x2yxex2+y2 dydx
(c) In polar coordinates, the line y=x is θ=π4, the circle x2+y2=4 is r=2, and dxdy=rdrdθ. So
J=0π/4dθ02dr rrsinθrcosθyxer2=0π/4dθ sinθcosθ[12er2]02=12[e41]11/2du 1uwith u=cosθ, du=sinθdθ=12[e41] [ln|u|]11/2=14[e41]ln2

3.2.5.22.

Solution.
The paraboloid hits the xy--plane at x2a2+y2b2=1.
Volume=0adx0b1x2a2dy (1x2a2y2b2)=b0adx01x2a2dv (1x2a2v2) where y=bv
Think of this integral as being of the form
b0adx g(x)withg(x)=01x2a2dv (1x2a2v2)
Then, substituting x=au,
Volume=ab01du01u2dv (1u2v2)=abu2+v21u,v0dudv (1u2v2)
Now switch to polar coordinates using u=rcosθ, v=rsinθ.
Volume=ab01dr0π2dθ r(1r2)=ab π2 [r22r44]01=π8ab

3.2.5.23.

Solution.
Let r(z) be the radius of the urn at height z above its middle. Because the bounding surface of the urn is parabolic, r(z) must be a quadratic function of z that varies between 3 at z=0 and 2 at z=±6. That is, r(z) must be of the form r(z)=az2+bz+c. The condition that r(0)=3 tells us that c=3. The conditions that r(±6)=2 tells us that
62a+6b+3=262a6b+3=2
So b=0 and 62a=1 so that a=162. All together r(z)=3(z6)2.
Slice the urn into horzontal slices, with the slice at height z a disk of radius r(z) and thickness dz and hence of volume πr(z)2dz. The volume to height z0 is
V(z)=6z0dz πr(z)2=6z0dz π[3z236]2=π[9zz318+z55×362]6z0
We are told that the mark is to be at the 6 cup level and that the urn holds 24 cups. So the mark is to be at the height z0 for which the volume, V(z0), is one quarter of the total volume, V(6). That is, we are to choose z0 so that V(z0)=14V(6) or
π[9zz318+z55×362]6z0=π4[9zz318+z55×362]66=π2[9×66318+655×362]
or
9z0z0318+z055×362=12[9×66318+655×362]=21.60
Since [9z0z0318+z056480]z0=2.495=21.61 and [9z0z0318+z056480]z0=2.490=21.57, there is a solution z0=2.49 (to two decimal places). The mark should be about 3.5’’ above the bottom.

3.2.5.24. (✳).

Solution.
(a) In polar coordinates, the base region x2+y29 is r3, 0θ2π. So the
Volume=x2+y29ex2+y2 dxdy=03dr02πdθ rer2=2π03dr rer2=πer2|03=π(e91)25,453
(b) The two integrals have domains
{ (x,y) | 0y1, 0xy }{ (x,y) | 1y2, 0x2y }
The union of those two domains (as well as horizontal strips that were used in setting up the two given integrals) is sketched in the figure on the left below.
To reverse the order of integration, we decompose the domain using vertical strips as in the figure on the right above. As
  • x runs from 0 to 1 and
  • for each fixed x between 0 and 1, y runs from x to 2x.
we have that the
Volume=01dxx2xdy ex2+y2

3.3 Applications of Double Integrals
3.3.4 Exercises

3.3.4.1.

Solution.
(a) Dx dxdy=0 because x is odd under xx, i.e. under reflection about the y--axis, while the domain of integration is symmetric about the y--axis. D3 dxdy is the three times the area of a half disc of radius 2. So, D(x+3)dxdy=3×12×π22=6π.
(s) Rx dxdy/Rdxdy is the average value of x in the rectangle R, namely a2. Similarly, Ry dxdy/Rdxdy is the average value of y in the rectangle R, namely b2. Rdxdy is area of the rectangle R, namely ab. So,
  • Rx dxdy=a2Rdxdy=a2ab and
  • Ry dxdy=b2Rdxdy=b2ab
and R(x+y)dxdy=12ab(a+b).

3.3.4.2. (✳).

Solution.
Here is a sketch of D.
By definition, the centre of mass is (x¯,y¯), with x¯ and y¯ being the weighted averages of the x and y--coordinates, respectively, over D. That is,
x¯=Dx ρ(x,y) dADρ(x,y) dAy¯=Dy ρ(x,y) dADρ(x,y) dA
By symmetry under reflection in the y--axis, we have x¯=0. So we just have to determine y¯. We’ll evaluate the integrals using vertical strips as in the figure above. Looking at that figure, we see that
  • x runs from 1 to 1, and
  • for each fixed x in that range, y runs from x2 to 1.
So the denominator is
Dρ(x,y) dA=11dxx21dy yρ(x,y)=1211dx (1x4)=01dx (1x4)=45
and the numerator of y¯ is
Dyρ(x,y) dA=11dxx21dy yyρ(x,y)=1311dx (1x6)=2301dx (1x6)=23 67=47
All together, x¯=0 and
y¯=4745=57

3.3.4.3. (✳).

Solution.
(a) Here is a sketch of R.
(b) Considering that
  • ρ(x,y) is invariant under rotations about the origin and
  • the outer curve x2+y2=4 is invariant under rotations about the origin and
  • the given hint involves a θ integral
we’ll use polar coordinates.
Observe that the line x=1 and the circle x2+y2=4 intersect when
1+y2=4y=±3
and that the polar coordinates of the point (x,y)=(1,3) are r=x2+y2=2 and θ=arctanyx=arctan3=π3. Looking at the sketch
we see that, on R,
  • θ runs from π3 to π3 and
  • for each fixed θ in that range, r runs from 1cosθ=secθ to 2.
  • In polar coordinates, dA=rdrdθ, and
  • the density ρ=1x2+y2=1r
So the mass is
M=Rρ(x,y) dA=π/3π/3dθsecθ2dr rr=π/3π/3dθ [2secθ]=20π/3dθ [2secθ]=2[2θln(secθ+tanθ)]0π/3=2[2π3ln(2+3)+ln(1+0)]=4π32ln(2+3)
(c) By definition, the centre of mass is (x¯,y¯), with x¯ and y¯ being the weighted averages of the x and y--coordinates, respectively, over R. That is,
x¯=Rx ρ(x,y) dARρ(x,y) dAy¯=Ry ρ(x,y) dARρ(x,y) dA
By symmetry under reflection in the x--axis, we have y¯=0. So we just have to determine x¯. The numerator is
Rx ρ(x,y) dA=π/3π/3dθsecθ2dr rr rcosθx=12π/3π/3dθ [4sec2θ]cosθ=0π/3dθ [4cosθsecθ]=[4sinθln(secθ+tanθ)]0π/3=[432ln(2+3)+ln(1+0)]=23ln(2+3)
All together, y¯=0 and
x¯=23ln(2+3)4π32ln(2+3)1.38

3.3.4.4. (✳).

Solution.
Let’s call the plate P. By definition, the x--coordinate of its centre of mass is
x¯=Px dAPdA
Here is a sketch of the plate.
The cardiod is given to us in polar coordinates, so let’s evaluate the integrals in polar coordinates. Looking at the sketch above, we see that, on P,
  • θ runs from 0 to π/2 and
  • for each fixed θ in that range, r runs from 0 to 1+sinθ.
  • In polar coordinates dA=rdrdθ
So the two integrals of interest are
PdA=0π/2dθ01+sinθdr r=120π/2dθ (1+2sinθ+sin2θ)=12π2+[cosθ]0π/2+120π/2dθ 1cos(2θ)2=π4+1+14[θsin(2θ)2]0π/2=3π8+1
and
Px dA=0π/2dθ01+sinθdr r(rcosθ)x=130π/2dθ (1+sinθ)3cosθ=1312du u3with u=1+sinθ, du=cosθdθ=112[2414]=54
All together
x¯=543π8+1=103π+80.57
For an efficient, sneaky, way to evaluate 0π/2sin2θ dθ, see Remark 3.3.5.

3.3.4.5. (✳).

Solution.
Call the plate P. By definition, the centre of mass is (x¯,y¯), with x¯ and y¯ being the weighted averages of the x and y--coordinates, respectively, over P. That is,
x¯=Px ρ(x,y) dAPρ(x,y) dAy¯=Py ρ(x,y) dAPρ(x,y) dA
with ρ(x,y)=k. Here is a sketch of P.
By symmetry under reflection in the line y=x, we have y¯=x¯. So we just have to determine
x¯=Px dAPdA
The denominator is just one quarter of the area of circular disk of radius 1. That is, PdA=π4. We’ll evaluate the numerator using polar coordinates as in the figure above. Looking at that figure, we see that
  • θ runs from 0 to π2, and
  • for each fixed θ in that range, r runs from 0 to 1.
As dA=rdrdθ, and x=rcosθ, the numerator
Px dA=0π/2dθ01dr rrcosθx=[0π/2dθ cosθ][01dr r2]=[sinθ]0π/2[r33]01=13
All together
x¯=y¯=1/3π/4=43π

3.3.4.6. (✳).

Solution.
Here is a sketch of R.
Note that
  • the equation of the straight line through (2,0) and (0,2) is y=2x, or x=2y. (As a check note that both points (2,0) and (0,2) are on x=2y.
  • The equation of the straight line through (1,0) and (0,2) is y=22x, or x=2y2. (As a check note that both points (0,2) and (1,0) are on x=2y2.
By definition, the y--coordinate of the center of mass of R is the weighted average of y over R, which is
y¯=Ryρ(x,y)dARρ(x,y)dA=Ry3dARy2dA
On R,
  • y runs from 0 to 2. That is, 0y2.
  • For each fixed y in that range, x runs from 2y2 to 2y. In inequalities, that is 2y2x2y.
Thus
R={ (x,y) | 0y2, 2y2x2y}
For both n=2 and n=3, we have
RyndA=02dy2y22ydx yn=02dy yn2y2=12[2yn+1n+1yn+2n+2]02=12[2n+2n+12n+2n+2]=2n+1(n+1)(n+2)
So
y¯=Ry3dARy2dA=24(4)(5)23(3)(4)=65

3.3.4.7. (✳).

Solution.
By the definition given in the statement with (a,b)=(0,0), the average is
1A(D)Dx2+y2 dxdy
The denominator A(D)=π. We’ll use polar coordinates to evaluate the numerator.
Dx2+y2 dxdy=02πdθ01dr rr2cos2θ+r2sin2θ=02πdθ01dr r2=02πdθ 13=2π3
So the average is
2π3π=23

3.3.4.8. (✳).

Solution.
Note that x2+y2=x is equivalent to (x12)2+y2=14, which is the circle of radius 12 centred on (12,0). Let’s call the crescent C and write
D={ (x,y) | x2+y21 }H={ (x,y) | (x12)2+y214 }
so that
C=DH
meaning that C is the disk D with the “hole” H removed. Here is a sketch.
(a) As D is a disk of radius 1, it has area π. As H is a disk of radius 12, it has area π4. As C has density 1,
Mass(C)=CdA=DdAHdA=ππ4=3π4
(b) Recall that, by definition, the x--coordinate of the centre of mass of C is the average value of x over C, which is
x¯=CxdACdA
We have already found that CdA=3π4. So we have to determine the numerator
CxdA=DxdAHxdA
As x is an odd function and D is invariant under xx, DxdA=0. So we just have to determine HxdA. To do so we’ll work in polar coordinates, so that dA=rdrdθ. In polar coordinates x2+y2=x is r2=rcosθ or r=cosθ. So, looking at the figure above (just before the solution to part (a)), on the domain of integration,
  • θ runs from π2 to π2.
  • For each fixed θ in that range, r runs from 0 to cosθ.
So the integral is
HxdA=π/2π/2dθ0cosθdr r(rcosθ)x=π/2π/2dθ cos4θ3=π8
So all together
x¯=CxdACdA=DxdAHxdACdA=0π83π4=16

3.3.4.9. (✳).

Solution.
The domain is pictured below.
The two circles intersect when x2+y2=2 and
x2+(y1)2=2y2+(y1)2=12y+3=1y=1
and x=±1. In polar coordinates x2+y2=2 is r=2 and x2+(y1)2=x2+y22y+1=1 is r22rsinθ=0 or r=2sinθ. The two curves intersect when r=2 and2=2sinθ so that θ=π4 or 34π. So
D={ (rcosθ,rsinθ) | 14πθ34π, 2r2sinθ }
and, as the density is 2r,
mass=π/43π/4dθ22sinθdr r2r=2π/43π/4dθ [2sinθ2]=4π/4π/2dθ [2sinθ2]=4[2cosθ2θ]π/4π/2=422π1.214

3.3.4.10. (✳).

Solution.
(a) The side of the triangle from (a,0) to (0,c) is straight line that passes through those two points. As y=0 when x=a, the line must have an equation of the form y=K(x+a) for some constant K. Since y=c when x=0, the constant K=ca. So that the equation is y=ca(x+a). has equation cxay=ac. Similarly the side of the triangle from (b,0) to (0,c) has equation y=cb(bx). The triangle has area A=12(a+b)c. It has centre of mass (x¯,y¯) with
x¯=1ATx dxdyy¯=1ATy dxdy
To evaluate the integrals we’ll decompose the triangle into vertical strips as in the figure
x¯=1ATx dxdy=1A(a0dx0c+caxdy x+0bdx0ccbxdy x)=1A(a0dx x(c+cax)+0bdx x(ccbx))=1A([12cx2+c3ax3]a0+[12cx2c3bx3]0b)=212c(b2a2)+c3(a2b2)(a+b)c=13(ba)y¯=1ATy dxdy=1A(a0dx0c+caxdy y+0bdx0ccbxdy y)=1A(a0dx 12(c+cax)2+0bdx 12(ccbx)2)=1A(a6c[c+cax]3|a0b6c(ccbx)3|0b)=2ac26+bc26(a+b)c=c3
(b) The midpoint of the side opposite (a,0) is 12[(b,0)+(0,c)]=12(b,c). The vector from (a,0) to 12(b,c) is 12b,ca,0=a+b2,c2. So the line joining these two points has vector parametric equation
r(t)=a,0+ta+12b,12c
The point (x¯,y¯) lies on this line since
r(23)=(13(ba),c3)=(x¯,y¯)
Similarly, the midpoint of the side opposite (b,0) is 12(a,c). The line joining these two points has vector parametric equation
r(t)=b,0+tb12a,12c
The point (x¯,y¯) lies on this line too, since
r(23)=(13(ba),c3)=(x¯,y¯)
It is not really necessary to check that (x¯,y¯) lies on the third median, but let’s do it anyway. The midpoint of the side opposite (0,c) is 12(ba,0). The line joining these two points has vector parametric equation
r(t)=0,c+tb2a2,c
The point (x¯,y¯) lies on this median too, since
r(23)=(13(ba),c3)=(x¯,y¯)

3.4 Surface Area

Exercises

3.4.1.
Solution.
(a) S is the part of the plane z=ytanθ that lies above the rectangle in the xy-plane with vertices (0,0), (a,0), (0,b), (a,b). So S is the rectangle with vertices (0,0,0), (a,0,0), (0,b,btanθ), (a,b,btanθ). So it has side lengths
|a,0,00,0,0|=a|0,b,btanθ0,0,0|=b2+b2tan2θ
and hence area ab1+tan2θ=absecθ.
(b) S is the part of the surface z=f(x,y) with f(x,y)=ytanθ and with (x,y) running over
D={ (x,y) | 0xa, 0yb }
Hence by Theorem 3.4.2
Area(S)=D1+fx(x,y)2+fy(x,y)2 dxdy=0adx0bdy 1+02+tan2θ=ab1+tan2θ=absecθ
3.4.2.
Solution.
S is the part of the surface z=f(x,y) with f(x,y)=daxbyc and with (x,y) running over D. Hence by Theorem 3.4.2
Area(S)=D1+fx(x,y)2+fy(x,y)2 dxdy=D 1+a2c2+b2c2=a2+b2+c2cA(D)
3.4.3.
Solution.
Note that all three vertices (a,0,0), (0,b,0) and (0,0,c) lie on the plane xa+yb+zc=1. So the triangle is part of that plane.
Method 1. S is the part of the surface z=f(x,y) with f(x,y)=c(1xayb) and with (x,y) running over the triangle Txy in the xy-plane with vertices (0,0,0) (a,0,0) and (0,b,0). Hence by part a of Theorem 3.4.2
Area(S)=Txy1+fx(x,y)2+fy(x,y)2 dxdy=Txy 1+c2a2+c2b2 dxdy=1+c2a2+c2b2 A(Txy)
where A(Txy) is the area of Txy. Since the triangle Txy has base a and height b (see the figure below), it has area 12ab. So
Area(S)=121+c2a2+c2b2 ab=12a2b2+a2c2+b2c2
Method 2. S is the part of the surface x=g(y,z) with g(y,z)=a(1ybzc) and with (y,z) running over the triangle Tyz in the yz-plane with vertices (0,0,0) (0,b,0) and (0,0,c). Hence by part b of Theorem 3.4.2
Area(S)=Tyz1+gy(y,z)2+gz(y,z)2 dydz=Tyz 1+a2b2+a2c2 dydz=1+a2b2+a2c2 A(Tyz)
where A(Tyz) is the area of Tyz. Since Tyz has base b and height c, it has area 12bc. So
Area(S)=121+a2b2+a2c2 bc=12a2b2+a2c2+b2c2
Method 3. S is the part of the surface y=h(x,z) with h(x,z)=b(1xazc) and with (x,z) running over the triangle Txz in the xz-plane with vertices (0,0,0) (a,0,0) and (0,0,c). Hence by part c of Theorem 3.4.2
Area(S)=Txz1+hx(x,z)2+hz(x,z)2 dxdz=Txz 1+b2a2+b2c2 dxdz=1+b2a2+b2c2 A(Txz)
where A(Txz) is the area of Txz. Since Txz has base a and height c, it has area 12ac. So
Area(S)=121+b2a2+b2c2 bc=12a2b2+a2c2+b2c2
(b) We have already seen in the solution to part (a) that
Area(Txy)=ab2Area(Txz)=ac2Area(Tyz)=bc2
Hence
Area(S)=a2b24+a2c24+b2c24=Area(Txy)2+Area(Txz)2+Area(Tyz)2
3.4.4. (✳).
Solution.
For the surface z=f(x,y)=y3/2,
dS=1+fx2+fy2 dxdy=1+(32y)2 dxdy=1+94y dxdy
by Theorem 3.4.2.a, So the area is
01dx01dy 1+94y=01dx 827[(1+94y)3/2]01=01dx 827[(134)3/21]=827[(134)3/21]
3.4.5. (✳).
Solution.
First observe that any point (x,y,z) on the paraboliod lies above the xy-plane if and only if
0z=a2x2y2x2+y2a2
That is, if and only if (x,y) lies in the circular disk of radius a centred on the origin. The equation of the paraboloid is of the form z=f(x,y) with f(x,y)=a2x2y2. So, by Theorem 3.4.2.a,
Surface area=x2+y2a21+fx(x,y)2+fy(x,y)2 dxdy=x2+y2a21+4x2+4y2 dxdy
Switching to polar coordinates,
Surface area=0adr02πdθ r1+4r2=2π0adr r1+4r2=2π11+4a2ds8 swith s=1+4r2,ds=8rdr=π4 23s3/2|s=1s=1+4a2=π6[(1+4a2)3/21]
3.4.6. (✳).
Solution.
First observe that any point (x,y,z) on the cone lies between the planes z=2 and z=3 if and only if 4x2+y29.
The equation of the cone can be rewritten in the form z=f(x,y) with f(x,y)=x2+y2. Note that
fx(x,y)=xx2+y2fy(x,y)=yx2+y2
So, by Theorem 3.4.2.a,
Surface area=4x2+y291+fx(x,y)2+fy(x,y)2 dxdy=4x2+y291+x2x2+y2+y2x2+y2 dxdy=24x2+y29dxdy
Now the domain of integration is a circular washer with outside radius 3 and inside radius 2 and hence of area π(3222)=5π. So the surface area is 52π.
3.4.7. (✳).
Solution.
The equation of the surface is of the form z=f(x,y) with f(x,y)=23(x3/2+y3/2). Note that
fx(x,y)=xfy(x,y)=y
So, by Theorem 3.4.2.a,
Surface area=01dx01dy 1+fx(x,y)2+fy(x,y)2=01dx01dy 1+x+y=01dx [23(1+x+y)3/2]y=0y=1=2301dx [(2+x)3/2(1+x)3/2]=23 25[(2+x)5/2(1+x)5/2]x=0x=1=415[35/225/225/2+15/2]=415[9382+1]
3.4.8. (✳).
Solution.
(a) By Theorem 3.4.2.a, F(x,y)=1+fx(x,y)2+fy(x,y)2.
(b) (i) The “dimple” to be painted is part of the upper sphere x2+y2+(z23)2=4. It is on the bottom half of the sphere and so has equation z=f(x,y)=234x2y2. Note that
fx(x,y)=x4x2y2fy(x,y)=y4x2y2
The point on the dimple with the largest value of x is (1,0,3). (It is marked by a dot in the figure above.) The dimple is invariant under rotations around the z--axis and so has (x,y) running over x2+y21. So, by Theorem 3.4.2.a,
Surface area=x2+y211+fx(x,y)2+fy(x,y)2 dxdy=x2+y211+x24x2y2+y24x2y2 dxdy=x2+y2124x2y2 dxdy
Switching to polar coordinates,
Surface area=02πdθ01dr 2r4r2
(b) (ii) Observe that if we flip the dimple up by reflecting it in the plane z=3, as in the figure below, the “Death Star” becomes a perfect ball of radius 2.
The area of the pink dimple in the figure above is identical to the area of the blue cap in that figure. So the total surface area of the Death Star is exactly the surface area of a sphere of radius a=2 and so (see Example 3.4.5) is 4πa2=4π22=16π.
3.4.9.
Solution.
The equation of the half of the cone with x0 can be rewritten in the form x=g(y,z) with g(y,z)=3y2+z2. Note that
gy(y,z)=3yy2+z2gz(y,z)=3zy2+z2
so that, by Theorem 3.4.2,
dS=1+gy(y,z)2+gz(y,z)2dydz=1+3y2y2+z2+3z2y2+z2dydz=2dydz
A point (x,y,z) on x=3y2+z2 has 3x23 if and only if 1y2+z22. So
Area=1y2+z222dydz=2[area of { (y,z) | y2+z22 }area of { (y,z) | y2+z21 }]=2[π22π12]=6π18.85
3.4.10. (✳).
Solution.
We are to find the surface area of part of a hemisphere. On the hemisphere
z=f(x,y)=a2x2y2fx(x,y)=xa2x2y2fy(x,y)=ya2x2y2
so that
dS=1+fx(x,y)2+fy(x,y)2dxdy=1+x2a2x2y2+y2a2x2y2dxdy=a2a2x2y2dxdy
In polar coordinates, this is dS=aa2r2rdrdθ. We are to find the surface area of the part of the hemisphere that is inside the cylinder, x2ax+y2=0, which is polar coordinates is becomes r2arcosθ=0 or r=acosθ. The top half of the domain of integration is sketched below.
So the
Surface Area=20π/2dθ0acosθdr raa2r2=2a0π/2dθ [a2r2]0acosθ=2a0π/2dθ [aasinθ]=2a2[θ+cosθ]0π/2=a2[π2]

3.5 Triple Integrals

Exercises

3.5.1.
Solution.
Rb2y2dxdy=Vdxdydz, where
V={ (x,y,z) | 0zb2y2, 0xa, 0yb }={ (x,y,z) | y2+z2b2, 0xa, y0, z0 }
Now y2+z2b2 is a cylinder of radius b centered on the x--axis and the part of y2+z2b2, with y0, z0 is one quarter of this cylinder. It has cross--sectional area 14πb2. V is the part of this quarter--cylinder with 0xa. It has length a and cross--sectional area 14πb2. So, Rb2y2dxdy=14πab2.
3.5.2. (✳).
Solution.
The mass is
01dx02dy03dz x=601dx x=3
3.5.3.
Solution.
The domain of integration is
V={ (x,y,z) | x,y,z0, xa+yb+zc1 }
  • In V, zc1xayb and x,y0, so the biggest value of z in V is achieved when x=y=0 and is c. Thus, in V, z runs from 0 to c.
  • For each fixed 0zc, (x,y) takes all values in
    Dz={ (x,y) | x,y0, xa+yb1zc }
    The biggest value of y on Dz is achieved when x=0 and is b(1zc). Thus, on Dz, y runs from 0 to b(1zc).
  • For each fixed 0zc and 0yb(1zc), x runs over
    Dy,z={ x | 0xa(1ybzc) }
    This is pictured in the second figure below.
So the specified integral is
Rx dV=0cdzDzdxdy x=0cdz0b(1zc)dyDy,zdx x=0cdz0b(1zc)dy0a(1ybzc)dx x=0cdz0b(1zc)dy a22(1ybzc)2=0cdz [a2b6(1ybzc)3]0b(1zc)=0cdz a2b6(1zc)3=[a2bc24(1zc)4]0c=a2bc24
3.5.4.
Solution.
The domain of integration is
R={ (x,y,z) | 0x,y,z1, z1y, z2xy }
In the figure on the below, the more darkly shaded region is part of z=1y and the more lightly shaded region is part of z=2xy.
  • In R, z runs from 0 (for example (0,1,0) is in R) to 1 (for example (0,0,1) is in R).
  • For each fixed 0z1, (x,y) runs over
    Dz={ (x,y) | 0x,y1, y1z, x+y2z }
    Here is a sketch of a top view of Dz.
    On Dz, y runs from 1z to 1.
  • For each fixed 0z1 and 1zy1, x runs from 0 to 2yz.
So the specified integral is
Ry dV=01dzDzdxdy y=01dz1z1dy02yzdx y=01dz1z1dy y(2yz)=01dzz0du (1u)(1+uz) where u=1y=01dz0zdu (1u2z+uz)=01dz (zz33z2+z32)=1211213+18=524
3.5.5.
Solution.
(a) The domain of integration is
V={ (x,y,z) | 0z1, 0y1z, 0x1z }={ (x,y,z) | x,y,z0, x+z1, y+z1 }
This is sketched in the figure below. The front face is x+z=1 and the lightly shaded right face is y+z=1.
In V,
  • x takes all values between 0 and 1.
  • For each fixed 0x1, (y,z) takes all values in
    Dx={ (y,z) | y,z0, z1x, y+z1 }
    Here is a sketch of Dx.
  • Looking at the sketch above, we see that, on Dx, y runs from 0 to 1 and
    • for each fixed y between 0 and x, z runs from 0 to 1x and
    • for each fixed y between x and 1, z runs from 0 to 1y
So the integral is, in the new order,
Vf(x,y,z) dV=01dxDxdydz f(x,y,z)=01dx0xdy01xdzf(x,y,z)+01dxx1dy01ydzf(x,y,z)
(b) The domain of integration is
V={ (x,y,z) | 0z1, zy1, 0xy }={ (x,y,z) | 0zy2, 0xy1 }
In this region, x takes all values between 0 and 1. For each fixed x between 0 and 1, (y,z) takes all values in
Dx={ (y,z) | 0zy2, xy1 }
Here is a sketch of Dx.
In the new order, the integral is
01dxDxdydz f(x,y,z)=01dxx1dy0y2dz f(x,y,z)
3.5.6. (✳).
Solution.
(a) In the domain of integration for the given integral
  • y runs from 1 to 1, and
  • for each fixed y in that range z runs from 0 to 1y2, and
  • for each fixed y and z as above, x runs from 0 to 2yz.
That is,
E={ (x,y,z) | 1y1, 0z1y2, 0x2yz }
  • Each constant x cross--section of the surface z=1y2 is an upside down parabola. So the surface z=1y2 consists of a bunch of copies of the parabola z=1y2 stacked front to back. The top figure below provides a sketch of z=1y2.
  • The surface x=2yz, or equivalently, x+y+z=2 is a plane. It passes through the points (2,0,0), (0,2,0) and (0,0,2). It is sketched in the bottom figure below. We know that our domain of integration extends to y=1, so we have chosen to include in the sketch the part of the plane in x0, y1, z0.
The domain E is constructed by using the plane x+y+z=2 to chop the front off of the “tunnel” 0z1y2. It is outlined in red in the figure below.
(b) We are to change the order of integration so that the outside integral is over y (the same as the given integral), the middle integral is over x, and the inside integral is over over z.
  • We still have y running from 1 to 1.
  • For each fixed y in that range, (x,z) runs over
    Ey={ (x,z) | 0z1y2, 0x+z2y }
  • The biggest value of x in Ey is 2y. It is achieved when z=0. You can also see this in the figure below. The shaded region in that figure is Ey.
  • For each fixed x and y as above, z runs over
    Ex,y={ z | 0z1y2, 0z2xy }
    That is, z runs from 0 to the smaller of 1y2 and 2xy. Note that 1y22xy if and only if x1+y2y.
  • So if 0x1+y2y, z runs from 0 to 1y2 and if 1+y2yx2y, z runs from 0 to 2xy.
So the integral is
y=1y=1x=0x=1+y2yz=0z=1y2f(x,y,z) dzdxdy+y=1y=1x=1+y2yx=2yz=0z=2xyf(x,y,z) dzdxdy
3.5.7. (✳).
Solution.
(a) In the given integral J,
  • x runs from 0 to 1,
  • for each fixed x in that range, z runs from 0 to 1x2, and
  • for each fixed x and z as above, y runs from 0 to 42x4z.
So
E={ (x,y,z) | 0x1, 0z1x2, 0y42x4z }
Notice that the condition y42x4z can be rewritten as z1x2y4. When y0, this implies that z1x2, so that we can drop the condition z1x2 from our description of E:
E={ (x,y,z) | 0x1, 0y42x4z, z0 }
First, we figure out what E looks like. The plane 2x+y+4z=4 intersects the x--, y-- and z--axes at (2,0,0), (0,4,0) and (0,0,1), respectively. That plane is shown in the first sketch below. The set of points { (x,y,z) | x,y,z0, y42x4z } is outlined with heavy lines.
So it only remains to impose the condtion x1, which chops off the front bit of the tetrahedron. This is done in the second sketch above. Here is a cleaned up sketch of E.
(b) We are to reorder the integration so that the outside integral is over y, the middle integral is over x, and the inside integral is over z. Looking at the figure below,
we see that
  • y runs from 0 to 4, and
  • for each fixed y in that range, (x,z) runs over
    { (x,z) | 0x1, 2x+4z4y, z0 }
  • for each fixed y between 0 and 2 (as in the left hand shaded bit in the figure above)
    • x runs from 0 to 1, and then
    • for each fixed x in that range, z runs from 0 to 42xy4.
  • for each fixed y between 2 and 4 (as in the right hand shaded bit in the figure above)
    • x runs from 0 to 4y2 (the line of intersection of the plane 2x+y+4z=4 and the xy--plane is z=0, 2x+y=4), and then
    • for each fixed x in that range, z runs from 0 to 42xy4.
So the integral
J=y=0y=2x=0x=1z=0z=42xy4f(x,y,z) dzdxdy+y=2y=4x=0x=4y2z=0z=42xy4f(x,y,z) dzdxdy
3.5.8. (✳).
Solution.
Let’s use V to denote the domain of integration for the given integral. On V
  • x runs from 0 to 1, and
  • for each fixed x in that range, y runs from x to 1. In particular 0y1. We can rewrite y=x as x=y2 (with y0).
  • For each fixed x and y as above, z runs from 0 to 1y.
So
V={ (x,y,z) | 0x1, xy1, 0z1y }={ (x,y,z) | x,z0, x1, yx, y1, z1y }
Outside integral is with respect to x: We have already seen that 0x1 and that, for each fixed x in that range, (y,z) runs over
Vx={ (y,z) | xy1, 0z1y }
Here are two sketches of Vx. The sketch on the left shows a vertical strip as was used in setting up the integral given in the statement of this problem.
To reverse the order of the y-- and z--integrals we use horizontal strips as in the figure on the right above. Looking at that figure, we see that, on Vx,
  • z runs from 0 to 1x, and
  • for each fixed z in that range, y runs from x to 1z.
So
I=01dx01xdzx1zdy f(x,y,z)=0101xx1z f(x,y,z) dydzdx
Outside integral is with respect to y: Looking at the figures above we see that, for each 0x1, y runs from x to 1 on Vx. As x runs from 0 to 1 in V, we have that x also runs from 0 to 1 on V, so that y runs from 0 to 1 on V. Reviewing the definition of V, we see that, for each fixed 0y1, (x,z) runs over
Vy={ (x,z) | 0xy2, 0z1y }
Here are two sketches of Vy.
Looking at the figure on the left (with the vertical strip), we see that, on Vy,
  • x runs from 0 to y2, and
  • for each fixed x in that range, z runs from 0 to 1y.
So
I=01dy0y2dx01ydz f(x,y,z)=010y201yf(x,y,z) dzdxdy
Looking at the figure on the right above (with the horizontal strip), we see that, on Vy,
  • z runs from 0 to 1y.
  • for each fixed z in that range, x runs from 0 to y2.
So
I=01dy01ydz0y2dx f(x,y,z)=0101y0y2f(x,y,z) dxdzdy
Outside integral is with respect to z: Looking at the sketches of Vx above we see that, for each 0x1, z runs from 0 to 1x on Vx. As x runs from 0 to 1 in V, 1x also runs between 0 to 1 on V, so that z runs from 0 to 1 on V. Reviewing the definition of V, we see that, for each fixed 0z1, (x,y) runs over
Vz={ (x,y) | 0xy2, xy1z }
Here are two sketches of Vz.
Looking at the figure on the left (with the vertical strip), we see that, on Vz,
  • x runs from 0 to (1z)2, and
  • for each fixed x in that range, y runs from x to 1z.
So
I=01dz0(1z)2dxx1zdy f(x,y,z)=010(1z)2x1zf(x,y,z) dydxdz
Looking at the figure on the right above (with the horizontal strip), we see that, on Vz,
  • y runs from 0 to 1z.
  • for each fixed y in that range, x runs from 0 to y2.
So
I=01dz01zdy0y2dx f(x,y,z)=0101z0y2f(x,y,z) dxdydz
Summary: We have found that
I=01x101yf(x,y,z)dzdydx=0101xx1zf(x,y,z) dydzdx=010y201yf(x,y,z) dzdxdy=0101y0y2f(x,y,z) dxdzdy=010(1z)2x1zf(x,y,z)dydxdz=0101z0y2f(x,y,z)dxdydz
3.5.9. (✳).
Solution.
First we have to get some idea as to what E looks like. Here is a sketch.
We are going to need the equation of the plane that contains the points (1,0,0), (0,2,0) and (0,0,3). This plane does not contain the origin and so has an equation of the form ax+by+cz=1.
  • (1,0,0) lies on the plane ax+by+cz=1 if and only if a(1)+b(0)+c(0)=1. So a=1.
  • (0,2,0) lies on the plane ax+by+cz=1 if and only if a(0)+b(2)+c(0)=1. So b=12.
  • (0,0,3) lies on the plane ax+by+cz=1 if and only if a(0)+b(0)+c(3)=1. So c=13.
So the plane that contains the points (1,0,0), (0,2,0) and (0,0,3) is xy2+z3=1.
We can now get a detailed mathematical description of E. A point (x,y,z) is in E if and only if
  • (x,y,z) lies above the xy--plane, i.e. z0, and
  • (x,y,z) lies to the left of the xz--plane, i.e. y0, and
  • (x,y,z) lies behind the yz--plane, i.e. x0, and
  • (x,y,z) lies on the same side of the plane xy2+z3=1 as the origin. That is xy2+z31. (Go ahead and check that (0,0,0) obeys this inequality.)
So
E={ (x,y,z) | x0, y0, z0, xy2+z31 }
(a) Note that we want the outside integral to be the x--integral. On E
  • x runs from 1 to 0 and
  • for each fixed x in that range (y,z) runs over
    Ex={ (y,z) | y0, z0, y2+z31+x }
    Here is a sketch of Ex.
  • On Ex, y runs from 2(1+x) to 0 and
  • for each fixed such y, z runs from 0 to 3(1+x+y/2)
So
I=x=1x=0y=2(1+x)y=0z=0z=3(1+x+y/2)f(x,y,z) dzdydx
(b) This time we want the outside integral to be the z--integral. Looking back at the sketch of E, we see that, on E,
  • z runs from 0 to 3 and
  • for each fixed z in that range (x,y) runs over
    Ez={ (x,y) | x0, y0, xy21z3 }
    Here is a sketch of Ez.
  • On Ez, x runs from (1z/3) to 0 and
  • for each fixed such x, y runs from 2(1+xz/3) to 0
So
I=z=0z=3x=(1z/3)x=0y=2(1+xz/3)y=0f(x,y,z) dydxdz
3.5.10. (✳).
Solution.
The plane x+y+z=1 intersects the coordinate plane z=0 along the line x+y=1, z=0. So
T={ (x,y,z) | x0, y0, x+y1, 0z1xy }={ (x,y,z) | 0x1, 0y1x, 0z1xy }
and
K=01dx01xdy01xydz 1(1+x+y+z)4=01dx01xdy [13(1+x+y+z)3]z=0z=1xy=1301dx01xdy [1(1+x+y)3123]=1301dx [12(1+x+y)2y2(4)]y=0y=1x=1601dx [1(1+x)21221x4]=1601dx [1(1+x)212+x4]=16[11+xx2+x28]x=0x=1=16[11212+18]=148
3.5.11. (✳).
Solution.
Note that the planes z=x+y and z=2 intersect along the line x+y=2, z=2.
So
E={ (x,y,z) | x0, y0, x+y2, x+yz2 }={ (x,y,z) | 0x2, 0y2x, x+yz2 }
and the mass of E is
Eρ(x,y,z)dV=02dx02xdyx+y2dz z=1202dx02xdy [4(x+y)2]=1202dx [4(2x)(x+(2x))3x33]=12[4(2)(2)2(2)283(2)+2412]=12[8163+43]=2
3.5.12. (✳).
Solution.
First, we need to develop an understanding of what E looks like. Here are sketches of the parabolic cylinder y=x2, on the left, and the plane y+z=1, on the right.
E is constructed by using the plane y+z=1 to chop the top off of the parabolic cylinder y=x2. Here is a sketch.
So
E={ (x,y,z) | 0x1, x2y1, 0z1y }
and the integral
Ex dV=01dxx21dy01ydz x=01dxx21dy x(1y)=01dx x[yy22]x21=01dx [x2x3+x52]=1414+112=112
3.5.13. (✳).
Solution.
First, we need to develop an understanding of what E looks like. Here are sketches of the plane x+y=1, on the left, and of the “tower” bounded by the coordinate planes x=0, y=0, z=0 and the plane x+y=1, on the right.
Now here is the parabolic cylinder z=y2 on the left. E is constructed by using the parabolic cylinder z=y2 to chop the top off of the tower x0, y0, z0, x+y1. The figure on the right is a sketch.
So
E={ (x,y,z) | 0x1, 0y1x, 0zy2 }
and the integral
Ez dV=01dx01xdy0y2dz z=01dx01xdy y42=01dx (1x)510=[(1x)660]01=160
3.5.14. (✳).
Solution.
The integral
Ryz2exyz dV=03dz02dy01dx yz2exyz=03dz02dy [zexyz]x=0x=1=03dz02dy [zzeyz]=03dz [zy+eyz]y=0y=2=03dz [2z+e2z1]=[z212e2zz]03=132e62
3.5.15. (✳).
Solution.
(a) Each constant y cross section of z=1x2 is an upside down parabola. So the surface is a bunch of upside down parabolas stacked side by side. The figure on the left below is a sketch of the part of the surface with y0 and z0 (both of which conditions will be required in part (b)).
(b) The figure on the right above is a sketch of the plane y=z. It intersects the surface z=1x2 in the solid blue sloped parabolic curve in the figure below.
Observe that, on the curve z=1x2, z=y, we have y=1x2. So that when one looks at the solid E from high on the z--axis, one sees
{ (x,y) | 0y1x2 }
The y=1x2 boundary of that region is the dashed blue line in the xy--plane in the figure above. So
E={ (x,y,z) | 1x1, 0y1x2, yz1x2 }
and the integral
Ef(x,y,z)dV=11dx01x2dyy1x2dz f(x,y,z)
3.5.16. (✳).
Solution.
In the integral J,
  • x runs from 0 to 1. In inequalities, 0x1.
  • Then, for each fixed x in that range, y runs from 0 to x. In inequalities, 0yx.
  • Then, for each fixed x and y in those ranges, z runs from 0 to y. In inequalities, 0zy.
These inequalties can be combined into
()0zyx1
We wish to reverse the order of integration so that the z--integral is on the outside, the y--integral is in the middle and the x--integral is on the inside.
  • The smallest z compatible with () is z=0 and the largest z compatible with () is z=1 (when x=y=z=1). So 0z1.
  • Then, for each fixed z in that range, (x,y) run over zyx1. In particular, the smallest allowed y is y=z and the largest allowed y is y=1 (when x=y=1). So zy1.
  • Then, for each fixed y and z in those ranges, x runs over yx1.
So
J=01z1y1f(x,y,z) dxdydz
3.5.17. (✳).
Solution.
The hard part of this problem is figuring out what E looks like. First here are separate sketches of the plane x=3 and the plane z=2x followed by a sketch of the two planes together.
Next for the parabolic cylinder z=y2. It is a bunch of parabolas z=y2 stacked side by side along the x--axis. Here is a sketch of the part of z=y2 in the first octant.
Finally, here is a sketch of the part of E in the first octant. E does have a second half gotten from the sketch by reflecting it in the xz--plane, i.e. by replacing yy.
So
 1 
The question doesn’t specify on which side of the three surfaces E lies. When in doubt take the finite region bounded by the given surfaces. That’s what we have done.
E={ (x,y,z) | x3, 6y6, y2z2x }
Order dzdxdy: On E, y runs from 6 to 6. For each fixed y in this range (x,z) runs over Ey={ (x,z) | x3, y2z2x }. Here is a sketch of Ey.
From the sketch
Ey={ (x,z) | y2/2x3, y2z2x }
and the integral is
y=6y=6x=y2/2x=3z=y2z=2xf(x,y,z) dzdxdy
Order dxdzdy: Also from the sketch of Ey above
Ey={ (x,z) | y2z6, z/2x3 }
and the integral is
y=6y=6z=y2z=6x=z/2x=3f(x,y,z) dxdzdy
Order dydxdz: From the sketch of the part of E in the first octant, we see that, on E, z runs from 0 to 6. For each fixed z in this range (x,y) runs over
Ez={ (x,y) | x3, 6y6, y2z2x }={ (x,y) | z/2x3, y2z }={ (x,y) | z/2x3, zyz }
So the integral is
z=0z=6x=z/2x=3y=zy=zf(x,y,z) dydxdz
3.5.18. (✳).
Solution.
(a) The region E is
E={ (x,y,z) | x2+y21, 1zy }
Here is are sketches, one without axes and one with axes, of the front half of E, outlined in red.
The integral
Ef(x,y,z) dV=x2+y21dxdy1ydz f(x,y,z)=11dy1y21y2dx1ydz f(x,y,z)=111y21y21yf(x,y,z) dzdxdy
(b) Here is a sketch of (the front half of) a constant z slice of E.
Note that
  • in E, z runs from 1 to 1.
  • Once z has been fixed, x and y must obey x2+y21, zy1
So
E={ (x,y,z) | 1z1, zy1, 1y2x1y2 }
and
Ef(x,y,z) dV=11dzz1dy1y21y2dx f(x,y,z)=11z11y21y2f(x,y,z) dxdydz
(c) Here is a sketch of a constant x slice of E.
Note that
  • in E, x runs from 1 to 1.
  • Once x has been fixed, y and z must obey
    1x2y1x21zy
Here is a sketch.
Note that
  • z runs from 1 to 1x2.
  • For each z between 1 and 1x2, y runs from 1x2 to 1x2, while
  • for each z between 1x2 and 1x2, y runs from z to 1x2.
So
Ef(x,y,z) dV=11dx11x2dz1x21x2dy f(x,y,z)+11dx1x21x2dzz1x2dy f(x,y,z)
or
Ef(x,y,z) dV=1111x21x21x2f(x,y,z) dydzdx+111x21x2z1x2f(x,y,z) dydzdx
3.5.19. (✳).
Solution.
First, we need to develop an understanding of what E looks like. Note that all of the equations y=0, y=2, y+z=3 and z=x2 are invariant under xx. So E is invariant under xx, i.e. is symmetric about the yz--plane. We’ll sketch the first octant (i.e. x,y,z0) part of E. There is also a x0, y0, z0 part.
Here are sketches of the plane y=2, on top, the plane y+z=3 in the middle and of the “tunnel” bounded by the coordinate planes x=0, y=0, z=0 and the planes y=2, y+z=3, on the bottom.
Now here is the parabolic cylinder z=x2 on the top. E is constructed by using the parabolic cylinder z=x2 to chop the front off of the tunnel x0, 0y2, z0, y+z3. The figure on the bottom is a sketch.
So
E={ (x,y,z) | 0y2, x2z3y }
(a) On E
  • y runs from 0 to 2.
  • For each fixed y in that range, (x,z) runs over { (x,z) | x2z3y }.
  • In particular, the largest x2 is 3y (when z=3y). So x runs from 3y to 3y.
  • For fixed y and x as above, z runs from x2 to 3y.
so that
I=Ef(x,y,z) dV=023y3yx23yf(x,y,z) dzdxdy
(b) On E
  • z runs from 0 to 3.
  • For each fixed z in that range, (x,y) runs over
    { (x,y) | 0y2, x2z3y }={ (x,y) | 0y2, y3z, x2z }
    In particular, y runs from 0 to the minimum of 2 and 3z.
  • So if 0z1 (so that 3z2), (x,y) runs over { (x,y) | 0y2, x2z }, while
  • if 1z3, (so that 3z2), (x,y) runs over { (x,y) | 0y3z, x2z },
so that
I=0102zzf(x,y,z) dxdydz+1303zzzf(x,y,z) dxdydz
(c) On E
  • z runs from 0 to 3.
  • For each fixed z in that range, (x,y) runs over
    { (x,y) | 0y2, x2z3y }
    In particular, y runs from 0 to the minimum of 2 and 3z.
  • So if 0z1 (so that 3z2), (x,y) runs over { (x,y) | 0y2, x2z }, while
  • if 1z3, (so that 3z2), (x,y) runs over { (x,y) | 0y3z, x2z },
so that
I=01zz02f(x,y,z) dydxdz+13zz03zf(x,y,z) dydxdz
3.5.20. (✳).
Solution.
The cylinder y2+z2=1 is centred on the x axis. The part of the cylinder in the first octant intersects the plane z=0 in the line y=1, intersects to plane y=0 in the line z=1 and intersects the plane x=0 in the quarter circle y2+z2=1, x=0, y,z0. Here is a sketch of E.
Viewed from above, the region E is bounded by the lines x=0, y=0, x+y=2 and y=1. This base region is pictured below.
To set up the domain of integration, let’s decompose the base region into horizontal strips as in the figure above. On the base region
  • y runs from 0 to 1 and
  • for each fixed y between 0 and 1, x runs from 0 to 2y.
  • For each fixed (x,y) in the base region z runs from 0 to 1y2
So
E={ (x,y,z) | 0y1, 0x2y, 0z1y2 }
and
EzdV=01dy02ydx01y2dz z=01dy02ydx 12z2|01y2=01dy02ydx 12(1y2)=01dy 12(1y2)(2y)=1201dy (2y2y2+y3)=12[21223+14]=13240.5417
3.5.21. (✳).
Solution.
The planes x=1, y=1, z=1, and x+y+z=2 and the region D are sketched below.
And here is a sketch of D without the planes cluttering up the figure.
On D
  • z runs from 0 to 1 and
  • for each fixed z, between 0 and 1, (x,y) runs over the triangle Tz bounded by x=1, y=1 and x+y=2z. Observe that when z=0, this triangle is just a point (the bottom vertex of the tetrahedron). As z increases, the triangle grows, reaching its maximum size when z=1.
Here is a sketch of Tz.
In setting up the domain of integration, we’ll decompose, for each 0z1, Tz into vertical strips as in the figure above. On Tz
  • x runs from 1z to 1 and
  • for each fixed x between 1z and 1, y runs from 2xz to 1
so that
DxdV=01dzTzdxdy x=01dz1z1dx2xz1dy x=01dz1z1dx x(x+z1)=01dz [13x3+12x2(z1)]1z1=01dz [13+12(z1)13(1z)312(1z)2(z1)]=01dz [13+12(z1)16(z1)3]=[13z+14(z1)2124(z1)4]01=1314+124=324=18=0.125
3.5.22. (✳).
Solution.
(a) Here is a 3d sketch of the region. The coordinates of the labelled corners are
a=(0,0,1)b=(0,0,0)c=(1,0,0)d=(0,1,1)f=(0,2,0)g=(1,1,0)
(b) Here is a sketch of the side view of T, looking down the y axis.
We’ll set up the limits of integration by using it as the base region. We decompose the base region into vertical strips as in the figure above. On the base region
  • x runs from 0 to 1 and
  • for each fixed x between 0 and 1, z runs from 0 to 1x2.
  • In T, for each fixed (x,y) in the base region, y runs from 0 to 2xz.
So
TxdV=01dx01x2dz02xzdy x=01dx01x2dz (2xz)x=01dx [x(2x)(1x2)12x(1x2)2]=01dx [2xx22x3+x412x+x312x5]=01dx [32xx2x3+x412x5]=[34x213x314x4+15x5112x6]01=341314+15112=1760

3.6 Triple Integrals in Cylindrical Coordinates
3.6.4 Exercises

3.6.4.1.

Solution.
(a), (b) Since the cylindrical coordinate r(x,y,z) of a point (x,y,z) is the distance, x2+y2, from (x,y,z) to the z-axis, the sets
{ (x,y,z) | r(x,y,z)=0 }={ (x,y,z) | x2+y2=0 }={ (x,y,z) | x=y=0 }=the z-axis{ (x,y,z) | r(x,y,z)=1 }={ (x,y,z) | x2+y2=1 }=the cylinder of radius 1 centred on the z-axis
(c), (d) Since the cylindrical coordinate θ(x,y,z) of a point (x,y,z) is the angle between the positive x-axis and the line from (0,0,0) to (x,y,0), the sets
{ (x,y,z) | θ(x,y,z)=0 }=the half of the xz-plane with x>0{ (x,y,z) | θ(x,y,z)=π4 }=the half of the plane y=x with x>0

3.6.4.2.

Solution.
The sketch is below. To help build up this sketch, it is useful to recall the following facts.
  • The cylindrical coordinate r is the distance of the point from the z-axis. In particular all points with r=0 lie on the z-axis (for all values of θ).
  • The cylindrical coordinate z is the distance of the point from the xy-plane. In particular all points with z=0 lie on the xy-plane.

3.6.4.3.

Solution.
(a) When θ=0, sinθ=0 and cosθ=1, so that the polar coordinates r=1, θ=0, z=0 correspond to the Cartesian coordinates
(x,y,z)=(rcosθ,rsinθ,z)=(1×cos0, 1×sin0, 0)=(1,0,0)
(b) When θ=π4, sinθ=cosθ=12, so that the polar coordinates r=1, θ=π4, z=0 correspond to the Cartesian coordinates
(x,y,z)=(rcosθ,rsinθ,z)=(1×cosπ4, 1×sinπ4, 0)=(12,12,0)
(c) When θ=π2, sinθ=1 and cosθ=0, so that the polar coordinates r=1, θ=π2, z=0 correspond to the Cartesian coordinates
(x,y,z)=(rcosθ,rsinθ,z)=(1×cosπ2, 1×sinπ2, 0)=(0,1,0)
(d) When θ=π, sinθ=0 and cosθ=1, so that the polar coordinates r=0, θ=π, z=1 correspond to the Cartesian coordinates
(x,y,z)=(rcosθ,rsinθ,z)=(0×cosπ, 0×sinπ, 1)=(0,0,1)
(e) When θ=π4, sinθ=cosθ=12, so that the polar coordinates r=1, θ=π4, z=1 correspond to the Cartesian coordinates
(x,y,z)=(rcosθ,rsinθ,z)=(1×cosπ4, 1×sinπ4, 1)=(12,12,1)

3.6.4.4.

Solution.
(a) The cylindrical coordinates must obey
1=x=rcosθ1=y=rsinθ2=z
So z=2, r=12+12=2 and tanθ=yx=11=1. Recall that tan(π4+kπ)=1 for all integers k. As (x,y)=(1,1) lies in the first quadrant, 0θπ2. So θ=π4 (plus possibly any integer multiple of 2π).
(b) The cylindrical coordinates must obey
1=x=rcosθ1=y=rsinθ2=z
So z=2, r=(1)2+(1)2=2 and tanθ=yx=11=1. Recall that tan(π4+kπ)=1 for all integers k. As (x,y)=(1,1) lies in the third quadrant, πθ3π2. So θ=5π4 (plus possibly any integer multiple of 2π).
(c) The cylindrical coordinates must obey
1=x=rcosθ3=y=rsinθ0=z
So z=0, r=(1)2+(3)2=2 and tanθ=yx=31=3. Recall that tan(2π3+kπ)=3 for all integers k. As (x,y)=(1,3) lies in the second quadrant, π2θπ. So θ=2π3 (plus possibly any integer multiple of 2π).
(d) The cylindrical coordinates must obey
0=x=rcosθ0=y=rsinθ1=z
So z=1, r=02+02=0 and θ is completely arbitrary.

3.6.4.5.

Solution.
(a) As x=rcosθ and y=rsinθ,
z=2xyz=2r2cosθsinθ=r2sin(2θ)
(b) As x=rcosθ and y=rsinθ,
x2+y2+z2=1r2cos2θ+r2sin2θ+z2=1r2+z2=1
(c) As x=rcosθ and y=rsinθ,
(x1)2+y2=1(rcosθ1)2+(rsinθ)2=1r2cos2θ2rcosθ+1+r2sin2θ=1r2=2rcosθr=2cosθ or r=0r=2cosθ
Note that the solution r=0 is included in r=2cosθ — just choose θ=π2.

3.6.4.6.

Solution.
(a) In cylindrical coordinates, the cone z=2ax2+y2 is z=2ar and the cylinder x2+y2=2ay is r2=2arsinθ or r=2asinθ. The figures below show the parts of the cone, the cylinder and the intersection, respectively, that are in the first octant.
The specified region is
V={ (rcosθ,rsinθ,z) | 0θπ, r2asinθ, 0z2ar }
By symmetry under xx, the full volume is twice the volume in the first octant.
So the
Volume=20π2dθ02asinθdr r02ardz=20π2dθ02asinθdr r(2ar)=20π2dθ [4a3sin2θ8a33sin3θ]=8a3[0π2dθ 1cos(2θ)2+2310dt (1t2)]where t=cosθ=8a3[π423(113)]=a3(2π329)
For an efficient, sneaky, way to evaluate 0π2dθ sin2θ, see Remark 3.3.5.
(b) The domain of integration is
V={ (x,y,z) | xy3x, 0z1x2y2 }
Recall that in polar coordinates yx=tanθ. So the boundaries of the wedge xy3x, or equivalently 1yx3, correspond, in polar coordinates, to θ=tan1(1)=π4 and θ=tan13=π3. In cylindrical coordinates, the paraboloid z=1x2y2 becomes z=1r2. There are z’s that obey 0z1r2 if and only if r1. So, in cylindrical coordinates,
V={ (rcosθ,rsinθ,z) | π4θπ3, 0r1, 0z1r2 }
and
Volume=π4π3dθ01dr r01r2dz=(π3+π4)01dr r(1r2)=712π(1214)=748π
(c) The region is
V={ (x,y,z) | x2+y2z2y }
There are z’s that obey x2+y2z2y if and only if
x2+y22yx2+y22y0x2+(y1)21
This disk is sketched in the figure
In cylindrical coordinates,
  • the bottom, z=x2+y2, is z=r2,
  • the top, z=2y, is z=2rsinθ, and
  • the disk x2+y22y is r22rsinθ, or equivalently r2sinθ,
so that, looking at the figure above,
V={ (rcosθ,rsinθ,z) | 0θπ, 0r2sinθ, r2z2rsinθ }
By symmetry under xx, the full volume is twice the volume in the first octant so that
Volume=20π2dθ02sinθdr rr22rsinθdz=20π2dθ02sinθdr r(2rsinθr2)=20π2dθ (243244)sin4θ
To integrate
 8 
For a general discussion of trigonometric integrals see §1.8 in the CLP-2 text. In particular the integral cos4x dx is evaluated in Example 1.8.8 in the CLP-2 text.
sin4θ, we use the double angle formulae sin2x=1cos(2x)2 and cos2x=1+cos(2x)2 to write
sin4θ=[1cos(2θ)2]2=1412cos(2θ)+14cos2(2θ)=1412cos(2θ)+18(1+cos(4θ))=3812cos(2θ)+18cos(4θ)
So
Volume=2 2412[38θ14sin(2θ)+132sin(4θ)]0π2=2 2412 316π=π2

3.6.4.7. (✳).

Solution.
Note that the paraboloids z=x2+y2 and z=2x2y2 intersect when z=x2+y2=1. We’ll use cylindrical coordinates. Then x2+y2=r2, dV=r drdθdz, and
E={ (rcosθ,rsinθ,z)) | 0r1, r2z2r2, 0θ2π }
so that
Ef(x,y,z) dV=01drr22r2dz02πdθ r r3f=2π01dr r4(2r2r2)=2π[21552177]=8π35

3.6.4.8. (✳).

Solution.
Observe that both the sphere x2+y2+z2=2 and the paraboloid z=x2+y2 are invariant under rotations around the z--axis. So E is invariant under rotations around the z--axis and the centroid (centre of mass) of E will lie on the z--axis. Thus x¯=y¯=0 and we just have to find
z¯=Ez dVEdV
The surfaces z=x2+y2 and x2+y2+z2=2 intersect when z=x2+y2 and
z+z2=2z2+z2=0(z+2)(z1)=0
Since z=x2+y20, the surfaces intersect on the circle z=1, x2+y2=2. So
E={ (x,y,z) | x2+y21, x2+y2z2x2y2 }
Here is a sketch of the y=0 cross section of E.
Let’s use cylindrical coordinates to do the two integrals. In cylindrical coordinates
  • E={ (rcosθ,rsinθ,z) | 0r1, 0θ2π, r2z2r2 }, and
  • dV is rdrdθdz
so, for n=0,1 (we’ll try to do both integrals at the same time)
Ezn dV=01dr02πdθr22r2dz r zn=2π01dr r{2r2r2if n=012(2r2r4)if n=1
Since
01dr r2r2=[13(2r2)3/2]01=13(221)
we have
Ezn dV=2π{13(221)14if n=01218112if n=1}=2π{232712if n=0724if n=1
and x¯=y¯=0 and
z¯=Ez dVEdV=724232712=7162140.811

3.6.4.9. (✳).

Solution.
Note that both surfaces are invariant under rotations about the z--axis. Here is a sketch of the y=0 cross section of E.
The surfaces z=x2+y2 and x2+y2+z2=6 intersect when z=x2+y2 and
z+z2=6z2+z6=0(z+3)(z2)=0
Since z=x2+y20, the surfaces intersect on the circle z=2, x2+y2=2. So
E={ (x,y,z) | x2+y22, x2+y2z6x2y2 }
Let’s use cylindrical coordinates to do the integral. In cylindrical coordinates
  • E={ (rcosθ,rsinθ,z) | r2, 0θ2π, r2z6r2 }, and
  • dV is rdrdθdz
so
E(x2+y2) dV=02dr02πdθr26r2dz r r2=2π02dr r3(6r2r2)=2π02drr r26r22π02dr r5=2π64du2 (6u)u2π236with u=6r2, du=2rdr=π[6u3/23/2u5/25/2]648π3=π[4(866)25(32366)]8π3=π[6453283+(24725)6]=π[485632815]1.65π

3.6.4.10. (✳).

Solution.
We’ll use cylindrical coordinates. In cylindrical coordinates
  • the sphere x2+y2+z2=a2 becomes r2+z2=a2 and
  • the circular cylinder x2+y2=ax (or equivalently (xa/2)2+y2=a2/4) becomes r2=arcosθ or r=acosθ.
Here is a sketch of the top view of the solid.
The solid is
{ (rcosθ,rsinθ,z) | π2θπ2,0racosθ,a2r2za2r2 }
By symmetry, the volume of the specified solid is four times the volume of the solid
{ (rcosθ,rsinθ,z) | 0θπ2,0racosθ,0za2r2 }
Since dV=rdrdθdz, the volume of the solid is
40π/2dθ0acosθdr0a2r2dz r=40π/2dθ0acosθdr ra2r2=430π/2dθ (a2r2)3/2|0acosθ=430π/2dθ [a3(a2a2cos2θ)3/2]=4a330π/2dθ [1sin3θ]=4a33[θ112cos(3θ)+34cosθ]0π/2=4a33[π2+11234]=4a33[π223]

3.6.4.11. (✳).

Solution.
Note that the surfaces meet when z=y2=4x2 and then (x,y) runs over the circle x2+y2=4. So the domain of integration is
E={ (x,y,z) | x2+y24, y2z4x2 }
Let’s switch to cylindrical coordinates. Then
E={ (rcosθ,rsinθ,z) | 0r2, 0θ2π,r2sin2θz4r2cos2θ }
and, since dV=rdrdθdz,
Ey2 dV=02dr02πdθr2sin2θ4r2cos2θdz r r2sin2θy2=02dr02πdθ r3sin2θ[4r2cos2θr2sin2θ]=02dr [4r3r5]02πdθ 1cos(2θ)2=1202dr [4r3r5] [θsin(2θ)2]02π=π[r4r66]02=16π3
For an efficient, sneaky, way to evaluate 02πsin2θ dθ, see Remark 3.3.5.

3.6.4.12.

Solution.
By symmetry, x¯=y¯=z¯, so it suffices to compute, for example, z¯. The mass of the body is the density, ρ, times its volume, which is one eighth of the volume of a sphere. So
M=ρ8 43πa3
In cylindrical coordinates, the equation of the spherical surface of the body is r2+z2=a2. The part of the body at height z above the xy--plane is one quarter of a disk of radius a2z2. The numerator of z¯ is
Bzρ dV=ρ0adz0π/2dθ0a2z2dr r z=ρ0adz0π/2dθ z r22|0a2z2=ρ20adz0π/2dθ z(a2z2)=π4ρ0adz z(a2z2)=π4ρ[a2z22z44]0a=π16ρa4
Dividing by M=π6ρa3 gives x¯=y¯=z¯=38a.

3.6.4.13. (✳).

Solution.
(a) In cylindrical coordinates the equation of a sphere of radius 2 centred on the origin is r2+z2=22. Since dV=rdrdθdz and dm=53(z2+1)rdrdθdz and the hole has radius 1/2, the integral is
mass=1/22dr4r24r2dz02πdθ 53(z2+1)r
(b) By part (a)
mass=1/22dr4r24r2dz02πdθ 53(z2+1)r=4π531/22dr r04r2dz (z2+1)=4π531/22dr r[z33+z]04r2=4π531/22dr r[13(4r2)3/2+(4r2)1/2]
Make the change of variables s=4r2, ds=2rdr. This gives
mass=4π5315/40ds2 [13s3/2+s1/2]=2π53[215s5/2+23s3/2]15/40=2π53[215155/232+23153/28]=2π53[116+112]153/2=525245π153.7kg

3.6.4.14. (✳).

Solution.
(a) The solid consists of all (x,y,z) with
  • (x,y) running over the disk x2+y24 and
  • for each fixed (x,y) obeying x2+y24, z running from 0 to ex2y2
On the disk x2+y24,
  • x runs from 2 to 2 and
  • for each fixed x obeying 2x2, y runs from 4x2 to 4x2
So
Volume=22dx4x24x2dy0ex2y2dz
(b) Switching to cylindrical coordinates
Volume=02dr02πdθ0er2dz r=02dr02πdθ rer2=02dr 2π rer2=πer2|02=π[1e4]3.084

3.6.4.15. (✳).

Solution.
The solid consists of the set of all points (x,y,z) such that x2+y24 and 0zy2. In particular y0. When we look at the solid from above, we see all (x,y) with x2+y24 and y0. This is sketched in the figure on the left below.
We’ll use cylindrical coordinates. In the base region (the shaded region in the figure on the left above)
  • θ runs from 0 to π and
  • for each fixed θ between 0 and π, r runs from 0 to 2.
  • For each fixed point (x,y)=(rcosθ,rsinθ) in the base region, z runs from 0) to y2=rsinθ2.
So the volume is
0πdθ02dr0rsinθ/2dz r=0πdθ02dr 12r2sinθ=0πdθ r36sinθ|02=430πdθ sinθ=43cosθ|0π=83

3.6.4.16. (✳).

Solution.
(a) The direction of maximum rate of increase is ρ(1,0,1). As
ρx(x,y,z)=4x1+x2+y22x(z+2x2)(1+x2+y2)2ρx(1,0,1)=422(1+2)(2)2=32ρy(x,y,z)=2y(z+2x2)(1+x2+y2)2ρy(1,0,1)=0ρz(x,y,z)=11+x2+y2ρz(1,0,1)=12
So ρ(1,0,1)=12(3,0,1). The unit vector in this direction is 110(3,0,1).
(b) The region swept by the space craft is, in cylindrical coordinates,
V={ (rcosθ,rsinθ,z) | 0θ2π, 0r1, 0z2 }
and the amount of hydrogen collected is
Vρ dV=Vz+2r2cos2θ1+r2rdrdθdz=02dz02πdθ01dr zr+(2cos2θ)r31+r2=02dz02πdθ01dr [zr1+r2+2rcos2θcos2θ2r1+r2]since r31+r2=r+r3r1+r2=rr1+r2=02dz02πdθ [z2ln(1+r2)+r2cos2θln(1+r2)cos2θ]01=02dz02πdθ [ln22z+cos2θln(2)cos2θ]=02dz [(πln2)z+ππln2]=2πln2+2π2πln2=2π

3.6.4.17.

Solution.
We may choose our coordinate axes so that the torus is constructed by rotating the circle (xb)2+z2=a2 (viewed as lying in the xz--plane) about the z--axis. On this circle, x runs from ba to b+a.
In cylindrical coordinates, the torus has equation (rb)2+z2=a2. (Recall that the cylindrical coordinate r of a point is its distance from the z--axis.) On this torus,
  • r runs from ba to b+a.
  • For each fixed r, z runs from a2(rb)2 to a2(rb)2.
As the torus is symmetric about the xy--plane, its volume is twice that of the volume of the part with z0.
Volume=202πdθbab+adr r0a2(rb)2dz=202πdθbab+adr ra2(rb)2=4πaads (s+b)a2s2 where s=rb
As sa2s2 is odd under ss, aads sa2s2=0. Also, aads a2s2 is precisely the area of the top half of a circle of radius a. So
Volume =4bπaads a2s2=2π2a2b
So the mass density of the torus is M2π2a2b and dm=M2π2a2bdV=M2π2a2brdrdθdz and
moment of inertia=202πdθbab+adr r0a2(rb)2dz M2π2a2br2=Mπ2a2b02πdθbab+adr r3a2(rb)2=2Mπa2baads (s+b)3a2s2 where s=rb=2Mπa2baads (s3+3s2b+3sb+b3)a2s2
Again, by oddness, the s3 and 3sb integrals are zero. For the others, substitute in s=asint, ds=acost.
moment=2Mπa2bπ2π2(acostdt) (3a2bsin2t+b3)acost=2Mππ2π2dt (3a2sin2t+b2)cos2t=4Mπ0π2dt (3a2cos2t3a2cos4t+b2cos2t)since sin2t=1cos2t
To integrate
 9 
For a general discussion of trigonometric integrals see §1.8 in the CLP-2 text. In particular the integral cos4x dx is evaluated in Example 1.8.8 in the CLP-2 text. For an efficient, sneaky, way to evaluate 0π2cos2t dt see Remark 3.3.5.
cos2t and cos4t, we use the double angle formulae sin2x=1cos(2x)2 and cos2x=1+cos(2x)2 to write
cos2t=1+cos(2t)2
and
cos4t=[1+cos(2t)2]2=14+12cos(2t)+14cos2(2t)=14+12cos(2t)+18(1+cos(4t))=38+12cos(2t)+18cos(4t)
So
moment=4Mπ[3a2(t2+sin(2t)4)3a2(3t8+14sin(2t)+132sin(4t))+b2(t2+sin(2t)4)]0π2=4Mπ[3a2π43a23π16+b2π4]=M(34a2+b2)

3.7 Triple Integrals in Spherical Coordinates
3.7.5 Exercises

3.7.5.1.

Solution.
Since the spherical coordinate φ(x,y,z) of a point (x,y,z) is the angle between the positive z-axis and the radius vector from (0,0,0) to (x,y,z), the sets
{ (x,y,z) | φ(x,y,z)=0 }=the positive z-axis{ (x,y,z) | φ(x,y,z)=π2 }=the xy-plane{ (x,y,z) | φ(x,y,z)=π }=the negative z-axis
Alternatively, tanφ(x,y,z)=zx2+y2, so that, for any 0<Φ<π,
{ (x,y,z) | φ(x,y,z)=Φ }={ (x,y,z) | z=tanΦx2+y2 }=the cone that makes the angle Φ with the positive z-axis

3.7.5.2.

Solution.
The sketch is below. To help build up this sketch, it is useful to recall the following facts.
  • The spherical coordinate ρ is the distance of the point from the origin (0,0,0). In particular if ρ=0, then the point is the origin (regardless of the values of θ and φ). If ρ=1 then the point lies on the sphere of radius 1 centred on the origin.
  • The spherical coordinate φ is the angle between the positive z-axis and the radial line segment from the origin to (x,y,z). In particular, all points with φ=0 lie on the positive z-axis (regardless of the value of θ). All points with φ=π2 lie in the xy-plane.

3.7.5.3.

Solution.
(a) The point (2,0,0)
  • lies in the xy-plane (i.e. has z=ρcosφ=0) and so has φ=π2 and
  • lies on the negative x-axis and so has θ=π and
  • is a distance 2 from the origin and so has ρ=2.
(b) The point (0,3,0)
  • lies in the xy-plane (i.e. has z=ρcosφ=0) and so has φ=π2 and
  • lies on the positive y-axis and so has θ=π2 and
  • is a distance 3 from the origin and so has ρ=3.
(c) The point (0,0,4)
  • lies on the negative z-axis and so has φ=π and θ arbitrary and
  • is a distance 4 from the origin and so has ρ=4.
(d) The point (12,12,3)
  • has ρ=x2+y2+z2=(12)2+(12)2+(3)2=4=2 and
  • has 3=z=ρcosφ=2cosφ so that cosφ=32 and φ=π6 and
  • has 12=x=ρsinφcosθ=2(12)cosθ so that cosθ=12. As (12,12) is in the second quadrant, we have π2θπ and so θ=3π4.

3.7.5.4.

Solution.
(a) The Cartesian coordinates corresponding to ρ=1, θ=π3, φ=π6 are
x=ρsinφcosθ=sinπ6cosπ3=(12)(12)=14y=ρsinφsinθ=sinπ6sinπ3=(12)(32)=34z=ρcosφ=cosπ6=32
(b) The Cartesian coordinates corresponding to ρ=2, θ=π2, φ=π2 are
x=ρsinφcosθ=2sinπ2cosπ2=0y=ρsinφsinθ=2sinπ2sinπ2=2z=ρcosφ=2cosπ2=0
Alternatively, we could just observe that
  • as φ=π2 the point lies in the xy-plane and so has z=0 and
  • as ρ=2, θ=π2 the point lies on the positive y-axis and is a distance 2 from the origin and so is (0,2,0).

3.7.5.5.

Solution.
(a) In spherical coordinates
z2=3x2+3y2ρ2cos2φ=3ρ2sin2φcos2θ+3ρ2sin2φsin2θρ2cos2φ =3ρ2sin2φtan2φ=13tanφ=±13φ=π6 or 5π6
The surface z2=3x2+3y2 is a cone. The upper half of the cone, i.e. the part with z0, is φ=π6. The lower half of the cone, i.e. the part with z0, is φ=ππ6=5π6.
(b) In spherical coordinates
x2+y2+(z1)2=1ρ2sin2φcos2θ+ρ2sin2φsin2θ+(ρcosφ1)2=1ρ2sin2φ+ρ2cos2φ2ρcosφ=0ρ22ρcosφ=0ρ=2cosφ
(c) In spherical coordinates
x2+y2=4ρ2sin2φcos2θ+ρ2sin2φsin2θ=4ρ2sin2φ=4ρsinφ=2
since ρ0 and 0φπ so that sinφ0.

3.7.5.6. (✳).

Solution.
In spherical coordinates, the sphere in question is
B={ (ρsinφcosθ,ρsinφsinθ,ρcosφ) | 0ρ1,0φπ,0θ2π }
As dV=ρ2sinφ dρdφdθ,
Volume(S)=BdV=02πdθ0πdφ01dρ ρ2sinφ=[02πdθ][0πdφ sinφ][01dρ ρ2]=2π[cosφ]0π[ρ33]01=(2π)(2)(13)=4π3

3.7.5.7. (✳).

Solution.
(a) First observe that both boundaries of E, namely ρ=1 and ρ=1+cosφ, are independent of the spherical coordinate θ. So E is invariant under rotations about the z-axis. To sketch E we
  • first sketch the part of the boundary of E with θ=0 (i.e. in the half of the xz-plane with x>0), and then
  • rotate about the z-axis.
The part of the boundary of E with θ=0 (i.e. in the half-plane y=0, x0), consists of two curves.
  • ρ=1+cosφ, θ=0:
    • When φ=0 (i.e. on the positive z-axis), We have cosφ=1 and hence ρ=2. So this curve starts at (0,0,2).
    • As φ increases cosφ, and hence ρ, decreases.
    • When φ is π2 (i.e. in the xy-plane), we have cosφ=0 and hence ρ=1.
    • When π2<φπ, we have cosφ<0 and hence ρ<1. All points in E are required to obey ρ1. So this part of the boundary stops at the point (1,0,0) in the xy-plane.
    • The curve ρ=1+cosφ, θ=0, 0φπ2 is sketched in the figure on the left below. It is the outer curve from (0,0,2) to (1,0,0).
  • ρ=1, θ=0:
    • The surface ρ=1 is the sphere of radius 1 centred on the origin.
    • As we observed above, the conditions 1ρ1+cosφ force 0φπ2, i.e. z0.
    • The sphere ρ=1 intersects the quarter plane y=0, x0, z0, in the quarter circle centred on the origin that starts at (0,0,1) on the z-axis and ends at (1,0,0) in the xy-plane.
    • The curve ρ=1, θ=0, 0φπ2 is sketched in the figure on the left below. It is the inner curve from (0,0,1) to (1,0,0).
    To get E, rotate the shaded region in the figure on the left below about the z-axis. The part of E in the first octant is sketched in the figure on the right below. The part of E in the xz-plane (with x0) is lightly shaded and the part of E in the yz-plane (with y0) is shaded a little more darkly.
(b) In E
  • φ runs from 0 (i.e. the positive z-axis) to π2 (i.e. the xy-plane).
  • For each φ in that range ρ runs from 1 to 1+cosφ and θ runs from 0 to 2π.
  • In spherical coordinates dV=ρ2sinφdρdθdφ.
So
Volume(E)=0π/2dφ11+cosφdρ02πdθ ρ2sinφ=2π0π/2dφ sinφ (1+cosφ)3133=2π321(u31) duwith u=1+cosφ, du=sinφdφ=2π3[u44u]21=2π3[1414+2]=11π6

3.7.5.8. (✳).

Solution.
Recall that in spherical coordinates,
x=ρsinφcosθy=ρsinφsinθz=ρcosφx2+y2=ρ2sin2φ
so that x2+y2+z2=4 becomes ρ=2, and x2+y2=z becomes
ρsinφ=ρcosφtanφ=1φ=π4
Here is a sketch of the y=0 cross-section of D.
Looking at the figure above, we see that, on D
  • φ runs from 0 (the positive z-axis) to π4 (on the cone), and
  • for each φ is that range, ρ runs from 0 to 2 and θ runs from 0 to 2π.
So
D={ (ρsinφcosθ,ρsinφsinθ,ρcosφ) | 0φπ4, 0θ2π, ρ2 }
and, as dV=ρ2sinφdρdθdφ,
I=0π/4dφ02πdθ02dρ ρ2sinφ ρcosφz=0π/4dφ02πdθ02dρ ρ3sinφcosφ=2π 2440π/4dφ sinφcosφ=2π 244[sin2φ2]0π/4=2π

3.7.5.9.

Solution.
(a) Recall that in spherical coordinates,
x=ρsinφcosθy=ρsinφsinθz=ρcosφx2+y2=ρ2sin2φ
so that x2+y2+z2=a2 becomes ρ=a, and x2+y2=z becomes
ρsinφ=ρcosφtanφ=1φ=π4
Here is a sketch of the y=0 cross-section of the specified region.
Looking at the figure above, we see that, on that region,
  • φ runs from 0 (the positive z-axis) to π4 (on the cone), and
  • for each φ is that range, ρ runs from 0 to a and θ runs from 0 to 2π.
so that
Volume=0adρ02πdθ0π4dφ ρ2sinφ={0adρ ρ2}{02πdθ}{0π4dφ sinφ}=a33 2π [cosφ]0π4=2πa33(112)
(b) The part of the sphere in question is
R={ (x,y,z) | x2+y2+z2a2, x0, y0, z0 }={ (ρsinφcosθ,ρsinφsinθ,ρcosφ) | ρa, 0φπ2, 0θπ2 }
By symmetry, the two specified integrals are equal, and are
0adρ ρ20π2dφ sinφ0π2dθ ρcosφz=a44π20π2dφ sinφcosφ=πa4801dt t where t=sinφ,dt=cosφdφ=πa416
(c) The planet in question is
P={ (x,y,z) | x2+y2+z2a2 }={ (ρsinφcosθ,ρsinφsinθ,ρcosφ) | ρa, 0φπ, 0θ2π }
So the
mass=0adρ ρ20πdφ sinφ02πdθ AB+ρ2density=2πA{0πdφ sinφ}{0adρ ρ2B+ρ2}=4πA0adρ (1BB+ρ2)=4πAa4πAB0a/Bds 11+s2 where ρ=Bs,dρ=Bds=4πA(aBtan1aB)
(d) Observe that
  • when φ=0 (i.e. on the positive z-axis), cosφ=1 so that ρ=a(1cosφ)=0 and
  • as φ increases from 0 to π2, cosφ decreases so that ρ=a(1cosφ) increases and
  • when φ=π2 (i.e. on the xy-plane), cosφ=0 so that ρ=a(1cosφ)=a and
  • as φ increases from π2 to π, cosφ continues to decrease so that ρ=a(1cosφ) increases still more and
  • when φ=π (i.e. on the negative z-axis), cosφ=1 so that ρ=a(1cosφ)=2a
So we have the following sketch of the intersection of the specified volume with the right half of the yz-plane.
The volume in question is invariant under rotations about the z-axis so that
Volume=02πdθ0πdφ sinφ0a(1cosφ)dρ ρ2=2πa330πdφ sinφ(1cosφ)3=2πa3302dt t3 where t=1cosφ,dt=sinφdφ=2π a33 244=83πa3

3.7.5.10. (✳).

Solution.
Let’s use H to denote the hemispherical shell. On that shell, the spherical coordinate φ runs from 0 (on the z-axis) to π/2 (on the xy-plane, z=0) and the spherical coordinate ρ runs from 2, on x2+y2+z2=4, to 3, on x2+y2+z2=9. So, in spherical coordinates,
H={ (ρsinφcosθ,ρsinφsinθ,ρcosφ) | 2ρ3, 0φπ/2,0θ2π }
(a) In spherical coordinates dV=ρ2sinφ dρdφdθ, so that, as the density is the constant D,
Mass(H)=23dρ02πdθ0π/2dφ D ρ2sinφ=D [23dρ ρ2] [02πdθ] [0π/2dφ sinφ]=D[333233] [2π] [cos0cos(π/2)]=383πD
We could have gotten the same result by expressing the mass as
  • one half, times
  • the density D, times
  • the difference between the volume of a sphere of radius 3 and a sphere of radius 2.
That is
Mass(H)=12D[43π3343π23]=383πD
(b) By definition, the centre of mass is (x¯,y¯,z¯) where x¯, y¯ and z¯ are the weighted averages of x, y and z, respectively, over H. That is
x¯=HxDdVHDdVy¯=HyDdVHDdVz¯=HzDdVHDdV
As H is invariant under reflection in the yz-plane (i.e. under xx) we have x¯=0. As H is also invariant under reflection in the xz-plane (i.e. under yy) we have y¯=0. So we just have to find z¯. We have already found the denominator in part (a), so we just have evaluate the numerator
HzDdV=23dρ02πdθ0π/2dφ D ρ2sinφ ρcosφz=D [23dρ ρ3] [02πdθ] [0π/2dφ sinφ cosφ]=D[344244] [2π] [12sin2π212sin20]=81164πD=654πD
All together
x¯=y¯=0z¯=654πD383πD=1951521.28

3.7.5.11. (✳).

Solution.
(a) Here is a sketch
(b) On T,
  • the spherical coordinate φ runs from 0 (the positive z-xis) to π2 (the xy-plane), and
  • for each fixed φ in that range, θ runs from 0 to π2, and
  • for each fixed φ and θ, the spherical coordinate ρ runs from 0 to 1.
  • In spherical coordinates dV=ρ2sinφdρdθdφ and
    xz=(ρsinφcosθ)(ρcosφ)=ρ2sinφ cosφ cosθ
So
I=0π/2dφ0π/2dθ01dρ ρ4sin2φcosφ cosθ
(c) In spherical coordinates,
I=[0π/2dφ sin2φcosφ][0π/2dθ cosθ][01dρ ρ4]=[sin3φ3]0π/2[sinθ]0π/2[ρ55]01=115

3.7.5.12. (✳).

Solution.
We’ll use spherical coordinates. On Q,
  • the spherical coordinate φ runs from 0 (the positive z-axis) to π2 (the xy-plane),
  • the spherical coordinate θ runs from 0 (the half of the xz-plane with x0) to π2 (the half of the yz-plane with y0) and
  • the spherical coordinate ρ runs from 0 to 3.
As dV=ρ2sinφdρdθdφ,
W=Qxz dV=03dρ0π/2dθ0π/2dφ ρ2sinφ ρsinφcosθxρcosφz=03dρ0π/2dθ ρ4cosθ[sin3φ3]φ=0φ=π/2=1303dρ ρ4[sinθ]0π/2=3515=815

3.7.5.13. (✳).

Solution.
Let’s use spherical coordinates. This is an improper integral. So, to be picky, we’ll take the limit as R of the integral over 0ρR.
R3[1+(x2+y2+z2)3]1 dV=limR0Rdρ02πdθ0πdφ ρ2sinφ 11+ρ6=limR0Rdρ02πdθ ρ21+ρ6[cosφ]0π=4πlimR0Rdρ ρ21+ρ6=4π3limR0R3du 11+u2with u=ρ3, du=3ρ2dρ=4π3limR[arctanu]0R3=2π23since limRarctanR3=π2

3.7.5.14. (✳).

Solution.
On the domain of integration
  • x runs from 1 to 1.
  • For each fixed x in that range, y runs from 1x2 to 1x2. In inequalities, that is 1x2y1x2, which is equivalent to x2+y21.
  • For each fixed (x,y) obeying x2+y21, z runs from 11x2y2 to 1+1x2y2. In inequalities, that is 11x2y2z1+1x2y2, which is equivalent to x2+y2+(z1)21.
So the domain of integration is
V={ (x,y,z) | x2+y2+(z1)21 }
In spherical coordinates, the condition x2+y2+(z1)21 is
(ρsinφcosθ)2+(ρsinφsinθ)2+(ρcosφ1)21ρ2sin2φ+(ρcosφ1)21ρ2sin2φ+ρ2cos2φ2ρcosφ+11ρ22ρcosφρ2cosφ
Note that V is contained in the upper half, z0, of R3 and that the xy-plane in tangent to V. So as (x,y,z) runs over V, the spherical coordinate φ runs from 0 (the positive z-axis) to π2 (the xy-plane). Here is a sketch of the side view of V.
As dV=ρ2sinφ dρdφdθ and (x2+y2+z2)5/2=ρ5, the integral is
111x21x211x2y21+1x2y2(x2+y2+z2)5/2 dzdydx=02πdθ0π/2dφ02cosφdρ ρ2sinφ ρ5=02πdθ0π/2dφ 28cos8φ8sinφ=3202πdθ [cos9φ9]0π/2=329(2π)=64π9

3.7.5.15.

Solution.
The top of the cylinder has equation z=h, i.e. ρcosφ=h. The side of the cylinder has equation x2+y2=a2, i.e. ρsinφ=a. The bottom of the cylinder has equation z=0, i.e. φ=π2.
For each fixed φ, θ runs from 0 to 2π and ρ runs from 0 to either hcosφ (at the top of the can, when φ<tan1ah) or asinφ (at the side of the can, when φ>tan1ah). So the
Volume=0tan1ahdφ02πdθ0h/cosφdρ ρ2sinφ+tan1ahπ2dφ02πdθ0a/sinφdρ ρ2sinφ=2π0tan1ahdφ h3sinφ3cos3φ+2πtan1ahπ2dφ a3sinφ3sin3φ=2π{0ahdt h33tha0ds a33} where t=tanφ,dt=sec2φdφ,s=cotφ,ds=csc2φdφ=2π{h3312(ah)2+a33ha}=2π{ah26+a2h3}=πa2h

3.7.5.16. (✳).

Solution.
In spherical coordinates,
x=ρsinφcosθy=ρsinφsinθz=ρcosφ
so that the sphere x2+y2+z2=4 is ρ2=4 or ρ=2 and the cone x2+y2=z2 is ρ2sin2φ=ρ2cos2φ or tanφ=±1 or φ=π4, 3π4. So
moment=02dρ0π/4dφ02πdθ ρ2sinφ (ρcosφ)2=2π02dρ ρ40π/4dφ sinφcos2φ=2π[ρ55]02[13cos3φ]0π/4=6415π(1122)8.665

3.7.5.17. (✳).

Solution.
(a) In spherical coordinates,
x=ρsinϕcosθy=ρsinϕsinθz=ρcosϕ
so that
  • the sphere x2+y2+z2=1 is ρ=1,
  • the xy-plane, z=0, is ϕ=π2,
  • the positive half of the xz-plane, y=0, x>0, is θ=0 and
  • the positive half of the yz-plane, x=0, y>0, is θ=π2.
So
ΩzdV=01dρ0π/2dϕ0π/2dθ ρ2sinϕ(ρcosϕ)z=π201dρ0π/2dϕ ρ3sinϕcosϕ=π201dρ ρ3 12sin2ϕ|0π/2=π401dρ ρ3=π16
(b) The hemispherical ball given by z0, x2+y2+z21 (call it H) has centroid (x¯,y¯,z¯) with x¯=y¯=0 (by symmetry) and
z¯=HzdVHdV=4ΩzdV12×43π=π42π3=38

3.7.5.18. (✳).

Solution.
(a) In spherical coordinates,
x=ρsinϕcosθy=ρsinϕsinθz=ρcosϕ
the sphere x2+y2+z2=4 is ρ2=4 or ρ=2 and the xy-plane is ϕ=π2. So
mass=02dρ0π/2dϕ02πdθ ρ2sinϕ (9ρcosϕ)density
(b) The mass of the half ball is
902dρ0π/2dϕ02πdθ ρ3sinϕcosϕ=9[02dρ ρ3][0π/2dϕ sinϕcosϕ][02πdθ]
In spherical coordinates, the cone x2+y2=z2 is ρ2sin2ϕ=ρ2cos2ϕ or tanϕ=±1 or ϕ=π4, 3π4. So the mass of the part that is inside the cone is
902dρ0π/4dϕ02πdθ ρ3sinϕcosϕ=9[02dρ ρ3][0π/4dϕ sinϕcosϕ][02πdθ]
The fraction inside the cone is
0π/4dϕ sinϕcosϕ0π/2dϕ sinϕcosϕ=12sin2ϕ|0π/412sin2ϕ|0π/2=12

3.7.5.19. (✳).

Solution.
In spherical coordinates, x=ρsinφcosθ, y=ρsinφsinθ, z=ρcosφ so that
ρ2sin2φcosθsinθ+ρ3sinφsinθcos2φ+ρ3sinφcos2φρ2sin2φ+ρ4cos4φ=sin2φcosθsinθ+ρsinφsinθcos2φ+ρsinφcosθcos2φsin2φ+ρ2cos4φ
As (x,y,z)(0,0,0), the radius ρ0 and the second and third terms in the numerator and the second term in the denominator converge to 0. But that leaves
sin2φcosθsinθsin2φ=cosθsinθ
which takes many different values. In particular, if we send (x,y,z)(0,0,0) along either the x- or y-axis, that is with z=0 and either x=0 or y=0, then
xy+yz2+xz2x2+y2+z4|x=0 or y=0z=0=0
converges to 0. But, if we send (x,y,z)(0,0,0) along the line y=x, z=0
xy+yz2+xz2x2+y2+z4|y=xz=0=x22x2=12
converges to 1/2. So xy+yz2+xz2x2+y2+z4 does not approach a single value as (x,y,z)(0,0,0) and the limit does not exist.

3.7.5.20. (✳).

Solution.
The disk of radius 2 centred at the origin in the xy-plane is x2+y24. So
V={ (x,y,z) | x2+y24, 0z2 }
The cone with vertex at the origin that contains the top edge, x+y2=4, z=2, of U is x2+y2=z2. So
U={ (x,y,z) | x2+y24, 0z2, x2+y2z2 }
Here are sketches of the y=0 cross-section of V, on top, and U, on the bottom.
(a) In cylindrical coordinates, x2+y24 becomes r2 and x2+y2z2 is r|z|, and the density is x2+y2=r. So
U={ (rcosθ,rsinθ,z) | r2, 0z2, rz }
Looking at the figure below, we see that, on U
  • z runs from 0 to 2, and
  • for each z is that range, r runs from z to 2 and θ runs from 0 to 2π.
  • dV=rdrdθdz
So
Mass=02dz02πdθz2dr r rdensity=02dz02πdθz2dr r2
(b) Recall that in spherical coordinates,
x=ρsinφcosθy=ρsinφsinθz=ρcosφx2+y2=ρ2sin2φ
so that x2+y24 becomes ρsinφ2, and x2+y2z2 becomes
ρsinφρcosφtanφ1φπ4
and the density x2+y2=ρsinφ. So
U={ (ρsinφcosθ,ρsinφsinθ,ρcosφ) | π4φπ2, 0θ2π, ρsinφ2 }
Looking at the figure below, we see that, on U
  • φ runs from π4 (on the cone) to π2 (on the xy-plane), and
  • for each φ is that range, ρ runs from 0 to 2sinφ and θ runs from 0 to 2π.
  • dV=ρ2sinφdρdθdφ
So
Mass=π/4π/2dφ02πdθ02/sinφdρ ρ2sinφ ρsinφdensity=π/4π/2dφ02πdθ02/sinφdρ ρ3sin2φ
(c) We’ll use the cylindrical form.
Mass=02dz02πdθz2dr r2=2π02dz 8z33=2π3 [16244]=8π

3.7.5.21. (✳).

Solution.
(a) Call the solid V. In cylindrical coordinates
  • x2+y2+z22 is r2+z22 and
  • x2+y2z is rz and
  • the density δ=r2, and
  • dV is rdrdθdz
Observe that r2+z2=2 and r=z intersect when 2r2=2 so that r=z=1. Here is a sketch of the y=0 cross-section of E.
So
V={ (rcosθ,rsinθ,z) | 0r1, 0θ2π, rz2r2 }
and
M=Vρ(x,y,z) dV=01dr02πdθr2r2dz r(r2)δ=01dr02πdθr2r2dz r3
(b)
In spherical coordinates
  • x2+y2+z22 is ρ2, and
  • x2+y2z is ρsinφρcosφ, or tanφ1 or φπ4, and
  • the density x2+y2=ρ2sin2φ, and
  • dV is ρ2sinφdρdθdφ
So
V={ (ρsinφcosθ,ρsinφsinθ,ρcosφ) | 0ρ2, 0θ2π,0φπ4 }
and, since the integrand x2+y2=ρ2sin2φ,
M=V(x2+y2) dV=02dρ02πdθ0π/4dφ ρ2sinφ ρ2sin2φ=02dρ02πdθ0π/4dφ ρ4sin3φ
(c) We’ll use the spherical coordinate form.
M=02dρ02πdθ0π/4dφ ρ4sin3φ=02dρ02πdθ0π/4dφ ρ4sinφ[1cos2φ]=2π02dρ ρ4[cosφ+cos3φ3]0π/4=2π[23562]02dρ ρ4=2π425[23562]=π[1621543]0.5503

3.7.5.22. (✳).

Solution.
(a) On E,
  • the spherical coordinate φ runs from 0 (the positive z-xis) to π2 (the xy-plane), and
  • for each fixed φ in that range, θ runs from 0 to π2, and
  • for each fixed φ and θ, the spherical coordinate ρ runs from 0 to 1.
  • In spherical coordinates dV=ρ2sinφdρdθdφ and
    xz=(ρsinφcosθ)(ρcosφ)=ρ2sinφ cosφ cosθ
So
I=0π/2dφ0π/2dθ01dρ ρ4sin2φcosφ cosθ
(b) In cylindrical coordinates, the condition x2+y2+z21 becomes r2+z21. So, on E
  • the cylindrical coordinate z runs from 0 (in the xy-plane) to 1 (at (0,0,1)) and
  • for each fixed z in that range, θ runs from 0 to π/2 and
  • for each such fixed z and θ, the cylindrical coordinate r runs from 0 to 1z2 (recall that r2+z21).
  • In cylindrical coordinates dV=rdrdθdz and
    xz=(rcosθ)(z)=rzcosθ
    So
    I=01dz0π/2dθ01z2dr r2zcosθ
(c) Both spherical and cylindrical integrals are straight forward to evaluate. Here are both. First, in spherical coordinates,
I=[0π/2dφ sin2φcosφ][0π/2dθ cosθ][01dρ ρ4]=[sin3φ3]0π/2[sinθ]0π/2[ρ55]01=115
Now in cylindrical coordinates
I=01dz0π/2dθ01z2dr r2zcosθ=1301dz0π/2dθ z(1z2)3/2cosθ=1301dz z(1z2)3/2=13[12 (1z2)5/25/2]01=115

3.7.5.23. (✳).

Solution.
(a) Recall that in spherical coordinates
x=ρsinφcosθy=ρsinφsinθz=ρcosφ
so that
  • x2+y2+z29 is ρ3, and
  • 3x2+3y2z is 3ρsinφρcosφ, or tanφ13 or φπ6, and
  • the integrand x2+y2=ρ2sin2φ, and
  • dV is ρ2sinφdρdθdφ
So
T={ (ρsinφcosθ,ρsinφsinθ,ρcosφ) | 0ρ3, 0θ2π,0φπ6 }
and,
I=T(x2+y2) dV=03dρ02πdθ0π/6dφ ρ2sinφ ρ2sin2φx2+y2=03dρ02πdθ0π/6dφ ρ4sin3φ
(b) In cylindrical coordinates
  • x2+y2+z29 is r2+z29 and
  • 3x2+3y2z is 3rz and
  • the integand x2+y2=r2, and
  • dV is rdrdθdz
Observe that r2+z2=9 and 3r=z intersect when r2+3r2=9 so that r=32 and z=332. Here is a sketch of the y=0 cross-section of T.
So
T={ (rcosθ,rsinθ,z) | 0r32, 0θ2π, 3rz9r2 }
and
I=V(x2+y2) dV=03/2dr02πdθ3r9r2dz r(r2)x2+y2=03/2dr02πdθ3r9r2dz  r3
(c) We’ll use the spherical coordinate form.
I=03dρ02πdθ0π/6dφ ρ4sin3φ=03dρ02πdθ0π/6dφ ρ4sinφ[1cos2φ]=2π03dρ ρ4[cosφ+cos3φ3]0π/6=2π[32+38+113]03dρ ρ4=2π355[23338]=8134π[459320]5.24

3.7.5.24. (✳).

Solution.
(a) In cylindrical coordinates
  • x2+y2+z21 is r2+z21 and
  • x2+y2z2 is r2z2 and
  • dV is rdrdθdz
Observe that r2+z2=1 and r2=z2 intersect when r2=z2=12. Here is a sketch of the y=0 cross-section of E.
So
E={ (rcosθ,rsinθ,z) | 0r12, 0θ2π, rz1r2 }
and
J=Ex2+y2+z2 dV=01/2dr02πdθr1r2dz rr2+z2
(b) In spherical coordinates
  • x2+y2+z21 is ρ1 and
  • x2+y2z2 is ρ2sin2φρ2cos2φ, or tanφ1 or φπ4, and
  • dV is ρ2sinφdρdθdφ
So
E={ (ρsinφcosθ,ρsinφsinθ,ρcosφ) | 0ρ1, 0θ2π,0φπ4 }
and, since the integrand x2+y2+z2=ρ,
J=Ex2+y2+z2 dV=01dρ02πdθ0π/4dφ ρ2sinφ ρ=01dρ02πdθ0π/4dφ ρ3sinφ
(c) We’ll use the spherical coordinate form to evaluate
J=01dρ02πdθ0π/4dφ ρ3sinφ=2π01dρ ρ3[cosφ]0π/4=2π 14 [112]=π2 [112]

3.7.5.25. (✳).

Solution.
(a) As a check, the body of the snow man has radius 12=233.46, which is between 2 (the low point of the head) and 4 (the center of the head). Here is a sketch of a side view of the snowman.
We want to determine the volume of the intersection of the body and the head, whose side view is the darker shaded region in the sketch.
  • The outer boundary of the body and the outer boundary of the head intersect when both x2+y2+z2=12 and x2+y2+(z4)2=4. Subtracting the second equation from the first gives
    z2(z4)2=1248z16=8z=3
    Then substituting z=3 into either equation gives x2+y2=3. So the intersection of the outer boundaries of the head and body (i.e. the neck) is the circle x2+y2=3, z=3.
  • The top boundary of the intersection is part of the top half of the snowman’s body and so has equation z=+12x2y2.
  • The bottom boundary of the intersection is part of the bottom half of the snowman’s head, and so has equation z=44x2y2
The intersection of the head and body is thus
V={ (x,y,z | x2+y23, 44x2y2z12x2y2 }
We’ll compute the volume of V using cylindrical coordinates
Volume(V)=03dr02πdθ44r212r2dz r=03dr 2π r[12r24+4r2]=2π[13(12r2)3/22r213(4r2)3/2]03=2π[13(9)3/22(3)13(1)3/2+13(12)3/2+2(0)2+13(4)3/2]=2π[9613+13(12)3/2+83]=2π[13(12)3/2383]
So the volume of the snowman is
4π3(12)3/2+4π3232π[13(12)3/2383]=2π3[(12)3/2+54]
(b) The top figure below is another side view of the snowman. This time it is divided into a lighter gray top part, a darker gray middle part and a lighter gray bottom part. The bottom figure below is an enlarged view of the central part of the figure on the left.
i. The top part is the Pac-Man
part of the snowman’s head. It is the part of the sphere
x2+y2+(z4)24
that is above the cone
z4=x2+y23
(which contains the points (0,0,4) and (3,0,3)).
ii. The middle part is the diamond shaped
part of the snowman’s head and body. It is bounded on the top by the cone
z4=x2+y23
(which contains the points (0,0,4) and (3,0,3)) and is bounded on the bottom by the cone
z=3(x2+y2)
(which contains the points (0,0,0) and (3,0,3)).
iii. The bottom part is the Pac-Man
part of the snowman’s body. It is the part of the sphere
x2+y2+z212
that is below the cone
z=3(x2+y2)
(which contains the points (0,0,0) and (3,0,3)).

3.7.5.26. (✳).

Solution.
(a) Recall that, in spherical coordinates, φ runs from 0 (that’s the positive z-axis) to π (that’s the negative z-axis), θ runs from 0 to 2π (θ is the regular polar or cylindrical coordinate) and dV=ρ2 sinφ dρdθdφ. So
Volume=0πdφ02πdθ08sinφdρ ρ2 sinφ=0πdφ02πdθ (8sinφ)33sinφ=2(83)π30πdφ sin4φ=2(83)π3[132(12φ8sin(2φ)+sin(4φ))]0π=2(83)π3 12π32=128π2
(b) Fix any φ between 0 and π. If ρ=8sinφ, then as θ runs from 0 to 2π,
(x,y,z)=(ρsinφcosθ,ρsinφsinθ,ρcosφ)=(8sin2φcosθ,8sin2φsinθ,8sinφcosφ)=(Rcosθ,Rsinθ,Z)with R=8sin2φ, Z=8sinφcosφ
sweeps out a circle of radius R=8sin2φ contained in the plane z=Z=8sinφcosφ and centred on (0,0,Z=8sinφcosφ). So the surface is a bunch of circles stacked one on top of the other. It is a surface of revolution. We can sketch it by
  • first sketching the θ=0 section of the surface (that’s the part of the surface in the right half of the xz-plane)
  • and then rotate the result about the z-axis.
The θ=0 part of the surface is
{ (x,y,z) | x=8sin2φ, y=0, z=8sinφcosφ, 0φπ }={ (x,y,z) | x=44cos(2φ), y=0, z=4sin(2φ), 0φπ }
It’s a circle of radius 4, contained in the xz-plane (i.e. y=0) and centred on (4,0,0)! The figure on the left below is a sketch of the top half of the circle. When we rotate the circle about the z-axis we get a torus (a donut) but with the hole in the centre shrunk to a point. The figure on the right below is a sketch of the part of the torus in the first octant.

3.7.5.27. (✳).

Solution.
(a) In cylindrical coordinates 0zx2+y2 becomes 0zr, and x2+y21 becomes 0r1. So
E={ (rcosθ,rsinθ,z) | 0r1, 0θ2π, 0zr }
and, since dV=rdrdθdz,
I=Ezx2+y2+z2 dV=01dr02πdθ0rdz r z r2+z2x2+y2+z2
(b) Here is a sketch of a constant θ section of E.
Recall that the spherical coordinate φ is the angle between the z-axis and the radius vector. So, in spherical coordinates z=r (which makes an angle π4 with the z axis) becomes φ=π4, and the plane z=0, i.e. the xy-plane, becomes φ=π2, and r=1 becomes ρsinφ=1. So
E={(ρsinφcosθ,ρsinφsinθ,ρcosφ) | π4φπ2, 0θ2π,0ρ1sinφ }
and, since dV=ρ2sinφdρdθdφ,
I=Ezx2+y2+z2 dV=π/4π/2dφ02πdθ01/sinφdρ ρ2sinφ ρcosφz ρ=π/4π/2dφ02πdθ01/sinφdρ ρ4sinφ cosφ
(c) We’ll integrate using the spherical coordinate version.
I=π/4π/2dφ02πdθ01/sinφdρ ρ4sinφ cosφ=π/4π/2dφ02πdθ 15sin5φsinφ cosφ=2π5π/4π/2dφ cosφsin4φ=2π51/21duu4with u=sinφ, du=cosφdφ=2π5[u33]1/21=2(221)π15

3.7.5.28. (✳).

Solution.
The main step is to figure out what the domain of integration looks like.
  • The outside integral says that x runs from a to 0.
  • The middle integrals says that, for each x in that range, y runs from a2x2 to 0. We can rewrite y=a2x2 in the more familiar form x2+y2=a2, y0. So (x,y) runs over the third quadrant part of the disk of radius a, centred on the origin.
  • Finally, the inside integral says that, for each (x,y) in the quarter disk, z runs from 0 to a2x2y2. We can also rewrite z=a2x2y2 in the more familiar form x2+y2+z2=a2, z0.
So the domain of integration is the part of the interior of the sphere of radius a, centred on the origin, that lies in the octant x0, y0, z0.
V={ (x,y,z) | ax0, a2x2y0,0za2x2y2}={ (x,y,z) | x2+y2+z2a2, x0, y0, z0 }
(a) Note that, in V, (x,y) is restricted to the third quadrant, which in cylindrical coordinates is πθ3π2. So, in cylindrical coordinates,
V={(rcosθ,rsinθ,z) | r2+z2a2, πθ3π2, z0}={(rcosθ,rsinθ,z) | 0za, πθ3π2, 0ra2z2}
and
I=V(x2+y2+z2)2014 dV=V(r2+z2)2014 rdrdθdz=0adzπ3π/2dθ0a2z2dr r(r2+z2)2014
(b) The spherical coordinate φ runs from 0 (when the radius vector is along the positive z-axis) to π2 (when the radius vector lies in the xy-plane) so that
I=V(x2+y2+z2)2014 dV=Vρ2×2014 ρ2sinφ dρdθdφ=0π/2dφπ3π/2dθ0adρ ρ4030sinφ
(c) Using the spherical coordinate version
I=0π/2dφπ3π/2dθ0adρ ρ4030sinφ=a403140310π/2dφπ3π/2dθ sinφ=a4031π80620π/2dφ sinφ=a4031π8062

3.7.5.29. (✳).

Solution.
(a) In cylindrical coordinates, the paraboloid is z=r2 and the cone is z=r. The two meet when r2=r. That is, when r=0 and when r=1. So, in cylindrical coordinates
I=01dr r02πdθr2rdz z(r2+z2)
(b) In spherical coordinates, the paraboloid is
ρcosφ=ρ2sin2φorρ=cosφsin2φ
and the cone is
ρcosφ=ρsinφortanφ=1orφ=π4
The figure below shows a constant θ cross-section of E. Looking at that figure, we see that φ runs from π4 (i.e. the cone) to π2 (i.e. the xy-plane).
So, is spherical coordinates,
I=π/4π/2dφ02πdθ0cosφ/sin2φdρ ρ2sinφ ρcosφzρ2x2+y2+z2=π/4π/2dφ02πdθ0cosφ/sin2φdρ ρ5sinφcosφ
(c) The cylindrical coordinates integral looks easier.
I=01dr r02πdθr2rdz z(r2+z2)=01dr r02πdθ [r2z22+z44]r2r=2π01dr r[r2r22+r44r2r42r84]=2π[112+124116140]=π2[13+1614110]=3π40

3.7.5.30. (✳).

Solution.
Note that both the sphere x2+y2+(z1)2=1 and the cone z=x2+y2 are invariant under rotations around the z-axis. The sphere x2+y2+(z1)2=1 and the cone z=x2+y2 intersect when z=x2+y2, so that x2+y2=z2, and
x2+y2+(z1)2=z2+(z1)2=12z22z=02z(z1)=0z=0,1
So the surfaces intersect on the circle z=1, x2+y2=1 and
S={ (x,y,z) | x,y0, x2+y21, x2+y2z1+1x2y2 }
Here is a sketch of the y=0 cross section of S.
(a) In cylindrical coordinates
  • the condition x,y0 is 0θπ2,
  • the condition x2+y21 is r1, and
  • the conditions x2+y2z1+1x2y2 are rz1+1r2, and
  • dV=rdrdθdz.
So
V=SdV=01dr0π/2dθr1+1r2dz r
(b) In spherical coordinates,
  • the cone z=x2+y2 becomes
    ρcosφ=ρ2sin2φcos2θ+ρ2sin2φsin2θ=ρsinφtanφ=1φ=π4
  • so that, on S, the spherical coordinate φ runs from φ=0 (the positive z -axis) to φ=π4 (the cone z=x2+y2), which keeps us above the cone,
  • the condition x,y0 is 0θπ2,
  • the condition x2+y2+(z1)21, (which keeps us inside the sphere), becomes
    ρ2sin2φcos2θ+ρ2sin2φsin2θ+(ρcosφ1)21ρ2sin2φ+ρ2cos2φ2ρcosφ+11ρ22ρcosφ0ρ2cosφ
  • and dV=ρ2sinφdρdθdφ.
So
V=SdV=0π/4dφ0π/2dθ02cosφdρ ρ2sinφ
(c) We’ll evaluate V using the spherical coordinate integral of part (b).
V=0π/4dφ0π/2dθ02cosφdρ ρ2sinφ=830π/4dφ0π/2dθ cos3φ sinφ=83 π2 [cos4φ4]0π/4=π3[11(2)4]=π4

3.7.5.31. (✳).

Solution.
(a) In cylindrical coordinates, the density of is δ=x2+y2=r2, the bottom of the solid is at z=3x2+3y2=3r and the top of the solid is at z=9x2y2=9r2. The top and bottom meet when
3r=9r23r2=9r24r2=9r=32
The mass is
m=02πdθ03/2dr r3r9r2dz r2δ
(b) In spherical coordinates, the density of is δ=x2+y2=ρ2sin2φ, the bottom of the solid is at
z=3rρcosφ=3ρsinφtanφ=13φ=π6
and the top of the solid is at x2+y2+z2=ρ2=9. The mass is
m=02πdθ0π/6dφ03dρ (ρ2sinφ)(ρ2sin2φ)δ
(c) Solution 1: Making the change of variables s=cosφ, ds=sinφ dφ, in the integral of part (b),
m=02πdθ0π/6dφ03dρ ρ4sinφ(1cos2φ)=35502πdθ0π/6dφ sinφ(1cos2φ)=35502πdθ13/2ds (1s2)=35502πdθ [ss33]13/2=2π355[11332+38]=2π355[23338]
(c) Solution 2: As an alternate solution, we can also evaluate the integral of part (a).
m=02πdθ03/2dr r3r9r2dz r2=02πdθ03/2dr r3(9r23r)=2π03/2dr r3(9r23r)
The second term
2π03/2dr 3r4=2π3r55|03/2=2π3355×25
For the first term, we substitute s=9r2, ds=2rdr.
2π03/2dr r39r2=2π927/4ds2rdr(9s)r2s=π[6s3/225s5/2]927/4=π[35342×34372453+2355]
Adding the two terms together,
m=2π3553322π355538+2π35553+2π35593322π355=2π355[(531)3(132+58932)]=2π355[23338]