Johnson04
- 17
- 0
Homework Statement
[tex]\vec f_1 : \bf R^n \rightarrow R^1[/tex], [tex]\vec f_1(\vec x) = \|\vec x\|^2[/tex], calculate [tex]\vec f_1'(\left[ \begin{array}{c} 1 \\\vdots\\ 1 \end{array} \right])[/tex]
Homework Equations
N/A
The Attempt at a Solution
I calculated the derivative as follow:
Since
[tex]\vec f_1(\vec x) =\|\vec x \|^2[/tex], [tex]\vec f_1(\vec x) = \sum \limits_{i=1}^n x_i^2[/tex].
So
[tex]\vec f_1(\vec x + \vec h) = \sum \limits_{i = 1}^n (x_i + h_i)^2 = \sum \limits_{i=1}^n (x_i^2 + 2x_i h_i + h_i^2) = \sum \limits_{i=1}^n x_i^2 + \sum \limits_{i=1}^n 2x_i h_i + \sum \limits_{i=1}^n h_i^2[/tex].
Thus, we have:
[tex]\vec f_1(\vec x + \vec h) - \vec f_1(\vec x) = \sum \limits_{i=1}^n (2x_i h_i +h_i^2)[/tex]
Since according to the definition of the derivative of vector valued function (Rudin Analysis Page 212):
If there exists a linear transformation [tex]A[/tex] such that
[tex]\lim \limits_{\vec h to 0} \frac{|\vec f(\vec x + \vec h) - \vec f(\vec x) - A\vec h |}{|\vec h|} = 0[/tex],
then [tex]\vec f[/tex] is differentiable at [tex]\vec x[/tex], and
[tex]\vec f'(\vec x) = A[/tex]
I defined a linear transformation as: [tex]A = 2 \vec x^T[/tex], such that we may have [tex]A \vec h = \sum \limits_{i = 1}^n 2x_i h_i[/tex]. Then since [tex]\lim \limits_{\vec h to 0} \frac{|\sum \limits_{i = 1}^n h_i^2|}{|\vec h|} = \lim \limits_{\vec h to 0} |\vec h| = 0[/tex], [tex]A = 2 \vec x^T = \vec f'(\vec x)[/tex], and then plug [tex]\vec x = \begin{pmatrix} 1 \\ \vdots \\1 \end{pmatrix}[/tex] into the expression [tex]\vec f'(\vec x)[/tex].
Is this solution correct? Thanks!