Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I know very little about vector calculus. What is the derivative of $\langle\alpha,\alpha\rangle$ (dot product) and $\alpha^TK\alpha$ and $\langle\alpha,y\rangle$. All these derivatives are by the variable $\alpha$. Where $K$ is a matrix and $y$ is a vector.

share|cite|improve this question
up vote 3 down vote accepted

Just try it yourself by taking component-wise derivatives. You should get $$\alpha\cdot\alpha \Rightarrow 2\alpha$$ and $$\alpha^T K \alpha \Rightarrow 2K\alpha\text{ (if K is symmetric)}$$

share|cite|improve this answer
Ok, thanks that worked. – Benjy Kessler Apr 25 '13 at 10:44
Sorry I can't up vote your response, I don't have enough reputation. – Benjy Kessler Apr 25 '13 at 10:49
No problem, great that it helped. – Matt L. Apr 25 '13 at 11:09

I found this .pdf very helpful for these types of questions:

share|cite|improve this answer
You can make a link by typing [link alias that is displayed](link to item) and filling in between the brackets appropriately. – Daryl Apr 25 '13 at 11:36
There is no space/line break/anything between the closing $]$ and the opening $($. – Daryl Apr 25 '13 at 11:42
@Daryl Maybe you can edit my post so that it works? – Delvesy Apr 25 '13 at 11:52

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.