Problem Involving Two-variable Taylor's Series

  • Thread starter s3a
  • Start date
  • Tags
    Series
In summary, the Taylor's series expansion of the function f(x,y) = e-x2 sin(y) about the point (1,3) is: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) ] + . . .
  • #1
s3a
818
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
  • #2
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 s3a
  • #3
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!
 

1. What is a two-variable Taylor's series?

A two-variable Taylor's series is a mathematical method used to approximate a function with two variables using a series of polynomials. It is based on the Taylor's series, but instead of just one variable, it takes into account two variables and their corresponding partial derivatives.

2. What are the applications of two-variable Taylor's series?

Two-variable Taylor's series can be used in various fields such as physics, engineering, and economics to approximate and analyze multi-variable functions. It can also be used to solve optimization problems and to predict the behavior of complex systems.

3. How is a two-variable Taylor's series calculated?

A two-variable Taylor's series is calculated by finding the partial derivatives of the function at a specific point and plugging them into the Taylor's series formula. The formula includes the function value at the point, the partial derivatives, and the variables raised to different powers.

4. What are the limitations of two-variable Taylor's series?

Two-variable Taylor's series can only approximate a function within a certain range of values. It also assumes that the function is infinitely differentiable, which may not always be the case. Additionally, it may not accurately represent the behavior of a function near singular points or at the edges of its domain.

5. How can two-variable Taylor's series be used to solve problems?

Two-variable Taylor's series can be used to solve optimization problems by finding the critical points of a function and determining whether they are maximum, minimum, or saddle points. It can also be used to approximate the behavior of a function near a specific point and to find the error in the approximation.

Similar threads

  • Calculus and Beyond Homework Help
Replies
18
Views
1K
  • Calculus and Beyond Homework Help
Replies
6
Views
545
  • Calculus and Beyond Homework Help
Replies
1
Views
489
  • Calculus and Beyond Homework Help
Replies
1
Views
532
  • Calculus and Beyond Homework Help
Replies
8
Views
871
  • Calculus and Beyond Homework Help
Replies
3
Views
555
  • Calculus and Beyond Homework Help
Replies
3
Views
813
  • Calculus and Beyond Homework Help
Replies
3
Views
408
  • Calculus and Beyond Homework Help
Replies
2
Views
147
  • Calculus and Beyond Homework Help
Replies
3
Views
788
Back
Top