The Gell-Mann matrices, developed by Murray Gell-Mann, are a set of eight linearly independent 3×3 traceless Hermitian matrices  used in the study of the strong interaction in particle physics.
They span the  Lie algebra of the SU(3) group in the defining representation.
 These matrices are traceless, Hermitian, and obey the extra trace orthonormality relation (so they can generate unitary matrix group elements of SU(3) through exponentiation). These properties were chosen by Gell-Mann because they then naturally generalize the Pauli matrices for SU(2) to SU(3), which formed the basis for Gell-Mann's quark model. Gell-Mann's generalization further extends to general SU(n). For their connection to the standard basis of Lie algebras, see  the Weyl–Cartan basis.
 In mathematics, orthonormality typically implies a norm which has a value of unity (1).  Gell-Mann matrices, however, are normalized to a value of 2.  Thus, the trace of the pairwise product results in the ortho-normalization condition
 where 
  
    
      
        
          δ
          
            i
            j
          
        
      
    
    {\displaystyle \delta _{ij}}
  
 is the Kronecker delta.
 This is so the embedded Pauli matrices corresponding to the  three embedded subalgebras of SU(2) are conventionally normalized. In this three-dimensional matrix representation,  the Cartan subalgebra is the set of linear combinations (with real coefficients) of the two matrices 
  
    
      
        
          λ
          
            3
          
        
      
    
    {\displaystyle \lambda _{3}}
  
 and 
  
    
      
        
          λ
          
            8
          
        
      
    
    {\displaystyle \lambda _{8}}
  
, which commute with each other.
 There are three significant SU(2) subalgebras:
 where the x and y are linear combinations of 
  
    
      
        
          λ
          
            3
          
        
      
    
    {\displaystyle \lambda _{3}}
  
 and 
  
    
      
        
          λ
          
            8
          
        
      
    
    {\displaystyle \lambda _{8}}
  
. The  SU(2) Casimirs of these subalgebras mutually commute.
 However, any unitary similarity transformation of these subalgebras will yield SU(2) subalgebras. There is an uncountable number of such transformations.
 The 8 generators of SU(3) satisfy the commutation and anti-commutation relations
 with the structure constants
 The structure constants 
  
    
      
        
          f
          
            a
            b
            c
          
        
      
    
    {\displaystyle f^{abc}}
  
 are completely antisymmetric in the three indices, generalizing the antisymmetry of the Levi-Civita symbol 
  
    
      
        
          ϵ
          
            j
            k
            l
          
        
      
    
    {\displaystyle \epsilon _{jkl}}
  
 of SU(2).  For the present order of Gell-Mann matrices they take the values
 In general, they evaluate to zero, unless they contain an odd count of indices from the set {2,5,7}, corresponding to the antisymmetric (imaginary) λs.
 Using these commutation relations, the product of Gell-Mann matrices can be written as
 where I is the identity matrix.
 Since the eight matrices and the identity are a complete trace-orthogonal set spanning all 3×3 matrices, it is straightforward to find two Fierz completeness relations, (Li & Cheng, 4.134), analogous to that satisfied by the Pauli matrices. Namely, using the dot to sum over the eight matrices and using Greek indices for their row/column indices, the following identities hold,
 and 
 One may prefer the recast version, resulting from a linear combination of the above,
 A particular choice of matrices is called a group representation, because any element of SU(3) can be written in the form 
  
    
      
        
          e
          x
          p
        
        (
        i
        
          θ
          
            j
          
        
        
          g
          
            j
          
        
        )
      
    
    {\displaystyle \mathrm {exp} (i\theta ^{j}g_{j})}
  
 using the Einstein notation, where the eight 
  
    
      
        
          θ
          
            j
          
        
      
    
    {\displaystyle \theta ^{j}}
  
 are real numbers and a sum over the index j is implied. Given one representation, an equivalent one may be obtained by an arbitrary unitary similarity transformation, since that leaves the commutator unchanged.
 The matrices can be realized as a representation of the  infinitesimal generators of the special unitary group called SU(3). The Lie algebra of this group (a real Lie algebra in fact) has dimension eight and therefore it has some set with eight linearly independent generators, which can be written as 
  
    
      
        
          g
          
            i
          
        
      
    
    {\displaystyle g_{i}}
  
, with i taking values from 1 to 8.
 The squared sum of the Gell-Mann matrices gives the quadratic Casimir operator, a group invariant, 
 where 
  
    
      
        I
        
      
    
    {\displaystyle I\,}
  
is 3×3 identity matrix. There is another, independent, cubic Casimir operator, as well.
 These matrices serve to study the internal (color) rotations of the gluon fields associated with the coloured quarks of quantum chromodynamics (cf. colours of the gluon). A gauge colour rotation is a spacetime-dependent SU(3) group element 

  
    
      
        
        U
        =
        exp
        ⁡
        (
        
          
            
               
              i
               
            
            2
          
        
         
        
          θ
          
            k
          
        
        (
        
          
            r
          
        
        ,
        t
        )
         
        
          λ
          
            k
          
        
        )
        
        ,
      
    
    {\displaystyle \;U=\exp({\frac {\ i\ }{2}}\ \theta ^{k}({\mathbf {r} },t)\ \lambda _{k})\;,}
  
 where summation over the eight indices k is implied.