# Symbolic vector differentiation with Mathematica

1. Jan 31, 2013

### boeing_737

Hi,

I am a new user of Mathematica (although I am reasonably familiar with MATLAB) and I am trying to differentiate a scalar wrt a vector Mathematica. ie, I want to check if

\phi = \textit{x}^{T} \textbf{A} \textit{y} \quad \mbox{where $\textit{x}$, $\textit{y}$ are vectors and $\textbf{A}$ is a symmetric matrix} \\
\frac{\partial{\phi}}{\partial{\textit{x}}} = \textbf{A} \textit{y}\\

I am kind of lost and would appreciate some help on this.

Thanks
yogesh