Differentiating a vector valued function giving a row vector?

19 Views Asked by At

If $f:\mathbb R^n \to \mathbb R$, why is $f'(u)$ a $1 \times n$ row vector? (for any $u \in \mathbb R^n$). Many thanks!

2

There are 2 best solutions below

0
On

Notice that $f'$ by definition is a linear map $\mathbb{R}^n \to \mathbb{R}$. Therefore it has to be a $1 \times n$-Matrix which is the same as a row vector.

0
On

The derivative of $f$ at point $x$ is a linear functional $L$ on $\Bbb R^n$ such that

$$f(x+\Delta x) = f(x) + L(\Delta x) + o(\|\Delta x\|).$$

The linear functionals in $\Bbb R^n$ are represented by a scalar multiplication by some fixed vector (Riesz representation theorem), i.e. $\exists v\in \Bbb R^n$ such that $L(x) = (v,x)$.

Finally, the scalar product of two column vectors $(v,x)$ is equivalent to the product $v^Tx$, that is why we can say that the gradient $\nabla_x f$ is a row vector.