Please help me with this question.
Does anyone know how it ends up with 2 lambda*x transpose*A equal to zero?? I don't understand how the number 2 came up!! Thanks for any help.


Well, it doesn't "end up with 2 lambda*x transpose*a equal to zero"! It ends up with m plus that equal to 0.
As to where the "2" came from, it is essentially from differentiating a square. Or you might prefer to think of it as using the product rule.
Your Lagrangian is. Differentiating
, with respect to x, gives
and, since
, that is the same as
.
I was actually doubting whether differentiatingis actually same as differentiating
. It seems that they are the same in term of differentiation even though it is transposed. Thank you.
As a further question in this particular case, I have uploaded an example from my text book which i could not understand the last part of it.
1st pic is connected with the 2nd picture and follow up by the 3rd picture. In particular, I could not understand the whole part of the example in the 3rd pic after finish proving the equation in the 2nd pic. Could you please explain how it works in the 3rd pic. Thank you very much.![]()