Symmetry serves as a fundamental cornerstone of modern physics research, with group theory being the core mathematical tool for characterizing symmetries. This paper aims to explore how to systematically teach group theory concepts using Maxwell's electromagnetic theory as the main thread in the course “Group Theory in Physics”. Maxwell's theory serves as an ideal pedagogical example, containing a rich variety of symmetry structures: it encompasses both finite groups and Lie groups, spacetime symmetries and internal symmetries, as well as traditional 0-form symmetries and generalized 1-form symmetries. Following the pedagogical principle of progressing from simple to complex, we first review the various formulations of Maxwell's equations (differential equations, covariant form, differential forms) and the action principle. Subsequently, we systematically elucidate the various symmetries of Maxwell's theory from both the equation and action perspectives: (1) Poincaré symmetry—including spacetime translations and Lorentz transformations, corresponding to energy-momentum conservation; (2) U(1) gauge symmetry—an internal symmetry acting on the electromagnetic potential, corresponding to charge conservation; (3) discrete symmetries—charge conjugation (C), parity (P), time reversal (T), and their combined CPT transformation; (4) conformal symmetry—scale transformations and special conformal transformations; (5) electromagnetic duality symmetry—discrete or continuous symmetries exchanging electric and magnetic fields, and generalized duality transformations with the introduction of magnetic monopoles. Through this systematic pedagogical design, students can not only gain a deep understanding of the mathematical structure of group theory and its physical significance, but also closely connect abstract group-theoretic concepts with concrete electromagnetic phenomena, experiencing the intellectual evolution from classical physics to modern gauge field theory. The course content starts from the fundamental Lorentz group and gradually delves into generalized symmetries at the forefront of contemporary physics, both reinforcing students' understanding of classical electrodynamics and laying a solid group-theoretic foundation for subsequent courses such as quantum field theory and condensed matter physics.
PAN et al. (Sun,) studied this question.