Derivative, Gradient and Jacobian unified

Oct 30, 2018

A summary about scalar and vector derivatives.

Functions of scalars

Let f:RR a function. For xR, the derivative of f at point x is:

xf(x)=limh0f(x+h)f(h)hR

This number is the slope of the tangent to the curve described by f.

Derivative of scalars

Vector functions of scalars

Let f:RRM a function. For xR, the derivative of f at point x is:

xf(x)=limh0f(x+h)f(x)h

Which is the vector of the partial derivative:

xf(x)=(xf1(x)xfM(x))RM

This vector is tangent to the parametric curve described by f.

Derivative of vectors

Functions of vectors

Let f:RNR a function. For xRN, the derivative of f at point x is:

xf(x)=(x1f(x),,xNf(x))R1×N

We call this row vector the gradient of f. It is noted:

f(x)=xf(x)

This vector is tangent to the suface described by f and directed along the steepest ascent of f.

Gradient

Vector functions of vectors

Let f:RNRM a function. For xRM, the derivative of f at point x can be writen in two equivalent forms.

Since xf1(x) is the derivative of a scalar function with respect to a vector, we have:

xf(x)=(xf1(x)xfM(x))

Which corresponds to the following matrix in RN×M:

xf(x)=(x1f1(x)xNf1(x)x1fM(x)xNfM(x))

This matrix is called the jacobian of f.

Actually, when all the components of x are fixed except x1, f(x) can be considered as a function of the scalar x1. In this view, x1f(x) is the derivative of a vector function with respect to the scalar x1, and we have:

xf(x)=(x1f(x),,xNf(x))