Thursday, 12 September 2013

multivariable calculus - How to prove differentiability of g(x)=xTAx?




How to prove differentiability of g(x)=xTAx?



What I've started with is the definition of differentiability:



Let GRn be open. g:GRn is differentiable at xG if exists a linear transformation L:RnRm s.t.



lim



Now since x^TAx is not a linear form, then I don't understand how can do anything with the above definition.


Answer




Here, g(x+h) = (x+h)^T A (x+h) = x^TAx + x^TAh + h^TAx + h^TAh.



So that \frac{g(x+h)-g(x)}{||h||} = \frac{x^TAh + h^TAx + h^TAh}{||h||}.



Let L(h) = x^TAh + h^TAx. You can check that this is linear (in h).



Then, \frac{g(x+h)-g(x)-L(h)}{||h||} = \frac{h^TAh}{||h||}



Finally, note that \lim_{h \to 0}\frac{h^TAh}{||h||} = 0. Hence, the linear map L(h) = x^TAh + h^TAx is the derivative of the map.




The way of picking L was simple: I just took out all the linear terms of h from the numerator using L. What remained were higher order terms, and these dominate ||h|| as the quotient goes to zero. Hence, L is very logically picked.



There are many ways of doing this problem. One is via what Denis suggested above. Another is via chain rule. But this is the elementary method.


No comments:

Post a Comment

real analysis - How to find lim_{hrightarrow 0}frac{sin(ha)}{h}

How to find \lim_{h\rightarrow 0}\frac{\sin(ha)}{h} without lhopital rule? I know when I use lhopital I easy get $$ \lim_{h\rightarrow 0}...