In this notebook, we formalize the mathematical framework of Lie theory, using 3D rotations as a driving example. While we have previously applied Lie theory to rotational dynamics, we took many mathematical facts on faith. Here, in a structured, cheat-sheet style, we derive everything, proceeding from the central concept, the
(2)
Lie algebra, to the
SO(3)
and
SU(2)
rotational Lie groups, which emerge naturally via representation theory.
In short, this notebook serves as a physics-centric introduction to Lie theory, showing techniques that generalize far beyond 3D rotations.

Preliminaries


Lie Ontology

One of the most important applications of Lie theory is for 3D rotations. In two earlier notebooks,
SO(3)
for Classical Mechanics and SU(2) for Classical Mechanics, we showed how to solve dynamical problems via geodesics in the Lie groups
SO(3)
and
SU(2)
, with metric tensors composed of kinetic energies. We demonstrated the superiority of
SU(2)
in avoiding the gimbal lock in the Euler-angle parameterization of
SO(3)
, by honoring the intrinsic, simply connected topology of the configuration space of rotations. In those notebooks, we developed just enough of the mathematical theory to assure the application, in a “just-in-time” style. This style left us with several pieces of theory “on the table.” Here, we organize those pieces and fit them together in a tidy structure that’s easy to understand, to remember, and to be creative with. We first give an inventory of the objects and mappings in the theory, and then present a diagram linking them together. In the rest of the notebook, we work out the details formally, machine-checked by Wolfram.

Object Inventory

The “big picture” for rotations is that we can represent the abstract Lie algebra  of
(2)
in at least two ways. One of them leads us to
SO(3)
and its troubles with gimbal lock (via the non-trivial fundamental group
π
1
(SO(3))=

2
), the other to
SU(2)
with no such troubles and, thus, a virtuous slippery slope to quantum theory.
◼
  • Representation is a formal notion: mapping the abstraction to matrices. Representation theory itself is an immense topic. Here we need just a basic understanding.
  • ◼
  • Abstractly, a Lie algebra is a vector space with a Lie bracket operation,
    [A,B]
    , that satisfies the Jacobi identity,
    [A,[B,C]]+[C,[A,B]]+[B,[C,A]]=0
    . In a matrix representation, the Lie bracket is the matrix commutator
    [A,B]=A·B-B·A
    .
  • The abstract algebra, , for 3D rotations is characterized by its its specific structure constants. In general, the structure constants
    f
    ijk
    of any Lie algebra-qua-vector-space are the Lie bracket applied to a choice of basis vectors:
    
    E
    i
    ,
    E
    j
    =
    f
    ijk
    E
    k
    (sum over
    k
    ). The specific structure constants for rotations are
    ϵ
    ijk
    , the fully antisymmetric Levi-Civita tensor, where
    i
    ,
    j
    ,
    k
    are in
    {1,2,3}
    . These structure constants model the cross product, familiar from elementary physics as the primary tool for describing rotation. In the real domain, these structure constants imply the generators
    J
    k
    . In the complex domain, they imply the generators
    T
    k
    . The corresponding Lie groups follow via the exponential map.
    ◼
  • A Lie group is both a group and a differentiable manifold. As a manifold, it enjoys parameterization by coordinate charts that must be differentiable where they overlap. As a group, its elements describe linear transformations of other objects, spinors and mat-vecs in our running example.
  • ◼
  • The adjoint action,
    Q·v·Q
    is linear in
    v
    .
  • The double-covering of
    SO(3)
    by
    SU(2)
    follows from the topology of their respective manifolds.
    SO(3)
    is diffeomorphic to the real projective space
    3
    P
    , visualized as the 3-sphere
    3
    S
    , where every point is identified with its antipode,
    (q∼(-q))
    .
    3
    P
    is not simply connected because any closed loop in
    3
    S
    that includes both
    q
    and
    -q
    , the same point in
    3
    P
    , is a closed loop in
    3
    P
    that cannot be shrunk to zero size without “tearing”. In contrast,
    SU(2)
    is diffeomorphic to
    3
    S
    . This space is simply connected because any closed path can be shrunk to zero size.
    ◼
  • 3
    S
    is the set of all points
    q≡(
    q
    0
    ,
    q
    1
    ,
    q
    2
    ,
    q
    3
    )
    in
    4
    
    such that
    
    2
    q
    0
    +
    2
    q
    1
    +
    2
    q
    2
    +
    2
    q
    3
    =1
    .
  • ◼
  • In
    3
    P
    , points are actually pairs
    (q,-q)
    of elements of
    4
    
    .
  • The elements of each group describe linear transformations of geometric objects that are not elements of the group. Concretely, we represent the linear transformations as
    n×n
    matrices that operate on
    n
    -vectors. We represent
    SO(3)
    by real
    3×3
    rotation matrices that act on real 3-vectors. We represent
    SU(2)
    by complex
    2×2
    matrices, isomorphic to unit quaternions, that act on spinors in
    V
    spin
    =
    2
    
    and on complex,
    2×2
    , traceless, Hermitian matrices (mat-vecs in
    
    σ
    ) that represent real 3-vectors.
    ◼
  • The algebra
    (2)
    is isomorphic to the pure imaginary quaternions,
    (0,
    q
    1
    ,
    q
    2
    ,
    q
    3
    )
    .
  • Finally, we introduce some notation,
    ad
    X
    and
    Ad
    Q
    , for actions in the Lie algebra and the Lie Group respectively, and the Killing form for extracting components of members of the Lie groups.
    Out[]=

    Mapping Inventory

    Here we list, non-exhaustively, various mappings amongst the objects above. MatrixExp takes us from a representation of an element of a Lie algebra to a representation of an element of a Lie Group. This is a surjection in that multiple inputs can produce the same output. Not listed is the inverse, MatrixLog, which goes the other way, because it is multi-valued, but there is an example in the body of the notebook of how to choose a branch of that inverse.
    ◼
  • Technically, MatrixExp is always a surjection exactly when the target Lie group is compact and connected.
    SO(3)
    and
    SU(2)
    satisfies these criteria. See Hall, Knapp, and Milnor in the References.
  • The center  of a group is the set of all elements that commute with every other element of the group . For
    SU(2)
    , the center consists of only
    I
    , the identity, and
    -I
    , the negative identity. The inclusion map
    f
    merely states that
    f(I)=I
    and
    f(-I)=-I
    . This inclusion formally ensures that
    SU(2)/
    is isomorphic to
    SO(3)
    in that both
    I
    and
    -I
    in
    SU(2)
    map to
    I
    in
    SO(3)
    , expressing the “double cover” relationship between
    SU(2)
    and
    SO(3)
    . In group-theoretic terms,  is the kernel of the
    SU(2)->SO(3)
    map, the set of elements in the domain that map to the identity element.
    The Pauli map takes 3-vectors to traceless, Hermitian matrices (mat-vecs) in
    
    σ
    . The trace projection takes them back, via a circuitous derivation involving the Killing Form,
    B
    . Examples are shown in the body of the notebook.
    To concretely represent the vectors in the Lie-algebra-qua-vector space, we must choose a basis. Many choices map to the same structure constants
    f
    ijk
    , and that’s why the mapping is only surjective. However, once a basis is chosen for
    (2)
    and the structure constants are materialized as the specific constants
    ϵ
    ijk
    , the mapping becomes bijective in that we can recover the basis from the particular structure constants
    ϵ
    ijk
    .
    The remaining rows of the Mapping Inventory should be self-explanatory given the previous explanations.
    Out[]=

    Ontology Diagram

    This diagram clarifies the relationships between the objects and mappings. These relationships will be clarified in the proofs in the body of the notebook.
    Out[]=

    Adjoint Representation

    (3) from Real Generators

    Derived from the structure constants
    ε
    ijk
    of the fundamental representation.
    In[]:=
    ClearAll[J,comm,commTest,triples,θ];
    In[]:=
    EchoMatrixForm/@​​J=
    0
    0
    0
    0
    0
    -1
    0
    1
    0
    ,
    0
    0
    1
    0
    0
    0
    -1
    0
    0
    ,
    0
    -1
    0
    1
    0
    0
    0
    0
    0
    ,​​"(3) J basis of (2) :";
    »
    (3) J basis of (2) :
    0
    0
    0
    0
    0
    -1
    0
    1
    0
    ,
    0
    0
    1
    0
    0
    0
    -1
    0
    0
    ,
    0
    -1
    0
    1
    0
    0
    0
    0
    0
    

    Cyclic Commutation of J

    Demonstration that
    
    J
    i
    ,
    J
    j
    =
    J
    k
    for all even permutations
    (i,j,k)=(1,2,3)
    In[]:=
    ClearAll[comm,commTest,triples];​​comm[M_][i_,j_]:=M[[i]].M[[j]]-M[[j]].M[[i]];​​commTest[M_][i_,j_,k_]:=comm[M][i,j]==M[[k]];​​triples=Echo[NestList[RotateLeft,Range[3],2],"index triples :"];​​proof[And@@commTest[J]@@@triples];
    »
    index triples :{{1,2,3},{2,3,1},{3,1,2}}
    Style[QED■,StandardGreen,Bold,18]

    Cyclicity From Levi-Civita

    In[]:=
    ClearAll[ε];​​ε=LeviCivitaTensor[3];​​ClearAll[cyclicity];​​cyclicity[M_]:=​​And@@Flatten@Table[​​comm[J][i,j]==​​Sum[J[[k]]*ε[[i,j,k]],{k,3}],​​{i,3},{j,3}];​​proof@cyclicity[J];
    Style[QED■,StandardGreen,Bold,18]

    Basis of
    SO(3)
    from
    (3)
    

    A convincing example of one elementary rotation matrix from one generator.

    Fundamental Representation

    (2) from Complex Generators

    Cyclic Commutation of T

    Topologies

    Topological Tearing

    Center Inclusion

    Using exactly the same technique as above

    Component Extraction from Trace Inner Product

    Notational Warnings

    Begin with the easy identity, checked by calculation:
    Begin with the easy identity, checked by calculation:

    Final Coordinate-Extraction Functions

    Derivation via the Killing Form

    The result is a real number.
    For simple Lie Algebras, like (3) and (2), Schur’s Lemma implies that any invariant, symmetric, bilinear form is proportional to the Killing form, so the basis trace formulas above are proportional to the Killing forms. See Georgi, Humphreys, and Fuchs in the References.
    ◼
  • A simple Lie algebra is a non-Abelian algebra with no non-trivial ideals, that is, no sub-algebras that “trap” the Lie bracket.
  • Conversion functions

    JtoT preserves the Lie Bracket iff JtoT([X, Y]) equals [JtoT(X),JtoT(Y)]. Ditto TtoJ.

    Explicit Mappings

    Map the T-basis to the J-basis

    Group Representation Map Π

    The Big Beautiful Example

    Rotation Parameters

    Proofs

    Proof 1: Consistency of the Pauli Map

    Proof 3: Equivalence of the Rotated Vectors

    References

    2
    .
    Beckman, Brian. (2026) SU(2) Gauge Theory for Classical Mechanics in . Wolfram Community post.
    3
    .
    Hall, B. C. (2015). Lie Groups, Lie Algebras, and Representations: an Elementary Introduction, 2nd Edition, Springer. (Theorem 3.29)
    4
    .
    Knapp, A. W. (2002). Lie Groups Beyond an Introduction. (Theorem 4.43).
    5
    .
    Milnor, J. (1976). Curvatures of Left Invariant Metrics on Lie Groups. (Adv. Math. 21).
    6
    .
    Georgi, H. (1999). Lie Algebras in Particle Physics: From Isospin to Unified Theories. Westview Press.
    7
    .
    Humphreys, J. E. (1972). Introduction to Lie Algebras and Representation Theory. Springer.
    8
    .
    Fuchs, J., & Schweigert, C. (1997). Symmetries, Lie Algebras and Representations: A Graduate Course for Physicists. Cambridge
    University Press.

    CITE THIS NOTEBOOK

    Lie theory, featuring 3D rotations​
    by Brian Beckman​
    Wolfram Community, STAFF PICKS, March 30, 2026
    https://community.wolfram.com/groups/-/m/t/3671922