Here's a simpler answer for those not familiar with advanced differential geometry.
In brief the Jacobian is a matrix, the gradient is a vector.
Recall the following definition.
$f : U \subset \mathbb R^n \to \mathbb R^m $ is differentiable in $p \in U$ if and only if there exists a linear transform $L_p : \mathbb R^n \to \mathbb R^m$ such that
$$ \lim_{x \to p} \frac{\Vert f(x)-f(p)- L(x-p)\Vert}{\Vert x-p\Vert} = 0.$$
This linear transform is often denoted as $df_p := L_p$ and it is the best linear approximation of $f$ around $p$.
In particular if $f$ is already linear then it is its own best linear approximation so $df_p = f$.
This linear transformation can be viewed as a matrix which is the jacobian and when $m=1$ we have a matrix multiplied with a vector
$$ df_p (x) = \begin{bmatrix} \frac{\partial f(p)}{\partial x_1} & \dots & \frac{\partial f(p)}{\partial x_n} \end{bmatrix}
\begin{bmatrix} x_1 \\ \vdots \\ x_n
\end{bmatrix}$$
So the jacobian is a "row vector" (it's not really a vector, it is a matrix) Moreover the last expression is exactly the dot product of two coordinate vectors (no matrices here).
$$ df_p (x) = \begin{bmatrix} \frac{\partial f(p)}{\partial x_1} \\ \vdots \\ \frac{\partial f(p)}{\partial x_n} \end{bmatrix} \cdot \begin{bmatrix} x_1 \\ \vdots \\ x_n
\end{bmatrix} $$
Here the gradient is a vector whose coordinates are the partial derivatives
Duality
From a linear algebra POV we know that when $m = 1$ then the linear map $df_p $ is just a linear map from $V = \mathbb R^n \to \mathbb R$. That is, $df_p\in V^*$ is an element of the dual space.
So when fixing a basis $e_1,...,e_n$ of $V$ this also defines a dual basis $e_1^*, e_2^*,..., e_n^*$ on the vector space $V^*$.
Note that these are exactly the coordinate maps $$ e_i^* : \mathbb R^n \to \mathbb R : (x_1,...,x_n) \mapsto x_i.$$
That is, $e_i^*$ is just a map which extracts the i-th coordinate of a coordinate vector $x =(x_1,...,x_n)$. That is, $e_i^*(x) = x_i.$
However we know that
$$ df_p(x) = \sum_{i = 1}^n \frac{\partial f(p)}{\partial x_i} x_i $$
so
$$ df_p = \sum_{i = 1}^n \frac{\partial f(p)}{\partial x_i} e_i^*.$$
In particular using the isomorphism between $V$ and $V^*$ we have that $df_p$ is exactly the dual vector of the vector in $V$ with coordinates
$$ \left(\frac{\partial f(p)}{\partial x_1},..., \frac{\partial f(p)}{\partial x_n} \right)$$
Again we see that the gradient is a vector in $V$. And yes something deeper is going on:
- the gradient and the differential are dual as elements in $V$ and $V^*$ respectively.
As a bonus we also see that since $e_i^* = x^i$ is a linear map it is its own best linear approximation so $d(x^i) = x^i$ and we have the formula
$$ df_p = \sum_{i = 1}^n \frac{\partial f}{\partial x_i} dx_p^i$$
transpose
By equipping $V$ with a dot product we have $$ (df_p)(x) = \nabla f \cdot_V x.$$
The transpose is just a map $(df_p)^t : \mathbb R \to V$ and we use the dot product to identify the value of $(df_p)^t(\alpha)$ as follows.
$$df_p(x) \cdot_{\mathbb{R}} \alpha = \nabla f \cdot_V x \alpha = x \cdot_V \underbrace{(\nabla f \alpha)}_{df_p^t(\alpha)}.$$
Since this is a linear map it has a matrix. It follows that the matrix of the transpose is just acting on a scalar by multiplying it by the an $n \times 1$ matrix.
$$ (df_p)^t (\alpha) = \begin{bmatrix} \frac{\partial f(p)}{\partial x_1} \\ \vdots \\ \frac{\partial f(p)}{\partial x_n} \end{bmatrix}\begin{bmatrix}
\alpha
\end{bmatrix} $$
So yes, the transpose of the jacobian matrix is a column matrix whose coefficients are those of the gradient.