# Mathematica Symbolic vector differentiation with Mathematica

#### 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

Related Math Software Workshop News on Phys.org

"Symbolic vector differentiation with Mathematica"

### Physics Forums Values

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving