Docsity

Taylor Series Expansion for Functions of Several Variables, Exercises of Applied Mathematics

Partial preview of the text

Download Taylor Series Expansion for Functions of Several Variables and more Exercises Applied Mathematics in PDF only on Docsity!

“JUST THE MATHS”

UNIT NUMBER

PARTIAL DIFFERENTIATION 9

(Taylor’s series)

for

(Functions of several variables)

by

A.J.Hobson

14.9.1 The theory and formula

14.9.2 Exercises

UNIT 14.9 - PARTIAL DIFFERENTIATION 9

TAYLOR’S SERIES FOR FUNCTIONS OF SEVERAL VARIABLES

14.9.1 THE THEORY AND FORMULA

Initially, we shall consider a function, f (x, y), of two independent variables, x, y, and obtain

a formula for f (x + h, y + k) in terms of f (x, y) and its partial derivatives.

Suppose that P,Q and R denote the points with cartesian co-ordinates, (x, y), (x + h, y) and

(x + h, y + k), respectively.

6

P Q

R

x

y

O

(a) As we move in a straight line from P to Q, y remains constant so that f (x, y) behaves

as a function of x only.

Hence, by Taylor’s theorem for one independent variable,

f (x + h, y) = f (x, y) + fx(x, y) +

h^2

2!

fxx(x, y) +.. .,

where fx(x, y) and fxx(x, y) mean

@f @x and^

@^2 f @x^2 respectively, with similar notations encountered in what follows.

In abbreviated notation,

f (Q) = f (P) + hfx(P) +

h^2

2!

fxx(P) +..

Notes:

(i) The equivalent of this result for a function of three variables would be

f (x + h, y + k, z + l) = f (x, y, z) + h

@x

  • k

@y

  • l

@z

!

f (x, y, z)+

h

@x

  • k

@y

  • l

@z

! 2

f (x, y, z) +

h

@x

  • k

@y

  • l

@z

! 3

f (x, y, z) +...

(ii) Alternative versions of Taylor’s theorem may be obtained by interchanging x, y, z... with

h, k, l....

For example,

f (x + h, y + k) = f (h, k) + x

@x

  • y

@y

!

f (h, k)+

x

@x

  • y

@y

! 2

f (h, k) +

x

@x

  • y

@y

! 3

f (h, k) +...

(iii) Replacing x with x h and y with y k in (ii) gives the formula,

f (x, y) = f (h, k) + (x h)

@x

  • (y k)

@y

!

f (h, k)+

(x h)

@x

  • (y k)

@y

! 2

f (h, k) +

(x h)

@x

  • (y k)

@y

! 3

f (h, k) +...

This is called the “Taylor expansion of f (x, y) about the point (a, b)”

(iv) A special case of Taylor’s series (for two independent variables) is obtained by putting

h = 0 and k = 0 in (ii) to give

f (x, y) = f (0, 0) + x

@x

  • y

@y

!

f (0, 0) +

x

@x

  • y

@y

! 2

f (0, 0) +...

This is called a “MacLaurin’s series” but is also the Taylor expansion of f (x, y) about

the point (0, 0).

EXAMPLE

Determine the Taylor series expansion of the function f

⇣ x + 1, y + ⇡ 3

⌘ in ascending powers

of x and y when

f (x, y) ⌘ sin xy,

neglecting terms of degree higher than two.

Solution

We use the result that

f

✓ x + 1, y +

◆ = f

✓ 1 ,

◆

  • x

@x

  • y

@y

!

f

✓ 1 ,

◆

x

@x

  • y

@y

! 2

f

✓ 1 ,

◆ +.. .,

in which the first term on the right has value

p 3 /2.

The partial derivatives required are as follows:

@f

@x

⌘ y cos xy giving

at x = 1, y =

@f

@y

⌘ x cos xy giving

at x = 1, y =

2 f

@x^2

⌘ y 2 sin xy giving

2 p 3

18

at x = 1, y =