Define $f: [a,b]\to \Bbb R$, we can talk about the derivative of $f$ at the boundary points $a$ and $b$.
I am interested in the case when $f$ is a function of several variables.
Define $f:E\to \Bbb R^m$ with $E\subset\Bbb R^n$. One can talk about the derivative of $f$ only if $E$ is open. I have no idea why this is the case.
The answer here: https://math.stackexchange.com/a/504567/135775, says that if $E$ is not open the the Jacobian of $f$ need not be unique.
Can someone give an explanation of why one cannot define the derivative if $E$ is closed or maybe an example where the Jacobian is not unique.