In my linear algebra course on the faculty of mathematics, we used the following notation for the inner product: $$\langle v, w \rangle$$ On the other hand, my friends from the faculty of physics rather use the following notation: $$(v \mid w )$$
Where do the two notations come from? Is there any reason why the former is more widespread on my faculty than the latter (and the same for the other notation). Are there any cases when one is more convenient than the other?
One case which comes to my mind, that that the former may be confused with $\langle v, w \rangle_\mathbb{K}$, which would be used for a linear span of these two vectors.