Derivative with dotproduct

by Nickel   Last Updated May 15, 2019 16:20 PM - source

Given a function $f: \mathbb{R^{n}} \to \mathbb{R}$, $A \in \mathbb{R}^{n\times n}, x,b \in \mathbb{R}^n$. What is the derivative of $ f(x) = \langle x, Ax \rangle + \langle b, x \rangle + c$, at the point $x_0$?



Answers 1


The gradient of $f$ at $x_0$ is $\nabla f(x)_0 = (A+A^\top)x_0 + b$. For reference, you can consult the matrix cookbook, for example, or any other relevant textbook.

Pantelis Sopasakis
Pantelis Sopasakis
May 15, 2019 16:03 PM

Related Questions


matrix How did this change?

Updated June 14, 2019 08:20 AM

The power of matrix $A$

Updated March 24, 2017 06:20 AM

Question on matrices

Updated August 02, 2015 13:08 PM

Isn't every orthogonal matrix always symmetric?

Updated July 08, 2017 05:20 AM

Cayley–Hamilton-question

Updated October 25, 2017 05:20 AM