One can define as a group of matrices, just as for the classical
orthogonal group O(
n). Consider the (p+q)\times(p+q)
diagonal matrix g given by :g = \mathrm{diag}(\underbrace{1,\ldots,1}_{p},\underbrace{-1,\ldots,-1}_{q}) . Then we may define a
symmetric bilinear form [\cdot,\cdot]_{p,q} on \mathbb R^{p+q} by the formula :[x,y]_{p,q}=\langle x,gy\rangle=x_1y_1+\cdots +x_py_p-x_{p+1}y_{p+1}-\cdots -x_{p+q}y_{p+q}, where \langle\cdot,\cdot\rangle is the standard
inner product on \mathbb R^{p+q}. We then define \mathrm{O}(p,q) to be the group of (p+q)\times(p+q) matrices that preserve this bilinear form: :\mathrm{O}(p,q)=\{A\in M_{p+q}(\mathbb R)|[Ax,Ay]_{p,q}=[x,y]_{p,q}\,\forall x,y\in\mathbb R^{p+q}\}. More explicitly, \mathrm{O}(p,q) consists of matrices A such that :gA^{\mathrm{tr}}g = A^{-1}, where A^{\mathrm{tr}} is the
transpose of A. One obtains an isomorphic group (indeed, a conjugate subgroup of ) by replacing
g with any
symmetric matrix with
p positive
eigenvalues and
q negative ones.
Diagonalizing this matrix gives a conjugation of this group with the standard group .
Subgroups The group and related subgroups of can be described algebraically. Partition a matrix
L in as a
block matrix: :L = \begin{pmatrix} A & B \\ C & D \end{pmatrix} where
A,
B,
C, and
D are
p×
p,
p×
q,
q×
p, and
q×
q blocks, respectively. It can be shown that the set of matrices in whose upper-left
p×
p block
A has positive determinant is a subgroup. Or, to put it another way, if :L = \begin{pmatrix} A & B \\ C & D \end{pmatrix} \;\mathrm{and}\; M = \begin{pmatrix} W & X \\ Y & Z \end{pmatrix} are in , then :(\sgn \det A)(\sgn \det W) = \sgn \det (AW+BY). The analogous result for the bottom-right
q×
q block also holds. The subgroup consists of matrices
L such that det
A and det
D are both positive. For all matrices
L in , the determinants of
A and
D have the property that \frac{\det A}{\det D} = \det L and that |{\det A}| = |{\det D}| \ge 1. In particular, the subgroup consists of matrices
L such that det
A and det
D have the same sign. ==Topology==