MArix derivative

  • Thread starter strokebow
  • Start date
  • #1
123
0
Hi,

A function: f(X) = C^T*X

Where, ^T is Transpose


Then my book tells me that GRADIENT f(X) = C


Why? Why is it not GRADIENT f(X) = C^T

Where, ^T is Transpose and GRADIENT is labla (opposite to delta)

Please help!!

Thanks
 

Answers and Replies

  • #2
HallsofIvy
Science Advisor
Homework Helper
41,847
969
So
[tex]C= \begin{bmatrix}a \\ b \\ c\end{bmatrix}[/tex]
[tex]C^T= \begin{bmatrix}a & b & c\end{bmatrix}[/tex]
and
[tex]C^T X= \begin{bmatrix} a & b & c\end{bmatrix}\begin{bmatrix}x \\ y \\ c\end{bmatrix}= ax+ ay+ az[/tex]

So
[tex]\nabla C^T X= \nabla (ax+ ay+ az)= \begin{bmatrix}a \\ b \\ c}\end{bmatrix}= C[/itex]
 
  • #3
Hurkyl
Staff Emeritus
Science Advisor
Gold Member
14,950
19
Why? Why is it not GRADIENT f(X) = C^T
Check the definitions; that should make it obvious.

(I should point out that when paying attention to row vectors vs. column vectors, there are two different for defining the gradient, one being the transpose of the other)
 

Related Threads on MArix derivative

  • Last Post
Replies
2
Views
1K
  • Last Post
Replies
3
Views
777
  • Last Post
Replies
2
Views
1K
  • Last Post
Replies
1
Views
2K
Replies
3
Views
2K
Replies
2
Views
2K
  • Last Post
Replies
4
Views
771
  • Last Post
Replies
2
Views
2K
Replies
3
Views
2K
  • Last Post
Replies
2
Views
1K
Top