UNIVERSITY OF DUBLIN XMA2E011 TRINITY COLLEGE Faculty of Engineering, Mathematics and Science school of mathematics SF Engineers SF MSISS SF MEMS Trinity Term 2011 Module 2E011, ???, ??? Final Exam ??? 9.30 — 11.30 Dr. Sergey Frolov ATTEMPT QUESTION 1 and FOUR OTHER QUESTIONS Log tables are available from the invigilators, if required. Non-programmable calculators are permitted for this examination,—please indicate the make and model of your calculator on each answer book used. Page 2 of 13 XMA2E011 1. (a) 14 marks. Solve the following initial value problem by the Laplace transform y 00 + 4 y = 8 u(t − π) − 8 δ(t − 3π) , y(0) = 2 , y 0 (0) = 0 . (b) 4 marks. Sketch the input function and the solution. Show the details of your work. Solution : (a) We denote Y (s) = L(y), and then using the formulae L(y 00 ) = s2 Y (s) − sy(0) − y 0 (0) , L(u(t − a)) = e−as , L(δ(t − a)) = e−as , s we get the algebraic equation (s2 + 4)Y (s) = 8 e−πs − 8e−3πs + 2s . s Solving the equation for Y , we get Y (s) = 8e−3πs 2s 8e−πs − + 2 . 2 2 s(s + 4) s + 4 s + 4 Then we represent 4 1 s = − 2 . + 4) s s +4 s(s2 Finally we use the formulas of the inverse Laplace transform 1 s −1 −1 L = 1, L = cos 2t , L−1 e−as F (s) = f (t − a)u(t − a) , 2 s s +4 to get y(t) = 2u(t − π) − 2 cos 2(t − π)u(t − π) − 4 sin 2(t − 3π)u(t − 3π) + 2 cos 2t 2 cos 2t if 0 < t < π = . (1) 2 if π < t < 3π 2 − 4 sin 2t if t > 3π (b) The plot of the input function and the solution is shown below. Page 3 of 13 XMA2E011 8 6 4 2 5 10 15 -2 2. Consider the function f (x, y, z) = p y 2 − sin(3x − 2z) , and the point P (2, −1, 3) . (a) 10 marks. Find a unit vector in the direction in which f increases most rapidly at the point P . (b) 1 marks. Sketch the projection of the vector onto the xy-plane (c) 3 marks. Find a unit vector in the direction in which f decreases most rapidly at the point P . (d) 1 marks. Sketch the projection of the vector onto the yz-plane (e) 3 marks. Find the rate of change of f at the point P in these directions. Show the details of your work. Solution: (a) f increases most rapidly in the direction of its gradient, so we compute 3 fx (2, −1, 3) = − , 2 fy (2, −1, 3) = −1 , fz (2, −1, 3) = 1 . Thus, the gradient and its magnitude are equal to √ 3 17 ∇f (2, −1, 3) = − , −1 , 1 , ||∇f (2, −1, 3)|| = ≈ 2.06155 . 2 2 Page 4 of 13 XMA2E011 Therefore, the unit vector in the direction of the gradient is 2 3 u= √ − , −1 , 1 . 2 17 (b) The projection of the vector onto the xy-plane is the vector 3 2 − , −1 , 0 ≈ (−0.728 , −0.485 , 0) . uxy = √ 2 17 (c) f decreases most rapidly in the direction opposite to its gradient, so the unit vector is 2 v = −√ 17 3 − , −1 , 1 . 2 (d) The projection of the vector onto the yz-plane is the vector 2 uxy = − √ (0 , −1 , 1) ≈ (0 , 0.485 , −0.485) . 17 (e) The rate of change of f at P in the direction of u is equal to √ 17 ≈ 2.06155 , ||∇f (2, −1, 3)|| = 2 and the rate of change of f at P in the direction of v is equal to √ 17 ≈ −2.06155 . −||∇f (2, −1, 3)|| = − 2 3. Consider the surface p 3 2x2 − 3y 3 − 3xy 2 + 21 z = ln 3 (a) 10 marks. Find an equation for the tangent plane to the surface at the point P (3, −2, 0). (b) 1 marks. Sketch the tangent plane. (c) 6 marks. Find parametric equations for the normal line to the surface at the point P (3, −2, 0). (d) 1 marks. Sketch the normal line to the surface at the point P (3, −2, 0). Page 5 of 13 XMA2E011 Show the details of your work. Solution: (a) We first simplify p 3 2x2 − 3y 3 − 3xy 2 + 21 1 z = ln = ln(2x2 − 3y 3 − 3xy 2 + 21) − ln 3 . 3 3 Then, we compute the partial derivatives at P (3, −2, 0) ∂ z|x=3,y=−2 = 0 . ∂x ∂ 1 z|x=3,y=−2 = 0 . ∂y 2 The tangent plane equation is given by z = 0 + 0(x − 3) + 0(y + 2) = 0 . (b) The tangent plane is the xy-plane (c) The normal line to the surface (and the tangent plane) is given by r = 3i − 2j + t 0i + 0j + k = 3 i − 2 j + t k . (d) The normal line is parallel to the z-axes. 4. Consider the portion of the surface (x−2)2 +(z −1)2 −8 = 0 that is above the rectangle √ √ R = {(x, y) : 0 ≤ x ≤ 4 , − 2 ≤ y ≤ 2}. (a) 3 marks. What is the surface? (b) 2 marks. Sketch the projection of the portion onto the xy-plane. (c) 13 marks. Use double integration to find the area of the portion. Show the details of your work. Solution: a) It is a cylinder Page 6 of 13 XMA2E011 1.0 0.5 1 2 3 4 -0.5 -1.0 b) The projection is shown below c) The area is given by the formula s s 2 2 2 2 Z 4 Z √2 ZZ ∂z ∂z ∂z ∂z 1+ 1+ + dA = + dy dx , S= √ ∂x ∂y ∂x ∂y − 2 0 R where p z =1+ 8 − (x − 2)2 Computing the derivatives we get s √ 2 2 s ∂z (x − 2)2 2 2 ∂z 1+ =p . + = 1+ ∂x ∂y 8 − (x − 2)2 8 − (x − 2)2 Thus, we get Z S= 0 4 √ Z √ 2 2 2 √ − 2 p 8 − (y − Z 1)2 4 dy dx = 8 0 1 p dx , 8 − (x − 2)2 To compute the integral we do the substitution √ x−2 = 2 2 sin t , √ dx = 2 2 cos t dt , p √ 8 − (x − 2)2 = 2 2 cos t , and get Z π/4 S=8 dt = 4 π . −π/4 5. (a) 2 marks. Show that the integral below is independent of the path Z (1/2 ,1) (−3x2 + x + 2y 2 ) dx − (3y − 4xy) dy . (−1 ,0) (b) 10 marks. Find the potential function φ(x, y). − π π ≤t≤ 4 4 Page 7 of 13 XMA2E011 (c) 2 marks. Use the Fundamental Theorem of Line Integrals to find the value of the integral. (d) Choose the integration path C between the points (−1 , 0) and (1/2 , 1) to be a curve formed from two line segments C1 and C2 , where C1 is joining (−1 , 0) and (1/2 , 0), and C2 is joining (1/2 , 0) and (1/2 , 1). i. 1 marks. Plot the integration path C, and show its orientation on the plot. ii. 3 marks. Parameterize C1 and C2 , and evaluate Z (−3x2 + x + 2y 2 ) dx − (3y − 4xy) dy . C Show the details of your work. Solution: (a) We have f (x, y) = −3x2 + x + 2y 2 , g(x, y) = −(3y − 4xy) . Thus ∂y f (x, y) = 4y , ∂x g(x, y) = 4y , and therefore the integral is independent of the path. (b) To compute the integral we find the potential function φ(x, y) ∂φ = −3x2 + x + 2y 2 ∂x ⇒ 1 φ(x, y) = −x3 + x2 + 2x y 2 + C(y) . 2 To find C(y) we use that dC(y) ∂φ = 4xy + = −(3y − 4xy) ∂y dy ⇒ dC(y) = −3y dy 3 C(y) = − y 2 + C . 2 ⇒ Thus, we get 1 3 φ(x, y) = −x3 + x2 + 2x y 2 + − y 2 + C . 2 2 (c) By using the formula, we obtain Z (1/2 ,1) Z 2 2 (−3x + x + 2y ) dx − (3y − 4xy) dy = (−1 ,0) (1/2 ,1) (−1 ,0) ∂φ ∂φ dx + dy ∂x ∂y (1/2,1) = φ(x, y)|(−1,0) = −2. Page 8 of 13 XMA2E011 1.0 0.8 0.6 0.4 0.2 -1.0 -0.8 -0.6 -0.4 -0.2 0.2 0.4 (d) i. The plot is shown below ii. The line segments C1 is parametrized as x = t, y = 0, −1 ≤ t ≤ 1/2 and one gets Z Z 1/2 3 t2 2 2 (−3x + x + 2y ) dx − (3y − 4xy) dy = (−3t2 + t) dt = (−t3 + ) |1/2 −1 = − . 2 2 C1 −1 The line segments C2 is parametrized as x = 1/2, y = t, 0 ≤ t ≤ 1 and one gets Z Z 1/2 t2 1 2 2 (−3t + 2t) dt = (− ) |10 = − . (−3x + x + 2y ) dx − (3y − 4xy) dy = 2 2 C1 −1 The sum gives −2 as it should be. 6. (a) 3 marks. Express rectangular coordinates in terms of spherical coordinates (b) Consider the solid G bounded by the surfaces x2 +y 2 +z 2 = 1 and x2 +y 2 +z 2 = 4 and below by the surface z = 0. i. 1 marks. What is the surface x2 + y 2 + z 2 = 1? ii. 1 marks. What is the surface x2 + y 2 + z 2 = 4? iii. 1 marks. What is the surface z = 0? iv. 1 marks. Sketch the part of the boundary of the solid G which belongs to the surface z = 0. v. 5 marks. Use triple integral and spherical coordinates to compute the volume V of the solid G. vi. 6 marks. Use triple integral and spherical coordinates to find the mass M of the solid G if its density is 2 2 2 e−(x +y +z ) . δ(x, y, z) = p x2 + y 2 + z 2 Page 9 of 13 XMA2E011 Show the details of your work. Solution : (a) We have x = r cos θ sin φ , y = r sin θ sin φ , z = r cos φ (b) i. Sphere of radius 1. (b) ii. Sphere of radius 2. (b) iii. The xy-plane. (b) iv. The plot is shown below 2 1 0 -1 -2 -2 0 -1 1 2 (b) v. We use the spherical coordinates to get ZZZ 2π Z V = Z π/2 Z dV = 0 G 0 2 ! r2 dr sin φ dφ dθ = 1 2π 3 14π (2 −1) = ≈ 14.6608 . 3 3 (b) vi. We use the spherical coordinates to get ZZZ Z M = 2π Z π/2 "Z δ(x, y, z)dV = G Z = 2π 1 2 0 2 0 1 2 # ! 2 e−r 2 r dr sin φ dφ dθ r e−r rdr = π(e−1 − e−4 ) ≈ 1.09819 . (2) Page 10 of 13 XMA2E011 Useful Formulae 1. Let r(t) be a vector function with values in R3 : (a) Its derivative is dr dt = df dt , dg dt , dh dt r(t) = f (t) i + g(t) j + h(t) k . . (b) The magnitude of this vector is || dr || dt (c) The unit tangent vector is T = dr dt || dr || dt = q df 2 dt + dg 2 dt + dh 2 dt . . (d) The vector equation of the line tangent to the graph of r(t) at the point P = (x0 , y0 , z0 ) corresponding to t = t0 on the curve is R(t) = r0 + (t − t0 ) v0 , where r0 = r(t0 ) and v0 = dr (t ) . dt 0 R2 || dt . || dr dt R t dr (f) The arc length parameter s having r(t0 ) as its reference point is s = t0 || du || du . (e) The arc length of the graph of r(t) between t1 and t2 is L = 1 2. Let σ be a surface in R3 : z = f (x, y) (a) The slope kx of the surface in the x-direction at the point (x0 , y0 ) is kx = ∂z (x0 , y0 ) . ∂x (b) The slope ky of the surface in the y-direction at the point (x0 , y0 ) is ky = ∂z (x0 , y0 ) . ∂y (c) The equation for the tangent plane to the surface at the point P = (x0 , y0 , z0 ) is z = z0 + kx (x − x0 ) + ky (y − y0 ) . (d) Parametric equations for the normal line to the surface at P = (x0 , y0 , z0 ) are r(t) = r0 + t(−kx i − ky j + k) , r0 = x0 i + y0 j + z0 k . (e) The volume under the surface and over a region R in the xy-plane is RR V = R f (x, y) dA . (f) The area of the portion of the surface that is above a region R in the xy-plane is r 2 RR RR ∂z 2 ∂z S = σ dS = R 1 + ∂x + ∂y dA . (g) The mass of the lamina with the density δ(x, y, z) that is the portion of the surface that is above a region R in the xy-planeris RR RR M = σ δ(x, y, z) dS = R δ(x, y, z) 1 + ∂z 2 ∂x + 2 ∂z ∂y dA . Page 11 of 13 XMA2E011 3. The local linear approximation of the function z = f (x, y) at the point (x0 , y0 ) is L(x, y) = f (x0 , y0 ) + fx (x0 , y0 )(x − x0 ) + fy (x0 , y0 )(y − y0 ) . 4. Let f (x, y, z) be a function of three variables (a) The gradient of f is ∇f = (fx , fy , fz ) . (b) f increases most rapidly in the direction of its gradient, and the rate of change of f in this direction is equal to ||∇f ||. (c) If f is smooth then its critical points satisfy fx = fy = fz = 0. 5. Let R be a region in the xy-plane bounded by the curves y = g(x) , y = h(x) , x = a , x = b, and g ≤ h for a ≤ x ≤ b. Then the double integral over the region is i RR R b hR h(x) f (x, y) dA = a g(x) f (x, y)dy dx . R 6. Let R be a region in the xy-plane bounded by the curves (in polar coordinates) r = r1 (θ) , r = r2 (θ) , θ = α , θ = β and r1 ≤ r2 for α ≤ θ ≤ β. Then the double integral over the region is i RR RR R β hR r2 (θ) f (r, θ) dA = f (r, θ) rdr dθ = f (r, θ)rdr dθ . R R α r1 (θ) 7. Let R be a plain lamina with density δ(x, y). (a) Its mass is equal to M = RR R δ(x, y) dA . (b) The x-coordinate of its centre of gravity is equal to xcg = 1 M RR (c) The y-coordinate of its centre of gravity is equal to ycg = 1 M RR R x δ(x, y) dA . R y δ(x, y) dA . 8. Let G be a simple solid whose projection onto the xy-plane is a region R. G is bounded by a surface z = g(x, y) from below and by a surface z = h(x, y) from above. i RRR RR hR h(x,y) (a) The triple integral over the solid is f (x, y, z) dV = f (x, y, z) dz dA . G R g(x,y) RRR RR (b) The volume of the solid is V = dV = R [h(x, y) − g(x, y)] dA . G 9. Let G be a solid enclosed between the two surfaces (in spherical coordinates) r = g(θ , φ) , r = h(θ , φ). Page 12 of 13 XMA2E011 (a) The triple integral over the solid is i RRR R 2π R π hR h(θ ,φ) 2 f (r, θ, φ) dV = f (r, θ, φ) r dr sin φ dφ dθ . g(θ ,φ) 0 0 G RRR R 2π R π hR h(θ ,φ) 2 i r dr sin φ dφ dθ . (b) The volume of the solid is V = dV = g(θ ,φ) 0 G 0 RRR (c) The mass of the solid with the density δ(r, θ, φ) is M = δ(r, θ, φ) dV . G 10. Let a region Rxy in the xy-plane be mapped to a region Ruv in the uv-plane under the change of variables u = u(x, y) , v = v(x, y). ∂u ∂v (a) The magnitude of the Jacobian of the change is ∂(u,v) = ∂x ∂y − ∂(x,y) (b) The integral over Rxy is RR Rxy f (x, y) dAxy = RR Ruv ∂u ∂v ∂y ∂x . −1 dAuv . f (x(u, v), y(u, v)) ∂(u,v) ∂(x,y) 11. The area of the surface that extends upward from the curve x = x(t) , y = y(t) , a ≤ t ≤ b in the xy-plane to the surface z = f (x, y) is given by the following line integral q R Rb dy 2 dx 2 A = C z ds = a f (x(t), y(t)) + dt . dt dt 12. Consider a line integral R C f (x, y) dx + g(x, y) dy , and let P = (xP , yP ) and Q = (xQ , yQ ) be the endpoints of the curve C. (a) The line integral is independent of the path if ∂y f (x, y) = ∂x g(x, y) . (b) Then there is a potential function φ(x, y) satisfying ∂φ ∂x = f (x, y) , ∂φ ∂y = g(x, y) , (c) and the Fundamental Theorem of Line Integrals says that R R Q ∂φ f (x, y) dx + g(x, y) dy = dx + ∂φ dy = φ(x, y)|Q P = φ(xQ , yQ ) − ∂y C P ∂x φ(xP , yP ) . 13. Let a closed curve C be oriented counterclockwise, and be the boundary of a simply connected region R in the xy-plane. By Green’s Theorem we have H RR ∂g(x,y) ∂f (x,y) − ∂y dA f (x, y) dx + g(x, y) dy = ∂x C R 14. Let F(x, y, z) = M i + N j + P k be a vector field. (a) If σ is the surface z = f (x, y), oriented by upward unit normals n, and R is the projection of σ onto the xy-plane then RR RR ∂f flux = σ F · n dS = R −M ∂f − N + P dA . ∂x ∂y Page 13 of 13 XMA2E011 (b) If σ is the surface z = f (x, y), oriented by downward unit normals n, and R is the projection of σ onto the xy-plane then RR RR ∂f flux = σ F · n dS = R M ∂f + N − P dA . ∂x ∂y (c) According to the Divergence Theorem the flux of F across a closed surface σ with outward orientation is RR RRR flux = σ F · n dS = div F dV , V div F = ∂M ∂x + ∂N ∂y + ∂P ∂z . (d) If σ is an oriented smooth surface that is bounded by a simple, closed, smooth boundary curve C with positive orientation then, according to Stokes’ Theorem ∂N ∂M H RR ∂P ∂M ∂N ∂P F·dr = (curl F)·n dS , curl F = i+ − − j+ ∂x − ∂y k . ∂y ∂z ∂z ∂x C σ 15. The Laplace transform of a function f (t) is the function F (s) defined by R∞ F (s) = L(f (t)) = 0 e−st f (t)dt , f (t) = L−1 (F (s)) . F unction T ransf orm F unction T ransf orm eat 1 s−a eat tn n! (s−a)n+1 eat sin ωt ω (s−a)2 +ω 2 eat cos ωt s−a (s−a)2 +ω 2 eat sinh ωt ω (s−a)2 −ω 2 eat cosh ωt s−a (s−a)2 −ω 2 t sin ωt 2ωs (s2 +ω 2 )2 t cos ωt s2 −ω 2 (s2 +ω 2 )2 u(t − a) e−as s δ(t − a) e−as 16. Let F (s) = L(f (t)), then L(f (t − a)u(t − a)) = e−as F (s); L (eat f (t)) = F (s − a) ; L (tf (t)) = − dFds(s) ; L (f (kt)) = k1 F s k . 17. Let Y (s) = L(y), then L(y 0 ) = sY (s) − y(0) , L(y 00 ) = s2 Y (s) − sy(0) − y 0 (0) . 18. Convolution. Let f (t) ∗ g(t) = Rt 0 f (τ )g(t − τ ) dτ . Then L(f (t) ∗ g(t)) = F (s)G(s) c UNIVERSITY OF DUBLIN 2012