Chapter 48. Solutions to Part Golf

§48.1 Solution to Exercise 22.1 (practice with slicing)

Exercise 22.1. Let ℛ︀ be the region between the curves 𝑦=𝑥 and 𝑦=𝑥3. Compute ∬ℛ︀𝑥100𝑦200d𝑥d𝑦 using both horizontal and vertical slicing.

Let ℛ︀ be the region bounded by the curves 𝑦=𝑥 and 𝑦=𝑥3. We wish to compute the integral

𝐼=∬ℛ︀𝑥100𝑦200d𝑥d𝑦.

To determine the limits of integration, we find the intersection points by solving 𝑥=𝑥3. Squaring both sides gives 𝑥=𝑥6⟹𝑥(𝑥5−1)=0, so 𝑥=0 or 𝑥=1. That is, the intersection points are (0,0) and (1,1). A sketch of the region is shown in Figure 113.

Figure 113: The region between 𝑦=𝑥 and 𝑦=𝑥3.

From the figure, we can describe the region ℛ︀ with the inequalities

0≤𝑥3≤𝑦≤𝑥≤1.

Integrating with 𝑥 inside and 𝑦 outside

The values of 𝑦 go from 0 to 1. For each fixed 𝑦, the values of 𝑥 range from

𝑦2≤𝑥≤𝑦1/3

so the integral is:

𝐼=∫𝑦=01∫𝑥=𝑦2𝑦1/3𝑥100𝑦200d𝑥d𝑦.

Evaluating the inner integral:

∫𝑥=𝑦2𝑦1/3𝑥100d𝑥=[𝑥101101]𝑥=𝑦2𝑦1/3=𝑦101/3101−𝑦202101.

Now, integrating over 𝑦:

𝐼=∫𝑦=01(𝑦101/3101−𝑦202101)𝑦200d𝑦=1101(∫𝑦=01𝑦701/3d𝑦−∫𝑦=01𝑦402d𝑦)=1101(3704−1403)=5283712.

Integrating with 𝑦 inside and 𝑥 outside

The values of 𝑥 go from 0 to 1. For a fixed 𝑥, the values of 𝑦 range from

𝑥3≤𝑦≤𝑥1/2

so the integral is

𝐼=∫𝑥=01∫𝑦=𝑥3𝑥1/2𝑥100𝑦200d𝑦d𝑥.

Evaluating the inner integral:

∫𝑦=𝑥3𝑥𝑦200d𝑦=[𝑦201201]𝑦=𝑥3𝑦=𝑥=𝑥201/2201−𝑥603201.

Now, integrating over 𝑥:

𝐼=∫𝑥=01𝑥100(𝑥201/2201−𝑥603201)d𝑥=1201(∫𝑥=01𝑥401/2d𝑥−∫𝑥=01𝑥703d𝑥)=1201(2403−1704)=5283712.

§48.2 Solution to Exercise 22.2 (center of mass of a region)

Exercise 22.2. Let ℛ︀ be the region between the curves 𝑦=𝑥 and 𝑦=𝑥2. Assume ℛ︀ has constant density. Calculate its center of mass.

The region is really similar to the one in the preceding exercise, and can be described as

0≤𝑥2≤𝑦≤𝑥≤1

for the same reason, as shown in Figure 114. (It’s exactly the same as the last exercise except 𝑥3 was changed to 𝑥2, so one just replaces all the 3′s with 2′s.) Note that the region is symmetric around the line 𝑦=𝑥, so a priori we should expect our answer to lie on 𝑦=𝑥 as well.

Figure 114: The region between 𝑦=𝑥 and 𝑦=𝑥2.

First, to compute the area of ℛ︀, we can write

Area(ℛ︀)=∫𝑥=01∫𝑦=𝑥2𝑥1d𝑦d𝑥=∫𝑥=01(𝑥−𝑥2)d𝑥=[23𝑥3/2−13𝑥3]𝑥=01=13.

The 𝑥-coordinate of the center of mass is therefore given by

𝑥̅=1Area(ℛ︀)∫ℛ︀𝑥d𝐴=11/3∫𝑥=01∫𝑦=𝑥2𝑥𝑥d𝑦d𝑥=3∫𝑥=01𝑥(𝑥−𝑥2)d𝑥=3[25𝑥52−14𝑥4]𝑥=01=920.

As for the 𝑦-coordinate, we expect 𝑦̅=𝑥̅ from the symmetry of the region, and indeed

𝑦̅=1Area(ℛ︀)∫ℛ︀𝑦d𝐴=11/3∫𝑥=01∫𝑦=𝑥2𝑥𝑦d𝑦d𝑥=3∫𝑥=01[𝑦22]𝑦=𝑥2𝑥d𝑥=32∫𝑥=01(𝑥−𝑥4)d𝑥=32[12𝑥2−15𝑥5]𝑥=01=920.

Thus, the center of mass of the region is:

(920,920).

§48.3 Solution to Exercise 22.3 (double integral with 5th root)

Exercise 22.3. Evaluate the double integral:

∫𝑦=01∫𝑥=𝑦𝑦5𝑥𝑦21−𝑥12d𝑥d𝑦.

Writing as a region, this is

ℛ︀={0≤𝑦≤1𝑦≤𝑥≤𝑦5.

The values of 𝑥 could range anywhere in 0≤𝑥≤1. For a fixed 𝑥, the value 𝑦 needs to satisfy four conditions: 0≤𝑦≤1 and also 𝑥5≤𝑦≤𝑥. But in fact

0≤𝑥5≤𝑦≤𝑥≤1

so we can compress this to just:

ℛ︀={0≤𝑥≤1𝑥5≤𝑦≤𝑥.

Thus, the new limits of integration become:

∫𝑥=01∫𝑦=𝑥5𝑥𝑥𝑦21−𝑥12d𝑦d𝑥

We now compute the inner integral with respect to 𝑦:

∫𝑦=𝑥5𝑥𝑦2d𝑦=[𝑦33]𝑦=𝑥5𝑦=𝑥

Substituting the limits of integration:

13(𝑥3−(𝑥5)3)=13(𝑥3−𝑥15)

Now substitute this result into the outer integral:

∫𝑥=01𝑥1−𝑥12⋅13(𝑥3−𝑥15)d𝑥

Simplifying:

13∫𝑥=01𝑥1−𝑥12(𝑥3−𝑥15)d𝑥=13∫𝑥=01𝑥4−𝑥161−𝑥12d𝑥=13∫𝑥=01𝑥4d𝑥=13(15−0)=115.

§48.4 Solution to Exercise 22.4 (rational integral)

Exercise 22.4 (*). Prove that

∫𝑥=09995𝑥5+13d𝑥

is a rational number.

For brevity, let 𝑁≔9995.

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. The idea is that, to avoid having to deal with the hideous roots, we are going to use horizontal slicing for the region under the curve shown in the figure.

Figure 115: The region 0≤𝑦≤𝑥5+13 for 0≤𝑥≤𝑁. Not at all to scale.

Let’s first convert the region into inequality format: we have 0≤𝑥≤𝑁, 𝑦≥0 and

𝑦≤𝑥5+13⟺𝑥≥(𝑦3−1)5.

Hence, the area under the curve can be split into two parts. In the range 0≤𝑦≤1 we get the light blue rectangle shown above (bottom half of figure), which goes from 0≤𝑥≤𝑁 to 0≤𝑦≤1, and has area 𝑁. Then from 1≤𝑦≤10 the bounds on 𝑥 are instead given by

(𝑦3−1)5≤𝑥≤𝑁.

This is the dark blue region (top half of figure) and it has area

∫𝑦=110∫𝑥=(𝑦3−1)5𝑁1d𝑥d𝑦=∫𝑦=110(𝑁−(𝑦3−1)5)d𝑦.

The total area is thus

𝑁+∫𝑦=110(𝑁−(𝑦3−1)5)d𝑦=𝑁+9𝑁−∫𝑦=110(𝑦3−1)5d𝑦.

This is easily seen to be a rational number.

Remark

Using a calculator, one could explicitly compute

∫𝑦=110(𝑦3−1)5d𝑦=∫𝑦=110(𝑦15−5𝑦12+10𝑦9−10𝑦6+5𝑦3−1)d𝑦=9044145392181861691456

if one is so inclined.

Digression
It is possible to evaluate the integral using 18.01 methods by making the 𝑢-substitution 𝑢=𝑥15+1, but this is fairly tedious.

§48.5 Solution to Exercise 23.1 (integral over triangle)

Exercise 23.1. Let ℛ︀ be all the points on or inside the triangle with vertices (0,0), (1,2) and (2,1). Compute

∬ℛ︀(𝑥+𝑦)2𝑥𝑦d𝑥d𝑦.

(Recommended approach: use change of variables with 𝑢=𝑥+𝑦 and 𝑣=𝑥𝑦.)

We use the transformation:

𝑢=𝑥+𝑦,𝑣=𝑥𝑦.

The region under (𝑢,𝑣) coordinates can be expressed as

0≤𝑢≤3,12≤𝑣≤2.

This is drawn in Figure 116.

Figure 116: The triangle with vertices (0,0), (1,2), and (2,1), with a change of variables suggested using 𝑢=𝑥+𝑦 and 𝑣=𝑥𝑦

This is a case where we want to use the inverse Jacobian

det(𝐽𝐓−1)=|𝜕𝑢𝜕𝑥𝜕𝑢𝜕𝑦𝜕𝑣𝜕𝑥𝜕𝑣𝜕𝑦|=|111𝑦−𝑥𝑦2|=−𝑥+𝑦𝑦2.

So

1|det(𝐽𝐓−1)|=𝑦2𝑥+𝑦.

Hence, the transformed integral becomes

∫𝑢=03∫𝑣=122(𝑥+𝑦)2𝑥𝑦⋅𝑦2𝑥+𝑦d𝑣d𝑢=∫𝑢=03∫𝑣=122𝑦𝑥⋅(𝑥+𝑦)d𝑣d𝑢=∫𝑢=03∫𝑣=1221𝑣⋅𝑢d𝑣d𝑢=(∫𝑢=03𝑢d𝑢)(∫𝑣=1221𝑣d𝑣)=[𝑢22]𝑢=03⋅[log𝑣]𝑣=122=92⋅(log2−log(12))=9log2.

§48.6 Solution to Exercise 24.1 (polar integral 1)

Exercise 24.1. Compute

∫𝑥=01∫𝑦=01−𝑥2𝑥𝑦d𝑦d𝑥.

The limits of integration describe the region bounded by:

This corresponds to the quarter-circle in the first quadrant of the unit disk, given by 𝑥2+𝑦2≤1 with 𝑥≥0 and 𝑦≥0.

Using the polar coordinate transformations:

𝑥=𝑟cos𝜃,𝑦=𝑟sin𝜃,d𝑥d𝑦=𝑟d𝑟d𝜃.

The given region corresponds to:

Rewriting the integrand:

𝑥𝑦=(𝑟cos𝜃)(𝑟sin𝜃)=𝑟2cos𝜃sin𝜃.

Hence the integral transforms into:

𝐼=∫𝜃=0𝜋/2∫𝑟=01𝑟2cos𝜃sin𝜃⋅𝑟d𝑟d𝜃=(∫𝑟=01𝑟3d𝑟)(∫𝜃=0𝜋/2sin(2𝜃)2d𝜃)=[𝑟44]𝑟=01[−cos(2𝜃)4]𝜃=0𝜋/2=14⋅12=18.

§48.7 Solution to Exercise 24.2 (polar integral 2)

Exercise 24.2. Compute

∬(𝑥−1)2+𝑦2≤11𝑥2+𝑦2d𝑥d𝑦.

In Section 24.3, we have already established that the given region in polar coordinates is described by:

0≤𝑟≤2cos𝜃,−𝜋2≤𝜃≤𝜋2.

Using the standard polar transformations:

𝑥=𝑟cos𝜃,𝑦=𝑟sin𝜃,d𝑥d𝑦=𝑟d𝑟d𝜃,

the given integrand is just 𝑟.

1𝑥2+𝑦2=1𝑟2=1𝑟.

Thus, the integral becomes:

𝐼=∫𝜃=−𝜋/2𝜋/2∫𝑟=02cos𝜃1𝑟⋅𝑟d𝑟d𝜃=∫𝜃=−𝜋/2𝜋/2∫𝑟=02cos𝜃d𝑟d𝜃=∫𝜃=−𝜋/2𝜋/22cos𝜃d𝜃=[2sin𝜃]𝜃=−𝜋/2𝜋/2=4.

§48.8 Solution to Exercise 24.3 (polar integral 3)

Exercise 24.3 (*). Compute

∬𝑥2+𝑦2≤1(𝑥+35)2+(𝑦+45)2d𝑥d𝑦.

This is actually a disguised version of the example in Section 24.3! That is, the answer is also 329.

To repeat, in Section 24.3 the example can be thought of as showing

𝐼1=∬(𝑥−1)2+𝑦2≤1𝑥2+𝑦2d𝑥d𝑦=329.

Our goal is to argue that

𝐼2=∬𝑥2+𝑦2≤1(𝑥+35)2+(𝑦+45)2d𝑥d𝑦=329.

Note that:

Observe that the disks ℛ︀1 and ℛ︀2 are congruent. Moreover,

See the illustration in Figure 117.

Figure 117: Illustration of the integrals 𝐼1 and 𝐼2 from Section 24.3 and Exercise 24.3, showing they’re computing the same thing.

Since both integrals effectively compute the same function over congruent regions, the results must be equal.