I am trying to get my head around representation theory and was hoping for some help. I will write out some text and then ask questions and make comments after.
Let $G$ be a compact connected Lie group with Haar measure $\nu$, and suppose that $\mathbb{R}^n$ is a representation of $G$. We may always assume without loss of generality that the image of $\pi:G\to \mathbb{R}^{n,n}$ lies in $O(n)$, the $n\times n$ orthogonal matrices. Indeed, take any inner product $\langle\cdot,\cdot\rangle$ on $\mathbb{R}^n$. Define the inner product $$[x,y]=\int_G \langle \pi(g)x,\pi(g)y\rangle\, d\nu(g)$$ on $\mathbb{R}^n$. This is $\pi(G)$-invariant since $\nu$ is the Haar measure.
Questions/Comments:
1) My understanding is as follows. Given a representation as above, one can find an inner product for which this representation is invariant. Then the image of this representation lies in the orthogonal group with respect to this inner product. Why does this let us assume $\pi(G)\subset O(n)$? According to Wikipedia $O(n)$ consists of $n\times n$ matrices for which the inverse=transpose. Does $[\pi(g)x,\pi(g)y]=[x,y]$ imply $\pi(g)^{-1}=\pi(g)^T$? If $[\cdot,\cdot]$ is the usual Euclidean inner product then it is clear, but why is it true for some arbitrary inner product?
2) This is sort of a chicken and egg question. Specifically, if $\pi(G)$ is assumed to lie in $O(n)$, then the Euclidean norm on $\mathbb{R}^n$ satisfies $|\pi(g)v|=|v|$ for all $g\in G$ and $v\in\mathbb{R}^n$. So then there is no need to construct such an inner product as above. However, in some notes I am reading, the author assumes $\pi(G)\subset O(n)$, but still chooses a $G$-invariant inner product. What is the point in this? Is the whole point of the above construction not to say "WLOG, $\pi(G)\subset O(n)$ and so we can work with the Euclidean norms/inner products"?
Apologies if these are very basic!