Matrix/Vector Differentiation: Proving the Derivative of x'Mx

  • Thread starter Thread starter wu_weidong
  • Start date Start date
  • Tags Tags
    Differentiation
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 6K views
wu_weidong
Messages
27
Reaction score
0

Homework Statement



Hi all,
I need help proving the result:

Let g(x) = x'Mx, where M is a n-by-n real constant matrix and x' denotes the transpose of vector x. Then the derivative of g(x) = (M + M')x.

The Attempt at a Solution



I was thinking of using product rule on x'(Mx) to get Mx + x'M, but apparently this is incorrect as the dimensions of Mx and x'M don't even match and so cannot be grouped together to get (M + M')x.

Please help.

Thank you.

Regards,
Rayne
 
Physics news on Phys.org