MA111 Tutorial Solutions Spring 2022 (PDF)
Document Details

Uploaded by DiplomaticMelodica7029
IIT Bombay
2022
null
MA111 TAs
Tags
Summary
This document provides tutorial solutions for MA111, specifically focusing on multiple integrals and vector analysis. Detailed solutions are given for various problems related to Riemann sums and integrability.
Full Transcript
MA111 Tutorial Solutions Spring 2022 by MA111 TAs Last updated : September 30, 2023 Contents 1 Tutorial Sheet 1 (Multiple Integrals) 1 2 Tut...
MA111 Tutorial Solutions Spring 2022 by MA111 TAs Last updated : September 30, 2023 Contents 1 Tutorial Sheet 1 (Multiple Integrals) 1 2 Tutorial Sheet 2 (Multiple integrals) 13 3 Tutorial Sheet 3 (I. Multiple integrals and change of variables) 27 4 Tutorial Sheet 3 (II. Vector analysis and line integrals) 31 5 Tutorial Sheet 4 (Line integrals and conservative fields) 39 6 Tutorial Sheet 5 (Green’s theorem) 44 7 Tutorial Sheet 6 (I. Surface and surface integrals) 52 8 Tutorial Sheet 6 (II. Application of Stokes theorem) 54 9 Tutorial Sheet 6 (III. Application of Gauss divergence theorem) 56 Tutorial Sheet 1 (Multiple Integrals) 1. (a) Let R := [0, 1] × [0, 1] and f(x, y) := [x] + [y] + 1 for all (x, y) ∈ R, where [u] is the greatest integer less than equal to u, for any u ∈ R. Using the definition of integration over rectangles, show that f is integrable over R. Also, find its value. (b) Let R := [0, 1] × [0, 1] and f(x, y) := (x + y)2 for all (x, y) ∈ R. Show that f is integrable over R and find its value using Riemann sum. (c) Let R := [a, b] × [c, d] be a rectangle in R2 and let f : R → R be integrable. Show that |f| is also integrable over R. (d) Check the integrability of the function f over [0, 1] × [0, 1]; 1 if both xand y are rational numbers f(x, y) := −1 otherwise What do you conclude about the integrability of |f|? Sol. (a) We have, 1 x ∈ [0, 1), y ∈ [0, 1) 2 x = 1, y ∈ [0, 1) f(x, y) = 2 x ∈ [0, 1), y = 1 3 x = 1, y = 1 Thus f is bounded on R. Let Pn := {(xi , yj ) | i ∈ {0, 1... n} , j ∈ {0, 1... n}} be a regular partition of R. Then we have i i+1 j j+1 Rij := , × , ∀ i, j ∈ {0, 1... n − 1} n n n n Clearly, L(f, Pn ) = 1 Let us compute U(f, Pn ). X n−2 n−2 X 1 X n−1 n−1 X 2 X n−1 n−1 X 2 1 U(f, Pn ) = 2 + 2 + − n n n2 n2 i=0 j=0 i=n−1 j=0 j=n−1 i=0 2 (n − 1) 2n 1 = +2× 2 − 2 n2 n n 2 =1+ n Thus, 2 U(f, Pn ) − L(f, Pn ) = n Given any ϵ > 0, choose n = ⌊ ϵ2 ⌋ + 1. Thus, we see that U(f, Pn ) − L(f, Pn ) < ϵ By the Riemann Condition, we are done. 1 (b) A function f : R → R is said to be integrable over R if it is Darboux or Riemann integrable over R [lecture 1, slide 17]. Observe that f(x, y) = (x + y)2 ≤ 22 = 4 ∀ (x, y) ∈ R, hence f is bounded on R. This allows us to use the following theorem [lec. 1, sl. 18]: f : R → R is Riemann integrable if and only if the Riemann sum X n−1 n−1 X S(f, Pn , t) = f(tij )∆ij , i=0 j=0 where Pn is the sequence of regular partitions of R, tends to the same limit S ∈ R as n → ∞ for any choice of tag t, and ∆ij = (xi+1 − xi )(yi+1 − yi ). That f is integrable on R can be concluded directly from the fact that it is continuous; the value of the integral is then simply given by the limit S. The computation is essentially the same as the examples done in class [lec. 1, sl. 19, 20]. h j j+1 i i j The partitions Pn are given by the subrectangles ni , i+1 n × n , n and tags t = t ij = , n n for i, j = 0, 1,... , n − 1. The Riemann sum is then given by X n−1 n−1 X X n−1 n−1 X i j 2 1 S(f, Pn , t) = f(tij )∆ij = + n n n2 i=0 j=0 i=0 j=0 1 X n−1 n−1 X 2 1 X X 2 n−1 n−1 i + j2 + 2ij = (i + j) = n4 n4 i=0 j=0 i=0 j=0 1 X 2 X X n−1 X X n−1 X n−1 n−1 n−1 n−1 = 4 i · 1+ 1· j2 + 2 i· j n i=0 j=0 i=0 j=0 i=0 j=0 1 (n − 1)(n)(2n − 1) (n − 1)(n)(2n − 1) (n − 1)(n − 2) (n − 1)(n − 2) = 4 n+n +2 n 6 6 2 2 7 3 3 10 12 = − − − + 6 n 2n2 3n3 n4 7 One can check that S(f, Pn , t) → 7 6 = S. Hence the value of the integral is. 6 (c) Given an integrable function f : R → R, we wish to show that g := |f| must also be integrable over R. First note that for any (x1 , y1 ), (x2 , y2 ) ∈ R, |g(x1 , y1 ) − g(x2 , y2 )| = |f(x1 , y1 )| − |f(x2 , y2 )| ≤ |f(x1 , y1 ) − f(x2 , y2 )|. Further, f must be bounded on R (by definition of integrability [lecture 1, slide 17]). Thus we may use the following theorem, also called the Riemann condition [lec. 1, sl. 13]: A bounded function f : R → R is Riemann integrable if and only if for every ϵ > 0 there is a partition Pϵ of R such that |U(f, Pϵ ) − L(f, Pϵ )| < ϵ, where U(f, Pϵ ), L(f, Pϵ ) are the upper and lower double sums with respect to the parition Pϵ (respectively). Fix an ϵ > 0. Then from the above theorem, we have a partition Pϵ such that U(f, Pϵ ) − L(f, Pϵ ) < ϵ, i.e. X n−1 m−1 X X n−1 m−1 X X n−1 m−1 X Mij (f)∆ij − mij (f)∆ij < ϵ =⇒ [Mij (f) − mij (f)]∆ij < ϵ, i=0 j=0 i=0 j=0 i=0 j=0 2 where Mij (f), mij (f) denote the supremum and infimum of f over the rectangle Rij of the partition. Since |g(x) − g(y)| ≤ |f(x) − f(y)|, we have Mij (g) − mij (g) ≤ Mij (f) − mij (f). This gives us X n−1 m−1 X X n−1 m−1 X U(g, Pϵ ) − L(g, Pϵ ) = [Mij (g) − mij (g)]∆ij ≤ [Mij (f) − mij (f)]∆ij. i=0 j=0 i=0 j=0 Since the quantities on the right and left are both positive, we have |U(g, Pϵ ) − L(g, Pϵ )| < ϵ. Noting that the choice of ϵ was arbitrary, we have shown that for every ϵ > 0, there is a partition Pϵ such that |U(g, Pϵ ) − L(g, Pϵ )| < ϵ. Once again invoking the Riemann condition, we conclude that g = |f| is integrable. (d) Take any partition of [0, 1] × [0, 1]. As we know, Q × Q is a dense subset of R2 , so in any subrectangle there will be a point (x, y) with both coordinates rational, and also there will be point inside the subrectangle with both coordinates irrational. Observe that the value of f at those points is 1 and −1 respectively which is also the inf and sup on that rectangle. Thus the uppersum U(f, P) for any partition is X (1) ∆ij = 1. i,j And the lower sum L(f, P) is X (−1) ∆ij = −1. i,j Which shows that inf U(f, P) ̸= sup L(f, P), or the function isn’t Riemann integrable, but |f| is the constant function 1 which is trivially integrable. 3 2. π (a) Sketch the solid bounded by the surface z = sin y, the planes x = −1, x = 0, y = 0 and y = and the xy 2 plane and compute its volume. RR p (b) The integral R 9 − y2 dxdy, where R = [0, 3] × [0, 3], represents the volume of a solid. Sketch the solid and find its volume. Sol. The solids are sketched in Fig. 1. p (a) z = sin y (b) z = 9 − y2 Figure 1: Figure showing the solid surfaces for question 2 Z Z Z (a) Volume = sin ydydx = 1dx = 1 [−1,0] [0,π/2] [−1,0] Z Z Z p 9π 27π (b) Volume = 9 − y2 dydx = dx = [0,3] [0,3] [0,3] 4 4 4 3. Consider the function f : [0, 1] × [0, 1] → R defined as 1 − 1/q if x = p/q where p, q ∈ N are relatively prime and y is rational, f(x, y) = 1 otherwise. Show that f is integrable but the iterated integrals do not always exist. Sol. Clearly f(x, y) ∈ [0, 1] ∀ (x, y) ∈ R = [0, 1] × [0, 1]. Take R ∋ ϵ > 0. For some y, define a set S, S = {x | 1 − f(x, y) ≥ ϵ, 0 ≤ x ≤ 1, 0 ≤ y ≤ 1, y ∈ Q} p Thus, S has all rational numbers 0 ≤ q ≤ 1 satisfying q ≤ ϵ1 , q ∈ N. (Note: S is a finite set, with a finite number of elements, say L.) Consider a partition Pϵ = {x0 , x1 , x2 ,... , xm } × {y0 , y1 , y2 ,... , yn } with x0 = y0 = 0 and xm = yn = 1 such that, ϵ xj − xj−1 < ∀j ∈ {1, 2, 3,... , m} L ϵ yk − yk−1 < ∀k ∈ {1, 2, 3,... , n} L ϵ =⇒ ∥Pϵ ∥ < L We define the following for brevity: Pϵjk = [xj−1 , xj ] × [yk−1 , yk ] ∆jk = (xj − xj−1 )(yk − yk−1 ) mjk = inf f(x, y) (x,y)∈Pϵjk Mjk = sup f(x, y) (x,y)∈Pϵjk 1 Mjk = 1 ∀ (j, k) since between any 2 numbers, there are infinitely many irrational numbers. mjk = 1 − q for some q ∈ N. Thus, X m X n X m Xn U(f, Pϵ ) − L(f, Pϵ ) = Mjk ∆jk − mjk ∆jk j=1 k=1 j=1 k=1 X m X n =⇒ U(f, Pϵ ) − L(f, Pϵ ) = (Mjk − mjk ) ∆jk j=1 k=1 The sum is now split into two parts: one containing at least one point with x ∈ S and the other with x ∈ / S: X m X n X m X n U(f, Pϵ ) − L(f, Pϵ ) = (Mjk − mjk ) ∆jk + (Mjk − mjk ) ∆jk j=1 k=1 j=1 k=1 S∩[xj−1 ,xj ]̸=ϕ S∩[xj−1 ,xj ]=ϕ 1 1 In the first part, mjk ≤ 1 − q and thus Mjk − mjk ≥ q = ϵ. Also, note that Mjk − mjk ≤ 1. X m X n X m X n ϵ =⇒ (Mjk − mjk ) ∆jk ≤ ∆jk ≤ 2L × 1 ≤ 2ϵ L j=1 k=1 j=1 k=1 S∩[xj−1 ,xj ]̸=ϕ S∩[xj−1 ,xj ]̸=ϕ since there are at most 2L number of Lϵ × 1 rectangles which are proper subset of Pϵjk for some (j, k) such that S ∩ [xj−1 , xj ] ̸= ϕ. For the second part, we have mjk > 1 − q1 and thus, Mjk − mjk < q1 = ϵ. The upper limit of the summation of ∆jk over all the values of j and k is the area of R = [0, 1] × [0, 1] which is 1. X m X n X m X n (Mjk − mjk ) ∆jk ≤ ϵ∆jk ≤ ϵ j=1 k=1 j=1 k=1 S∩[xj−1 ,xj ]̸=ϕ S∩[xj−1 ,xj ]̸=ϕ 5 Consequently, U(f, Pϵ ) − L(f, Pϵ ) ≤ 2ϵ + ϵ = 3ϵ 3ϵ can be made arbitrarily small. Thus f(x, y) is integrable on R = [0, 1] × [0, 1]. Before we move to the next part, we will introduce two functions here: Thomae’s function is a real-valued function of a real variable that can be defined as: 1 p x= q , p ∈ Z, q ∈ Np and q are coprime T(x) := q 0 x∈ /Q Dirichlet function is a cousin of Thomae’s function and can be defined as: 1 x∈Q 1Q (x) := 0 x∈ /Q Now, we calculate the iterated integrals. Case I: Define Φy (x) := f(x, y) for some fixed y. 1− 1 q x= qp ∈ Q, p, q ∈ N y∈Q Φy (x) = 1 otherwise 1 y∈ /Q Thus, for a given y, Φy (x) is either the constant function 1 or a function that can be derived from Thomae’s function in x, both of which we know are integrable for x ∈ [0, 1]. This yields, Z 1 Z1 1 − T(x)dx y ∈ Q Φ (x)dx = Z01 y 0 1dx y∈/Q 0 Utilizing the fact the integral of T(x) over any sub-interval of [0, 1] is 0 (Justify), we can write, Z1 Φy (x)dx = 1 0 Consequently, Z1 Z1 Z1 Z1 ! Z1 y f(x, y)dxdy = Φ (x)dx dy = 1dy = 1 0 0 0 0 0 Case II: Define Φx (y) := f(x, y) for some fixed x. 1 − kx y∈Q p x= ∈ Q, p, q ∈ N Φx (y) = 1 y∈ /Q q 1 otherwise where kx = q1. Observe that for a given x, Φx (y) is either the constant function 1 or 1 − 1Q (y). However, we know that 1Q (y), y ∈ [0, 1] is not integrable (Justify). Therefore the iterated integral does not exist. 4. Consider the function f : [0, 1] × [0, 1] 7→ R defined as 1 if 0 < y < x < 1 x2 f(x, y) = − 1 if 0 < x < y < 1 y2 0 otherwise 6 Is f integrable over the rectangle? Do both iterated integrals exist? If they exist, do they have the same value? Sol. Observe that f is not bounded in R = [0, 1] × [0, 1] near x = 0 and y = 0. Thus, we can immediately claim that f is not integrable in R. However, this does not imply that the iterated integrals do not exist. Evaluating iterated integrals: Z1 For y = 0, f(x, y) = 0 and thus f(x, y) dx = 0. x=0 For y ∈ (0, 1], Z1 Zy Z1 f(x, y) dx = f(x, y) dx + f(x, y) dx x=0 x=0 x=y. Then, Z1 Zy Z1 −1 1 f(x, y) dx = dx + dx x=0 x=0 y2 x=y x2 Z1 −1 1 =⇒ f(x, y) dx = + − 1 = −1 x=0 y y Thus, define, Z1 0 for y = 0 A(y) = f(x, y) dx = x=0 −1 for y ∈ (0, 1) This function is bounded and has a single point of discontinuity, and hence Riemann integrable. Z 1 Z 1 ! Z 1 f(x, y) dx dy = A(y) dy = −1 y=0 x=0 y=0 Z1 Z1 ! Similarly, let’s evaluate the iterated integral: f(x, y) dy dx by repeating the above procedure. x=0 y=0 7 Z1 For x = 0, f(x, y) = 0 and thus f(x, y) dy = 0. y=0 For x ∈ (0, 1], Z1 Zx Z1 f(x, y) dy = f(x, y) dy + f(x, y) dy y=0 y=0 y=x Zx Z1 1 −1 = 2 dy + dy y=0 x y=x y2 1 1 = +1− x x =1 Thus, define Z1 0 for x = 0 B(x) = f(x, y) dy = y=0 1 for x ∈ (0, 1) As discussed above, this function is Riemann integrable (Why?). Hence, the iterated integral: Z1 Z1 ! Z1 f(x, y) dy dx = B(x) dx = 1 x=0 y=0 y=0 Clearly both are iterated integral are unequal. 8 5. For the following, write an equivalent iterated integral with the order of integration reversed and verify if their values are equal. R 1 R 1 (a) 0 0 ln[(x + 1)(y + 1)]dx dy R 1 R 1 (b) 0 0 (xy)2 cos(x3 )dx dy. Sol. (a) Z1 Z1 ! Z1 ln[(x + 1)] + ln[(y + 1)]dx dy = [(2 ln 2 − 1) + ln[(y + 1)]]dy 0 0 0 = 4 ln 2 − 2 Since the area considered is a square, interchanging the variables does not affect the limits, Z1 Z1 ! Z1 ln[(x + 1)] + ln[(y + 1)]dy dx = [(2 ln 2 − 1) + ln[(x + 1)]]dx 0 0 0 = 4 ln 2 − 2 (b) We compute the integral in the given order as follows: Z Z 1 1 ! Z 1 Z1 ! (xy)2 cos(x3 )dx dy = y2 x2 cos(x3 )dx dy 0 0 0 0 Z1 Z1 ! 1 2 3 3 = y cos(x )d(x ) dy 0 3 0 Z1 1 2 = y sin(1) dy 0 3 11 = sin(1) 33 sin(1) = 9 Now to calculate the iterated integral with reversed order, first note that since it is on [0, 1]x[0, 1] the limits of the integral will remain the same. Z1 Z1 ! Z1 Z1 ! 2 3 2 2 3 (xy) cos(x )dx dy = y x cos(x )dy dx 0 0 0 0 Z1 1 2 = x cos(x3 )dx 0 3 Z1 11 = cos(x3 )d(x3 ) 0 3 3 11 = sin(1) 33 sin(1) = 9 We see that the iterated integrals have the same values. 9 6. (a) Let R = [a, b] × [c, d] and f(x, y) = ϕ(x)ψ(y) for all (x, y) ∈ R where ϕ(x) is continuous on [a, b] and ψ(y) is continuous on [c, d]. Show that ZZ Zb ! Z d ! f(x, y)dxdy = ϕ(x)dx ψ(y)dy R a c RR (b) Compute [1,2]×[1,2] xr ys dxdy for r ≥ 0 and s ≥ 0. RR (c) Compute [0,1]×[0,1] xyex+y dxdy. Sol. (a) We will proceed in this problem by using the definition of a Riemann Sum. Let P be a tagged partition with the tags as (αi , βj ) where αi ∈ [xi−1 , xi ] and βj ∈ [yj−1 , yj ]. We have, X n X n S(P, f, t) = f(x, y)∆ij i=1 j=1 X n X n = ϕ(αi )ψ(βj )∆ij i=1 j=1 X n X n = [ϕ(αi )(xi − xi−1 )][ψ(βj )(yj − yj−1 ] i=1 j=1 ! X n X n = ϕ(αi )(xi − xi−1 ) ψ(βj )(yj − yj−1 ) i=1 j=1 We know that f, ϕ and ψ are integrable in their respective domains (Why?). We know that as ||P|| → 0, the respective norms of the partitions along the x and y directions go to zero as well. Thus, the two sums in single variables approach the respective integrals as the double sum approaches the double integral. Hence, we have proved, ZZ Z ! Z b ! d f(x, y)dxdy = ϕ(x)dx ψ(y)dy R a c (b) We will use the result we just proved. We have ϕ(x) = xr and ψ(y) = ys. Thus, we can see that ZZ (2r+1 − 1)(2s+1 − 1) xr ys dxdy = [1,2]×[1,2] (r + 1)(s + 1) (c) Again, we will use the result from part (a). We have ϕ(x) = xex and ψ(y) = yey. Thus, we can show that ZZ xyex+y dxdy = 1 [0,1]×[0,1] 10 7. Evaluate the following integrals ZZ 1. (x + 2y)2 where R = [−1, 2] × [0, 2] R ZZ x 2. xy + dxdy where R = [1, 4] × [1, 2] R y+1 Sol. (a) R = [−1, 2] × [0, 2], we need to evaluate ZZ (x + 2y)2 dxdy R Let it the integral be I ZZ I= (x2 + 4y2 + 4xy)dxdy (Expanding (x + 2y)2 ) Z ZR ZZ ZZ 2 2 = x dxdy + 4y dxdy + 4xydxdy (Seperating the terms) R R R Z 2 Z2 ! Z Z ! 2 Z 2 2 Z2 ! 2 2 = x dx dy + dx 4y dy + 4xdx ydy 0 −1 0 −1 0 −1 Z2 Z2 Z2 2 = 3dy + 12y dy + 6dy 0 0 0 = 6 + 32 + 12 = 50 (b) R = [1, 4] × [1, 2], we need to evaluate ZZ x xy + dxdy. R y+1 Now it is easy to observe that ZZ ZZ x 1 xy + dxdy = x y+ dxdy R y+1 R y+1 Z4 ! Z2 ! 1 = x dx × y+ dy 1 1 y+1 15 3 3 = × + ln ≈ 14.29 2 2 2 11 8. Consider the function f : [−1, 1] × [−1, 1] x + y if x2 + y2 ≤ 1 f(x, y) = 0 otherwise Determine the sets of points at which f is discontinuous. Is f integrable over [−1, 1] × [−1, 1]? Sol. We will split the domain into three sets E1 , E2 and E3. On set E1 = {(x, y) : x2 + y2 < 1}, we have the function f(x, y) = x + y which is a continuous function. But on the set E2 = {(x, y) : x2 + y2 = 1}, if we approach any point in E2 from E1 , we get f(x, y) = x + y. Now if we approach from E3 = R − (E1 ∪ E2 ), we get f(x, y) = 0 which is clearly discontinuous except when x + y = 0 on E2 i.e. x = ± √12 and y = ∓ √12 ,we have the continuity, since the function goes to zero at these two points. So f(x, y) is discontinuous on E2 − √1 , − √1 , − √1 , √1 2 2 2 2 Recall the concept of content zero. We apply it here and state that the function is integrable over R. ZZ ZZ f(x, y)dxdy = f(x, y)dxdy R E1 ZZ = (x + y)dxdy E1 ZZ ZZ = xdxdy + ydxdy E1 E1 √ Z 1 Z 1−y2 Z 1 Z √1−y2 = √ xdxdy + √ ydxdy −1 − 1−y2 −1 − 1−y2 =0 12 Tutorial Sheet 2 (Multiple integrals) 1. For the following, write an equivalent iterated integral with the order of integration reversed: Z 1 " Z ex # (a) dy dx 0 1 Z 1 " Z √y # (b) √ f(x, y)dx dy 0 − y Sol. y y 3 y = ex 1 √ √ x=− y x= y 2 1 0 x −1 0 1 x 0 1 (a) (b) Figure 2: Regions of integration for question 1 (a) By Fubini’s theorem, the iterated integrals are equal, Hence we can reverse the order of integration and obtain an equivalent integral, Z 1 "Z ex # Z e "Z 1 # dy dx = dx dy. 0 1 1 ln y (b) The reversed equivalent integral is, Z 1 " Z √y # Z 1 "Z 1 # √ f(x, y)dx dy = f(x, y)dy dx. 0 − y −1 x2 13 2. Evaluate the following integrals Z π Z π sin(y) (a) dy dx 0 x y Z "Z1 1 # (b) x2 exy dx dy 0 y Z2 (c) (tan−1 (πx) − tan−1 (x))dx 0 Sol. (a) Note that the integral is difficult to evaluate in the order given. So we change the order. Figure 2(a): Region of integration for question 2(a) From the figure we get the limits as 0 ≤ x ≤ y and 0 ≤ y ≤ π.Thus, Z π Z y sin(y) I= dx dy 0 0 y Zπ " x=y # sin(y) = (x) dy 0 y x=0 Zπ = sin(y) dy 0 = 2 14 Figure 2(b): Region of integration for question 2(b) (b) We again reverse the order of integration. From figure 2(b) we can see the limits can also be written as 0 ≤ y ≤ x and 0 ≤ x ≤ 1.Thus, Z 1 Z x I= x2 exy dy dx 0 0 Z1 2 = xex − x dx 0 2 1 ex − x2 = 2 0 e−2 = 2 15 1 (c) We are to compute the following integral: Z2 tan−1 πx − tan−1 x dx. 0 This is a single variable Riemann integral, which is not easy to compute directly. We convert it into a double integral and compute the double integral using Fubini, hoping that that’ll be easier. Now, note that: Z2 Z 2 Z πx 1 tan−1 πx − tan−1 x dx = 2 dy dx 0 0 x 1+y This a double integral over the region D := {(x, y) : 0 ≤ x ≤ 2, x ≤ y ≤ πx}. Now, note that this region D is the union of two regions D1 and D2 where y D1 := (x, y) : 0 ≤ y ≤ 2, ≤ x ≤ y , and π y D2 := (x, y) : 2 ≤ y ≤ 2π, ≤x≤2. π Note that D1 ∩ D2 is of (two-dimensional) content zero. Therefore, we get that ZZ ZZ ZZ f= f+ f, D D1 D2 −1 Where f : D → R is defined as f(x, y) := 1 + y2. Thus the required integral is given by Z2 Zy ! Z 2π Z 2 ! 1 1 I= 2 dx dy + 2 dx dy 0 y/π 1 + y 2 y/π 1 + y Z2 Z 2π 1 y 2 1 2 y = 1− dy + dy − dy π 0 1 + y2 2 1 + y 2 π 2π 1 + y2 1 1 2 2π 1 2π ln 1 + y2 0 + 2 tan−1 y 2 − ln 1 + y2 2 = 1− 2 π 2π 1 + 4π2 ln 5 1 1 + 2 tan−1 2π − tan−1 2 − = 1− ln 2 π 2π 5 1 thanks to integral daddy 16 ZZ 2 3. Find f(x, y)d(x, y) where f(x, y) = ex and D is the region bounded by the lines y = 0, x = 1 and y = 2x D Sol. We can solve this by looking at one particular iterated integral. We can do this because the function is well behaved (continuous) and both the iterated integrals exist. y 2.5 2 y = 2x 1.5 1 0.5 x 0.2 0.4 0.6 0.8 1 1.2 1.4 Figure 1: Region of integration for question 3 Note that the integral, Z1 2 ex dx α (0 ≤ α ≤ 1) does not exist in closed form in terms of α. We therefore cannot evaluate the integral, Z2 Z1 2 ex dxdy y 0 2 Thus, our only option is to evaluate the other iterated integral. We have: ZZ Z 1 Z 2x Z1 Z1 2 2 2 ex d(x, y) = ex dydx = 2xex dx = eu du = e − 1 D 0 0 0 0 Hence, we have obtained, ZZ 2 ex d(x, y) = e − 1 D 17 4. (a) Compute the volume of the solid enclosed by the ellipsoid: x2 y2 z2 2 + 2 + 2 = 1. a b c where a, b, c are real numbers. (b) Find the volume of the region under the graph of f(x, y) = ex+y over the region D = (x, y) ∈ R2 | |x| + |y| ≤ 1. Sol. (a) We defined D, x2 y2 z2 D= (x, y, z) ∈ R3 + + ≤1 a 2 b2 c 2 We can compute this volume easily by changing the variables from (x, y, z) to (u, v, w). We will scale the axes to make the region a sphere. x = au y = bv z = cw The Jacobian J for the above transformation is, a 0 0 J = 0 b 0 0 0 c Note that ∥J∥ = abc. Thus, ZZZ ZZZ dzdydx = abc dwdvdu D D′ where D ′ is the new volume we have to integrate over. Notice that, D′ = (u, v, w) ∈ R3 u2 + v 2 + w 2 ≤ 1 This is simply a unit sphere. Therefore, ZZZ 4π dwdvdu = D′ 3 Thus, ZZZ ZZZ 4πabc dxdydz = abc dudvdw = D D′ 3 (b) Observe that the volume will be ZZ ex+y dxdy D where the region D is given by (notice that the region has been written out differently. Justify), (x, y) ∈ R2 | −1 ≤ x + y ≤ 1, −1 ≤ y − x ≤ 1 18 Use the change of variables, u+v x= 2 u−v y= 2 The Jacobian J corresponding to this transformation will be, 1 1 J= 2 2 − 12 21 1 =⇒ |J| = 2 Therefore, we can now write, ZZ Z1 Z1 1 u ex+y dxdy = e dudv D −1 −1 2 1 = e− e 5. Evaluate the integral ZZ 2 (x − y) sin2 (x + y)d(x, y) D where D is the parallelogram with vertices at (π, 0), (2π, π), (π, 2π) and (0, π). Sol. The region D is given by, (x, y) ∈ R2 | π ≤ x + y ≤ 3π and − π ≤ y − x ≤ π Use the change of variables, u+v x= 2 u−v y= 2 ZZ Z π Z 3π 1 2 2 =⇒ (x − y)2 sin2 (x + y)d(x, y) = v sin ududv D −π π 2 Z π Z 3π ! 1 2 2 = v dv sin (u)du 2 −π π π3 = ·π 3 π4 = 3 19 6. Let D be the region in RR the first quadrant of the xy-plane RR bounded by the hyperbolas xy = 1, xy = 9 and the lines y = x, y = 4x. Find D dxdy by transforming it to D∗ dudv, where x = uv , y = uv, v > 0. Sol. We have, u x= v y = uv Thus, note that, √ u= xy r y v= x Define, u h1 (u, v) := v h2 (u, v) := uv Then we have the Jacobian, ∂h1 ∂h1 J(u, v) := ∂u ∂v ∂h2 ∂h2 ∂u ∂v 1 u v − v2 = v u u =⇒ |J| = 2 v We define D∗ in the following manner: D∗ = {(u, v) | u ∈ [1, 3], v ∈ [1, 2]} Notice that D∗ corresponds to the region D given in the question, but in the transformed coordinates. We can call D∗ the transformed region of integration. Let, f∗ : D∗ → R u f∗ (u, v) := 2 v We are now tasked to compute the integral, ZZ f∗ (u, v)dudv D∗ Note that f∗ is of the form ϕ(u)ψ(v), where ϕ and ψ are continuous, and hence integrable functions on their respective domains. Moreover f∗ is continuous on D∗ and hence integrable on D∗. Recall Tutorial One, question 6(a). Thus, ZZ Z2 ! Z 3 ! ∗ 1 f (u, v)dudv = dv 2udu D∗ 1 v 1 = 8 log 2 A picture of D is given below. Now contrast this with D∗. 20 Figure 1: Region of integration D 7. Find ZZ 2 +y2 ) lim e−(x d(x, y) r→∞ D(r) where D(r) equals: (a) (x, y) : x2 + y2 ≤ r2 (b) (x, y) : x2 + y2 ≤ r2 , x ≥ 0, y ≥ 0 (c) {(x, y) : |x| ≤ r, |y| ≤ r} (d) {(x, y) : 0 ≤ x ≤ r, 0 ≤ y ≤ r} Sol. (a) As should be obvious from the form of D(r), we will utilize polar coordinates here. On converting the integral from the Cartesian to the polar form, we get, ZZ Z 2π Z r −(x2 +y2 ) 2 lim e d(x, y) = lim e−R RdRdθ r→∞ D(r) r→∞ 0 0 Zr 2 = −π lim e−R d(−R2 ) r→∞ 0 2 = π lim 1 − e−r r→∞ = π 21 (b) Again, we utilize the polar coordinates here. The integral will be the same as before except for the difference in the limits of θ - since x ≥ 0, y ≥ 0, θ will vary from 0 to π2 , ZZ Z π2 Z r −(x2 +y2 ) 2 lim e d(x, y) = lim e−R RdRdθ r→∞ D(r) r→∞ 0 0 π = 4 (c) Consider the following integrals: Z 2π Z r√2 2 I1 (r) = e−R RdRdθ 0 0 Z 2π Z r 2 I2 (r) = e−R RdRdθ 0 0 We can now write (why?), ZZ 2 +y2 ) I1 (r) > e−(x d(x, y) > I2 (r) D(r) We state the sandwich theorem below, Let I be an interval having the point a as a limit point. Let g, f and h be functions defined on I, except possibly at a itself. Suppose that for every x in I not equal to a, we have, g(x) ≤ f(x) ≤ h(x) and also suppose that, lim g(x) = lim h(x) = L x→a x→a Then limx→a f(x) = L. It is clear that limr→∞ I1 (r) = limr→∞ I2 (r) = π. If we now make use of the sandwich theorem, we can write, ZZ 2 2 lim e−(x +y ) d(x, y) = π r→∞ D(r) RR 2 +y2 ) π (d) limr→∞ D(r) e−(x d(x, y) = (Justify). 4 22 8. Find the volume common to the cylinders x2 + y2 = a2 and x2 + z2 = a2 using double integral over a region in the plane. (Hint: Consider the part in the first octant.) Sol. Figure 1: Region of integration for volume in question 8 (a = 1 taken for representation) Notice that the volume of consideration is the same in each of the octants. We will calculate the integral over the first octant where x, y, z ≥ 0 and thereby get the total volume. The region of integration in the x − y plane is given by a circular disc centered at the origin√and having radius a. The ‘height’ (along the z-axis) of the volume (in the first octant) at a point (x, y) is z = a2 − x2. Thus we may write the integral as, Z a Z √a2 −x2 p ! Za a3 2 a2 − x2 dx = a2 · a − = a3. V= 2 2 a − x dy dx = 0 0 0 3 3 16 3 Hence we the the total common volume (over all octants) will be, = 8 · 23 a3 = a. 3 23 9. Find the volume of the solid that lies under the paraboloid z = x2 + y2 above the region x2 + y2 = 2x in the x-y plane. Sol. Let the volume be V. We can write, ZZ ZZ V= zdydx = (x2 + y2 )dydx D D 2 2 2 where D = (x, y) : (x − 1) + y ≤ 1, (x, y) ∈ R Make the substitutions x = 1 + r cos θ, y = r sin θ. This gives, ZZ V= (r + r3 + 2r2 cos θ)drdθ D′ where D = {(r, θ) : 0 ≤ r ≤ 1, 0 ≤ θ ≤ 2π}. ′ Z 2π Z 1 V= (r + r3 + 2r2 cos θ)drdθ 0 0 Z 2π 3 2 cos θ 3π = + dθ = 0 4 3 2 10. Express the solid D = (x, y, z) | p x2 + y2 ≤ z ≤ 1 as {(x, y, z) | a ≤ x ≤ b, ϕ1 (x) ≤ y ≤ ϕ2 (x), ξ1 (x, y) ≤ z ≤ ξ2 (x, y)}. Sol. Figure 1: Solid D represented using bounding surfaces √ Since x2 + y2 ≤ z ≤ 1, we have that x2 + y2 ≤ 1 =⇒ |y| ≤ 1 − x2 , and hence x2 ≤ 1, which gives us p p |x| ≤ 1. Thus we may write D in the desired form as p p p (x, y, z) | −1 ≤ x ≤ 1, − 1 − x2 ≤ y ≤ 1 − x2 , x2 + y2 ≤ z ≤ 1. 24 11. Evaluate Z √2 Z √2−x2 Z2 ! ! I= x dz dy dx 0 0 x2 +y2 Sketch the region of integration and evaluate the integral by expressing the order of integration as dxdydz. Sol. Figure 1: Region of integration for volume in question 11 Z √2 "Z √2−x2 Z2 ! # I= x dz dy dx 0 0 x2 +y2 Z2 Z z " √ Z √z−y2 ! # = x dx dy dz 0 0 0 Z2 "Z √ z # z − y2 = dy dz 0 0 2 Z2 √ √ 3! z z 1 z = − · dz 0 2 2 3 Z2 √ √ z z z z = − dz 0 2 6 Z2 3 z2 = dz 0 3 √ 8 2 =. 15 25 12. Using suitable change of variables, evaluate the following: ZZZ (a) I = (z2 x2 + z2 y2 )dxdydz D where D is the cylindrical region x2 + y2 ≤ 1 bounded by −1 ≤ z ≤ 1. ZZZ 3 (b) I = exp(x2 + y2 + z2 ) 2 dxdydz D over the region enclosed by the unit sphere in R3. Sol. (a) Perform the substitution, x = r cos θ y = r sin θ z=z As seen in class, the determinant of the Jacobian is r. Thus, Z 2π Z 1 Z 1 I= z2 r2 × rdzdrdθ 0 0 −1 1 2 = 2π × × 4 3 π = 3 (b) Perform the substitution, x = r cos θ sin ϕ y = r sin θ sin ϕ z = r cos ϕ As seen in class, the determinant of the Jacobian is r2 |sin ϕ|. Thus, we have, Z π Z 2π Z 1 3 I= er × r2 |sin ϕ|drdθdϕ 0 0 0 1 = 2 × 2π × (e − 1) 3 4π = (e − 1) 3 26 Tutorial Sheet 3 (I. Multiple integrals and change of variables) 1. Find the volume that lies under the paraboloid z = x2 + y2 , above the xy plane, and inside the cylinder x2 + y2 = 2x. Sol. Though the question is worded differently, the region is exactly the same as that of Question 9 in Tutorial sheet 2, hence the same solution follows. RR 2. Using a suitable change of variables, evaluate the integral D ydydx, where D is the region bounded by the x-axis and the parabolas y2 = 4 − 4x and y2 = 4 + 4x, y ≥ 0. Sol. We can use the following variables: x=1+u √ y= v Since D is the region given by, y2 − 4 4 − y2 D= (x, y) ≤x≤ ,y ≥ 0 4 4 On changing variables to u and v, the D is transformed to a new region D ′ , v −v D′ = (u, v) 0 ≤ v ≤ 4, −2≤u≤ 4 4 The Jacobian J is easy enough to find. |J| = 1 √ 2 ν (Verify). RR Thus the integral D ydydx can be computed as follows: ZZ ZZ √ 1 ydydx = v × √ dudv D D ′ 2 v Z 4 Z −v 4 1 = dudv 0 4 −2 2 v Z4 1 v = 2− dv 0 2 2 = 2 27 p 3. Use spherical coordinates to find the volume of the solid that lies above the cone z = x2 + y2 and below the sphere x2 + y2 + z2 = z. Sol. Since we are supposed to use spherical coordinates, we can write the change of coordinates as, x = r cos ϕ sin θ y = r sin ϕ sin θ z = r cos θ We define a region D as the following: r 2 1 p2 1 1 D := (x, y, z) x + y ≤ , x2 + y2 ≤ z ≤ + − x2 − y2 2 2 4 It should be clear that D is the region of which the volume we have to compute. We now represent D in spherical coordinates and call this transformed region D ′. π D ′ := (r, ϕ, θ) 0≤θ≤ , 0 ≤ ϕ ≤ 2π, 0 ≤ r ≤ cos θ 4 So the volume to be computed is simply, ZZZ V= r2 sin θdrdθdϕ D′ Z 2π Z π4 Z cos θ = r2 sin θdrdθdϕ 0 0 0 Z π4 cos3 θ = 2π sin θ dθ 0 3 Z π4 2π =− cos3 θd (cos θ) 3 0 π = 8 28 ZZZ 4. Use cylindrical coordinates to evaluate (x2 + y2 )dzdydx where W p p p W = {(x, y, z) ∈ R3 | −2 ≤ x ≤ 2, − 4 − x2 ≤ y ≤ 4 − x2 , x2 + y2 ≤ z ≤ 2}. Sol. We perform the following substitution to get the cylindrical coordinates, x = r cos θ y = r sin θ z=z Observe that the region W can be written as, W= (r cos θ, r sin θ, z) ∈ R3 0 ≤ θ < 2π, 0 ≤ r ≤ 2, r ≤ z ≤ 2 The given integral therefore becomes, Z 2π Z 2 Z 2 Z 2π Z 2 r3 dzdrdθ = r3 (2 − r)drdθ 0 0 r 0 0 32 = (2π) × 8 − 5 16π = 5 5. Describe the solid whose volume is given by the integral Z π/2 Z π/2 Z 2 ρ2 sin ϕdρdϕdθ, 0 0 1 and evaluate the integral. Sol. The limits of integral describe the thick spherical shell S shown in Fig. 1 such that, π π S := (ρ, θ, ϕ) 1 ≤ ρ ≤ 2, 0 ≤ ϕ ≤ ,0 ≤ θ ≤ 2 2 The integration is trivial, ZZZ Z π/2 ! Z π/2 ! Z2 ! 2 2 ρ sin ϕdρdϕdθ = sin ϕdϕ · dθ · ρ dρ S 0 0 1 π 7 =1× × 2 3 7π = 6 29 Figure 1: The region between the two spherical boundaries is the volume for question 5 ZZZ 1 6. Find 2 2 2 n dV where F is the region bounded by the spheres with the center the origin and F (x + y + z ) 2 radii r and R with 0 < r < R Sol. We will change the coordinates from Cartesian to spherical: x = r1 sin θ cos φ y = r1 sin θ sin φ z = r1 cos θ where θ ∈ [0, π), φ ∈ [0, 2π) and we are given r1 ∈ (r, R). So the integral after transformation is, ZZZ Z π Z 2π Z R 1 1 2 n dV = n r1 sin θdr1 dθdφ F (x2 + y2 + z2 ) 2 0 0 r r 1 Z 2π ! Z π Z R ! = dφ · sin θdθ · r2−n 1 dr1 0 0 r = 4π℘(n) where, R ln r n=3 ℘(n) = 1 3−n R3−n − r3−n otherwise 30 Tutorial Sheet 3 (II. Vector analysis and line integrals) 1. Let f, g be differentiable functions on R2. Show that i. ∇(fg) = f∇g + g∇f; ii. ∇fn = nfn−1 ∇f; iii. ∇(f/g) = (g∇f − f∇g)/g2 whenever g ̸= 0. Sol. i. We use the definition of the gradient to rewrite the expressions in terms of partial derivatives, and then use the previously established product rule of the partial derivative to prove these identities. ∂(fg) ∂(fg) ∇(fg) = i+ j ∂x ∂y ∂g ∂f ∂g ∂f = f + g i+ f + g j (∵ product rule for partial derivatives) ∂x ∂x ∂y ∂y ∂g ∂g ∂f ∂f =f i+ j +g i+ j ∂x ∂y ∂x ∂y = f∇g + g∇f ii. We use the result obtained in part i. above, and the principle of induction. Let P(n) denote the statement ∇fn = nfn−1 ∇f. Observe that P(1) is ∇f = ∇f, which is trivially true. Now suppose P(n) is true for some n ≥ 1, i.e. ∇fn = nfn−1 ∇f holds. Then we have, ∇fn+1 = ∇(fn f) = f∇fn + fn ∇f (∵ i.) n−1 n = fnf ∇f + f ∇f (∵ P(n) is true) n = (n + 1)f ∇f, which is the same as P(n + 1). Hence we have that P(n + 1) is true whenever P(n) is, for all n ≥ 1, and that P(1) is trivially true, which completes the proof for all positive integers n. By the result in iii. (which will be proved in the next part), we may similarly show that P(n − 1) is true whenever P(n) is, for any n ≤ 1; hence by the principle of induction we have that P(n) holds for non-positive integers as well. This completes the proof for all integers n. 1 iii. Taking h = g (which is possible when g ̸= 0), we have ∂h ∂h 1 ∂g 1 ∂g 1 ∇h = i+ j=− 2 i− 2 j = − 2 ∇g. ∂x ∂y g ∂x g ∂y g We now apply i. to the product fh, to obtain f 1 1 g∇f − f∇g ∇ = ∇(fh) = f∇h + h∇f = −f 2 ∇g + ∇f = g g g g2 31 2. Let a, b be two fixed vectors, r = xi + yj + zk and r2 = x2 + y2 + z2. Prove the following: 1. ∇(rn ) = nrn−2 r for any integer n 2. a · ∇( 1r ) = − a·r r3 3(a · r)(b · r) a · b 3. b · ∇ a · ∇( 1r ) = − 3 r5 r Sol. 1. Let n ∈ Z be given. Define f : R3 → R as n2 f(x, y, z) := x2 + y2 + z2 Thus, ∂f n−2 = nx x2 + y2 + z2 2 ∂x Similar will be the face for the other partial derivatives. Therefore, ∂f ∂f ∂f ∇rn = i+ j+ k ∂x ∂y ∂z = nrn−2 (xi + yj + zk) = nrn−2 r 2. Let n = −1. By the previously proved part, we have, 1 r ∇ =− 3 r r 1 a·r =⇒ a · ∇ =− 3 r r 3. Let a = ax i + ay j + az k. Using the result obtained in part 2., a · r 1 b·∇ a·∇ =b·∇ − 3 r r ax x + ay y + az z