is an injective function at every point p of M (where TpX denotes the tangent space of a manifold X at a point p in X and Dp f is the derivative (pushforward) of the map f at point p). Equivalently, f is an immersion if its derivative has constant rank equal to the dimension of M:[2]
The function f itself need not be injective, only its derivative must be.