I think I'm having a brain freeze. I'm trying to determine grad f where f(x) = 1/2 x(adsbygoogle = window.adsbygoogle || []).push({}); ^{T}Qx + q^{T}x. I can get to the point where df = (x^{T}Q + q^{T})dx, but I don't know how to get to the final result grad f = Qx + q.

Can someone explain it?

**Physics Forums | Science Articles, Homework Help, Discussion**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Gradient function using matrix notation

**Physics Forums | Science Articles, Homework Help, Discussion**