Problem Involving Two-variable Taylor's Series

  • Thread starter Thread starter s3a
  • Start date Start date
  • Tags Tags
    Series
Click For Summary
SUMMARY

The discussion focuses on deriving the Taylor series expansion of the function f(x,y) = e-x2 sin(y) around the point (1,3). The correct Taylor polynomial of degree 3 is established as e-1 sin(3) - 2(x-1) e-1 sin(3) + (y-3) e-1 cos(3) + 1/2 [ 2(x-1)2 e-1 sin(3) - 4(x-1)(y-3) e-1 cos(3) - (y-3)2 e-1 sin(3) ]. The user identified mistakes in their calculations, particularly in the application of the Taylor series format and the handling of coefficients. Correcting these errors leads to the accurate series representation.

PREREQUISITES
  • Understanding of Taylor series expansions in multiple variables
  • Familiarity with partial derivatives and their computation
  • Knowledge of the exponential function and trigonometric functions
  • Experience with mathematical software for verification of results
NEXT STEPS
  • Review the derivation of Taylor series for functions of multiple variables
  • Practice calculating partial derivatives for functions like f(x,y) = e-x2 sin(y)
  • Learn to use mathematical software (e.g., Mathematica, MATLAB) for symbolic computation
  • Explore error analysis in Taylor series approximations
USEFUL FOR

Students studying multivariable calculus, mathematicians working on series expansions, and educators teaching Taylor series concepts.

s3a
Messages
828
Reaction score
8

Homework Statement


Write the Taylor's series expansion of the function f(x,y) = e-x2 sin(y) about the point (1,3). (The question doesn't specify how accurate it wants the answer to be, but based on the answer I have, it seems to me that the Taylor's polynomial should be of degree 3.)

Apparently, the correct answer is:
e-x2 sin(y) = e-1 sin(3) - 2(x-1) e-1 sin(3) + (y-3) e-1 cos(3) + 1/2 [ 2(x-1)2 e-1 sin(3) - 4(x-1)(y-3) e-1 cos(3) - (y-3)2 e-1 sin(3) ] + . . .

Homework Equations


I'm trying to do what the guy in this video is saying to do.:


The Attempt at a Solution


f(x,y) = e-x2 sin(y)

fx = -2x e-x2 sin(y)
fy = e-x2 cos(y)
fxx = -2 sin(y) e-x2 + 4x2 sin(y) e-x2
fyy = -e-x2 sin(y)
fxy = -2x e-x2 cos(y)

fx(1,3) = -2 e-1 sin(3)
fy(1,3) = e-1 cos(3)
fxx(1,3) = 2 sin(3) e-1
fyy(1,3) = -e-1 sin(3)
fxy(1,3) = -2 * e-1 cos(3)

=====================================

f(1,3):
e-1 sin(3)

fx(1,3):
1/1! * -2 e-1 sin(3) x1
= -2 e-1 sin(3) x

fy(1,3):
1/1! * e(-1) cos(3) y1
=e-1 cos(3) y

fxx(1,3):
1/2! sin(3) e-1 x2
=1/2 sin(3) e-1 x2

fyy(1,3):
1/2! * -e-1 sin(3) y2
=1/2 * -e-1 sin(3) y2

fxy(1,3):
1/1! * -2 * e-1 cos(3) x1 y1
=-2 * e-1 cos(3) x y

f(x,y) = sum of the above parts + ...
f(x,y) = [e-1 sin(3)] + [-2 e-1 sin(3) x] + [e-1 cos(3) y] + [1/2 sin(3) e-1 x2] + [1/2 * -e-1 sin(3) y2] + [-2 * e-1 cos(3) x y] + ...

However, checking with software, my answer is not the same as the answer that's apparently the correct answer.

Could someone please help me figure out what it is that I am doing wrong?
 
Physics news on Phys.org
s3a said:

Homework Statement


Write the Taylor's series expansion of the function f(x,y) = e-x2 sin(y) about the point (1,3). (The question doesn't specify how accurate it wants the answer to be, but based on the answer I have, it seems to me that the Taylor's polynomial should be of degree 3.)

Apparently, the correct answer is:
e-x2 sin(y) = e-1 sin(3) - 2(x-1) e-1 sin(3) + (y-3) e-1 cos(3) + 1/2 [ 2(x-1)2 e-1 sin(3) - 4(x-1)(y-3) e-1 cos(3) - (y-3)2 e-1 sin(3) ] + . . .

Homework Equations


I'm trying to do what the guy in this video is saying to do.:


The Attempt at a Solution


f(x,y) = e-x2 sin(y)

fx = -2x e-x2 sin(y)
fy = e-x2 cos(y)
fxx = -2 sin(y) e-x2 + 4x2 sin(y) e-x2
fyy = -e-x2 sin(y)
fxy = -2x e-x2 cos(y)

fx(1,3) = -2 e-1 sin(3)
fy(1,3) = e-1 cos(3)
fxx(1,3) = 2 sin(3) e-1
fyy(1,3) = -e-1 sin(3)
fxy(1,3) = -2 * e-1 cos(3)

=====================================

f(1,3):
e-1 sin(3)

fx(1,3):
1/1! * -2 e-1 sin(3) x1
= -2 e-1 sin(3) x

fy(1,3):
1/1! * e(-1) cos(3) y1
=e-1 cos(3) y

fxx(1,3):
1/2! sin(3) e-1 x2
=1/2 sin(3) e-1 x2

fyy(1,3):
1/2! * -e-1 sin(3) y2
=1/2 * -e-1 sin(3) y2

fxy(1,3):
1/1! * -2 * e-1 cos(3) x1 y1
=-2 * e-1 cos(3) x y

f(x,y) = sum of the above parts + ...
f(x,y) = [e-1 sin(3)] + [-2 e-1 sin(3) x] + [e-1 cos(3) y] + [1/2 sin(3) e-1 x2] + [1/2 * -e-1 sin(3) y2] + [-2 * e-1 cos(3) x y] + ...

However, checking with software, my answer is not the same as the answer that's apparently the correct answer.

Could someone please help me figure out what it is that I am doing wrong?


Your series should be about ##x=1## and ##y=3##, so must be expressed in powers and products of ##x-1## and ##y-3##.
 
  • Like
Likes   Reactions: s3a
Oh, right!

That was the biggest problem I had; for what it's worth, another smaller mistake I made was that I had forgotten to bring the factor of 2 from fxx(x,y) to fxx(1,3), and then to the final answer.

Thanks!
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 20 ·
Replies
20
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K