Chapter 52. Solutions to Part Kilo

Right now we only have solutions to the “mock half-final” here. (If you want to submit a pull request for the remaining problems, you’d be welcome to.)

§52.1 Solution to Exercise 41.1 (cube roots)

Exercise 41.1. Give an example of a complex number 𝑧 whose real and imaginary parts are both negative such that 𝑧3=−1000𝑖. Write your answer in rectangular form.

We’ll just find all the answers to 𝑧3=−1000𝑖 as in Section 10.5 and then identify the relevant one. In polar form, write

𝑧3=−1000𝑖=1000⋅(cos270°+𝑖sin270°).

Take the cube roots with the standard recipe: the magnitudes should be 10003=10 and the arguments should start from 270°3=90° and be spaced 120° apart. That is, the three cube roots should be

𝑧1=10(cos90°+𝑖sin90°)𝑧2=10(cos210°+𝑖sin210°)𝑧3=10(cos330°+𝑖sin330°).

Of these three answers, we want the one whose real and imaginary parts are both negative. Only 𝑧2 works; in rectangular form it is

𝑧2=10(−32−𝑖12)=−53−5𝑖

(and this is the only possible example).

§52.2 Solution to Exercise 41.2 (one of two eigenvalues)

Exercise 41.2. Compute the unique real number 𝑎 for which 𝑀=(11𝑎6) has an eigenvalue of 2. For this value of 𝑎, compute the other eigenvalue of 𝑀, and a (nonzero) eigenvector for that eigenvalue.

Solution with bare-hands

Given that 2 is an eigenvalue of 𝑀, we should have det(𝑀−2𝐼)=0. Write

0=det(𝑀−2𝐼)=|1−21𝑎6−2|=|−11𝑎4|=−4−𝑎⟹𝑎=−4.

Now let’s go back to the characteristic polynomial again. The eigenvalues are those 𝜆 such that

0=|1−𝜆1−46−𝜆|=(1−𝜆)(6−𝜆)+4=𝜆2−7𝜆+10.

We know that 𝜆=2 is one root of the quadratic; the other one is 𝜆=5.

To get the eigenvector, write (𝑥𝑦) so that we need

𝑀(𝑥𝑦)=5(𝑥𝑦)⟹{(1−5)𝑥+𝑦=0−4𝑥+(6−5)𝑦=0⟹𝑦=4𝑥.

So an eigenvector for 5 is (14) (or any nonzero multiple of it).

Solution using trace and determinant shortcut

Let 𝜆2 be the other eigenvalue. If you happen to remember that the trace is the sum of the eigenvalues while the determinant was the product of the eigenvalues (Section 9.7), then this question can be done even more quickly:

𝜆2+2=Trace𝑀=1+6𝜆2⋅2=det𝑀=|11𝑎6|=6−𝑎.

The first equation implies 𝜆2=5; then the second implies 𝑎=−4. The eigenvector is then recovered in the same way as the first solution.

§52.3 Solution to Exercise 41.3 (plane)

Exercise 41.3. The four points (𝑏,0,0), (0,𝑏,0), (0,0,𝑏), and (2,3,6) lie on a plane 𝒫︀. Compute 𝑏, and compute the distance from (1,2,3) to 𝒫︀.

We start by determining the equation of the plane through 𝑃1=(𝑏,0,0), 𝑃2=(0,𝑏,0) and 𝑃3=(0,0,𝑏). You might be able to guess the equation just by looking, but if you didn’t see it, you could also use the cross product

(𝑃2−𝑃1)×(𝑃3−𝑃1)=(−𝑏𝑏0)×(−𝑏0𝑏)=(𝑏2𝑏2𝑏2)=𝑏2(111).

Therefore, (111) is a normal vector to the plane, so the plane’s equation should be 𝑥+𝑦+𝑧=const. The plane should pass through (𝑏,0,0) and so on; hence the plane’s equation is

𝑥+𝑦+𝑧=𝑏.

In order for this to also pass through (2,3,6), we need 𝑏=2+3+6=11.

It remains to calculate the distance from (1,2,3) to the plane 𝑥+𝑦+𝑧=11. If you use the point-to-plane formula (Section 5.6) for this, you get

|1+2+3−11|12+12+12=53.

If you didn’t remember this formula, you should instead compute the length of the projection of the vector 𝐯=(1,2,3)−(2,3,6)=⟨−1,−1,−3⟩ (you can replace (2,3,6) with any other point on the plane, like (0,0,11) or similar) along the direction of 𝐧=⟨1,1,1⟩. Doing this by hand gives

𝐯⋅𝐧|𝐧|=⟨−1,−1,−3⟩⋅⟨1,1,1⟩3=−53

like before, although as I’ve described before, we’re really just repeating the proof of the point-to-plane formula.

§52.4 Solution to Exercise 41.4 (level curves through critical points)

Exercise 41.4. Let 𝑓(𝑥,𝑦)=cos(𝑥)+sin(𝑦). Give an example of a saddle point of 𝑓, and an example of a local maximum of 𝑓. Pick either of these two points and sketch the level curve of 𝑓 passing through it.

Let 𝑓(𝑥,𝑦)=cos(𝑥)+sin(𝑦). The gradient is given by

∇𝑓=⟨−sin(𝑥),cos(𝑦)⟩.

So a critical point occurs at any point for which sin(𝑥)=cos(𝑦)=0. (These are the points where cos(𝑥)=±1 and sin(𝑦)=±1.)

Saddle point

To identify a saddle point, we compute the double derivatives:

𝑓𝑥𝑥=−cos(𝑥)𝑓𝑥𝑦=0𝑓𝑦𝑦=−sin(𝑦).

It’s enough to pick any (𝑥,𝑦) for which 𝑓𝑥𝑥 and 𝑓𝑦𝑦 have opposite sign. One example would be (𝑥,𝑦)=(0,3𝜋2), among many others. At this value we get 𝑓(0,3𝜋2)=0.

In fact, the complete list of saddle points is given as follows: whenever 𝑚 and 𝑛 are integers where 𝑚+𝑛 is odd, the point

(𝑥,𝑦)=(𝑚𝜋,(𝑛+12)𝜋)

is a saddle point, and these are all saddle points. The previous example was the special case 𝑚=0 and 𝑛=1.

The level curve of 𝑓 is the set of points (𝑥,𝑦) with cos(𝑥)+sin(𝑦)=0, so in fact every saddle point lies on this level curve. In Figure 127, we draw the level curve below in blue, and the saddle points in red. Since cos(𝑥)=sin(𝑦) whenever 𝑥±𝑦+𝜋2 is a multiple of 2𝜋, the level curves are a mesh of lines running through the plane at diagonals.

Figure 127: The level curve of 𝑓=cos(𝑥)+sin(𝑦)=0. Saddle points are marked in red, and these are all the saddle points.

Local maximum

An example of a local maximum would be 0,𝜋2, at which 𝑓(0,𝜋2)=cos0+sin(𝜋2)=2. In fact, the level curve of 𝑓(𝑥,𝑦)=2 passes through all the local maximums, which occur only when cos𝑥=sin𝑦=1, meaning 𝑥 and 𝑦−𝜋2 are integer multiples of 2𝜋. So the level curve of 𝑓 for the value 2 contains only a disjointed set of points, as shown in Figure 128.

Figure 128: The level curve of 𝑓=cos(𝑥)+sin(𝑦)=2, in green. Each green point is a local maximum of 𝑓 (and these are the only local maximums).

§52.5 Solution to Exercise 41.5 (optimization)

Exercise 41.5. Compute the maximum and minimum value of 𝑥2+2𝑦2+4𝑥 over 𝑥2+𝑦2≤9.

Let 𝑓(𝑥,𝑦)=𝑥2+2𝑦2+4𝑥. Let ℛ︀ denote the region 𝑥2+𝑦2≤9, which is 2D, has no limit cases, and boundary 𝑥2+𝑦2=9. We carry out our optimization recipe from Chapter 19.

  1. There are no limit cases, but a boundary 𝑥2+𝑦2=9, a circle of radius 3.

  2. First let’s find the critical points of 𝑓(𝑥,𝑦,𝑧)=𝑥2+2𝑦2+4𝑥. Write

    ∇𝑓=(2𝑥+44𝑦).

    The only point at which ∇𝑓=0 is (−2,0), at which

    𝑓(−2,0)=−4.
  3. The boundary of ℛ︀ is 𝑥2+𝑦2=9. We use Lagrange multipliers on the boundary, which we denote 𝒮︀, with constraint 𝑔(𝑥,𝑦)=𝑥2+𝑦2=9.

    1. The new region 𝒮︀ has no boundary and no limit cases.

    2. Let’s find the LM-critical points for 𝑓 on 𝒮︀. Take the gradient of 𝑔 to get

      ∇𝑔=(2𝑥2𝑦).

      The only point at which ∇𝑔=𝟎 is 𝑥=𝑦=0 which isn’t on 𝒮︀, so we don’t have to worry about ∇𝑔=𝟎 the case. Now we instead solve

      (2𝑥+44𝑦)=𝜆(2𝑥2𝑦).

      The second equation says

      4𝑦=𝜆2𝑦⟹𝜆=2 or 𝑦=0.

      If 𝑦=0, we get the points (3,0) and (−3,0) which we need to check. We have

      𝑓(3,0)=21𝑓(−3,0)=−3.

      Now suppose instead 𝜆=2. Then 2𝑥+4=4𝑥⟹𝑥=2, and hence 𝑦=±5. We check those points

      𝑓(2,5)=22𝑓(2,−5)=22.
    3. 𝒮︀ has no boundary to consider.

    4. 𝒮︀ has no limit cases to consider.

  4. ℛ︀ has no limit cases to consider.

Of the five points we’ve checked, 𝑓(−2,0)=−4 and 𝑓(2,±5)=22 give the optimal values.

§52.6 Solution to Exercise 41.6 (triple integral)

Exercise 41.6. Use any method (recommended approach: change order of integration) to compute

∫𝑥=01∫𝑦=𝑥1∫𝑧=𝑦1𝑒𝑧3d𝑧d𝑦d𝑥.

The region being integrated over can be succinctly described as

ℛ︀={0≤𝑥≤𝑦≤𝑧≤1}.

Swap the order of integration so that 𝑧 is outermost:

∫𝑥=01∫𝑦=𝑥1∫𝑧=𝑦1𝑒𝑧3d𝑧d𝑦d𝑥=∫𝑧=01∫𝑦=0𝑧∫𝑥=0𝑦𝑒𝑧3d𝑥d𝑦d𝑧=∫𝑧=01𝑒𝑧3∫𝑦=0𝑧∫𝑥=0𝑦1d𝑥d𝑦d𝑧=∫𝑧=01𝑒𝑧3∫𝑦=0𝑧𝑦d𝑦d𝑧=∫𝑧=01𝑒𝑧3𝑧22d𝑧=16∫𝑧=01𝑒𝑧33𝑧2d𝑧=16[𝑒𝑧3]𝑧=01=𝑒−16.

§52.7 Solution to Exercise 41.7 (curl)

Exercise 41.7. Compute the real number 𝑐 for which

𝐅(𝑥,𝑦,𝑧)=⟨7cos(𝑥),cos(𝑦)cos(2𝑧),𝑐sin(𝑦)sin(2𝑧)⟩

is conservative. For that 𝑐, compute the maximum possible value of a line integral ∫𝒞︀𝐅⋅d𝐫 across all possible choices of some curve 𝒞︀ in ℝ3.

The curl of 𝐅 can be computed as

∇×𝐅=|𝐞1𝐞2𝐞3𝜕𝜕𝑥𝜕𝜕𝑦𝜕𝜕𝑧7cos(𝑥)cos(𝑦)cos(2𝑧)𝑐sin(𝑦)sin(2𝑧)|=(𝑐cos(𝑦)sin(2𝑧)−cos(𝑦)⋅(−2sin(2𝑧))00)

which is identically zero only for 𝑐=−2. For that value of 𝑐, we can recover a potential function 𝑓 by writing

𝜕𝑓𝜕𝑥=7cos(𝑥)⟹𝑓=7sin(𝑥)+𝐶1(𝑦,𝑧)𝜕𝑓𝜕𝑦=cos(𝑦)cos(2𝑧)⟹𝑓=sin(𝑦)cos(2𝑧)+𝐶2(𝑧,𝑥)𝜕𝑓𝜕𝑧=−2sin(𝑦)sin(2𝑧)⟹𝑓=sin(𝑦)cos(2𝑧)+𝐶3(𝑥,𝑦).

Hence, the potential function can be extracted:

𝑓(𝑥,𝑦,𝑧)=7sin(𝑥)+sin(𝑦)cos(2𝑧).

For a curve 𝒞︀ starting at 𝑃 and ending at 𝑄, we have

∫𝒞︀𝑓⋅d𝐫=𝑓(𝑄)−𝑓(𝑃).

However, since both the trig functions sin and cos take values in [−1,1], it’s easy to see that max𝑓=8 (for example 𝑓(𝜋2,𝜋2,0)=8) while min𝑓=−8 (for example 𝑓(−𝜋2,−𝜋2,0)=−8). Hence the largest possible value of the line integral is 8−(−8)=16.

§52.8 Solution to Exercise 41.8 (flux)

Exercise 41.8. Let

𝐅(𝑥,𝑦,𝑧)=⟨𝑥+𝑒𝑦+𝑧3,𝑒𝑥+𝑦+𝑧3,𝑧⟩.

Let 𝒮︀ be the surface defined by 𝑥2+𝑦2=100 and 7≤𝑧≤9, with normal vector oriented outwards (thus 𝒮︀ is the curved part of a cylinder). Compute the divergence of 𝐅. Then compute the flux of 𝐅 through 𝒮︀. (Recommended approach: add two “lids” to 𝒮︀ and use the divergence theorem.)

The divergence is ∇⋅𝐅=𝜕𝜕𝑥(𝑥+𝑒𝑦+𝑧3)+𝜕𝜕𝑦(𝑒𝑥+𝑦+𝑧3)+𝜕𝜕𝑧𝑧=1+1+1=3.

Given 𝒮︀, we add two lids, 𝒮︀top and 𝒮︀bottom. The top lid is the flat surface given by 𝑧=9 and 𝑥2+𝑦2≤100, with normal vector oriented upwards. The bottom lid is the flat surface given by 𝑧=7 and 𝑥2+𝑦2≤100, with normal vector oriented downwards. Finally, let 𝒯︀ denote the cylinder 7≤𝑧≤9 and 𝑥2+𝑦2≤100, which is enclosed by 𝒮︀, 𝒮︀top, 𝒮︀bottom. Then the divergence theorem states that

∭𝒯︀∇⋅𝐅d𝑉=∬𝒮︀top𝐅⋅𝐧d𝑆+∬𝒮︀bottom𝐅⋅𝐧d𝑆+∬𝒮︀𝐅⋅𝐧d𝑆.

The fourth quantity is the flux we want, so our strategy is to calculate the first three quantities.

The divergence is straightforward because its constant:

∭𝒯︀∇⋅𝐅d𝑉=∭𝒯︀3d𝑉=3Vol(𝒯︀)=3⋅100𝜋⋅2=600𝜋

(the volume of a cylinder with height 2 and base of area 100𝜋).

For the top lid, we recall that for a flat surface parallel to the 𝑥𝑦-plane, we have 𝐧d𝑆=±⟨0,0,1⟩d𝑥d𝑦. For the top lid, we thus have

∬𝒮︀top𝐅⋅𝐧d𝑆=∬𝒮︀top⟨𝑥+𝑒𝑦+729,𝑒𝑥+𝑦+729,9⟩⋅⟨0,0,1⟩d𝑥d𝑦=∬𝒮︀top9d𝑥d𝑦=9Area(𝒮︀top)=900𝜋.

For the bottom lid, we instead have

∬𝒮︀bottom𝐅⋅𝐧d𝑆=∬𝒮︀bottom⟨𝑥+𝑒𝑦+343,𝑒𝑥+𝑦+343,7⟩⋅⟨0,0,−1⟩d𝑥d𝑦=∬𝒮︀bottom(−7)d𝑥d𝑦=−7Area(𝒮︀bottom)=−700𝜋.

Hence, the quantities in the divergence theorem become

600𝜋=900𝜋−700𝜋+∬𝒮︀𝐅⋅𝐧d𝑆

so ∬𝒮︀𝐅⋅𝐧d𝑆=400𝜋.