Matrix exponent differentiation

47 Views Asked by At

Given $f(x) = x^T\exp(xx^T)x$, where $x \in \mathbb{R}^n$, find the $\nabla_xf(x).$

Note: $\exp(A) = \displaystyle\sum\limits_{k=0}^{\infty}\dfrac{A^k}{k!}$, $A \in \mathbb{R^{n\times n}}$

1

There are 1 best solutions below

1
On

Hint: $x^T(xx^T) ^kx=(x^Tx) ^{k+1}$. And $x^Tx$ is just a number, not a vector/matrix.