- #1
boeing_737
- 12
- 0
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
\begin{equation}
\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}\\
\end{equation}
I am kind of lost and would appreciate some help on this.
Thanks
yogesh
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
\begin{equation}
\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}\\
\end{equation}
I am kind of lost and would appreciate some help on this.
Thanks
yogesh