Let $\Omega \subset \mathbb R^n$ open, smooth and bounded. I know that the trace $v\longmapsto v|_{\partial \Omega }$ is continuous and surjective $H^{1}(\Omega )\longrightarrow H^{1/2}(\partial \Omega )$. Let $g\in H^{1/2}(\partial \Omega ) $. Then, there is $v\in H^1(\Omega )$ s.t. $v|_{\partial \Omega }=g$. Since the trace is continuous, there is $C>0$ s.t. $\|g\|_{H^{1/2}(\partial \Omega )}\leq C\|v\|_{H^1(\Omega )}$. But in an exercise, it's written that there is a constant $D>0$ s.t. $$\|v\|_{H^1(\Omega )}\leq D\|g\|_{H^{1/2}(\partial \Omega )}.$$ To me it's an error, and I ask to my teacher, but he told me that it's not an error, but I don't have a theorem that say that. So
1) Is this inequality true ? And if yes, why ?
2) If it's true, can we says that $\|\cdot \|_{H^1}$ and $\|\cdot \|_{H^{1/2}}$ are equivalent ?
This inequality in general is evidently false. Just take any nonzero function that vanishes on the boundary.
You're probably mixing these two statements:
Consider also:
The proof of (3) that I know is by taking $g \in H^{1/2}(\partial \Omega)$ and giving an explicit formula for $v \in H^1(\Omega)$ with the right trace; this $v$ happens to satisfy (2).
Anyway, (2) follows from (1) and (3) via the open mapping theorem.