What is the Process and Meaning of Taking the Derivative of a Vector?

  • Thread starter Thread starter hkBattousai
  • Start date Start date
  • Tags Tags
    Derivative Vectors
AI Thread Summary
The discussion focuses on the process of taking derivatives of vector functions, specifically in the context of matrix calculus. It explains that the derivative of a quadratic form, such as x^T A^T A x - 2x^T A^T b, results in the expression 2A^T A x - 2A^T b. Additionally, the derivative of the function x^T x yields 2x. The concept of the gradient is introduced, emphasizing that it consists of the vector of partial derivatives. Understanding these derivatives is crucial for applications in optimization and linear algebra.
hkBattousai
Messages
64
Reaction score
0
Here is a snapshot from one of my textbooks:
[PLAIN]http://img64.imageshack.us/img64/8114/vector0.png

How do we take the derivative below?
\frac{d}{dx}\Huge(\normalsize x^TA^TAx\,-\,2x^TA^Tb \Huge)\normalsize\,=\,2A^TAx\,-\,2A^Tb

There is also another vector derivative in the book as follows:
\frac{d}{dx}\Huge(\normalsize x^Tx \Huge)\normalsize \, = \, 2x^T

How do we take these type of derivatives?
What is the meaning of taking derivative of a vector, or transpose of vector?

_____________
EDIT: I found http://en.wikipedia.org/wiki/Matrix_calculus#Derivative_of_linear_functions", but it doesn't either explain the main idea behind vector derivation.

\frac{\partial \; \textbf{a}^T\textbf{x}}{\partial \; \textbf{x}} = \frac{\partial \; \textbf{x}^T\textbf{a}}{\partial \; \textbf{x}} = \textbf{a}

\frac{\partial \; \textbf{A}\textbf{x}}{\partial \; \textbf{x}} = \frac{\partial \; \textbf{x}^T\textbf{A}}{\partial \; \textbf{x}^T} = \textbf{A}
 
Last edited by a moderator:
Mathematics news on Phys.org
For a symmetric matrix B (in your case, B = A^T A), the following is a scalar-valued function from R^n to R:

f(x) = x^T B x

The derivative you are looking for is defined as the vector of partial derivatives (aka gradient):

\frac{df}{dx} = \left(\frac{\partial f}{\partial x_1}, ..., \frac{\partial f}{\partial x_n}\right)^T

If you express f in terms of the components of B,

f(x) = b_{11} x_1^2 + 2 b_{12} x_1 x_2 + ...

you will find that the partial derivatives just "come out right", i.e.

\frac{df}{dx} = 2 B x
 
Seemingly by some mathematical coincidence, a hexagon of sides 2,2,7,7, 11, and 11 can be inscribed in a circle of radius 7. The other day I saw a math problem on line, which they said came from a Polish Olympiad, where you compute the length x of the 3rd side which is the same as the radius, so that the sides of length 2,x, and 11 are inscribed on the arc of a semi-circle. The law of cosines applied twice gives the answer for x of exactly 7, but the arithmetic is so complex that the...
Is it possible to arrange six pencils such that each one touches the other five? If so, how? This is an adaption of a Martin Gardner puzzle only I changed it from cigarettes to pencils and left out the clues because PF folks don’t need clues. From the book “My Best Mathematical and Logic Puzzles”. Dover, 1994.
Thread 'Imaginary Pythagoras'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...
Back
Top