Warning, the protected names norm and trace have been redefined and unprotected

Similar documents
Note: Each problem is worth 14 points except numbers 5 and 6 which are 15 points. = 3 2

e x3 dx dy. 0 y x 2, 0 x 1.

Math 23b Practice Final Summer 2011

Instructions: No books. No notes. Non-graphing calculators only. You are encouraged, although not required, to show your work.

1. Find and classify the extrema of h(x, y) = sin(x) sin(y) sin(x + y) on the square[0, π] [0, π]. (Keep in mind there is a boundary to check out).

Multiple Choice. Compute the Jacobian, (u, v), of the coordinate transformation x = u2 v 4, y = uv. (a) 2u 2 + 4v 4 (b) xu yv (c) 3u 2 + 7v 6

Integrals in cylindrical, spherical coordinates (Sect. 15.7)

Substitutions in Multiple Integrals

Solutions for the Practice Final - Math 23B, 2016

MATH 52 FINAL EXAM SOLUTIONS

(a) The points (3, 1, 2) and ( 1, 3, 4) are the endpoints of a diameter of a sphere.

MATHEMATICS 200 April 2010 Final Exam Solutions

The Justin Guide to Matlab for MATH 241 Part 3.

Math 3c Solutions: Exam 1 Fall Graph by eliiminating the parameter; be sure to write the equation you get when you eliminate the parameter.

One side of each sheet is blank and may be used as scratch paper.

Archive of Calculus IV Questions Noel Brady Department of Mathematics University of Oklahoma

Solutions to Sample Questions for Final Exam

Dr. Allen Back. Nov. 5, 2014

Student name: Student ID: Math 265 (Butler) Midterm III, 10 November 2011

Practice Final Solutions

MA 351 Fall 2008 Exam #3 Review Solutions 1. (2) = λ = x 2y OR x = y = 0. = y = x 2y (2x + 2) = 2x2 + 2x 2y = 2y 2 = 2x 2 + 2x = y 2 = x 2 + x

MATH2321, Calculus III for Science and Engineering, Fall Name (Printed) Print your name, the date, and then sign the exam on the line

Chapter 17: Double and Triple Integrals

SOME PROBLEMS YOU SHOULD BE ABLE TO DO

Mathematics 205 Solutions for HWK 23. e x2 +y 2 dxdy

1. If the line l has symmetric equations. = y 3 = z+2 find a vector equation for the line l that contains the point (2, 1, 3) and is parallel to l.

Review for the First Midterm Exam

MULTIVARIABLE INTEGRATION

Week 7: Integration: Special Coordinates

MATHS 267 Answers to Stokes Practice Dr. Jones

Dimensions = xyz dv. xyz dv as an iterated integral in rectangular coordinates.

Math 210, Final Exam, Spring 2012 Problem 1 Solution. (a) Find an equation of the plane passing through the tips of u, v, and w.

Major Ideas in Calc 3 / Exam Review Topics

Math Exam IV - Fall 2011

Preliminary Exam 2018 Solutions to Morning Exam

14.1. Multiple Integration. Iterated Integrals and Area in the Plane. Iterated Integrals. Iterated Integrals. MAC2313 Calculus III - Chapter 14

Math 20C Homework 2 Partial Solutions

36. Double Integration over Non-Rectangular Regions of Type II

McGill University April Calculus 3. Tuesday April 29, 2014 Solutions

M273Q Multivariable Calculus Spring 2017 Review Problems for Exam 3

MAT 211 Final Exam. Fall Jennings.

Surface Integrals of Vector Fields. Using Maple and the vec_calc Package

Integrals. D. DeTurck. January 1, University of Pennsylvania. D. DeTurck Math A: Integrals 1 / 61

LAB 8: INTEGRATION. Figure 1. Approximating volume: the left by cubes, the right by cylinders

Figure 25:Differentials of surface.

Figure 21:The polar and Cartesian coordinate systems.

the Cartesian coordinate system (which we normally use), in which we characterize points by two coordinates (x, y) and

Created by T. Madas LINE INTEGRALS. Created by T. Madas

Solutions to the Calculus and Linear Algebra problems on the Comprehensive Examination of January 28, 2011

Problem Set 5 Math 213, Fall 2016

1. For each function, find all of its critical points and then classify each point as a local extremum or saddle point.

1. (a) (5 points) Find the unit tangent and unit normal vectors T and N to the curve. r (t) = 3 cos t, 0, 3 sin t, r ( 3π

Math 21a Homework 24 Solutions Spring, 2014

51. General Surface Integrals

Ma 1c Practical - Solutions to Homework Set 7

7a3 2. (c) πa 3 (d) πa 3 (e) πa3

Contents. MATH 32B-2 (18W) (L) G. Liu / (TA) A. Zhou Calculus of Several Variables. 1 Multiple Integrals 3. 2 Vector Fields 9

Triple Integrals. y x

MATH 280 Multivariate Calculus Fall Integration over a curve

Answer sheet: Final exam for Math 2339, Dec 10, 2010

Page Problem Score Max Score a 8 12b a b 10 14c 6 6

Solutions to Practice Exam 2

Math 31CH - Spring Final Exam

MATH 280 Multivariate Calculus Fall Integrating a vector field over a curve

e x2 dxdy, e x2 da, e x2 x 3 dx = e

f(p i )Area(T i ) F ( r(u, w) ) (r u r w ) da

FINAL - PART 1 MATH 150 SPRING 2017 KUNIYUKI PART 1: 135 POINTS, PART 2: 115 POINTS, TOTAL: 250 POINTS No notes, books, or calculators allowed.

Preliminary Exam 2016 Solutions to Morning Exam

MULTIVARIABLE INTEGRATION

Electro Magnetic Field Dr. Harishankar Ramachandran Department of Electrical Engineering Indian Institute of Technology Madras

Practice Problems for the Final Exam

MATH 0350 PRACTICE FINAL FALL 2017 SAMUEL S. WATSON. a c. b c.

x + ye z2 + ze y2, y + xe z2 + ze x2, z and where T is the

Math 221 Examination 2 Several Variable Calculus

SOLUTIONS TO THE FINAL EXAM. December 14, 2010, 9:00am-12:00 (3 hours)

3.4 The Chain Rule. F (x) = f (g(x))g (x) Alternate way of thinking about it: If y = f(u) and u = g(x) where both are differentiable functions, then

MAC Calculus II Spring Homework #6 Some Solutions.

MTH 234 Exam 2 November 21st, Without fully opening the exam, check that you have pages 1 through 12.

Print Your Name: Your Section:

Final Review Worksheet

Math 147 Exam II Practice Problems

Practice Problems for Exam 3 (Solutions) 1. Let F(x, y) = xyi+(y 3x)j, and let C be the curve r(t) = ti+(3t t 2 )j for 0 t 2. Compute F dr.

? D. 3 x 2 2 y. D Pi r ^ 2 h, r. 4 y. D 3 x ^ 3 2 y ^ 2, y, y. D 4 x 3 y 2 z ^5, z, 2, y, x. This means take partial z first then partial x

MATH 280 Multivariate Calculus Fall Integration over a surface. da. A =

Power Series. x n. Using the ratio test. n n + 1. x n+1 n 3. = lim x. lim n + 1. = 1 < x < 1. Then r = 1 and I = ( 1, 1) ( 1) n 1 x n.

18.02 Multivariable Calculus Fall 2007

Substitutions and by Parts, Area Between Curves. Goals: The Method of Substitution Areas Integration by Parts

( ) ( ) Math 17 Exam II Solutions

14.7 Triple Integrals In Cylindrical and Spherical Coordinates Contemporary Calculus TRIPLE INTEGRALS IN CYLINDRICAL AND SPHERICAL COORDINATES

Problem Solving 1: The Mathematics of 8.02 Part I. Coordinate Systems

Math 32B Discussion Session Week 10 Notes March 14 and March 16, 2017

Disclaimer: This Final Exam Study Guide is meant to help you start studying. It is not necessarily a complete list of everything you need to know.

1 + f 2 x + f 2 y dy dx, where f(x, y) = 2 + 3x + 4y, is

Let s estimate the volume under this surface over the rectangle R = [0, 4] [0, 2] in the xy-plane.

Solution. This is a routine application of the chain rule.

Calculus III 2004 Summer Practice Final 8/3/2004

Calculus I Sample Final exam

MATH H53 : Final exam

Methods of Integration

Calculus II Practice Test 1 Problems: , 6.5, Page 1 of 10

Transcription:

22M:28 Spring 5 J. Simon An example of computing a triple integral with several coordinate systems > > with(plots):with(linalg): Warning, the name changecoords has been redefined Warning, the protected names norm and trace have been redefined and unprotected Consider the solid cone W with radius R and height H. Think of the cone as sitting on its vertex, with the vertex at the origin and the circular base paralell to the xy-plane at height H. The simplest equation for a circular cone is z=sqrt(x^2y^2) (note that intersects the xzplane in the graph z = x, which is what we want). But to have the cone attain radius = R at height z=h, we need the slope to be H/R, not 1. So we modify the equation to z = (H/R)*sqrt(x^2y^2). We can parametrize W by saying x = -R.. R y =-sqrt(r^2-x^2).. sqrt(r^2-x^2) z = (H/R)*sqrt(x^2y^2).. H These would be the limits of integration (in xyz-coordinates) for the integral of some function f(x,y,z) on W. Let's use R=1, H= > R:=1;H:=; R := 1 H := > DrawConeSurface:=plotd([x,y,(H/R)*sqrt(x^2y^2)], x=- R..R, y=-sqrt(r^2-x^2)..sqrt(r^2-x^2), color=red, style=patchnogrid): > DrawTopDisk:=plotd([x,y,H], x=-r..r, y=-sqrt(r^2- x^2)..sqrt(r^2-x^2), color=blue, style=wireframe, thickness=2, grid=[1,1]): > display({drawconesurface, DrawTopDisk}, scaling=constrained, tickmarks=[1,1,], axes=normal, lightmodel=light2, orientation=[-44,6]);

Example: f(x,y,z) = xyz > f:=xyz; f := x y z > TheIntegral:=Int(Int(Int(f, z=(h/r)*sqrt(x^2y^2).. H),y =-sqrt(r^2-x^2).. sqrt(r^2-x^2)), x = -R.. R); TheIntegral := 1-1 1 x 2 d 1 x 2 1 x 2 y 2 x y z z dy dx > Step1:=Int(Int(int(f, z=(h/r)*sqrt(x^2y^2).. H),y =- sqrt(r^2-x^2).. sqrt(r^2-x^2)), x = -R.. R); Step1 := 1-1 1 x 2 x d 1 x 2 y 2 y x 2 y 2 289 289 289 1 2 2 x2 2 y2 y dx 1 x 2 > Step2:=Int(int(int(f, z=(h/r)*sqrt(x^2y^2).. H),y =- sqrt(r^2-x^2).. sqrt(r^2-x^2)), x = -R.. R);

Step2 := 1-1 x 1 x 2 578 1 x 2 289 15 x2 1 x 2 2 x ln ( ( x 1 ) ( x 1) 1) 2 x ln( ( x 1 ) ( x 1) 1) dx > Step:=int(int(int(f, z=(h/r)*sqrt(x^2y^2).. H),y =- sqrt(r^2-x^2).. sqrt(r^2-x^2)), x = -R.. R); Step := 1-1 x 1 x 2 578 1 x 2 289 15 x2 1 x 2 2 x ln ( ( x 1 ) ( x 1) 1) 2 x ln( ( x 1 ) ( x 1) 1) dx Notice Maple couldn't even calculate the antiderivative for Step. > evalf(step); 22698.692 ###################################################################### Let's see if the problem becomes easier if we use cylindrical coordinates. Now x = -R.. R y =-sqrt(r^2-x^2).. sqrt(r^2-x^2) z = (H/R)*sqrt(x^2y^2).. H becomes theta =..2*Pi r =..R z = (H/R)*sqrt(r^2).. H. and f(x,y,z) = xyz = r*cos(theta)r*sin(theta)z and we remember to multiply by the Jacobian determinant = r. > TheCylindricalIntegral:= Int(Int(Int((r*cos(theta)r*sin(theta)z)*r, z = (H/R)*sqrt(r^2)..H), r=..r), theta=..2*pi); TheCylindricalIntegral := 1 1 r 2 ( r cos( θ ) r sin( θ ) z ) r dz dr dθ > Step1Cyl:=Int(Int(int((r*cos(theta)r*sin(theta)z)*r, z = (H/R)*sqrt(r^2)..H), r=..r), theta=..2*pi);

Step1Cyl := 1 1 d d 2 r 289 289 1 r2 ( r cos( θ ) r sin( θ )) r 1 r2 r θ > Step2Cyl:=Int(int(int((r*cos(theta)r*sin(theta)z)*r, z = (H/R)*sqrt(r^2)..H), r=..r), theta=..2*pi); Step2Cyl := 7225 2 425 sin( θ ) 425 cos( θ ) > StepCyl:=int(int(int((r*cos(theta)r*sin(theta)z)*r, z = (H/R)*sqrt(r^2)..H), r=..r), theta=..2*pi); StepCyl := 7225 π dθ > evalf(stepcyl); 22698.69 NOTICE: (except for a little epsilon error in the numerical integral, we DO get the same value as before. But this time the integral 7225*pi is something we could have calculated by hand. ######################################################################## ################## Now let's see what the integral looks like in spherical coordinates. ρ rho = distance from the origin (so rho >/= ) (using notation >= for "greater than or equal to") ϕ phi = angle of declination from the vertical ( </= phi </= Pi) θ theta = usual polar angle as in cylindrical coordinates (theta any values, but usually <= theta <= 2Pi) The transformation to write x,y,z in terms of rho, phi, theta is a little complicated. But here is how you can remember it. First express z and polar r in terms of rho and phi: z = rho*cos(phi) r = rho*sin(phi) z = ρ cos ϕ ϕ length ρ r = ρ cos (complement of ϕ) = ρ sin (ϕ) Then write x = r cos(theta), y = r sin(theta), z=z. This gives x = rho sin(phi) cos(theta), y = rho sin(phi) sin(theta), z = rho cos(phi).

So the transformation for spherical coordinates is x = r cos(theta) = rho sin(phi) cos(theta) y = r sin(theta) = rho sin(phi) sin(theta) z = rho cos(phi). In addition to using the above transformation (x = expression in rho, phi, theta; etc.) to rewrite the integrand f(x,y,z), we also need to compute the Jacobian determinant for the transformation. > jacobian([rho*sin(phi)*cos(theta), rho*sin(phi)*sin(theta), rho*cos(phi)], [rho, phi, theta]); sin( φ ) cos( θ ) ρ cos( φ ) cos( θ ) ρ sin( φ ) sin( θ ) sin( φ ) sin( θ ) ρ cos( φ ) sin( θ ) ρ sin( φ ) cos( θ ) cos( φ) ρ sin( φ) > det(%); sin( φ) cos( θ ) 2 ρ 2 sin( φ) sin( θ ) 2 ρ 2 ρ 2 cos( φ) 2 cos( θ ) 2 sin( φ) ρ 2 sin( φ ) sin( θ ) 2 cos( φ) 2 > simplify(%); sin( φ) ρ 2 So we get rho^2*sin(phi) as the stretching factor that we need to use to change integrals written in terms of x,y,z into integrals written in terms of spherical coordinates. To write our integral in spherical coordinates, we need to describe the domain, that is the solid cone. The boundary cone surface is just phi = constant angle. What angle? From the little trig picture above, we see that the angle phi that describes this cone has tan(phi) = R/H. So the cone angle (from the vertical to the cone) is arctan(r/h). Don't be frightened by the arctangent. Remember (R/H) is just a constant, so is arctan(r/h). What is the equation of the plane z=h in spherical coordinates? z = H is the plane. In spherical coordinates, z = rho*cos(phi). So the plane is rho*cos(phi) = H, i.e. rho = H/cos(phi). We are now ready to rewrite the integral. The integrand = xyz = rho*sin(phi)*cos(theta) rho*sin(phi)*sin(theta) rho*cos(phi). To keep the limits of integration clear in what we are about to write, let's introduce "g" to denote the integrand expressed in terms of rho, phi, theta. > g:=rho*sin(phi)*cos(theta) rho*sin(phi)*sin(theta) rho*cos(phi);

g := ρ sin( φ ) cos( θ ) ρ sin( φ ) sin( θ ) ρ cos( φ) We also are going to have to multiply g by the stretching factor rho^2*sin(phi). Let's call that whole new integrand G. > G:=rho^2*sin(phi)*g; G := ρ 2 sin( φ ) ( ρ sin( φ ) cos( θ ) ρ sin( φ ) sin( θ ) ρ cos( φ) ) > TheSphericalIntegral:=Int(Int(Int(G, rho=..h/cos(phi)), phi=..arctan(r/h)), theta=..2*pi); TheSphericalIntegral := arctan 1 1 cos( φ ) ρ 2 sin( φ ) ( ρ sin( φ ) cos( θ ) ρ sin( φ ) sin( θ ) ρ cos( φ) ) dρ dφ dθ > > Step1Spher:=Int(Int(int(G, rho=..h/cos(phi)), phi=..arctan(r/h)), theta=..2*pi); Step1Spher := arctan 1 8521 4 sin( φ ) ( sin( φ ) cos( θ ) sin( φ ) sin( θ ) cos( φ) ) dφ dθ cos( φ) 4 > Step2Spher:=Int(int(int(G, rho=..h/cos(phi)), phi=..arctan(r/h)), theta=..2*pi); Step2Spher := 7225 2 425 sin( θ ) 425 cos( θ ) > StepSpher:=int(int(int(G, rho=..h/cos(phi)), phi=..arctan(r/h)), theta=..2*pi); StepSpher := 7225 π THIS IS IDENTICAL TO WHAT WE GOT BEFORE USING CYLINDRICAL COORDINATES. dθ