Note that \mathrm df(p) is a linnear transformation between vectorial spaces. The tangent space to R^n at p is R^n. The tangent space to f(U) at f(p) is again R^n, so, by Dimension Theorem, \dim(\ker(\mathrm df(p))=0, and then, \mathrm df(p) is inyective.