Let $X$ be a compact $n$-manifold with boundary $\partial X$ and let $U$ be a submanifold of $X$ such that $\partial U=\partial X\cap U$. why $X-U-\partial U$ is open in $X$? i know that the topological boundary $\partial A$ of a subset $A$ is always closed since it is the intersection of the closure of $A$ and the closure of $X-A$ but here we are talking about the geometric boundary of a manifold which is different from the topological boundary. I also think from the definition that $\partial X$ is an $(n-1)$-submanifold of $X$ but i don't know if $\partial X$ is always closed? On the other hand i know that an open subset of the manifold $X$ is a submanifold, is the converse true, I mean do we have that each submanifold of $X$ is open in $X$? thank you for your clarifications
The geometric boundary of a manifold is always closed, since it is the complement of the open set of interior points. Also, not every submanifold of $X$ is open, just take an example where the submanifold has smaller dimension.