Canonical: https://knowlpedia.com/catalog/lie-groups/o-p-q-r/

# O(p,q)

O(p,q) as a separately identified real Lie group, with its defining operations and dimension.

For nonnegative integers \(p,q\) with \(p+q\ge1\), \(\operatorname{O}(p,q)\) is the real [Lie group](https://knowlpedia.com/fiber-bundles/lie-group/)
\[ \operatorname{O}(p,q)=\{A\in\mathrm{GL}(p+q,\mathbb R):A^{\mathsf T}I_{p,q}A=I_{p,q}\},\qquad I_{p,q}=\operatorname{diag}(-I_{p},I_{q}). \]
The first parameter counts negative directions. The form is real symmetric bilinear.

## Dimensions and structure

This group has real dimension \((p+q)(p+q-1)/2\). The definition specifies the full matrix group. When both signature entries are positive it has four components.

## References

1. [Pavel Etingof, Lie Groups and Lie Algebras (MIT lecture notes)](https://ocw.mit.edu/courses/18-755-lie-groups-and-lie-algebras-ii-spring-2024/mit18_755_s24_lec_full.pdf), §6.1, pp. 38–39; Proposition 6.3 and Exercise 6.5.
