Weighted Sum in Taylor Expansion (Partial Derivatives)

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
4 replies · 3K views
unscientific
Messages
1,728
Reaction score
13

Homework Statement



From step 1 to step 2, what do they mean by "Taking the weighted sum of the two squares " ?


I tried and expanded everything in step 2 and it ends up as the same as step 1 (as expected),



The Attempt at a Solution



I tried looking up "weighted sum" and " weighted sum of squares", I think the more closely related one is here: http://en.wikipedia.org/wiki/Lack-of-fit_sum_of_squares

I read it and tried to understand it but it looks as if what they are describing has no relation to what's in the book..
 

Attachments

  • weighted sum.jpg
    weighted sum.jpg
    61 KB · Views: 594
Physics news on Phys.org
You are overthinking it. It's just a convenient way of rewriting the first expression.
 
clamtrox said:
You are overthinking it. It's just a convenient way of rewriting the first expression.

I'm sorry but I feel that if that was the case it would simply be written as " the expression can be rewritten to a form as: " instead of "weighted sum of the two squares".
 
unscientific said:
I'm sorry but I feel that if that was the case it would simply be written as " the expression can be rewritten to a form as: " instead of "weighted sum of the two squares".

Do you at least agree that nothing magical has happened between the steps? The two expressions are equal.

The reason why you do this is you know always that the squared terms are positive. Then by requiring that R.H.S of the equation is always positive, you get useful constraints on the weights of the square terms. By requiring that
[tex]f_{xx}\left(\Delta x + \frac{f_{xy} \Delta y}{f_{xx}}\right)^2 + \left( f_{yy}-\frac{f_{xy}^2}{f_{xx}}\right) (\Delta y)^2 > 0[/tex]
for all [itex]\Delta x[/itex] and [itex]\Delta y[/itex] you see that [itex]f_{xx} > 0[/itex] by setting [itex]\Delta y = 0[/itex] and [itex]\left( f_{yy}-\frac{f_{xy}^2}{f_{xx}}\right)>0[/itex] by setting [itex]\Delta x = - \frac{f_{xy} \Delta y}{f_{xx}}[/itex]
 
clamtrox said:
Do you at least agree that nothing magical has happened between the steps? The two expressions are equal.

The reason why you do this is you know always that the squared terms are positive. Then by requiring that R.H.S of the equation is always positive, you get useful constraints on the weights of the square terms. By requiring that
[tex]f_{xx}\left(\Delta x + \frac{f_{xy} \Delta y}{f_{xx}}\right)^2 + \left( f_{yy}-\frac{f_{xy}^2}{f_{xx}}\right) (\Delta y)^2 > 0[/tex]
for all [itex]\Delta x[/itex] and [itex]\Delta y[/itex] you see that [itex]f_{xx} > 0[/itex] by setting [itex]\Delta y = 0[/itex] and [itex]\left( f_{yy}-\frac{f_{xy}^2}{f_{xx}}\right)>0[/itex] by setting [itex]\Delta x = - \frac{f_{xy} \Delta y}{f_{xx}}[/itex]

I was confused by the term " sum of weights of the squares" as I didn't know what it meant. I tried using a different approach of aiming to "complete the square" first with (Δx) then i arrived at the same results.