Solution
= Solution
For an increment $h$, direct expansion and the <chain rule> give
$$
\boxed{DF_x(h)=Ah,\qquad Dg_x(h)=2x^Th,\qquad Dk_x(h)=2(Ax)^TAh=2x^TA^TAh.}
$$
For example, $\|x+h\|^2-\|x\|^2=2x^Th+\|h\|^2$, so the quadratic remainder divided by $\|h\|$ tends to zero. The corresponding <gradients> are $\nabla g(x)=2x$ and $\nabla k(x)=2A^TAx$; the <derivative> of $F$ is the constant <matrix> $A$.