I have been trying to differentiate the following function with respect to time
$$ t \mapsto \frac{1}{2}\dot{f}(t)^T A (f)\dot{f}(t) $$
but I am struggling with the chain rule for matrix calculus. Here, $f$ is a vector dependent on time and the matrix is a function of the vector $f$. I tried following these ideas but didn't come very far. Any help would be appreciated!