Taylor Expansions in 2d

Similar documents
Definition: Let f(x) be a function of one variable with continuous derivatives of all orders at a the point x 0, then the series.

IMPLICIT DIFFERENTIATION

Single Variable Calculus Warnings

EC5555 Economics Masters Refresher Course in Mathematics September 2013

Math Notes on differentials, the Chain Rule, gradients, directional derivative, and normal vectors

1 Lecture 20: Implicit differentiation

Implicit Differentiation

The Chain Rule. d dx x(t) dx. dt (t)

First Order Linear Differential Equations

f sends 1 to 2, so f 1 sends 2 back to 1. f sends 2 to 4, so f 1 sends 4 back to 2. f 1 = { (2,1), (4,2), (6,3), (1,4), (3,5), (5,6) }.

Consider the function f(x, y). Recall that we can approximate f(x, y) with a linear function in x and y:

The Derivative. Appendix B. B.1 The Derivative of f. Mappings from IR to IR

Math 2163, Practice Exam II, Solution

Differentiation ( , 9.5)

AP Calculus AB Ch. 2 Derivatives (Part I) Intro to Derivatives: Definition of the Derivative and the Tangent Line 9/15/14

Review of Differentiation and Integration for Ordinary Differential Equations

Dr. Allen Back. Oct. 6, 2014

First Order Linear Differential Equations

d dx [xn ] = nx n 1. (1) dy dx = 4x4 1 = 4x 3. Theorem 1.3 (Derivative of a constant function). If f(x) = k and k is a constant, then f (x) = 0.

CHAPTER 1 POLYNOMIALS

Solving the Schrödinger Equation for the 1 Electron Atom (Hydrogen-Like)

AN INTRODUCTION TO NUMERICAL METHODS USING MATHCAD. Mathcad Release 14. Khyruddin Akbar Ansari, Ph.D., P.E.

1 Partial differentiation and the chain rule

Lecture 16: The chain rule

NOTES ON EULER-BOOLE SUMMATION (1) f (l 1) (n) f (l 1) (m) + ( 1)k 1 k! B k (y) f (k) (y) dy,

Exam 2 Review Solutions

Linear and quadratic approximation

Lecture 2 Lagrangian formulation of classical mechanics Mechanics

Calculus of Variations

Math 192r, Problem Set #3: Solutions

7-7 Multiplying Polynomials

2x (x 2 + y 2 + 1) 2 2y. (x 2 + y 2 + 1) 4. 4xy. (1, 1)(x 1) + (1, 1)(y + 1) (1, 1)(x 1)(y + 1) 81 x y y + 7.

Math 1720 Final Exam Review 1

1. Find the equation of a line passing through point (5, -2) with slope ¾. (State your answer in slope-int. form)

Math Implicit Differentiation. We have discovered (and proved) formulas for finding derivatives of functions like

Integration by Parts

Differentiation Rules c 2002 Donald Kreider and Dwight Lahr

12.11 Laplace s Equation in Cylindrical and

Numerical Algorithms for Visual Computing 2008/09 Example Solutions for Assignment 4. Problem 1 (Shift invariance of the Laplace operator)

MATH section 2.3 Basic Differentiation Formulas Page 1 of 5

Mathematical Review Problems

Complex Numbers and Exponentials

Implicit Differentiation and Inverse Trigonometric Functions

23 Implicit differentiation

3.5 Quadratic Approximation and Convexity/Concavity

On the classification of certain curves up to projective tranformations

Fall 2016: Calculus I Final

Solutions to MATH 271 Test #3H

Contents. 2 Partial Derivatives. 2.1 Limits and Continuity. Calculus III (part 2): Partial Derivatives (by Evan Dummit, 2017, v. 2.

Magic. The Lattice Boltzmann Method

The Explicit Form of a Function

25. Chain Rule. Now, f is a function of t only. Expand by multiplication:

2.5 SOME APPLICATIONS OF THE CHAIN RULE

Inverse Trig Functions

Lecture XII. where Φ is called the potential function. Let us introduce spherical coordinates defined through the relations

Section 7.2. The Calculus of Complex Functions

1 Math 285 Homework Problem List for S2016

The derivative of a function f(x) is another function, defined in terms of a limiting expression: f(x + δx) f(x)

ALGEBRAIC AND ANALYTIC PROPERTIES OF ARITHMETIC FUNCTIONS

2.3 Product and Quotient Rules and Higher-Order Derivatives

Designing Information Devices and Systems II Fall 2017 Note Theorem: Existence and Uniqueness of Solutions to Differential Equations

A DARK GREY P O N T, with a Switch Tail, and a small Star on the Forehead. Any

LOWELL WEEKLY JOURNAL

Calculus I Homework: Related Rates Page 1

2Algebraic ONLINE PAGE PROOFS. foundations

The Exact Form and General Integrating Factors

Unit #6 - Families of Functions, Taylor Polynomials, l Hopital s Rule

JUST THE MATHS UNIT NUMBER DIFFERENTIATION 2 (Rates of change) A.J.Hobson

Math 242: Principles of Analysis Fall 2016 Homework 7 Part B Solutions

Algebra I Lesson 6 Monomials and Polynomials (Grades 9-12) Instruction 6-1 Multiplying Polynomials

Rank, Trace, Determinant, Transpose an Inverse of a Matrix Let A be an n n square matrix: A = a11 a1 a1n a1 a an a n1 a n a nn nn where is the jth col

Product and Quotient Rules and Higher-Order Derivatives. The Product Rule

Review for the First Midterm Exam

100 CHAPTER 4. SYSTEMS AND ADAPTIVE STEP SIZE METHODS APPENDIX

Matrix Recipes. Javier R. Movellan. December 28, Copyright c 2004 Javier R. Movellan

3.3 The Chain Rule CHAPTER 3. RULES FOR DERIVATIVES 63

Inverse Trig Functions

Euler equations for multiple integrals

Kramers Relation. Douglas H. Laurence. Department of Physical Sciences, Broward College, Davie, FL 33314

Center of Gravity and Center of Mass

MTH 133 Solutions to Exam 1 October 10, Without fully opening the exam, check that you have pages 1 through 11.

Transformations and A Universal First Order Taylor Expansion

Robust Forward Algorithms via PAC-Bayes and Laplace Distributions. ω Q. Pr (y(ω x) < 0) = Pr A k

Lecture 6: Calculus. In Song Kim. September 7, 2011

x f(x) x f(x) approaching 1 approaching 0.5 approaching 1 approaching 0.

AN INTRODUCTION TO NUMERICAL METHODS USING MATHCAD. Mathcad Release 13. Khyruddin Akbar Ansari, Ph.D., P.E.

6 Wave equation in spherical polar coordinates

Class 8 Multiplication of Polynomials

LB 220 Homework 4 Solutions

Pure Further Mathematics 1. Revision Notes

FINAL EXAM 1 SOLUTIONS Below is the graph of a function f(x). From the graph, read off the value (if any) of the following limits: x 1 +

Section 3.5: Multiplying Polynomials

Math 1271 Solutions for Fall 2005 Final Exam

Integration Review. May 11, 2013

Tutorial 1 Differentiation

Unit 3 Factors & Products

Multivariable Calculus: Chapter 13: Topic Guide and Formulas (pgs ) * line segment notation above a variable indicates vector

3 Applications of partial differentiation

Multivariable Calculus and Matrix Algebra-Summer 2017

Math 210 Midterm #1 Review

Transcription:

Taylor Expansions in 2 In your irst year Calculus course you evelope a amily o ormulae or approximating a unction F(t) or t near any ixe point t 0. The cruest approximation was just a constant. F(t 0 + t) F(t 0 ) The next better approximation inclue a correction that is linear in t. F(t 0 + t) F(t 0 )+F (t 0 ) t The next better approximation inclue a correction that is quaratic in t. F(t 0 + t) F(t 0 )+F (t 0 ) t+ 2 F (t 0 ) t 2 An so on. The approximation that inclues all corrections up to orer t n is F(t 0 + t) F(t 0 )+F (t 0 ) t+ 2! F (t 0 ) t 2 + 3! F(3) (t 0 ) t 3 + + n! F(n) (t 0 ) t n You may have also oun a ormula or the error introuce in making this approximation. The error E n ( t) is eine by an obeys F(t 0 + t) = F(t 0 )+F (t 0 ) t+ 2! F (t 0 ) t 2 + + n! F(n) (t 0 ) t n +E n ( t) E n ( t) = (n+)! F(n+) (t ) t n+ or some (unknown) t between t 0 an t 0 + t. Even though we o not know what t is, we can still learn a lot rom this ormula or E n. I we know that F (n+) (t) Mn+ or all t between t 0 an t 0 + t, then E n ( t) M n+ (n+)! tn+, which tells us that E n ( t) goes to zero like the (n+) st power o t as t tens to zero. We now generalize all this to unctions o more than one variable. To be concrete an to save writing, we ll just look at unctions o two variables, but the same strategy works or any number o variables. We ll also assume that all partial erivatives exist an are continuous. Suppose that we wish to approximate 0 + x,y 0 + y) or x an y near zero. The trick is to write 0 + x,y 0 + y) = F() with F(t) = 0 +t x,y 0 +t y) an think o x 0, y 0, x an y as constants so that F is a unction o the single variable t. Then we can apply our single variable ormulae with t 0 = 0 an t =. To o so we nee to compute various erivatives o F(t) at t = 0, by applying the chain rule to F(t) = ( ) with x(t) = x 0 +t x, y(t) = y 0 +t y c Joel Felman. 20. All rights reserve. October 28, 20 Taylor Expansions in 2

Since t x(t) = x an y(t) = y, the chain rule gives t F t (t) = 2 F t 2 (t) = ( ) ) tx(t)+ y( t y(t) = x 0 +t x,y 0 +t y) x+ y 0 +t x,y 0 +t y) y ( ) t x(t)+ ( ) ] x y t y(t) x + y ( ) t x(t)+ y y ( ) t y(t) ] y = 2 2 x 2 + 2 y y x+ 2 y x y + 2 y 2 y 2 = 2 2 x 2 +2 2 y x y + 2 y 2 y 2 an so on. It s not har to prove by inuction that, in general, or any natural number k, where ( ) k l = k! l!(k l)! Subbing these into gives F (k) (t) = k ( k k l) l y k l 0 +t x,y 0 +t y) x l y k l l=0 is the stanar binomial coeicient. So when t = 0, F(0) = 0,y 0 ) F (0) = t 0,y 0 ) x+ y 0,y 0 ) y 2 F(0) = 2 2! t 2 2 2 0,y 0 ) x 2 + 2 y 0,y 0 ) x y + 2 2 y 2 0,y 0 ) y 2 k F k! (0) = t k 0 l,m k l+m=k k l y m 0,y 0 ) x l y m 0 + x,y 0 + y) = F(t 0 + t) t0 =0, t= = n k=0 k! F(k) (0)+E n () 0 + x,y 0 + y) = 0 l,m n l+m n = 0,y 0 ) l+m l y m 0,y 0 ) x l y m +E n + x 0,y 0 ) x+ y 0,y 0 ) y ] xx 0,y 0 ) x 2 +2 xy 0,y 0 ) x y + yy 0,y 0 ) y 2 + 2 +E 2 I all partial erivatives o o orer n+ are boune in magnitue by M, then En = (n+)! F (n+) (t ) n+ ( n+ ) (n+)! l M x l y n+ l ( ) = M n+ (n+)! x + y l=0 c Joel Felman. 20. All rights reserve. October 28, 20 Taylor Expansions in 2 2

Example. In this example, we in the secon orer Taylor expansion o,y) = +4x 2 +y 2 about 0,y 0 ) = (,2) an use it to compute approximately (., 2.05). We irst compute all partial erivatives up to orer 2 at 0,y 0 ).,y) = +4x 2 +y 2 0,y 0 ) = 3 x,y) = 4x x 0,y 0 ) = 4 +4x2 +y 2 3 y y,y) = y 0,y 0 ) = 2 +4x 2 +y 2 3 4 xx,y) = 6x 2 +4x 2 +y 2 +4x 2 +y 2 ] 3/2 xx 0,y 0 ) = 4 3 6 27 = 20 27 4xy xy,y) = +4x 2 +y 2 ] 3/2 xy 0,y 0 ) = 8 27 yy,y) = y 2 +4x 2 +y 2 +4x 2 +y 2 ] 3/2 yy 0,y 0 ) = 3 4 27 = 5 27 So the quaratic approximation to about 0,y 0 ) is ( x 0 + x, y 0 + y ) 0,y 0 )+ x 0,y 0 ) x+ y 0,y 0 ) y ] xx 0,y 0 ) x 2 +2 xy 0,y 0 ) x y + yy 0,y 0 ) y 2 + 2 In particular, with x = 0. an y = 0.05, = 3+ 4 3 x+ 2 0 3 y + 27 x2 8 27 x y + 5 54 y2 (., 2.05) 3+ 4 3 (0.)+ 2 0 3 (0.05)+ 27 (0.0) 8 27 (0.005)+ 5 54 (0.0025) = 3.69 The actual value, to our ecimal places, is 3.690. Example. In this example, we in the thir orer Taylor expansion o,y) = e 2x sin(3y) about 0,y 0 ) = (0,0) in two ierent ways. The irst way uses the canne ormula. We irst compute all partial erivatives up to orer 3 at 0,y 0 ).,y) = e 2x sin(3y) 0,y 0 ) = 0 x,y) = 2e 2x sin(3y) x 0,y 0 ) = 0 y,y) = 3e 2x cos(3y) y 0,y 0 ) = 3 xx,y) = 4e 2x sin(3y) xx 0,y 0 ) = 0 xy,y) = 6e 2x cos(3y) xy 0,y 0 ) = 6 yy,y) = 9e 2x sin(3y) yy 0,y 0 ) = 0 xxx,y) = 8e 2x sin(3y) xx 0,y 0 ) = 0 xxy,y) = 2e 2x cos(3y) xxy 0,y 0 ) = 2 xyy,y) = 8e 2x sin(3y) xyy 0,y 0 ) = 0 yyy,y) = 27e 2x cos(3y) yyy 0,y 0 ) = 27 c Joel Felman. 20. All rights reserve. October 28, 20 Taylor Expansions in 2 3

So the Taylor expansion, about (0,0) to orer three is,y) = 0 l,m 3 l+m 3 l+m l y m (0,0) x l y m +E 3,y) = 0!! 3y +!! 6xy + 2!! 2x2 y 0!3! 27y3 +E 3,y) = 3y +6xy +6x 2 y 9 2 y3 +E 3,y) A secon way to get the same result exploits the single variable Taylor expansions e x = +x+ 2! x2 + 3! x3 + siny = y 3! y3 + Replacing x by 2x in the irst an y by 3y in the secon an multiplying the two together, keeping track only o terms o egree at most three, gives,y) = e 2x sin(3y) ] ] = +(2x)+ 2! (2x)2 + 3! (2x)3 + (3y) 3! (3y)3 + ] ] = +2x+2x 2 + 4 3 x3 + 3y 9 2 y3 + just as in the irst computation. = 3y 9 2 y3 +6xy +6x 2 y + Problem Derive the Taylor expansion, to orer 2 in powers o x, y an z, o ( x 0 + x,y 0 + y,z 0 + z ) Answer: In general, the expansion to orer N is 0 + x,y 0 + y,z 0 + z) = 0 l,m,n 2 l+m+n N n! l+m+n l y m z n 0,y 0,z 0 ) ( x) l ( y) m ( z) n +E n Problem 2 Fin theseconorertaylor expansion o,y) = +x 2 +y 2 about 0,y 0 ) = (, ). Answer: (+ x, + y) = 3 2 9 x+ 2 9 y + 27 x2 8 27 x y + 27 y2 + Problem 3 FintheseconorerTaylor expansiono,y,z) = +x 2 +y 2 +z 2 about 0,y 0,z 0 ) = (0,0,0). Answer:,y,z) = x 2 y 2 z 2 + c Joel Felman. 20. All rights reserve. October 28, 20 Taylor Expansions in 2 4

Problem 4 Fin the secon orer Taylor expansion o,y) = e x+2y about 0,y 0 ) = (0,0). Boun the error o this approximation i x 0. an y 0.. Answer:,y) = + x + 2y + 2 x2 + 2xy + 2y 2 + E 2,y) with E2,y) (0.3) 3 3! e 0.3 when x 0. an y 0.. (O course there are many other correct bouns on E 2,y).) Problem 5 The unction z =,y) solves the equation x+2y +z +e 2z =. Fin the Taylor polynomial o egree two or,y) in powers o x an y. Answer:,y) = 3 x 2 3 y 2 27 x2 8 27 xy 8 27 y2 + Problem 6 Suppose that,y) is a polynomial o egree n. Prove that or all real numbers x 0, y 0, x an y, 0 + x,y 0 + y) = 0 l,m n l+m n Note that this ormula is exact. There is no error term E n. l+m l y m 0,y 0 ) ( x) l ( y) m c Joel Felman. 20. All rights reserve. October 28, 20 Taylor Expansions in 2 5