I am trying to prove the next:
Let $f :\Omega\subset\mathbb{R}^n\rightarrow\mathbb{R}^m$ be differentiable, where $\Omega$ is an open connected subset of $\mathbb{R}^n$. Suppose $D_{f}(x)$ is constant on $\Omega$, that is,$D_{f}(x) = T$ for all $x\in\Omega.$ Show that $f$ is the restriction to $\Omega$ of an affine transformation.
I was trying to prove that the set $A=\{x\in\Omega: f(x) = f(a) + T(x-a)\},$ where $a\in\Omega$ is fixed, is an open and closed subset of $\mathbb{R}^n,$ then for connected of $\Omega$ implies $\Omega = A$ and the proposition is true, but it seems quite hard to prove that; I was thinking about the definition of differentaiblity of $f$ in $a,$ however the best that we get of such definition is an inequality.
I saw a proof of this using gradient theorem but I do not know yet integration; this proposition appears in the section of differential calculus only, hence it must be possible prove it without integration.
Any kind of help is thanked in advanced.