# Two different notations for inner product

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.

• Are you sure the physicists are not writing $\langle v\mid w\rangle$? That would be bra-ket notation, which is popular in physics -- it was invented by Dirac, a physicist, for use in quantum mechanics. – hmakholm left over Monica May 14 '16 at 11:28
• Notations for inner products are $(v,w)$, or $\langle v,w\rangle$, or $B(v,w)$. In the context of simple Lie algebras, $\langle v,w\rangle=\frac{2(v,w)}{(v,v)}$. – Dietrich Burde May 14 '16 at 11:44
• I wrote it as I encountered it. The author of the script is a quantum field theory specialist, this may be of importance – marmistrz May 14 '16 at 12:13

The physics people further like to separate the inner product and consider $<v|$ and $|w>$ separately, where $|w>$ is the vector and $<v|$ is the linear functional formed by taking the adjoint (transpose-conjugate) of $|v>$. This is called Dirac notation. A mathematician might write $<v|$ as $v^*$, which again confuses the physicists, because physicists use *'s where mathematicians use conjugation bars.