# Inner product space axiom

So, I just have a small question.

Given that $\langle f,g\rangle=\langle g,f\rangle$, $\forall f, g\in V$. One of the Inner Product Space axioms.

So, I prove by saying $\langle f,g\rangle = \int f(x)g(x)dx$ and $\langle g,f\rangle = \int g(x)f(x)dx$. So these are obviously equivalent, but how do I justify that the order of $g(x)$ and $f(x)$ in the integral doesn't matter?

-
This property is true only if $f, g$ are real valued functions. – Mhenni Benghorbal Mar 12 '13 at 0:18
@MhenniBenghorbal: And if these are complex valued functions? – Asaf Karagila Mar 12 '13 at 2:09

To extend ncmathsadist's answer, the multiplication inside the integral is pointwise multiplication. That is, we calculate $f(x)$ and $g(x)$ and multiply these numbers as real numbers.