# Invariance of quadratic form for orthogonal matrices

1. Nov 3, 2015

### spaghetti3451

1. The problem statement, all variables and given/known data

Show that all $n \times n$ (real) orthogonal matrices $O$ leave invariant the quadratic form $x_{1}^{2} + x_{2}^{2}+ \cdots + x_{n}^{2}$, that is, that if $x'=Ox$, then $x'^{2}=x^{2}$.

2. Relevant equations

3. The attempt at a solution

$x'^{2} = (x')^{T}(x') = (Ox)^{T}(Ox) = x^{T}O^{T}Ox = x^{T}x = x^{2}$.

I would like to check if I am correct?

2. Nov 3, 2015

### PeroK

Looks good to me.

3. Nov 3, 2015

Thanks!