local linear approximations

sambellamy

Junior Member
Joined
Oct 21, 2014
Messages
53
I am stuck. What am I mixing up here? Someone who can help, please take a look.

I am given a function f and LLA L at point P. The problem I'm working on asks me to find the point P.

given: f(x,y) = x2 + y2 , and L(x,y) = 2y - 2x - 2

I know the LLA formula is L(x,y) ~ f(x0,y0) + fx(x0,y0)(x-x0) + fy(x0,y0)(y-y0)

I have this so far:

fx = 2x
fy = 2y

plugging these in, I get:

-2 = x2 + 2x + y2 - 2y + 2x0(x-x0) + 2y0(y-y0)

I am not sure what to do from here, I have four variables. I know I am looking for (x0,y0) as the coordinates of P.
I tried completing the square with x2 + 2x, for instance, and also distributing 2x0(x-x0), but neither of these seemed to make it clearer what the next step should be.

Thanks for any help.
 
I am stuck. What am I mixing up here? Someone who can help, please take a look.

I am given a function f and LLA L at point P. The problem I'm working on asks me to find the point P.

given: f(x,y) = x2 + y2 , and L(x,y) = 2y - 2x - 2

I know the LLA formula is L(x,y) ~ f(x0,y0) + fx(x0,y0)(x-x0) + fy(x0,y0)(y-y0)

I have this so far:

fx = 2x
fy = 2y

plugging these in, I get:

-2 = x2 + 2x + y2 - 2y + 2x0(x-x0) + 2y0(y-y0)

I am not sure what to do from here, I have four variables. I know I am looking for (x0,y0) as the coordinates of P.
I tried completing the square with x2 + 2x, for instance, and also distributing 2x0(x-x0), but neither of these seemed to make it clearer what the next step should be.

Thanks for any help.
I'm not sure what LLA L is. Could you explain further please? Do you want to find the "points of intersection" between the functions
f(x,y) = x2 + y2
and
L(x,y) = 2y - 2x - 2
using a linear approximation?
 
LLA L means local linear approximation, L. So we are using the term L(x,y) instead of f(x0,y0) to mean the estimated value of f' at (x,y), using the formula.
 
LLA L means local linear approximation, L. So we are using the term L(x,y) instead of f(x0,y0) to mean the estimated value of f' at (x,y), using the formula.

O.K. then, line L(x,y)
L(x,y) = 2y - 2x - 2
is the local approximation to f(x,y)
f(x,y) = x2 + y2

Since you know the LLA formula and the partial derivatives, just match up terms
L(x,y) ~ f(x0,y0) + fx(x0,y0)(x-x0) + fy(x0,y0)(y-y0)
So
fx(x0,y0) = 2 x0 = -2
which is the x coefficient in L(x,y) and x0 = -1. Now do the same for the y coefficient in L(x,y) as given and in the formula to find y0.

After that you have x0 and y0 but, IMO, you should check your answer. So what is the constant coefficient in L(x,y) as given and in the LLA formula. Those should match up.

Note that you will not aways have the values of x0 and y0 after matching up the coefficients of x and y and might need to work with the constant term. For example, suppose
f(x,y) = x3 + y2
and
L(x,y) = 1 + 3 x + 2 y
What is x0 and y0? Or maybe if
L(x,y) = -3 + 3 x + 2 y
What is x0 and y0?
 
Top