## Math 105: Solutions to Practice Problems

Math 105: Solutions to Practice Problems. Steven Miller. May 13, 2010. Abstract ... 5.3 The Double and Triple Integral Over More General Regions . . . 21.

Math 105: Solutions to Practice Problems Steven Miller May 13, 2010 Abstract Below are detailed solutions to some problems similar to some assigned homework problems.

Contents 1 The Geometry of Euclidean Space

2

2 Differentiation 2.1 The geometry of real-valued functions 2.2 Limits and continuity . . . . . . . . . 2.3 Differentiation . . . . . . . . . . . . . 2.4 Introduction to paths and curves . . . 2.5 Properties of the derivative . . . . . . 2.6 Gradients and directional derivatives . 2.7 Review Exercises - Page 173 . . . . .

. . . . . . .

2 2 2 2 2 2 2 6

. . . .

8 8 10 12 14

. . . . . . .

. . . . . . .

. . . . . . .

. . . . . . .

3 Higher-order derivatives; maxima and minima 3.1 Iterated partial derivatives . . . . . . . . . . . 3.2 Taylorβs theorem . . . . . . . . . . . . . . . 3.3 Extrema of real-valued functions . . . . . . . 3.4 Constrained extrema and Lagrange multipliers 4 Vector-valued functions

. . . . . . .

. . . .

. . . . . . .

. . . .

. . . . . . .

. . . .

. . . . . . .

. . . .

. . . . . . .

. . . .

. . . . . . .

. . . .

. . . . . . .

. . . .

. . . . . . .

. . . .

. . . . . . .

. . . .

. . . . . . .

. . . .

17

1

5 Double and Triple Integrals 5.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . 5.2 The Double Integral over a Rectangle . . . . . . . . . . . . 5.3 The Double and Triple Integral Over More General Regions 5.4 Changing the order of integration . . . . . . . . . . . . . . . 5.5 Mathematical Modeling: Baseball / Sabermetrics Lecture . .

. . . . .

17 17 19 21 23 25

6 Change of variable formula and applications of integration 6.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.2 The Change of Variable Theorem . . . . . . . . . . . . . . . . . .

27 27 27

7 Sequences and Series 7.1 Page 10.3 . . . . 7.2 Page 10.6 . . . . 7.3 Page 10.7 . . . . 7.4 Page 10.8 . . . . 7.5 Page 10.10 . . . .

34 34 36 37 37 38

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

8 From path integrals to Stokesβ Theorem

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

39

1 The Geometry of Euclidean Space 2 Differentiation 2.1 The geometry of real-valued functions 2.2 Limits and continuity 2.3 Differentiation 2.4 Introduction to paths and curves 2.5 Properties of the derivative 2.6 Gradients and directional derivatives The assignment is: Section 2.6: #2ab, #4a, #6a, #16 (the (in)famous Captain Ralph problem), #18. 2

π₯ Question: #2c: Compute the ( directional ) derivative of π (π₯, π¦) = π cos(ππ¦), β (π₯0 , π¦0) = (0, β1) and β π£ = β β15 , β25 . Solution: We have ) ( βπ βπ (βπ )(π₯, π¦) = , = (ππ₯ cos(ππ¦), βπππ₯ sin(ππ¦)) , βπ₯ βπ¦

and thus if we evaluate at (0, β1) we find (βπ )(0, β1) = (β1, 0) . The directional derivative in general is β (βπ )(π₯0 , π¦0 ) β β π£, so for this problem the answer is (

1 2 (β1, 0) β β β , β 5 5

)

1 = β . 5

β Note that β π£ is a unit length vector. 2 3 Question: #2d: Compute the ( directional ) derivative of π (π₯, π¦) = π₯π¦ + π₯ π¦, β (π₯0 , π¦0) = (4, β2) and β π£ = β110 , β310 . Solution: We have ( ) (βπ )(π₯, π¦) = π¦ 2 + 3π₯2 π¦, 2π₯π¦ + π₯3 ,

and thus if we evaluate at (4, β2) we find

(βπ )(4, β2) = (β92, 48) . The directional derivative in general is β (βπ )(π₯0 , π¦0 ) β β π£, so for this problem the answer is (β92, 48) β

(

1 3 β ,β 10 10 3

)

52 = β . 10

β Note that β π£ is a unit length vector. Question: #3a: Compute π·π for π (π₯, π¦) = (π₯2 π¦, πβπ₯π¦ ). Solution: Note that π : β2 β β2 , and thus π·π will be a 2 Γ 2 matrix. Writing π (π₯, π¦) as (π1 (π₯, π¦), π2 (π₯, π¦)), we have the first row of π·π is βπ1 , while the second row is βπ2 . Explicitly, ( ) ( ) βπ1 βπ1 2π₯π¦ π₯2 βπ₯ βπ¦ (π·π )(π₯, π¦) = = . βπ2 βπ2 βπ¦πβπ₯π¦ βπ₯πβπ₯π¦ βπ₯ βπ¦ Question: #4c: Find the plane tangent to π₯π¦π§ = 1 at the point (1, 1, 1). Solution: We use equation (1) on the bottom of page 167, which says that if π (π₯, π¦, π§) = π (for some constant π) then the tangent plane at (π₯0 , π¦0 , π§0 ) is given by (βπ )(π₯0 , π¦0 , π§0 ) β (π₯ β π₯0 , π¦ β π¦0 , π§ β π§0 ) = 0. For our problem, π (π₯, π¦, π§) = π₯π¦π§ and π = 1. We have

(βπ )(π₯, π¦, π§) = (π¦π§, π₯π§, π₯π¦), which yields (βπ )(1, 1, 1) = (1, 1, 1). Thus the tangent plane is all (π₯, π¦, π§) satisfying (1, 1, 1) β (π₯ β 1, π¦ β 1, π§ β 1) = 0, or equivalently it is π₯ + π¦ + π§ β 3 = 0. Question: #6b: Compute the gradient of π (π₯, π¦, π§) = π₯π¦ + π¦π§ + π₯π§. Solution: The gradient is defined as the vector of partial derivatives: ( ) βπ βπ βπ grad(π ) = βπ = , , . βπ₯ βπ¦ βπ§ A straightforward computation shows βπ = (π¦ + π§, π₯ + π§, π₯ + π¦). 4

Question: #6c: Compute the gradient of π (π₯, π¦, π§) = 1/(π₯2 + π¦ 2 + π§ 2 ). Solution: By symmetry, it suffices to compute βπ , as βπ and βπ are obtained βπ₯ βπ¦ βπ§ βπ through analogous computations. To compute βπ₯ , we use the one-variable chain (or power) rule: β 2 (π₯ + π¦ 2 + π§ 2 )β1 βπ₯

=

β(π₯2 + π¦ 2 + π§ 2 )β2

=

β

=

2π₯ + π¦ 2 + π§ 2 )2 β2π (π₯, π¦, π§)2 β π₯.

) β ( 2 π₯ + π¦2 + π§2 βπ₯

(π₯2

Collecting yields βπ = β2π (π₯, π¦, π§)(π₯, π¦, π§). Question: #8b: Compute the equation of the tangent planes for π (π₯, π¦, π§) = π₯3 β 2π¦ 3 + π§ 3 = 0 at (1, 1, 1). Solution: First, we note that the point (1, 1, 1) is on the surface. The tangent plane is given by equation (1) on page 167. Explicitly, it is all (π₯, π¦, π§) satisfying (βπ )(1, 1, 1) β (π₯ β 1, π¦ β 1, π§ β 1). As βπ = (3π₯2 , β6π¦ 2 , 3π§ 2 ), we have (βπ )(1, 1, 1) = (3, β6, 3), which implies the tangent plane is (3, β6, 3) β (π₯ β 1, π¦ β 1, π§ β 1) = 0, or 3π₯ β 6π¦ + 3π§ = 0.

5

β β Question: #19: A function π : βπ β β is said to be even if π (β π₯ ) = π (ββ π₯ ) for β β β β all π₯ . If π is differentiable and even, find (π·π )( 0 ). Solution: Whenever we have to prove something in several variables, it is not a bad idea to look at some examples from one-variable calculus to build up our intuition. We first recall some even, differentiable functions: π₯2 , π₯4 , π₯2π , cos π₯. All of these have first derivative equal to 0 at the origin, and thus it is natural to β β β β guess that (π·π )( 0 ) = 0 . β β One way to prove this is by using the Chain Rule. Let π(β π₯ ) = ββ π₯ (so π π π : β β β ). Then β β π΄(π₯) = π (β π₯ ) = π (π(β π₯ )), so

β β β β (π·π΄)(β π₯ ) = (π·π )(β π₯ ) = (π·π )(π(β π₯ ))(π·π)(β π₯ ). β β As π(β π₯ ) = ββ π₯ , unwinding this we find π(π₯1 , . . . , π₯π ) = (βπ₯1 , . . . , βπ₯π ), which implies

β β (π·π)(β π₯ ) = (βπ)(β π₯ ) = βπΌ,

where πΌ is the π Γ π identity matrix which is 1 along the main diagonal and 0 elsewhere. The reason this is the answer is that π has π inputs and π outputs. Thus (π·π) is a matrix with π rows and π columns. The first row is π·π1 or βπ1 , where π1 (π₯1 , . . . , π₯π ) = βπ₯1 , while the last row is π·ππ or βππ . β β β β β β At the origin, π( 0 ) = 0 and (π·π)( 0 ) = βπΌ, and thus β β β β β β (π·π )( 0 ) = (π·π )(β 0 )(π·π)( 0 )

becomes

β β β β β β (π·π )( 0 ) = (π·π )( 0 ) (βπΌ) = β(π·π )( 0 ). β β β β β We thus have an equation of the form β π’ = ββ π’ ; the only solution is β π’ = 0 , or β β in other words since (π·π )( 0 ) equals its own negative, it must be the zero vector.

2.7 Review Exercises - Page 173 Question: #22: Find the direction in which the function π€(π₯, π¦) = π₯2 + π₯π¦ increases most rapidly at the point (β1, 1). What is the magnitude of βπ€ at this point. 6

Solution: We have βπ€ = (2π₯ + π¦, π₯), so (βπ€)(β1, 1) = (β1, β1). As the β β directional derivative in the direction β π£ at (β1, 1) is (βπ€)(β1, 1) β β π£ , which is β maximized when β π£ = (βπ€)(β1, 1) = (β1, 1). Question: #24: Let π§(π₯, π¦) = π (π₯ β π¦)/π¦ (where π is differentiable and π¦ β= 0), βπ§ βπ§ show that the identity π§ + π¦ βπ₯ + π¦ βπ¦ = 0. Solution: We have βπ§ π β² (π₯ β π¦)(β1) β π¦ β π (π₯ β π¦) = , βπ¦ π¦2

βπ§ π β² (π₯ β π¦) = . βπ₯ π¦

Thus π§+π¦

βπ§ π (π₯ β π¦) βπ β² (π₯ β π¦)π¦ β π (π₯ β π¦) βπ§ +π¦ = + π β² (π₯ β π¦) + = 0. βπ₯ βπ¦ π¦ π¦

In the arguments above, we frequently used the one-variable chain rule. For example, β β π (π₯ β π¦) = π (π(π¦)), βπ¦ βπ¦ where π(π¦) = π₯ β π¦. We can now use the one-variable chain rule. As π₯ is fixed, the answer is just π β² (π(π¦)) β π β²(π¦), which is π β² (π₯ β π¦) β (β1). Question: #44: Verify the chain rule for the function π (π₯, π¦) = π₯2 /(2 + cos π¦) and the path π(π‘) = (π₯(π‘), π¦(π‘)) = (ππ‘ , πβπ‘ ). Solution: Setting π΄(π‘) = π (π(π‘)), we have (π·π΄)(π‘) = (π·π )(π(π‘))πβ²(π‘). We have πβ² (π‘) = (ππ‘ , βπβπ‘ ) (which should really be written as a column vector). For π·π , we have ( ) ( ) βπ βπ 2π₯ π₯2 sin π¦ π·π = , = ,β ; βπ₯ βπ¦ 2 + cos π¦ (2 + cos π¦)2 however, we want (π·π )(π(π‘)), which is ( ) 2ππ‘ π2π‘ sin πβπ‘ (π·π )(π(π‘)) = ,β . 2 + cos πβπ‘ (2 + cos ππ‘ )2 Taking the dot product, we obtain (π·π΄)(π‘) =

2ππ‘ π2π‘ sin πβπ‘ π‘ β π + β πβπ‘ . 2 + cos πβπ‘ (2 + cos ππ‘ )2 7

We can also compute this derivative directly, as π΄(π‘) = π (π(π‘)) =

π2π‘ . (2 + cos πβπ‘ )

Taking the derivative yields π΄β² (π‘) =

2π2π‘ (2 + cos πβπ‘ ) + π2π‘ sin πβπ‘ , (2 + cos πβπ‘ )2

which does agree with the Chain Rule.

3 Higher-order derivatives; maxima and minima 3.1 Iterated partial derivatives 2

2

2

β π β π Question: #3: Compute ββπ₯π2 , βπ₯βπ¦ , βπ¦βπ₯ and verify the equality of the mixed derivatives. Solution: We have

βπ βπ₯ β2π βπ₯2 β2π βπ¦βπ₯

β2π βπ¦ 2

for π (π₯, π¦) = cos(π₯π¦ 2 ), and

=

βπ¦ 2 sin(π₯π¦ 2)

=

βπ¦ 4 cos(π₯π¦ 2 )

=

β2π¦ sin(π₯π¦ 2 ) β 2π₯π¦ 3 cos(π₯π¦ 2).

=

β2π₯π¦ sin(π₯π¦ 2 )

=

β2π₯ sin(π₯π¦ 2 ) β 4π₯2 π¦ 2 cos(π₯π¦ 2 )

=

β2π¦ sin(π₯π¦ 2 ) β 2π₯π¦ 3 cos(π₯π¦ 2).

Similarly, we find βπ βπ¦ β2π βπ¦ 2 β2π βπ₯βπ¦ Note that we do have

β2π βπ₯βπ¦

=

β2π . βπ¦βπ₯

8

Question: #8b: Find all the second partial derivatives of π§(π₯, π¦) = π₯2 π¦ 2π2π₯π¦ . Solution: We have βπ§ βπ₯ β2π§ βπ₯2 β2π§ βπ¦βπ₯ βπ§ βπ¦ β2π§ βπ¦ 2

=

2π₯π¦ 2 π2π₯π¦ + 2π₯2 π¦ 3 π2π₯π¦

=

2π¦ 2 π2π₯π¦ + 4π₯π¦ 3 π2π₯π¦ + 4π₯π¦ 3 π2π₯π¦ + 4π₯2 π¦ 4 π2π₯π¦

=

4π₯π¦π2π₯π¦ + 4π₯2 π¦ 2 π2π₯π¦ + 6π₯2 π¦ 2 π2π₯π¦ + 4π₯3 π¦ 3 π2π₯π¦

=

2π₯2 π¦π2π₯π¦ + 2π₯3 π¦ 2 π2π₯π¦

=

2π₯2 π2π₯π¦ + 4π₯3 π¦π2π₯π¦ + 4π₯3 π¦π2π₯π¦ + 4π₯4 π¦ 2 π2π₯π¦ .

Question: Supplemental problem related to #11: Use the fact that the derivative of a sum is the sum of the derivatives to prove that the derivative of a sum of three terms is the sum of the three derivatives. Solution: The idea to solve this problem is quite useful in mathematics (and may be useful to attacking #11). We know that for any two functions π (π₯) and ππ ππ π π(π₯) that ππ₯ (π (π₯) + π(π₯)) = ππ₯ + ππ₯ . We now use this result to show a similar claim holds for the sum of three functions. We have π΄(π₯) ππ΄ ππ₯

= = = = = =

π (π₯) + π(π₯) + β(π₯) π (π (π₯) + π(π₯) + β(π₯)) ππ₯ π (π΅(π₯) + β(π₯)) , π΅(π₯) = π (π₯) + π(π₯) ππ₯ ππ΅ πβ + ππ₯ ππ₯ ) ( ππ ππ πβ + + ππ₯ ππ₯ ππ₯ ππ ππ πβ + + , ππ₯ ππ₯ ππ₯

where we constantly used the fact that the derivative of a sum of two functions is the sum of the two derivatives.

9

Question: #11: Use Theorem 1 to show that if π (π₯, π¦, π§) is of class πΆ 3 then β3π β3π = βπ¦βπ§βπ₯ . βπ₯βπ¦βπ§ Hint: Slowly switch orders of differentiation. For example, we know βπ = βπ , βπ§ βπ§ β2π β2π and so we may differentiate both sides with respect to π₯, obtaining βπ₯βπ§ = βπ₯βπ§ , β2π . We now differentiate both and then we may rewrite the right hand side as βπ§βπ₯ sides with respect to π¦, and keep switching orders.

3.2 Taylorβs theorem Question: #1: Find the second order Taylor series expansion for π (π₯, π¦) = (π₯ + π¦)2 about (π₯0 , π¦0 ) = (0, 0). Solution: We give two solutions. The first is the standard solution. We have ( ) βπ βπ , = (2(π₯ + π¦), 2(π₯ + π¦)) (βπ )(π₯, π¦) = βπ₯ βπ¦ and

(

β2π βπ₯2 β2π βπ¦βπ₯

β2π βπ₯βπ¦ β2π βπ¦ 2

)

2 2 2 2

)

.

1 π (0, 0) + (βπ )(0, 0) β (π₯, π¦) + (π₯, π¦)(π»π )(0, 0) 2

(

π₯ π¦

(π»π )(π₯, π¦) =

=

(

Thus the second order expansion is )

,

which is 1 0 + (π₯π¦) 2

(

2 2 2 2

)(

π₯ π¦

)

= = =

( ) 1 2π₯ + 2π¦ (π₯π¦) 2π₯ + 2π¦ 2 1 [π₯(2π₯ + 2π¦) + π¦(2π₯ + 2π¦)] 2 π₯(π₯ + π¦) + π¦(π₯ + π¦) = (π₯ + π¦)2.

We now present another solution. The Taylor series expansion of π(π’) = π’2 is simply 0 + 0π’ + π’2 , and thus taking π₯ + π¦ for π’ gives the second order Taylor series is just (π₯ + π¦)2 . It isnβt surprising that this is the answer β π is a polynomial of degree 2, and thus its second order Taylor series should equal itself!

10

Question: #4: Find the second order Taylor series expansion for π (π₯, π¦) = 2 2 πβ(π₯ +π¦ ) cos(π₯π¦) about (π₯0 , π¦0) = (0, 0). Solution: The long way to do this is to compute ( ) βπ βπ (βπ )(π₯, π¦) = , βπ₯ βπ¦ and (π»π )(π₯, π¦) =

(

β2π βπ₯βπ¦ β2π βπ¦ 2

β2π βπ₯2 β2π βπ¦βπ₯

)

,

and then use our result that the second order expansion is 1 π (0, 0) + (βπ )(0, 0) β (π₯, π¦) + (π₯, π¦)(π»π )(0, 0) 2

(

π₯ π¦

)

.

This is not pleasant; for instance, βπ 2 2 2 2 = β2π₯πβ(π₯ +π¦ ) cos(π₯π¦) β π¦πβ(π₯ +π¦ ) sin(π₯π¦). βπ₯ There is a faster way. Rolling up our sleeves and doing the work, we find π (0, 0) = 1, (βπ )(0, 0) = (0, 0) and after even more work we find (π»π )(0, 0) =

(

β2 0 0 β2

)

;

we can make our life a little easier by noting that π is of class π 2 , and thus β2π . βπ¦βπ₯

Thus we have one fewer painful derivative to take. By Taylorβs theorem, the second order approximation is just ( ) 1 π₯ π (0, 0) + (βπ )(0, 0) β (π₯, π¦) + (π₯, π¦)(π»π )(0, 0) . π¦ 2

Substituting gives

= =

1 1 + (0, 0) β (π₯, π¦) + (π₯, π¦) 2 ( ) 1 β2π₯ 1 + (π₯, π¦) β2π¦ 2

1 β π₯2 β π¦ 2 .

11

(

β2 0 0 β2

)(

π₯ π¦

)

β2π βπ₯βπ¦

=

We can determine the Taylor series very easily using our trick. We have ππ’ = 1 + π’ +

π’2 +βββ , 2

so πβ(π₯

2 +π¦ 2 )

= 1 β (π₯2 + π¦ 2 ) + β β β ;

we stopped at this term as this term is already of order 2 in π₯ and π¦, and thus there is no need to keep further terms (as we only want up to second order). Similarly we find π€2 +βββ , cos(π€) = 1 β 2 so cos(π₯π¦) = 1 β β β β ;

here we only kept one term as the next term would be π€ 2 /2 = π₯2 π¦ 2 /2, which is a fourth order (and not a second order) term. We thus find the Taylor series expansion of order 2 at the origin is simply 1 β (π₯2 + π¦ 2), and this was obtained with significantly less work! You of course need to know how to compute a Taylor series in general, but this trick will work in most of the problems you need.

3.3 Extrema of real-valued functions Question: #4: Find the critical points of π (π₯, π¦) = π₯2 + π¦ 2 + 3π₯π¦. β β Solution: We must solve βπ = 0 . We have ( ) βπ βπ (βπ ) = , = (2π₯ + 3π¦, 2π¦ + 3π₯). βπ₯ βπ¦ Thus an extremum occurs when 2π₯ + 3π¦ = 0, 3π₯ + 2π¦ = 0. There are several ways to proceed. Note, however, that at this point it is no longer a calculus problem, but rather an algebra one. A common approach is to solve 12

for one variable in terms of the other (i.e., the substitution method). Another is to multiply the equations by various constants and combine. Letβs solve for π¦ in terms of π₯. We have π¦ = β2π₯/3 from the first equation and π¦ = β3π₯/2 from the second. Thus the only solution is π₯ = π¦ = 0. Another way of arranging the algebra is to find π¦ = β2π₯/3 from the first equation, and then substitute this into the second, which becomes 3π₯ + 2(β2π₯/3) = 0, which clearly implies π₯ = 0. Alternatively, note 5π₯ + 5π¦ = 0 so π₯ = βπ¦ and then β2π¦ + 3π¦ = 0 yields π¦ = 0. Question: #6: Find the critical points of π (π₯, π¦) = π₯2 β 3π₯π¦ + 5π₯ β 2π¦ + 6π¦ 2 + 8. β β Solution: The critical points are where βπ = 0 . For our function we have ( ) βπ βπ (βπ )(π₯, π¦) = , = (2π₯ β 3π¦ + 5, β3π₯ β 2 + 12π¦), βπ₯ βπ¦ so in order for this to equal the zero vector we must have 2π₯ β 3π¦ + 5 = 0, and β 3π₯ + 12π¦ β 2 = 0. These are two equations in two unknowns. We have 2π₯ β 3π¦ = β5, β3π₯ + 12π¦ = 2. There are lots of ways to solve this. We could multiply the first equation by 4 and add it to the second. This will cancel all the π¦ terms, and leave us with 8π₯ β 3π₯ = β20 + 2, or 5π₯ = β18 or π₯ = β18/5. As π¦ = 2π₯+5 , this implies 3 11 π¦ = β 15 . Another way to solve this system of equations is to isolate π¦ as a function of π₯ using the first equation, and substitute this into the second. We find 2π₯β3π¦ = β5, so π¦ = 2π₯+5 . Substituting this into the second equation yields 3 β3π₯ β 2 + 12

2π₯ + 5 = 0, 3

which implies or

β3π₯ β 2 + 8π₯ + 20 = 0, π₯ = β

exactly as before.

13

18 , 5

3.4 Constrained extrema and Lagrange multipliers Question: #1: Find the extrema of π (π₯, π¦, π§) = π₯ β π¦ + π§ subject to π(π₯, π¦, π§) = π₯2 + π¦ 2 + π§ 2 = 2. Solution: By the method of Lagrange multipliers, we need (βπ )(π₯, π¦, π§) = π(βπ)(π₯, π¦, π§) for (π₯, π¦, π§) to be an extremum. We have βπ = (1, β1, 1) and βπ = (2π₯, 2π¦, 2π§). Thus we are searching for a π and a point (π₯, π¦, π§) where (1, β1, 1) = π(2π₯, 2π¦, 2π§). We find 2ππ₯ = 1, 2ππ¦ = β1, 2ππ§ = 1. As π β= 0 (if π = 0 then there is no way to have the two gradients equal), we have π₯ = π§ = βπ¦. We still have another equation to use, namely π(π₯, π¦, π§) = 2. There are several ways to proceed. We can solve and find π₯ = π§ = 1/2π, π¦ = β1/2π, and thus 1 1 1 + 2 + 2 = 2, 2 4π 4π 4π β which implies 3/4π2 = 2 or π2 = 3/8, which yields π = Β± 3/8. There are thus two points where π may have an extremum, namely β β β β β β (1/2 3/8, β1/2 3/8, 1/2 3/8), (β1/2 3/8, 1/2 3/8, β1/2 3/8). β Evaluating π at the first point gives 1/2 3/8, while evaluating π at the second β point gives β1/2 3/8. Question: #4: Find the extrema of π (π₯, π¦) = π₯ subject to π(π₯, π¦) = π₯2 +2π¦ 2 = 3. Solution: We have βπ = (1, 0) and βπ = (2π₯, 4π¦). Thus at an extremum the point (π₯, π¦) must satisfy, for some π, the equation (1, 0) = π(2π₯, 4π¦). This implies 1 = 2ππ₯ and 0 = 4ππ¦. We must therefore have π¦ = 0, but at this point we cannot determine π₯ and π, only their product (which is 1/2). All is not 14

2 lost, however, as we know π₯2 + 2π¦ 2 = 3. As π¦ = 0, we then β β find π₯ = 3 so π₯ = Β± 3. We could now easily determine π (it is just Β±1/2 3); however, there is no need to. The only reason we care about π is that it is supposed to help us in finding where π has an extremum. As we already know the π₯ and π¦ coordinates, β we have all the information we need. Thus the extrema occur at π₯ = Β± 3. We could have predicted this answer in the beginning. We have our function depending only on π₯ and constrained to lie on an ellipse. We thus naturally want the π₯-extension as large as possible, which means taking π¦ = 0 and being at the extremes of the major-axis.

Question: Find the maximum value of π (π₯, π¦, π§) = π₯π¦π§ given that π(π₯, π¦, π§) = π₯ + π¦ + π§ = 3 and π₯, π¦, π§ β₯ 0. Solution: We may interpret this problem as saying we have a bar three units in length, and we can fold it twice at right angles to give a skeleton of part of a box; how should we divide it so that the volume is maximized? While it seems clear that the answer should be π₯ = π¦ = π§ = 1, we must prove this. The main constraint is π(π₯, π¦, π§) = 3; we need the other constraint so as to eliminate possible solutions such as (β100)(β100)(203). Using Lagrange multipliers, we want βπ = πβπ. As βπ = (π¦π§, π₯π§, π₯π¦) and βπ = (1, 1, 1), this means (π¦π§, π₯π§, π₯π¦) = π(1, 1, 1). If π = 0 then at least one of π₯, π¦ and π§ equals zero, and the volume π₯π¦π§ is zero; thus this clearly cannot be the maximum. We may thus assume π β= 0. We have π¦π§ = π₯π§ = π₯π¦ = π, and we may assume none of π₯, π¦ or π§ vanish. As π¦π§ = π₯π§, since π§ β= 0 we have π¦ = π₯. Looking at the other equality yields π¦ = π§, and hence π₯ = π¦ = π§. As π(π₯, π¦, π§) = π₯ + π¦ + π§ = 3, since the three variables are equal we must have each of them equal to 1. More generally, if we have π non-negative numbers with a fixed sum, then their product is maximized when they are all equal. The next, more advanced 15

question we could ask is what π maximizes the product for a given sum. This question is related to what base we should use in building computers. Interestingly, this implies that if we are primarily concerned with data storage, we should work in base 3 and not base 2. The answer is related to π, and the fact that 3 is closer to π than 2. This was an extra credit problem earlier in the semester; for a non-multivariable calculus solution, see http://www.williams.edu/go/math/sjmiller/public html/ 105/extracredit/ExtraCredit SummandsN.pdf

Question: Maximize the function π (π₯, π¦, π§) = π₯π¦ + π¦π§ + π₯π§ on the unit sphere π(π₯, π¦, π§) = π₯2 + π¦ 2 + π§ 2 = 1. Note this is a hard problem, but looking through the arguments below will give you a great grounding in how to handle the algebra that can arise. Solution: We need βπ = πβπ. Differentiating yields βπ = (π¦ + π§, π₯ + π§, π₯ + π¦) = π(2π₯, 2π¦, 2π§) = πβπ. We thus have four equations in four unknowns: π¦+π§ π₯+π§ π₯+π¦ 2 2 π₯ + π¦ + π§2

= = = =

2ππ₯ 2ππ¦ 2ππ§ 1.

There are many ways to solve these equations. We describe a few. First, note that if we take ratios of any two of the first three equations that the π disappears. (Note π cannot equal 0. If it did, we would have π₯ + π§ = 0 and π₯ + π¦ = 0. This would force π¦ to equal π§, which when substituted into π¦ + π§ = 0 would give π¦ = π§ = 0. We would then have π₯ = 0, and hence the constraint π(π₯, π¦, π§) = 1 π¦+π§ could not be satisfied.) Dividing the first equation by the second gives π₯+π§ = π₯π¦ . Cross multiplying gives π¦ 2 + π¦π§ = π₯2 + π₯π§. Looking at the ratio of the second π₯+π§ and the third equations gives π₯+π¦ = π¦π§ , or π§ 2 + π₯π§ = π¦ 2 + π₯π¦. We thus have π₯2 + π₯π§ = π¦ 2 + π¦π§,

π§ 2 + π₯π§ = π¦ 2 + π₯π¦.

Subtracting these two equations from each other gives π₯2 β π§ 2 = π¦π§ β π₯π¦, 16

or (π₯ β π§)(π₯ + π§) = π¦(π§ β π₯). There are thus two solutions: either π₯ β π§ = 0 or π¦ = β(π₯ + π§). We leave the rest of this approach to the reader. Another way to attack this problem is to add the first three equations to each other, which gives (π¦ + π§) + (π₯ + π§) + (π₯ + π¦) = 2ππ₯ + 2ππ¦ + 2ππ§, or equivalently 2(π₯ + π¦ + π§) = 2π(π₯ + π¦ + π§). Thus either π₯+π¦ +π§ = 0 or π = 1. If π = 1 then squaring the first three equations gives (π¦ + π§)2 + (π₯ + π§)2 + (π₯ + π¦)2 = 4π₯2 + 4π¦ 2 + 4π§ 2 = 4, where the last follows from the fact that π₯2 + π¦ 2 + π§ 2 = 1. If we expand the squares we find π¦ 2 + 2π¦π§ + π§ 2 + π₯2 + 2π₯π§ + π§ 2 + π₯2 + 2π₯π¦ + π¦ 2 = 4. Note the left hand side has 2(π₯2 + π¦ 2 + π§ 2 ), which is 2. Thus we have 2 + 2π¦π§ + 2π₯π§ + 2π₯π¦ = 4, or π¦π§ + π₯π§ + π¦π§ = 1. Note, however, that π¦π§ + π₯π§ + π¦π§ is just our function π (π₯, π¦, π§)! We leave the rest of the details of this problem to the reader.

4 Vector-valued functions 5 Double and Triple Integrals 5.1 Introduction Question: #1b: Find

β« π/2 β« 1 0

0

(π¦ cos π₯ + 2)ππ¦ππ₯. 17

Solution: We first do the π¦-integral, and then the π₯-integral. We have ] β« π/2 β« 1 β« π/2 [β« 1 (π¦ cos π₯ + 2)ππ¦ππ₯ = (π¦ cos π₯ + 2)ππ¦ ππ₯ 0 0 0 0 β‘ 1 β€ 1 β« π/2 2 π¦ β£ = cos π₯ + 2π¦ β¦ ππ₯ 2 0 0 0 β« π/2 ( ) cos π₯ = + 2 ππ₯ 2 0 ] π/2 [ sin π₯ = + 2π₯ 2 0

=

1 + π. 2

β«0 β«2 Question: #1d: Find β1 1 (βπ₯ ln π¦)ππ¦ππ₯. Solution: Again, we do the π¦-integral first, followed by the π₯-integral. We need to find a function whose derivative is ln π¦. It is natural (forgive the pun) to try π¦ ln π¦. Why is this a reasonable guess? When we take the derivative, we use the product rule and the first piece is just 1 β ln π¦. Thus this is close to what we want, though not quite the correct answer. The problem is the full derivative is 1 β ln π¦ + π¦ β

1 = ln π¦ + 1; π¦

again, this is almost correct, but we are off by 1. We may interpret this as saying our guess is off by a function whose derivative is 1; one example of such a function is π¦. If we subtract this from our original guess, we should end up with the correct anti-derivative. Specifically, (π¦ ln π¦ β π¦)β² = 1 β ln π¦ + π¦ β

1 β 1 = ln π¦; π¦

we have thus found the sought-after anti-derivative. This is the Method of Guess and Check, and it is a powerful way to find anti-derivatives.

18

Armed with the anti-derivative for ln π¦, we can solve the problem. We have ] β« 0β« 2 β« 0 [β« 2 (βπ₯ ln π¦)ππ¦ππ₯ = (βπ₯ ln π¦)ππ¦ ππ₯ β1 1 β1 1 ] β« 0 [β« 2 = β π₯ ln π¦ππ¦ ππ₯ β1 1 2 β« 0 = β π₯ [π¦ ln π¦ β π¦] ππ₯ β1 1 β« 0 = β π₯ [(2 ln 2 β 2) β (1 ln 1 β 1)] ππ₯ β1 β« 0 = β π₯(2 ln 2 β 1)ππ₯ β1 β« 0 = β(2 ln 2 β 1) π₯ππ₯ β1 β‘ β€ 0 2 π₯ = β(2 ln 2 β 1) β£ β¦ 2 β1 [ ] 1 = β(2 ln 2 β 1) β 2 2 ln 2 β 1 . = 2

5.2 The Double Integral over a Rectangle β«β« Question: #1c: Evaluate (π₯π¦)2 cos(π₯3 )ππ΄, where π = [0, 1] Γ [0, 1]. π Solution: We need to choose whether or not we want to integrate first with respect to π₯ or with respect to π¦. For this problem, it does not matter as we can write the integral as π (π₯)π(π¦) for some functions π and π (here π (π₯) = π₯2 cos(π₯3 )

19

and π(π¦) = π¦ 2 ). Letβs do the integration with respect to π¦ first. We have ] β« β« β« 1 [β« 1 2 3 2 2 3 (π₯π¦) cos(π₯ )ππ΄ = π₯ π¦ cos(π₯ )ππ¦ ππ₯ π 0 0 [β« 1 ] β« 1 3 2 2 = cos(π₯ )π₯ π¦ ππ¦ ππ₯ 0 0 β‘ β€ 1 β« 1 3 π¦ = cos(π₯3 )π₯2 β£ β¦ ππ₯ 3 0 0 β« 1 1 = cos(π₯3 )π₯2 ππ₯ 3 0 β« 1 1 cos(π₯3 )3π₯2 ππ₯; 9 0 where we multiplied by 1 in the form 3/3 to facilitate the application of π’-substitution below (though of course this is not needed). Let π’ = π₯3 . Then ππ’ = 3π₯2 ππ₯, and as π₯ : 0 β 1 we have π’ : 0 β 1. (Note it is very important that our function π’ = π₯3 is monotonic or strictly increasing in this domain). Thus we have β« β« β« 1 1 2 3 (π₯π¦) cos(π₯ )ππ΄ = cos π’ππ’ 9 0 π 1 sin π’ 9 0

=

sin 1 . 9

β«1β«1 Question: Compute 0 0 π¦ cos(π₯π¦)ππ΄. Solution: We have a choice as to whether or not we want to integrate with respect to π₯ first or with respect to π¦. Note the integrand is π¦ cos(π₯π¦). If we integrate with respect to π₯ first, then everything will work out nicely through π’substitution; if we do the π¦ integral first we have to use the method of Guess and Check to figure out an anti-derivative (with respect to π¦) of π¦ cos(π₯π¦). Thus letβs

20

integrate with respect to π₯ first. We have ] β« 1β« 1 β« 1 [β« 1 π¦ cos(π₯π¦)ππ΄ = π¦ cos(π₯π¦)ππ₯ ππ¦ 0 0 0 0 ] β« 1 [β« 1 = cos(π₯π¦)π¦ππ₯ ππ¦. 0

0

Let π’ = π₯π¦, so ππ’ = π¦ππ₯ and π₯ : 0 β 1 means π’ : 0 β π¦. We find ] β« 1β« 1 β« 1 [β« π¦ π¦ cos(π₯π¦)ππ΄ = cos π’ππ’ ππ¦ 0 0 0 0 π¦ ] β« 1[ = sin π’ ππ¦ 0 0 β« 1 = sin π¦ 0 1 = [β cos π¦] 0

= =

(β cos 1) β (β1) 1 β cos 1.

5.3 The Double and Triple Integral Over More General Regions Question: #1a: Evaluate the iterated integral β«

0

1

β«

π₯2

ππ¦ππ₯,

0

state whether or not the region is π₯-simple, π¦-simple or simple. Draw the region. Solution: Solution: The region is drawn in Figure 1. The region is π¦-simple, as for 0 β€ π¦ β€ 1 we have π1 (π¦) β€ π₯ β€ π2 (π¦) with π1 (π¦) = 0 and π2 (π¦) = π₯2 . Similarly we see the region is π₯-simple. For β β 0 β€ π¦ β€ 1 we have π¦ β€ π₯ β€ 1; we take π1 (π¦) = π¦ and π2 (π¦) = 1. As the region is both π₯-simple and π¦-simple, it is simple.

21

1.0

0.8

0.6

0.4

0.2

0.0 0.0

0.2

0.4

0.6

0.8

1.0

Figure 1: Region corresponding to 0 β€ π₯ β€ 1 and 0 β€ π¦ β€ π₯2 . We now evaluate the integral. We have β«

0

1

β«

π₯2

ππ¦ππ₯

=

0

β«

1

β«

1

β«

1

0

=

π₯2

]

1ππ¦ ππ₯

0

0

=

[β«

β‘ 2β€ π₯ β£π¦ β¦ ππ₯ 0

π₯2 ππ₯

0

1 π₯3 . 3

=

0

Question: #1a: Evaluate the iterated integral β«

2 β3

β«

π¦2

(π₯2 + π¦)ππ₯ππ¦, 0

state whether or not the region is π₯-simple, π¦-simple or simple. Draw the region. Solution: The region is drawn in Figure 2. The region is clearly π₯-simple, as for β3 β€ π¦ β€ 2 we have π1 (π¦) β€ π₯ β€ π2 (π¦), where π1 (π¦) = 0 and π2 (π¦) = π¦ 2 (and of course π1 (π¦) β€ π2 (π¦). The region is not π¦-simple (and hence it is not simple). The reason it is not π¦-simple 22

2

1

0

-1

-2

-3 0

2

4

6

8

Figure 2: Region corresponding to β3 β€ π¦ β€ 2 and 0 β€ π₯ β€ π¦ 2 . is that for π₯ β [0, β 1] the values β of π¦ vary discontinuously. For example, if π₯ = 2 then β3 β€ π¦ β€ β 2 and 2 β€ π¦ β€ 2. We now evaluate the integral. We have ] β« 2 β« π¦2 β« 2 [β« π¦ 2 (π₯2 + π¦)ππ₯ππ¦ = (π₯2 + π¦)ππ₯ ππ¦ β3

0

0

β3

= = =

π¦2 β€ β£ π₯ + π₯π¦ β¦ ππ¦ 3 β3 0 0 ) β« 2( 6 π¦ + π¦ 3 ππ¦ 3 β3 2 2 π¦ 7 π¦ 4 + 21 4 β«

2

π¦2 3

β‘

β3

= =

β3

128 729 81 + +4β 21 7 4 7895 . 84

5.4 Changing the order of integration Question: #1a: Sketch the region and evaluate 23

β«1β«1 0

π₯

π₯π¦ππ¦ππ₯ both ways.

1.0

0.8

0.6

0.4

0.2

0.0 0.0

0.2

0.4

0.6

0.8

1.0

Figure 3: Region corresponding to π₯ β€ π¦ β€ 1 and 0 β€ π₯ β€ 1. Solution: See Figure 3 for a sketch of the region. We have ] β« 1β« 1 β« 1 [β« 1 π₯π¦ππ¦ππ₯ = π₯ π¦ππ¦ ππ₯ 0 π₯ 0 π₯ β‘ β€ 1 β« 1 2 π¦ = π₯ β£ β¦ ππ₯ 2 0 π₯ ] β« 1 [ 1 π₯2 = π₯ β ππ₯ 2 2 0 ) β« 1( π₯ π₯3 β ππ₯ = 2 2 0 1 1 π₯2 π₯4 = β 4 8 0

=

0

1 1 1 β = . 4 8 8

We now do the integration in the opposite order. We fix π¦ now, and π¦ varies

24

from 0 to 1. It is now π₯ that varies, and π₯ ranges from 0 to π¦. We thus find β« 1β« 1 β« 1β« π¦ π₯π¦ππ¦ππ₯ = π₯π¦ππ₯ππ¦ 0 π₯ 0 0 ] β« 1 [β« π¦ = π¦ π₯ππ₯ ππ¦ 0 0 β« 1 [ 2 π¦ ] π₯ = π¦ ππ¦ 2 0 0 β« 1 ( 2) π¦ = π¦ ππ¦ 2 0 1 π¦ 4 1 = = . 8 8 0

Note that the two orders of integration lead to the same answer for this problem.

5.5 Mathematical Modeling: Baseball / Sabermetrics Lecture The following are some problems related to the ones from the baseball lecture. The slides are online at http://www.williams.edu/go/math/sjmiller/public html /105/talks/PythagWLTalk GeneralCalcVersion.pdf Question: #1: Let π (π₯) = 6π₯(1 β π₯) for 0 β€ π₯ β€ 1 and 0 otherwise, and let π(π¦) = 12π¦ 2(1 β π¦) for 0 β€ π¦ β€ 1 and zero otherwise. Prove π and π are probability distributions. Let π be a random variable whose probability density of taking on the value π₯ is π (π₯), and let π be a random variable whose probability density of taking on the value π¦ is π(π¦). Compute the probability that π > π (assuming, of course, that π and π are independent). Solution: To prove that π and π are probability distributions, we must show that each is non-negative and integrates to 1. Both are clearly non-negative; we are left with showing each integrates to one. The fastest way to do this is to note

25

that it suffices to study the integral from 0 to 1 of π₯π (1 β π₯). We have β« 1 β« 1 [ π ] π π₯ (1 β π₯) = π₯ β π₯π+1 ππ₯ 0 0 1 1 π₯π+2 π₯π+1 = β π + 1 π + 2 0

= =

Thus

0

1 1 β π+1 π+2 1 . (π + 1)(π + 2)

{ (π + 1)(π + 2)π₯π (1 β π₯) β(π₯) = 0

if 0 β€ π₯ β€ 1 otherwise

is a probability distribution for any positive integer π. In particular, if we take π = 1 we see that we should have 6π₯(1 β π₯), while if π = 2 we should have 12π₯2 (1 β π₯), which we do. This thus verifies both distributions are probability distributions simultaneously. We now compute the probability that π > π . We are integrating over the triangle 0 β€ π¦ β€ π₯ β€ 1, and have β« 1 β« π₯ Prob(π β₯ π ) = π (π₯)π(π¦)ππ¦ππ₯ π₯=0 π¦=0 [β« π₯ ] β« 1 π(π¦)ππ¦ ππ₯ = π (π₯) π₯=0 π¦=0 [β« π₯ ] β« 1 2 = 6π₯(1 β π₯) 12π¦ (1 β π¦)ππ¦ ππ₯ π₯=0 π¦=0 [β« π₯ ] β« 1 2 3 = 6π₯(1 β π₯)12 (π¦ β π¦ )ππ¦ ππ₯ π₯=0 π¦=0 π₯ ] [ π₯ β« 1 3 4 π¦ π¦ = 72(π₯ β π₯2 ) β ππ₯ 3 4 π₯=0 [ 3 0 4] 0 β« 1 π₯ π₯ = 72(π₯ β π₯2 ) β ππ₯. 3 4 π₯=0

26

The simplest way to evaluate this is to expand, and we find ] β« 1[ 6 π₯ 7π₯5 π₯4 Prob(π β₯ π ) = 72 β + ππ₯ 4 12 3 0 1 1 1 7 6 5 7π₯ π₯ π₯ = β + 28 72 15 0

=

0

0

13 . 2520

6 Change of variable formula and applications of integration 6.1 6.2 The Change of Variable Theorem Question: #1: Consider the change of variables π’ = 2π₯ + 3π¦ and π£ = 4π¦. Show that this map takes the unit square [0, 1] Γ [0, 1] (i.e., the set of points (π₯, π¦) with 0 β€ π₯, π¦ β€ 1) to a parallelogram. Use the change of variables formula to find the area of the parallelogram. Solution: The unit square is mapped to the parallelogram shown in Figure 4. To see this, look and see where each vertex of the unit square is sent. We have (0, 0) goes to (0, 0), we have (1, 0) goes to (2, 0), (0, 1) goes to (3, 4) and finally (1, 1) goes to (5, 4). More generally, if we take a point of the form (π₯, 0) it is mapped to the point (2π₯, 0), so we see the interval [0, 1] on the π₯-axis is mapped to the interval [0, 2] in the π’-axis. A similar analysis shows all the other lines of the unit square are mapped to lines in the π’π£-plane. For example, consider the line (π₯, 1) with 0 β€ π₯ β€ 1. This is mapped to the line (2π₯ + 3, 4) in the π’π£-plane, or equivalently the line from (3, 4) (corresponding to π₯ = 0) to the point (5, 4) (corresponding to π₯ = 1). We need the inverse transformation π β1 , which gives us the π₯ and π¦ corresponding to a choice of π’ and π£. We have to invert the relations π’ = 2π₯ + 3π¦, π£ = 4π¦. The second is the easiest; we clearly need to have π¦ = π£/4. Knowing this, we then find 3π£ π’ = 2π₯ + , 4 27

Figure 4: Region the unit square is mapped to under π (π₯, π¦) = (2π₯ + 3π¦, 4π¦).

or π₯ =

π’ 3π£ β . 2 4

In other words, we have π

β1

(π’, π£) = (π₯(π’, π£), π¦(π’, π£)) =

(

π’ 3π£ π£ β , 2 4 4

)

.

We now find the determinant of the derivative. First we compute ( βπ₯ βπ₯ ) ( 1 ) 3 β β1 βπ’ βπ£ 2 4 (π·π )(π’, π£) = = . βπ¦ βπ¦ 0 14 βπ’ βπ£ The determinant is det((π·π β1 )(π’, π£)) =

1 1 3 1 β + β0 = , 2 4 4 8

and thus the absolute value of the determinant is det((π·π β1 )(π’, π£)) = 1 , 8 which means

ππ₯ππ¦

ββ

det((π·π β1)(π’, π£)) ππ’ππ£ = 1 ππ’ππ£. 8 28

By the Change of Variables formula, if π is the original unit square in π₯π¦-space and π = π (π) is the parallelogram in π’π£-space, we have β« β« β« β« β« β« 1 β1 1ππ₯ππ¦ = 1 det((π·π )(π’, π£)) ππ’ππ£ = 1 β ππ’ππ£. 8 π π (π) π (π) As 1/8 is constant, we can pull it out of the integral and find β« β« β« β« 1 1ππ₯ππ¦ = 1ππ’ππ£; 8 π π (π)

the left double integral is the area of the unit square, while the right double integral is the area of our parallelogrma. We thus find Area(π) =

1 1 Area(π (π)) = Area(π ), 8 8

or equivalently that the area of the parallelogram is 8: Area(π ) = 8Area(π) = 8 β 1 = 8. We could consider more general maps from squares to parallelograms, but this illustrates the principle and proves a nice, known result: the area of a parallelogram is base times height. For our parallelogram, the has has length 2 and the height is 4, which do multiply to give an area of 8. Notice that we are able to deduce the formula for the parallelogramβs area by knowing the area of the square because the absolute value of the determinant of the derivative matrix is constant (i.e., independent of π’ and π£). This allows us to pull out that common factor of 1/8 and leaves us with the integral of 1 over the parallelogram, which is thus its area. Whenever we have a change of variables where the determinant is constant, these calculations can often allow us to deduce the area of one region from knowing another. This is true in the homework problem, where you are asked to find the area of an ellipse knowing the area of another region. For that problem, consider the ellipse ( π₯ )2 ( π¦ )2 + β€ 1. π π Consider the change of variables π’ = π₯/π and π£ = π¦/π, so

π (π₯, π¦) = (π’(π₯, π¦), π£(π₯, π¦)) = (π₯/π, π¦/π) 29

or equivalently the inverse map π β1 would be π β1 (π’, π£) = (π₯(π’, π£), π¦(π’, π£)) = (ππ’, ππ£). Note this maps the ellipse to the unit disk π’2 + π£ 2 β€ 1, and we know the area of the unit disk is just π12 = π!

Question: #1: This is a slight modification of Problem #1 from Section 6.2: Let π· be the unit disk π₯2 + π¦ 2 β€ 1. Consider the integral β« β« cos(π₯2 + π¦ 2)ππ₯ππ¦. π·

Evaluate this using polar coordinates. Solution: We have ππ₯ππ¦ goes to πππππ, and the unit disk becomes 0 β€ π β€ 1 and 0 β€ π β€ 2π. We replace π (π₯, π¦) with π (π cos π, π sin π), and thus find β« 2π β« 1 β« β« 2 2 cos(π₯ + π¦ )ππ₯ππ¦ = cos(π 2 cos2 π + π 2 sin2 π)πππππ π· π=0 β«π=0 2π β« 1 = cos(π 2 )πππππ π=0 π=0 ] β« 2π [β« 1 1 2 = cos(π )2πππ ππ π=0 2 π=0 β‘ 1 β€ β« 2π 1β£ sin(π 2 ) β¦ ππ = 2 π=0 0 β« 2π sin 1 = ππ π=0 2 sin 1 = β 2π = π sin 1. 2

Question: #13: This is a problem similar to Problem #13 from Section 6.2. Consider the cylinder πΆ given by π₯2 + π¦ 2 β€ 9 and β1 β€ π§ β€ 2. Evaluate β« β« β« π (π₯, π¦, π§)ππ₯ππ¦ππ§ πΆ

30

where π (π₯, π¦, π§) = π§

β

π₯2 + π¦ 2.

Solution: If we wanted to write down the integral explicitly in Cartesian coordinates, we would have β« 2 β« 3 β« β9βπ¦2 β π§ π₯2 + π¦ 2ππ₯ππ¦ππ§. β π§=β1

π¦=β3

π₯=β

9βπ¦ 2

2 2 To see this, note that on the βboundary π₯ β + π¦ = 9, so if we have chosen a value of π¦ then π₯ ranges from β 9 β π¦ 2 to 9 β π¦ 2 ; these are not integrals we desire to evaluate! For cylindrical coordinates, we have

ππ₯ππ¦ππ§

ββ

πππππππ§,

and π₯ = π cos π, π¦ = π sin π, π§ = π§. Our function π (π₯, π¦, π§) becomes π (π cos π, π sin π, π§), or in our case β β π§ π₯2 + π¦ 2 ββ π§ π 2 cos2 π + π 2 sin2 π = π§π.

The bounds of integration are π§ ranges from β1 to 2, π ranges from 0 to 2π, and π

31

ranges from 0 to 3. We thus have β« β« β« β« 2 β« 2π β« 3 π (π₯, π¦, π§)ππ₯ππ¦ππ§ = π (π cos π, π sin π, π§)πππππππ§ πΆ π§=β1 π=0 π=0 β« 2 β« 2π β« 3 β = π§ π 2 cos2 π + π 2 sin2 ππππππππ§ π§=β1 π=0 π=0 β« 2 β« 2π β« 3 = π§π β πππππππ§ π§=β1 π=0 π=0 ] β« 2 β« 2π [β« 3 2 = π§ π ππ ππππ§ π§=β1 π=0 π=0 β‘ β€ β« 2 β« 2π 3 3 β£ π β¦ ππππ§ = π§ 3 π§=β1 π=0 0 β« 2 β« 2π 27 = π§ ππππ§ π§=β1 π=0 3 [β« 2π ] β« 2 = 9 π§ ππ ππ§ π§=β1 π=0 β« 2 = 9 π§2πππ§ π§=β1 β« 2 = 18π π§ππ§ π§=β1 2 2 π§ = 18π 2 [ β1 ] 4 1 β = 18π 2 2 3 = 18π β 2 = 27π.

Question: #21: This is a problem similar to Problem #21 from Section 6.2. Consider the unit sphere π given by π₯2 + π¦ 2 + π§ 2 β€ 1. Evaluate β« β« β« π (π₯, π¦, π§)ππ₯ππ¦ππ§ π

32

for π (π₯, π¦, π§) =

(π₯2

1 . + π¦2 + π§2)

If we were to write the integral out explicitly in Cartesian coordinates, we would find it equals β« β« β β« β 1βπ§ 2

1

π§=β1

β π¦=β 1βπ§ 2

1βπ¦ 2 βπ§ 2

π₯=β

β

π (π₯, π¦, π§)ππ₯ππ¦ππ§,

1βπ¦ 2 βπ§ 2

and these bounds of integration should look horrible! We now convert to spherical coordinates. We have π₯ = π sin π cos π, π¦ = π sin π sin π, π§ = π cos π, with 0 β€ π β€ 1, 0 β€ π β€ 2π, 0 β€ π β€ π. Our function π (π₯, π¦, π§) becomes π (π sin π cos π, π sin π sin π, π cos π) =

1 π2

after some simple algebra. Finally, ππ₯ππ¦ππ§

ββ

π2 sin πππππππ.

Note: other textbooks change the role of π and π, especially physics books. We

33

thus have β« β« β«

= = = = = = =

β«

β«

β«

π

π=0 π π=0 π

π (π₯, π¦, π§)ππ₯ππ¦ππ§ β« β« 1 π (π sin π cos π, π sin π sin π, π cos π)π2 sin πππππππ π 2π

π=0 2π

β«

π=0 2π

β«

π=0 1

β«

π=0 1

1 2 π sin πππππππ π2

β«

sin πππππππ [β« 1 ] sin π ππ ππππ π=0 π=0 π=0 [β« 2π ] β« π sin π ππ ππ π=0 π=0 β« π 2π sin πππ π=0 π ] [ 2π β cos π

π=0 β« π

π=0 β« 2π

π=0

0

= 2π [(β cos π) β (β cos 0)] = 2π (1 + 1) = 4π.

7 Sequences and Series 7.1 Page 10.3 Question: #2: Give an example of a sequence that does not have a limit. Solution: Let ππ = (β1)π . Clearly this sequence does not have a limit, as half the time the sequence is 1 and half the time the sequence is -1. For another example, consider ππ = π!, which clearly grows without bound.

34

Question: #4: Compute the limit of the sequence ππ = 3/π2 or explain why it does not converge. Solution: Note limπββ 3 = 3 and limπββ π2 = β. Technically we cannot use the limit of a quotient is the quotient of the limit as the denominator tends to infinity and thus doesnβt converge; however, as the numerator is bounded (it is in fact always 3) and the denominator becomes arbitrarily large, we can see that the sequence does converge to 0. For example, if π β₯ 55 then 3/π2 β€ 1/1000, if π β₯ 174 then 3/π2 β€ 1/10000, and if π β₯ 548 then 3/π2 β€ 1/100000. 3

2

βπβ2 Question: Similar Problem to #5: Find the limit of ππ = π 3π+2π 3 +πβ11 , or prove it does not exist. Solution: There are several ways to do this. We cannot use the limit of a quotient is the quotient of the limits, as both the numerator and denominator tend to infinity as π β β. One approach is to pull out the largest power of π in the numerator and denominator: ) ( 1 + π2 β π12 β π23 π3 1 + π2 β π12 β π23 π3 + 2π2 β π β 2 ( ) ππ = = = . 3π3 + π β 11 3 + π12 β π113 π3 3 + π12 β π113

After pulling out the π3 , we see the numerator tends to 1 as π β β and the denominator tends to 3 as π β β. We can now use the limit of a quotient is the quotient of the limit, and find ( ) limπββ 1 + π2 β π12 β π23 1 + π2 β π12 β π23 1 ( ) = = . lim ππ = lim 1 11 1 11 πββ πββ 3 3 + π2 β π3 limπββ 3 + π2 β π3

Alternatively, we can use LβHopitalβs rule to evaluate the limit; we keep taking derivatives until we no longer have infinity over infinity: π3 + 2π2 β π β 2 πββ 3π3 + π β 11 lim

= = =

3π2 + 4π β 1 πββ 9π2 + 1 6π + 4 lim πββ 18π 6 1 lim = . πββ 18 3 lim

Question: Similar Problem to #7: Find the limit of ππ = limit does not exist. 35

4π2 β11π+1 , 5π6 +12

or prove the

Solution: The limit is zero. One way to see this is to pull out the highest power of π from the numerator and the denominator; it is π2 for the numerator and π6 for the denominator. We have ( ) + π12 π2 4 β 11 + π12 4 β 11 4π2 β 11π + 1 π π ( ( ) ) . ππ = = = 5π6 + 12 π6 +5 π126 π4 +5 π126

Note the numerator tends to 4 as π β β while the denominator tends to infinity; thus the ratio tends to 0. Alternatively, we could use LβHopitalβs rule, taking derivatives until we no longer have infinity over infinity: 4π2 β 11π + 1 πββ 5π6 + 12 lim

= =

8π β 11 30π5 8 lim = 0. πββ 150π4 lim

πββ

7.2 Page 10.6 Question: Similar Problem to #8: Find the limit of the series it does not exist. Solution: Note that this sum is the same as β ( )π β 2 ; 3 π=0

2π π=0 3π

ββ

or prove

this is the same as a geometric series with ratio which is less than 1 in βπ = 2/3, π absolute value. We know the geometric series β π converges if β£πβ£ < 1; thus π=0 this series converges. Question: #10: Find π such that 1 + 21 + 13 + β β β + π1 > 106 . Solution: The πth harmonic number, π»π , is defined by 1 1 1 + +βββ+ . 2 3 π We have π»100 β 5.2, π»1000 β 7.5, π»1010 β 23.6, π»10100 β 230.8, π»101000 β 2303.2, and so on. Note how slowly this grows! In fact, π»π β ln π for π large. The sought after value of π is about 10434295 , which is quite large! π»π = 1 +

36

There are ways to find π that will work without knowing π»π β ln π. One way is to note that 1/3 + 1/4 β₯ 1/2, 1/5 + 1/6 + 1/7 + 1/8 β₯ 1/2, 1/9 + β β β+ 1/16 β₯ 1/2 and so on. Thus we can keep getting at least 1/2....

7.3 Page 10.7 Question: Similar Problem to #13: Find all π such that the sequence ππ = π ln1π π converges. Solution: For any fixed π, once π is large the sequence is strictly decreasing and we can use the integral test. Thus the series converges or diverges depending on whether or not β« β 1 ππ₯ π π₯=big π₯ ln π₯ converges or diverges; we write βbigβ to indicate that the lower bound does not really matter β what matters is the behavior at infinity. We integrate by parts. Let π’ = ln π₯ so ππ’ = ππ₯/π₯, and thus our integral becomes β« β π’βπ ππ’. π’=ln(big)

1βπ

The integral of π’βπ is π’ π if π β= 1 and ln π’ if π = 1. Thus the integral converges if π > 1 and diverges π β€ 1.

7.4 Page 10.8 β 1β Question: Similar Problem to #14: Determine if the series β π=1 2π + π converges or diverges. β β1 Solution: We use the comparison test. Note that while β π=1 π diverges, ββ 1 β π π β₯ 2π , we have π=1 2π converges. As 2 + 0β€

1 1 β β€ . 2π 2π + π

Thus the series converges by the comparison test. 37

Question: Similar Problem to #15: Determine if the series or diverges. β Solution: We have π β€ 2π . Thus ( )π β π 2π 2 β€ π = . π 5 5 5

β

π π=1 5π

ββ

converges

Our series is thus bounded term by term by the geometric series with ratio 2/5, and thus converges by the comparison. β π β2 βπ! Question: Similar Problem to #16: Determine if the series β π=1 π+11 converges or diverges. Solution: This series diverges. Note the numerator is growing much faster than the denominator. The easiest way to see this is that the denominator is at most π for large π, and π!/π = (π β 1)!. In other words, the terms in the sequence tend to infinity, and thus the sum cannot converge.

7.5 Page 10.10 β 2π+1 Question: #20: Determine if ππ=0 310π converges or diverges. Solution: We can re-write the terms in a more illuminating manner. We have π β 32π+1 π=0

10π

π β 32π 3 10π

=

π=0 π β

9π 10π π=0 )π π ( β 9 3 . 10 π=0

=

3

=

Note the above sum is just three times the geometric series with ratio 3, and thus converges.

38

Instead of using the comparison test we can also use the Ratio Test. We look at ππ+1 /ππ , which for us is ππ+1 32π+3 /10π+1 9 = = . ππ 32π+1 /10π 10 Thus the limit of ππ+1 /ππ is 9/10 < 1, and the series therefore converges by the Ratio Test. β π 4 Question: #22: Determine if ππ=0 3 (π 5+π+1) converges or diverges. π Solution: If we didnβt have the factor π 4 + π + 1, it would be straightforward, as the series would just be the geometric series with ratio 3/5. As π 4 grows polynomially but 3π and 5π grow exponentially, we expect the series to still converge. Thus we look for an upper bound for the numerator such that, even when multiplied by 3π , it grows slower than the denominator by a significant margin. For example, letβs try and show the numerator is bounded by πΆ β 4π for some constant πΆ. We want to show for π large that 3π (π 4 + π + 1) β€ πΆ β 4π , or π 4 + π + 1 β€ πΆ β (4/3)π .

We have π 4 + π + 1 β€ 3π 4 , and thus if we take πΆ = 3 we need only show, for π large, that π 4 β€ (4/3)π . While this is not true for small π, it is true for large π and thus the series is bounded by the geometric series with ratio 4/5, and hence converges. We now provide an alternative proof using the ratio test. We look at ππ+1 /ππ , which for us is (3/5)π+1((π + 1)4 + π + 2) 3 (π + 1)4 + π + 2 ππ+1 = = β . ππ (3/5)π (π 4 + π + 1) 5 π4 + π + 1 If we take the limit as π β β, we see that the limit is 3/5. As this is less than 1, by the Ratio Test the series converges.

8 From path integrals to Stokesβ Theorem The final homework assignment of the semester is: Section 4.2: #1 (see formula at the bottom of the page for help). Section 4.4: #1, #14. Section 7.1: #3b. Section 7.2: #1c. Section 8.1: #3a. The problems below are similarly chosen problems. 39

Question: Section 4.2: #2: Find the arc length of the curve π(π‘) = (1, 3π‘2 , π‘3 ) for 0 β€ π‘ β€ 1. Solution: The answer is β« 1 β£β£πβ² (π‘)β£β£ ππ‘, 0

where

πβ² (π‘) = (0, 6π‘, 3π‘2) so β£β£πβ² (π‘)β£β£ =

β

β 36π‘2 + 9π‘4 = 3π‘ 4 + π‘2 ;

this will lead to a straightforward integral because of the factor of π‘ outside the square-root. We have β« 1 β« 1 β β² β£β£π (π‘)β£β£ ππ‘ = 3π‘ 4 + π‘2 ππ‘ 0 0 β« 3 1 (4 + π‘2 )1/2 2π‘ππ‘ = 2 0 1 2 3/2 = (4 + π‘ ) 0

=

5

3/2

β4

3/2

.

Question: Section 4.4: #2: Find the divergence and the curl of π (π₯, π¦, π§) = (π¦π§, π₯π§, π₯π¦) = (π1 (π₯, π¦, π§), π2 (π₯, π¦, π§), π3(π₯, π¦, π§)). Solution: The divergence is div(π ) = β β π =

βπ1 βπ2 βπ3 + + = 0; βπ₯ βπ¦ βπ§

the fact that the divergence is zero has physical interpretations. For the curl, we have β β β β βπ β π π β β β curl(π ) = β Γ π = βπ₯ . βπ¦ βπ§ π π π 1 2 2 Expanding gives ( ) βπ3 βπ2 βπ1 βπ3 βπ2 βπ1 β , β , β = (0, 0, 0) ; βπ¦ βπ§ βπ§ βπ₯ βπ₯ βπ¦ 40

thus this vector field has both zero curl and zero divergence! β« Question: Section 7.1: #3a: Find the path integral π (π₯, π¦, π§)ππ  where π (π₯, π¦, π§) = π β 2 exp( π§) and π(π‘) = (1, 2, π‘ ) for 0 β€ π‘ β€ 1. Solution: The path integral is β« 1 π (π(π‘))β£β£πβ² (π‘)β£β£ ππ‘. 0

We have πβ² (π‘) = (0, 0, 2π‘), β£β£πβ² (π‘)β£β£ = 2β£π‘β£ (which is 2π‘ as π‘ β₯ 0). Further,

β π (π(π‘)) = π (1, 2, π‘2) = exp( π‘2 ) = exp(π‘).

Thus the path integral is β« 1 π (π(π‘))β£β£πβ²(π‘)β£β£ ππ‘

=

0

β«

1

exp(π‘)2π‘ππ‘. 0

The integral (or anti-derivative) of exp(π‘)π‘ is just exp(π‘)(π‘ β 1), and thus we have 1 β« 1 π (π(π‘))β£β£πβ²(π‘)β£β£ ππ‘ = 2 exp(π‘)(π‘ β 1) = 2. 0 0

Question: Section 7.2: #1b: Let πΉ (π₯, π¦, π§) = (π₯, π¦, π§). Evaluate the integral of πΉ along the path π(π‘) = (sin π‘, 0, cos π‘) for 0 β€ π‘ β€ 2π. Solution: We have πβ² (π‘) = (cos π‘, 0, β sin π‘) , πΉ (π(π‘)) = πΉ (sin π‘, 0, cos π‘) = (sin π‘, 0, cos π‘). Thus the line integral is β« 2π πΉ (π(π‘)) β πβ² (π‘)ππ‘

=

0

=

β«

β«

1 0

(sin π‘, 0, cos π‘)(cos π‘, 0, β sin π‘)ππ‘ 2π

0ππ‘ = 0. 0

41

Question: Section 8.1: #3b: Verify Greenβs theorem for the disk with center (0, 0) and radius π and the functions π (π₯, π¦) = π₯ + π¦, π(π₯, π¦) = π¦. Solution: We have βπ βπ β = 0 β 1 = β1; βπ₯ βπ¦ thus

β« β« ( π·

βπ βπ β βπ₯ βπ¦

)

ππ₯ππ¦ =

β« β«

π·

β1ππ₯ππ¦ = βArea(π·);

of course, the area of the disk is ππ2 so this double integral is βππ2 . For the other part of Greenβs theorem, we note the boundary curve is π(π‘) = (π cos π‘, π sin π‘), 0 β€ π‘ β€ 2π (remember we must travel so that the region π· is on our left). Thus πβ² (π‘) = (βπ sin π‘, π cos π‘). Further, β β β β πΉ (π(π‘)) = πΉ (π cos π‘, π sin π‘) = (π cos π‘ + π sin π‘, π sin π‘), and hence β« β β β πΉ β πβ π

=

π

=

β«

2π

β«0 2π 0

=

β«

0

β β πΉ (π(π‘)) β πβ² (π‘)ππ‘ (π cos π‘ + π sin π‘, π sin π‘) β (βπ sin π‘, π cos π‘)ππ‘

2π

βπ2 sin2 π‘ππ‘.

We evaluated the sine-integral many ways, and found it equals π; one could also use trig identities and find sin2 π‘ = 1βcos(2π‘) . Thus the integral equals π times 2 2 βπ , which does match.

42