Chapter 50. Solutions to Part India

§50.1 Solution to Exercise 31.1 (touch grass)

Exercise 31.1. Take a few deep breaths, touch some grass, and have a nice drink of water, so that you can look at Figure 75 without feeling fear.

Here’s a picture of moonlight sailing after having to grade the third midterm.


Figure 118: Moonlight sailing after the third midterm.

§50.2 Solution to Exercise 31.2 (print a poster)

Exercise 31.2. Print out a copy of the high-resolution version of Figure 75 (which can be downloaded at https://web.evanchen.cc/textbooks/poster-stokes.pdf) and hang it in your room.

Here’s a picture of a leftover poster taped up in my room.

Figure 119: Hanging up a poster in my room.

§50.3 Solution to Exercise 32.1 (divergence of gravity)

Exercise 32.1. Consider the force of gravity 𝐆 exerted by a point mass of mass 𝑚 at a point 𝑂. Show that

∇⋅𝐆=0

at every point except 𝑂.

Recall that the gravity vector field is given by

𝐆=⟨−𝐺𝑚𝑥(𝑥2+𝑦2+𝑧2)32,−𝐺𝑚𝑦(𝑥2+𝑦2+𝑧2)32,−𝐺𝑚𝑧(𝑥2+𝑦2+𝑧2)32⟩

For brevity, we let 𝜌=𝑥2+𝑦2+𝑧2,

𝐆=⟨−𝐺𝑚𝑥𝜌3,−𝐺𝑚𝑦𝜌3,−𝐺𝑚𝑧𝜌3⟩.

Ignoring the constant factor 𝐺𝑚, we start by calculating the derivative of the first component with respect to 𝑥, that is:

𝜕𝜕𝑥𝑥𝜌3.

Using the quotient rule

𝜕𝜕𝑥𝑥𝜌3=(𝜌3)𝜕𝜕𝑥(𝑥)−𝑥𝜕𝜕𝑥(𝜌3)(𝜌3)2.

Since 𝜌3=(𝑥2+𝑦2+𝑧2)3/2, the chain rule gives

𝜕𝜕𝑥(𝜌3)=32(𝑥2+𝑦2+𝑧2)1/2⋅2𝑥=3𝑥𝜌.

Hence, the quotient rule gives

𝜕𝜕𝑥𝑥𝜌3=𝜌3⋅1−𝑥⋅3𝑥𝜌𝜌6=𝜌2−3𝑥2𝜌5.

Now the divergence is given by

∇⋅𝐆=−𝐺𝑚(𝜕𝜕𝑥𝑥𝜌3+𝜕𝜕𝑦𝑦𝜌3+𝜕𝜕𝑧𝑧𝜌3)=−𝐺𝑚(𝜌2−3𝑥2𝜌5+𝜌2−3𝑦2𝜌5+𝜌2−3𝑧2𝜌5)=−𝐺𝑚3𝜌2−3(𝑥2+𝑦2+𝑧2)𝜌5=0

as claimed.

§50.4 Solution to Exercise 33.1 (parabola arc v1)

Exercise 33.1 (Suggested by Ting-Wei Chao). Let 𝒞︀ be the oriented closed curve formed by the arc of the parabola 𝑦=𝑥2−1 running from (−1,0) to (1,0), followed by a line segment from (1,0) back to (−1,0). Let

𝐅(𝑥,𝑦)=(𝑥2(𝑦+1)(𝑦+1)2).

Compute ∫𝒞︀𝐅⋅d𝐫 using direct parametrization.

We split 𝒞︀ into two parts 𝒞︀1 and 𝒞︀2 corresponding to the parabola and the segment, respectively. These are colored red and blue in Figure 120, respectively.

Figure 120: The curve 𝒞︀ (and the enclosed region).

For 𝒞︀1, we choose the parametrization

𝐫(𝑡)=(𝑡,𝑡2−1)

for −1≤𝑡≤1, so

𝐅(𝐫(𝑡))=𝐅(𝑡,𝑡2−1)=(𝑡4𝑡4)𝐫′(𝑡)=(12𝑡).

Then we get

∫𝒞︀1𝐅⋅d𝐫=∫𝑡=−11(𝑡4𝑡4)⋅(12𝑡)d𝑡=∫𝑡=−11(𝑡4+𝑡4⋅2𝑡)d𝑡=[𝑡55+13𝑡6]𝑡=−11=25.

Next, we parameterize 𝒞︀2 by (1−𝑡,0) for 0≤𝑡≤2. Then

𝐅(𝐫(𝑡))=𝐅(1−𝑡,0)=((1−𝑡)21)𝐫′(𝑡)=(−10).

Then

∫𝒞︀2𝐅⋅d𝐫=∫𝑡=02((1−𝑡)21)⋅(−10)d𝑡=∫𝑡=02−(1−𝑡)2d𝑡=−23.

Putting this all together we get

∫𝒞︀𝐅⋅d𝐫=∫𝒞︀1𝐅⋅d𝐫+∫𝒞︀2𝐅⋅d𝐫=25−23=−415.

§50.5 Solution to Exercise 33.2 (work from 45° angle)

Exercise 33.2. Let 𝒞︀ be a curve in ℝ2 from (0,0) to (2,3) whose arc length is 7. Let 𝐅 be a vector field with the property that for any point 𝑃 on the curve,

Compute ∫𝒞︀𝐅⋅d𝐫.

Take any parametrization of the curve 𝒞︀, say from 𝑡=0 to 1. The work we seek is then

∫𝒞︀𝐅⋅d𝐫=∫𝑡=01𝐅(𝐫(𝑡))⋅𝐫′(𝑡)d𝑡.

The point of the problem is that 𝐅(𝐫(𝑡)) is supposed to have magnitude 5 and form a 45° angle with 𝐫′(𝑡). Hence, if we use the geometric definition of the dot product, we get

∫𝒞︀𝐅⋅d𝐫=∫𝑡=01|𝐅(𝐫(𝑡))||𝐫′(𝑡)|cos(45°)d𝑡=∫𝑡=015|𝐫′(𝑡)|cos(45°)d𝑡=5cos(45°)∫𝑡=01|𝐫′(𝑡)|d𝑡.

But that integral is the arc length of 𝒞︀. So

∫𝒞︀𝐅⋅d𝐫=5cos(45°)⋅7=35cos(45°)=3522.

§50.6 Solution to Exercise 34.1 (checking conservativeness)

Exercise 34.1. Is the vector field

𝐅(𝑥,𝑦)=(sin(𝑒𝑥)arctan(𝑦𝜋+𝜋𝑦))

conservative?

Yes, because

𝜕𝜕𝑦sin(𝑒𝑥)=0𝜕𝜕𝑥arctan(𝑦𝜋+𝜋𝑦)=0.

In general, the point of this exercise is that every vector field of the form 𝐅(𝑥,𝑦)=⟨stuff only involving𝑥,stuff only involving𝑦⟩ is always conservative, because the relevant partial derivatives are both 0.

§50.7 Solution to Exercise 34.2 (work exercise)

Exercise 34.2. Calculate the line integral

∮𝒞︀(𝑥2−𝑦)d𝑥+(𝑦2−𝑥)d𝑦

where 𝒞︀ is the boundary of the region enclosed by the circle 𝑥2+𝑦2=4, oriented counterclockwise.

The vector field is conservative, because

𝜕𝜕𝑦(𝑥2−𝑦)=−1=𝜕𝜕𝑥(𝑦2−𝑥).

So the answer is 0. (If you didn’t notice this at first and tried to use Green’s theorem, you should notice at the moment where the curl turns out to 0.)

§50.8 Solution to Exercise 34.3 (parabola arc v2)

Exercise 34.3 (Suggested by Ting-Wei Chao). As in Exercise 33.1, let 𝒞︀ be the oriented closed curve formed by the arc of the parabola 𝑦=𝑥2−1 running from (−1,0) to (1,0), followed by a line segment from (1,0) back to (−1,0). Again let

𝐅(𝑥,𝑦)=(𝑥2(𝑦+1)(𝑦+1)2).

Compute ∫𝒞︀𝐅⋅d𝐫 this time using Green’s Theorem.

Let 𝑃=𝑥2(𝑦+1) and 𝑄=(𝑦+1)2. Thus

𝜕𝑄𝜕𝑥−𝜕𝑃𝜕𝑦=0−𝑥2=−𝑥2.

Let ℛ︀ be the region between 𝑦=𝑥2−1 and 𝑦=0, enclosed by 𝒞︀. Then ℛ︀ can be described by the inequalities

−1≤𝑥≤1𝑥2−1≤𝑦≤0.

See Figure 121.

Figure 121: The curve 𝒞︀ encloses a region ℛ︀.

Hence from Green’s theorem, we have

∫𝒞︀𝐅⋅d𝐫=∬ℛ︀(𝜕𝑄𝜕𝑥−𝜕𝑃𝜕𝑦)d𝐴=∫𝑥=−11∫𝑦=𝑥2−10(−𝑥2)d𝑦d𝑥=∫𝑥=−11𝑥2(𝑥2−1)d𝑥=[𝑥55−𝑥33]𝑥=−11=25−23=−415.

§50.9 Solution to Exercise 34.4 (the shoelace formula)

Exercise 34.4 (*) (Shoelace formula). Let 𝑛≥3 be an integer and suppose 𝒫︀=𝑃1𝑃2…𝑃𝑛 is a convex 𝑛-gon in ℝ2, where the vertices 𝑃𝑖=(𝑥𝑖,𝑦𝑖) are labeled counterclockwise. Use Green’s theorem to prove the following formula for the area of 𝒫︀:

Area(𝒫︀)=12∑𝑖=0𝑛−1(𝑥𝑖𝑦𝑖+1−𝑥𝑖+1𝑦𝑖).

Here 𝑥0=𝑥𝑛 and 𝑦0=𝑦𝑛 by convention, so the 𝑖=0 summand is 𝑥𝑛𝑦1−𝑥1𝑦𝑛.

Green’s theorem states that for a simple closed curve 𝒞︀ enclosing a region ℛ︀, we have

∬ℛ︀(𝜕𝑄𝜕𝑥−𝜕𝑃𝜕𝑦)d𝐴=∮𝒞︀(𝑃d𝑥+𝑄d𝑦).

We take 𝒞︀ as the polygon, oriented counterclockwise, and ℛ︀ as its interior. We will chose the vector field

𝐅=(0𝑥)

so that the 2D scalar curl equals

𝜕𝑄𝜕𝑥−𝜕𝑃𝜕𝑦=𝜕𝜕𝑥(𝑥)−𝜕𝜕𝑦(0)=1.

Thus, Green’s theorem gives:

Area(𝒫︀)=∮𝒞︀𝑥d𝑦.

Now we evaluate the line integral “manually” across the 𝑛 sides of the polygon. As the boundary 𝒞︀ consists of the edges 𝑃𝑖𝑃𝑖+1, we sum over each edge:

∮𝒞︀𝑥d𝑦=∑𝑖=0𝑛−1∫From𝑃𝑖to𝑃𝑖+1𝑥d𝑦.

Let’s parametrize the segment joining (𝑥𝑖,𝑦𝑖) to (𝑥𝑖+1,𝑦𝑖+1) by just the constant speed parametrization taking unit time:

𝐫(𝑡)=⟨(1−𝑡)𝑥𝑖+𝑡𝑥𝑖+1,(1−𝑡)𝑦𝑖+𝑡𝑦𝑖+1⟩0≤𝑡≤1.

Thus,

𝐅(𝐫)(𝑡)=(0(1−𝑡)𝑥𝑖+𝑡𝑥𝑖+1)𝐫′(𝑡)=(𝑥𝑖+1−𝑥𝑖𝑦𝑖+1−𝑦𝑖)

so we are integrating the dot product

∫From𝑃𝑖to𝑃𝑖+1𝑥d𝑦=∫𝑡=01(0(1−𝑡)𝑥𝑖+𝑡𝑥𝑖+1)⋅(𝑥𝑖+1−𝑥𝑖𝑦𝑖+1−𝑦𝑖)d𝑡=∫𝑡=01((1−𝑡)𝑥𝑖+𝑡𝑥𝑖+1)(𝑦𝑖+1−𝑦𝑖)d𝑡=(𝑦𝑖+1−𝑦𝑖)(𝑥𝑖∫𝑡=01(1−𝑡)d𝑡+𝑥𝑖+1∫𝑡=01𝑡d𝑡)=(𝑦𝑖+1−𝑦𝑖)(𝑥𝑖⋅12+𝑥𝑖+1⋅12)=12(𝑦𝑖+1−𝑦𝑖)(𝑥𝑖+𝑥𝑖+1)=𝑥𝑖𝑦𝑖+1−𝑥𝑖+1𝑦𝑖2+𝑥𝑖+1𝑦𝑖+1−𝑥𝑖𝑦𝑖2.

Summing over all edges, the first term is the desired right-hand side, while the second term cancels since

𝑥1𝑦1−𝑥𝑛𝑦𝑛2+𝑥2𝑦2−𝑥1𝑦12+𝑥3𝑦3−𝑥2𝑦22+…+𝑥𝑛𝑦𝑛−𝑥𝑛−1𝑦𝑛−12=0.

In other words,

∑𝑖=0𝑛−1∫From𝑃𝑖to𝑃𝑖+1𝑥d𝑦=∑𝑖=0𝑛−1(𝑥𝑖𝑦𝑖+1−𝑥𝑖+1𝑦𝑖2+𝑥𝑖+1𝑦𝑖+1−𝑥𝑖𝑦𝑖2)=∑𝑖=0𝑛−1(𝑥𝑖𝑦𝑖+1−𝑥𝑖+1𝑦𝑖2)

and the proof is complete.

§50.10 Solution to Exercise 35.1 (parabola arc v3)

Exercise 35.1 (Suggested by Ting-Wei Chao). As in Exercise 33.1 and Exercise 34.3, let 𝒞︀ be the oriented closed curve formed by the arc of the parabola 𝑦=𝑥2−1 running from (−1,0) to (1,0), followed by a line segment from (1,0) back to (−1,0). Again let

𝐅(𝑥,𝑦)=(𝑥2(𝑦+1)(𝑦+1)2).

Compute ∫𝒞︀𝐅⋅𝐧d𝑠 using direct parametrization and by using Green’s Theorem for flux.

We can pretty much copy Exercise 33.1 and Exercise 34.3, and just make slight modifications to get the 2D flux instead of the work. See the following figure, which is just a copy of Figure 120 and Figure 121.

Figure 122: The parabola arc again.

Using direct parametrization

Again we split 𝒞︀ into two parts 𝒞︀1 and 𝒞︀2 corresponding to the parabola and the segment, respectively.

For 𝒞︀1, we choose the parametrization

𝐫(𝑡)=(𝑡,𝑡2−1)

for −1≤𝑡≤1. As we saw in Exercise 33.1, we have

𝐫(𝑡)=(𝑡,𝑡2−1)

for −1≤𝑡≤1, so

𝐅(𝐫(𝑡))=𝐅(𝑡,𝑡2−1)=(𝑡4𝑡4)𝐫′(𝑡)=(12𝑡).

So rotating 𝐅 as in Section 35.5, we have

∫𝒞︀1𝐅⋅𝐧d𝑠=∫𝑡=−11(−𝑡4𝑡4)⋅(12𝑡)d𝑡=∫𝑡=−11(−𝑡4+𝑡4⋅2𝑡)d𝑡=[−𝑡55+13𝑡6]𝑡=−11=−25.

Next, we parameterize 𝒞︀2 by (1−𝑡,0) for 0≤𝑡≤2. Again, repeating from Exercise 33.1, we have

𝐅(𝐫(𝑡))=𝐅(1−𝑡,0)=((1−𝑡)21)𝐫′(𝑡)=(−10).

Rotating 𝐅 as in Section 35.5, we have

∫𝒞︀2𝐅⋅𝐧d𝑠=∫𝑡=02(−1(1−𝑡)2)⋅(−10)d𝑡=∫𝑡=021d𝑡=2.

Putting this all together we get

∫𝒞︀𝐅⋅𝐧d𝑠=∫𝒞︀1𝐅⋅𝐧d𝑠+∫𝒞︀2𝐅⋅𝐧d𝑠=−25+2=85.

Using Green’s Theorem

This is similar to Exercise 34.3, and the only change we make is the integrand. Letting 𝑃=𝑥2(𝑦+1) and 𝑄=(𝑦+1)2, we consider

𝜕𝑃𝜕𝑥+𝜕𝑄𝜕𝑦=2𝑥(𝑦+1)+2(𝑦+1)=2(𝑥+1)(𝑦+1).

Again let ℛ︀ be the region between 𝑦=𝑥2−1 and 𝑦=0, enclosed by 𝒞︀. The region ℛ︀ hasn’t changed and is given by

−1≤𝑥≤1𝑥2−1≤𝑦≤0.

Hence from Green’s theorem, we have

∫𝒞︀𝐅⋅𝐧d𝑠=∬ℛ︀(𝜕𝑃𝜕𝑥+𝜕𝑄𝜕𝑦)d𝐴=∫𝑥=−11∫𝑦=𝑥2−102(𝑥+1)(𝑦+1)d𝑦d𝑥=∫𝑥=−11(𝑥+1)∫𝑦=𝑥2−102(𝑦+1)d𝑦d𝑥=∫𝑥=−11(𝑥+1)(1−𝑥4)d𝑥=∫𝑥=−11(−𝑥5−𝑥4+𝑥+1)d𝑥=[−𝑥66−𝑥55+𝑥22+𝑥]𝑥=−11=85.

§50.11 Solution to Exercise 35.2 (flux across a triangle)

Exercise 35.2. Triangle 𝐴𝐵𝐶 has vertices 𝐴=(−5,0), 𝐵=(9,0), and 𝐶 on the positive 𝑦-axis. The flux of the vector field

𝐅(𝑥,𝑦)=(𝑥+7𝑦2𝑥2+7𝑦)

across the perimeter of 𝐴𝐵𝐶, oriented counterclockwise, is 672. Compute the length of the perimeter of 𝐴𝐵𝐶.

We are given a triangle 𝐴𝐵𝐶 with vertices:

𝐴=(−5,0),𝐵=(9,0),𝐶=(0,ℎ),

where 𝐶 is on the positive 𝑦-axis. We’ll find ℎ, after which we can get the length of the perimeter easily.

The vector field is:

𝐅(𝑥,𝑦)=(𝑃,𝑄)=(𝑥+7𝑦2,𝑥2+7𝑦).

Let 𝒞︀ be the boundary of that triangle. Green’s theorem gives

672=∮𝒞︀𝐅⋅𝐧d𝑠=∬ℛ︀(𝜕𝑃𝜕𝑥+𝜕𝑄𝜕𝑦)d𝐴.

Computing partial derivatives:

𝜕𝑃𝜕𝑥=𝜕𝜕𝑥(𝑥+7𝑦2)=1,𝜕𝑄𝜕𝑦=𝜕𝜕𝑦(𝑥2+7𝑦)=7.

Thus, the divergence is:

∇⋅𝐅=𝜕𝑃𝜕𝑥+𝜕𝑄𝜕𝑦=1+7=8.

Hence, we get

672=∬ℛ︀8d𝐴=8Area(ℛ︀).

But the area of a triangle is:

Area(△𝐴𝐵𝐶)=12⋅base⋅height=12⋅14⋅ℎ=7ℎ.

Substituting this into the integral equation:

8⋅7ℎ=672.

Solving for ℎ:

56ℎ=672⟹ℎ=67256=12.

Hence, we know 𝐶=(0,12).

We can then get the perimeter by computing all the side lengths:

𝐴𝐵=|9−(−5)|=14𝐵𝐶=(9−0)2+(0−12)2=81+144=225=15𝐶𝐴=(0−(−5))2+(12−0)2=25+144=169=13.

Thus, the perimeter is: 14+15+13=42.

§50.12 Solution to Exercise 37.1 (return of the butterfly)

Exercise 37.1. Another butterfly is fluttering in the 𝑥𝑦 plane with position 𝐫(𝑡)=⟨sin(𝑡),sin(𝑡)⟩. Let 𝒞︀ denote its trajectory between 0≤𝑡≤2𝜋. Compute ∫𝒞︀(𝑥d𝑥) and ∫𝒞︀(𝑦d𝑥).

Note the butterfly starts at 𝐫(0)=(0,0) and ends at 𝐫(2𝜋)=(0,0) as well.

The short solution to both parts

The answer is 0 regardless of the vector field 𝐅! Two ways to see this.

Another short way for the first vector field

The first integral is of the conservative vector field 𝐅=(𝑥0), because its 2D scalar curl is 0−0=0. So the fundamental theorem of calculus also implies the answer is 0, because the path is a loop. (If 𝑓 is a potential function, then the answer should be 𝑓(0,0)−𝑓(0,0)=0. You could compute the potential function 𝑓(𝑥,𝑦)=𝑥22+𝐶 if you want, but it’s not needed.)

The long way for the second non-conservative field

In the second part, 𝐅=(𝑦0) is not conservative. Let’s say you didn’t come up with the idea in the slick solution. Then you could still compute the integral manually by taking

𝐫′(𝑡)=⟨cos(𝑡),cos(𝑡)⟩

so the line integral is given by

∫𝑡=02𝜋𝐅(sin(𝑡),sin(𝑡))⋅𝐫′(𝑡)d𝑡=∫𝑡=02𝜋sin(𝑡)cos(𝑡)d𝑡.

This integral is 0; here are many ways to evaluate it.

  1. Notice this is actually the same trig integral you got if you evaluated for the first line integral manually as well, so the answer should be the same, namely 0.
  2. Notice the contribution from 𝑡 and 𝑡+𝜋 cancel for 0≤𝑡≤𝜋.
  3. Another way to evaluate the integral is via the 𝑢-substitution 𝑢=sin(𝑡), where d𝑢=cos(𝑡)d𝑡:

    ∫𝑡=02𝜋sin(𝑡)cos(𝑡)d𝑡=∫𝑢=sin(0)𝑢=sin(2𝜋)𝑢d𝑢=∫00𝑢d𝑢=0.
  4. Another way is to use the trig substitution

    ∫𝑡=02𝜋sin(𝑡)cos(𝑡)d𝑡=∫𝑡=02𝜋sin(2𝑡)2d𝑡=[−cos(2𝑡)4]𝑡=02𝜋=0.
  5. If you are allergic to trig functions, a fifth approach is to remember that line integrals don’t depend on the exact parametrization. So rather than using 𝐫(𝑡)=⟨sin(𝑡),sin(𝑡)⟩, you could imagine cutting the butterfly’s motion into three constant-velocity trajectories:

    • 𝐫1(𝑡)=(𝑡,𝑡) for 0≤𝑡≤1
    • 𝐫2(𝑡)=(1−𝑡,1−𝑡) for 0≤𝑡≤2
    • 𝐫3(𝑡)=(𝑡−1,𝑡−1) for 0≤𝑡≤1.

    If you compute the three line integrals, the sum will also be zero.

§50.13 Solution to Exercise 37.2 (standard work and flux)

Exercise 37.2. Let 𝒞︀ denote the unit circle 𝑥2+𝑦2=1 oriented counterclockwise, and consider the vector field 𝐅(𝑥,𝑦)=⟨𝑥+2𝑦,4𝑥+8𝑦⟩. Compute ∫𝒞︀𝐅⋅d𝐫 and ∫𝒞︀𝐅⋅𝐧d𝑠.

This is a cookie-cutter application of Green’s theorem (both forms).

For the line integral, use Green’s theorem with 2D scalar curl:

∫𝒞︀𝐅⋅d𝐫=∬𝑥2+𝑦2≤1(𝜕𝜕𝑥(4𝑥+8𝑦)−𝜕𝜕𝑦(𝑥+2𝑦))d𝐴=∬𝑥2+𝑦2≤1(4−2)d𝐴=2∬𝑥2+𝑦2≤1d𝐴=2𝜋.

For the flux, use Green’s theorem with divergence:

∫𝒞︀𝐅⋅𝐧d𝑠=∬𝑥2+𝑦2≤1∇⋅𝐅d𝐴=∬𝑥2+𝑦2≤1(𝜕𝜕𝑥(𝑥+2𝑦)+𝜕𝜕𝑦(4𝑥+8𝑦))d𝐴=∬𝑥2+𝑦2≤1(1+8)d𝐴=9∬𝑥2+𝑦2≤1d𝐴=9𝜋.

§50.14 Solution to Exercise 37.3 (region with area 𝜋)

Exercise 37.3. Compute all real numbers 𝑘 for which the following region has area 𝜋:

(𝑘𝑥+𝑦)2+(𝑥+𝑘𝑦)2≤14.

Let ℛ︀ denote the region in the problem. This is a change of variables problem where

𝑢=𝑥+𝑘𝑦𝑣=𝑘𝑥+𝑦

changes ℛ︀ into the disk 𝑢2+𝑣2≤14 of radius 12.

Let 𝐓 denote the corresponding map (𝑢,𝑣)↦(𝑥,𝑦). Compute the inverse of the Jacobian

𝐽𝐓−1=(𝜕𝑢𝜕𝑥𝜕𝑢𝜕𝑦𝜕𝑣𝜕𝑥𝜕𝑣𝜕𝑦)=(1𝑘𝑘1).

So

det𝐽𝐓=1|1𝑘𝑘1|=11−𝑘2.

Now, the problem condition tells us

𝜋=∬ℛ︀d𝑥d𝑦=∬𝑢2+𝑣2≤14|11−𝑘2|d𝑢d𝑣=|11−𝑘2|∬𝑢2+𝑣2≤14d𝑢d𝑣=|11−𝑘2|⋅𝜋4.

So the equation we are trying to solve is

𝜋=|11−𝑘2|⋅𝜋4⟺𝑘2−1=±14⟺𝑘2=34 or 𝑘2=54.

Hence the answers are

𝑘=±32 or ±52.

§50.15 Solution to Exercise 37.4 (center of mass of wedge)

Exercise 37.4. Compute the center of mass of the region where 𝑦≥0 and 3𝑥2≤𝑦2≤9−𝑥2, assuming constant density.

First, we sketch the region. The condition 𝑥2+𝑦2≤9 represents a circle of radius 3 centered at the origin. The inequality 𝑦≥0 and 𝑦≥3|𝑥| cuts out a wedge covering the top half of the circle within the angle range 𝜋3≤𝜃≤2𝜋3 in polar coordinates. See Figure 123.

Switching to polar coordinates, the region in polar coordinates is bounded by:

The coordinates of the center of mass are then given by:

𝑥̅=1Area(ℛ︀)∬ℛ︀𝑥d𝐴,𝑦̅=1Area(ℛ︀)∬ℛ︀𝑦d𝐴.

In conclusion, the center of mass is given by

(𝑥̅,𝑦̅)=(0,6𝜋).
Digression: the long way for area

If you don’t want to do geometry, you can manually compute Area(ℛ︀) by the definition Area(ℛ︀)=∫𝜃=𝜋32𝜋3∫𝑟=03𝑟d𝑟d𝜃. First, integrate with respect to 𝑟:

∫𝑟=03𝑟d𝑟=[𝑟22]𝑟=03=92.

Then, integrate with respect to 𝜃:

𝐴=∫𝜃=𝜋32𝜋392d𝜃=92(2𝜋3−𝜋3)=92⋅𝜋3=3𝜋2.

Figure 123: It’s a one-sixth slice of a pizza or something.
Digression: the long way for 𝑥̅

For comparison, we show what happens if you didn’t notice the symmetry and proceed to integrate. In polar coordinates, 𝑥=𝑟cos𝜃 and d𝐴=𝑟d𝑟d𝜃. So:

∬ℛ︀𝑥d𝐴=∫𝑟=03∫𝜃=𝜋32𝜋3𝑟cos𝜃⋅𝑟d𝑟d𝜃=∫𝑟=03𝑟2∫𝜃=𝜋32𝜋3cos𝜃d𝜃d𝑟.

However, the inner integral is

∫𝜃=𝜋32𝜋3cos𝜃d𝜃=[sin𝜃]𝜃=𝜋32𝜋3=sin(2𝜋3)−sin(𝜋3)=32−32=0.

So the whole thing is 0.

§50.16 Solution to Exercise 37.5 (recovering ℎ)

Exercise 37.5. Let 𝒞︀ denote any path from (0,0) to (𝜋,𝜋). Determine the unique function ℎ(𝑥) for which 𝐅(𝑥,𝑦)=⟨𝑥𝑦+cos(𝑥),ℎ(𝑥)+cos(𝑦)⟩ is conservative, and moreover ∫𝒞︀𝐅⋅d𝐫=0.

Because 𝐅 is conservative, we know the following two partial derivatives must be equal:

𝜕𝜕𝑦(𝑥𝑦+cos(𝑥))=𝑥𝜕𝜕𝑥(ℎ(𝑥)+cos(𝑦))=ℎ′(𝑥).

From ℎ′(𝑥)=𝑥 we deduce

ℎ(𝑥)=𝑥22+𝐶

for some constant 𝐶.

So we almost know ℎ, except we need to use the last piece of information to find 𝐶. First, recover a potential function for 𝐅 in terms of 𝐶:

𝑓(𝑥,𝑦)=12𝑥2𝑦+sin(𝑥)+sin(𝑦)+𝐶𝑦+𝐶′

for some constant 𝐶′ (which is irrelevant). Then use the fundamental theorem calculus for line integrals:

∫𝒞︀𝐅⋅d𝐫=𝑓(𝜋,𝜋)−𝑓(0,0)⟹0=(𝜋32+𝐶𝜋+𝐶′)−𝐶′⟹𝐶=−𝜋22.

Thus we’ve completely recovered the function ℎ:

ℎ(𝑥)=𝑥22−𝜋22.

§50.17 Solution to Exercise 37.6 (integrating log(𝑥+1))

Exercise 37.6. Assume log is base 𝑒≈2.718. Use any method you want to compute

∫𝑥=0(𝑒−1)2log(𝑥+1)d𝑥.

Recommended approach: view the integral as the area under a curve, then switch from vertical to horizontal slicing.

At face value, this looks like an 18.01 integral, but we know from 18.01 that this integral is actually measuring the area under some curve; we denote that region by ℛ︀, shaded in blue below. The idea is that, to avoid having to deal with log and square root, we are going to use horizontal slicing for the region under the curve shown in the figure.

Figure 124: The region 𝑦≤log(𝑥+1) for 0≤𝑥≤(𝑒−1)2.

The point is to now rewrite

𝑦≤log(𝑥+1)⟺𝑒𝑦−1≤𝑥⟺𝑥≥(𝑒𝑦−1)2.

Hence, we could equally well rewrite the shaded blue region ℛ︀ as:

0≤𝑦≤1 and 𝑥≥(𝑒𝑦−1)2.

Writing this as a double integral gives

Area(ℛ︀)=∫𝑦=01∫𝑥=(𝑒𝑦−1)2(𝑒−1)2d𝑥d𝑦=∫𝑦=01((𝑒−1)2−(𝑒𝑦−1)2)d𝑦=𝑒2−2𝑒−∫𝑦=01(𝑒2𝑦−2𝑒𝑦)d𝑦=𝑒2−2𝑒−[𝑒2𝑦2−2𝑒𝑦]𝑦=01=𝑒2−2𝑒−(𝑒22−2𝑒)+(12−2)=𝑒2−32.
Remark
It is also possible to calculate an antiderivative of log(𝑥+1) directly by using integration by parts and 𝑢-substitution, but this process is time-consuming. The anti-derivative turns out to equal −𝑥2+𝑥+(𝑥−1)log(𝑥+1)+𝐶.