Taylor expansions in two variables

In summary, we are given a function f(x, y) and its partial derivatives. We are asked to use Taylor expansion to find the values of f(1.2, 3.1) and f(0.9, 2.8). After attempting to expand in both variables, the person asking the question is getting the wrong answer and suspects they may be missing some factorials. However, the correct expansion should include all the required factorials as shown in the formula provided.
  • #1
mimsy57
18
0
1. Problem: if f(1,3)=7, use Taylor expansion to describe f(1.2,3.1) and f(.9,2.8) if the partials of f are give by

df/dx=.2
d^2f/dx^2=.6
df/dy=.4
d^2f/dy^2=.9

(you do not need to go beyond the second derivative for this problem)

2. I know from class how to do this if one variable changes. I thought I knew how to do it with 2, but I am getting the wrong answer.

if I wanted to do f(1.2,3) I would do f(1,3)+df/dx*(.2)+d2f/dx2*(.2)^2=7+(.2)*(.2)+(.2)^2/2*(.6).

so I thought if I wanted to do both, I would expand in both variables:

f(1.2,3.1) ~ f(1,3)+df/dx*(.2)+d2f/dx2*(.2)^2+df/dy*(.1)+d2f/dy2*(.1)^2

Why is this coming out to be the wrong answer?
 
Physics news on Phys.org
  • #2
Perhaps you are missing some factorials?
 
  • #3
If f(x, y) is a function of the two variables, x and y, then its Taylor series, about x= a, y= b, is
[tex]f(a,b)+ f_x(a,b)(x- a)+ f_y(a,b)(y- b)+ (f_{xx}(a,b)/2!)(x- a)^2+ (f_{xy}(a,b)/2!)(x- a)(y- b)+ (f_{yy}(a,b)/2!)(y- b)^2+ (f_{xxx}(a,b)/3!)(x- a)^3+ (f_{xxy}(a,b)/3!)(x- a)^2(y- b)+ (f_{xyy}(a,b)/3!)(x-a)(y-b)^2+ (f_{yyy}(a,b)/3!)(y- b)^2+ \cdot\cdot\cdot[/tex]
Get the idea?
 

FAQ: Taylor expansions in two variables

What is a Taylor expansion in two variables?

A Taylor expansion in two variables is a way to approximate a multi-variable function using a polynomial. It is based on the Taylor series, which is a representation of a function as an infinite sum of terms, each of which is a multiple of a power of the independent variable.

How is a Taylor expansion in two variables calculated?

To calculate a Taylor expansion in two variables, we first need to find the partial derivatives of the function at a given point. These derivatives are then used to create a polynomial expression that approximates the function at that point. The more terms in the polynomial, the closer the approximation will be to the actual function.

When is a Taylor expansion in two variables useful?

A Taylor expansion in two variables is useful when we need to approximate a function that is difficult to work with, or when we only have access to part of the function's data. It can also be used to find the values of a function at points that are not explicitly defined.

What are the limitations of a Taylor expansion in two variables?

One limitation of a Taylor expansion in two variables is that it can only approximate a function within a certain range or "neighborhood" of the given point. Additionally, the accuracy of the approximation decreases as we move further away from the given point. Another limitation is that not all functions can be accurately represented by a polynomial, so a Taylor expansion may not be a suitable approximation method for all functions.

How can a Taylor expansion in two variables be used in real-world applications?

A Taylor expansion in two variables can be used in many real-world applications, such as in physics, engineering, and economics. It can be used to model and predict the behavior of complex systems, to optimize processes and functions, and to solve differential equations. It is also used in computer graphics and animation to create smooth and realistic images.

Back
Top