I have this problem:

Here, is a known d-by-1 vector, is a d-by-1 vector to be identified, both and are known d-by-d matrix.

And I want to find the maximum value of L by taking the first order derivative with respect to .

Can anyone teach me how to take the first order derivative of this scalar with respect to a vector here?

Thanks a lot!!