Massless free scalar bosons are a family of two-dimensional conformal field theories, whose symmetry is described by an abelian affine Lie algebra. 
 Since they are free i.e. non-interacting, free bosonic CFTs are easily solved exactly. 
Via the Coulomb gas formalism, they lead to exact results in interacting CFTs such as minimal models.
Moreover, they play an important role in the worldsheet approach to string theory. 
 In a free bosonic CFT, the Virasoro algebra's central charge can take any complex value. However, the value 
  
    
      
        c
        =
        1
      
    
    {\displaystyle c=1}
  
 is sometimes implicitly assumed. For 
  
    
      
        c
        =
        1
      
    
    {\displaystyle c=1}
  
, there exist compactified free bosonic CFTs with arbitrary values of the compactification radius.
 The action of a free bosonic theory in two dimensions is a functional of the free boson 
  
    
      
        ϕ
      
    
    {\displaystyle \phi }
  
,
 where 
  
    
      
        
          g
          
            μ
            ν
          
        
      
    
    {\displaystyle g_{\mu \nu }}
  
 is the metric of the two-dimensional space on which the theory is formulated, 
  
    
      
        R
      
    
    {\displaystyle R}
  
 is the Ricci scalar of that space. The parameter 
  
    
      
        Q
        ∈
        
          C
        
      
    
    {\displaystyle Q\in \mathbb {C} }
  
 is called the background charge.
 What is special to two dimensions is that the scaling dimension of the free boson 
  
    
      
        ϕ
      
    
    {\displaystyle \phi }
  
 vanishes. This permits the presence of a non-vanishing background charge, and is at the origin of the theory's conformal symmetry.
 In probability theory, the free boson can be constructed as a Gaussian free field. This provides realizations of correlation functions as expected values of random variables.
 The symmetry algebra is generated by two chiral conserved currents: a left-moving current and a right-moving current, respectively 
 which obey 
  
    
      
        ∂
        
          
            
              J
              ¯
            
          
        
        =
        
          
            
              ∂
              ¯
            
          
        
        J
        =
        0
      
    
    {\displaystyle \partial {\bar {J}}={\bar {\partial }}J=0}
  
.
Each current generates an abelian affine Lie algebra 
  
    
      
        
          
            
              
                
                  u
                
                ^
              
            
          
          
            1
          
        
      
    
    {\displaystyle {\hat {\mathfrak {u}}}_{1}}
  
. The structure of the left-moving affine Lie algebra is encoded in the left-moving current's self-OPE, 
 Equivalently, if the current is written as a Laurent series 
  
    
      
        J
        (
        z
        )
        =
        
          ∑
          
            n
            ∈
            
              Z
            
          
        
        
          J
          
            n
          
        
        
          z
          
            −
            n
            −
            1
          
        
      
    
    {\displaystyle J(z)=\sum _{n\in \mathbb {Z} }J_{n}z^{-n-1}}
  
 about the point 
  
    
      
        z
        =
        0
      
    
    {\displaystyle z=0}
  
, the abelian affine Lie algebra is characterized by the Lie bracket
 The center of the algebra is generated by 
  
    
      
        
          J
          
            0
          
        
      
    
    {\displaystyle J_{0}}
  
, and 
the algebra is a direct sum of mutually commuting subalgebras of dimension 1 or 2:
 For any value of 
  
    
      
        Q
        ∈
        
          C
        
      
    
    {\displaystyle Q\in \mathbb {C} }
  
, the abelian affine Lie algebra's universal enveloping algebra has a Virasoro subalgebra with the generators  
 The central charge of this Virasoro subalgebra is 
 and the commutation relations of the Virasoro generators with the affine Lie algebra generators are 
 If the parameter 
  
    
      
        Q
      
    
    {\displaystyle Q}
  
 coincides with the free boson's background charge, then the field 

  
    
      
        T
        (
        z
        )
        =
        
          ∑
          
            n
            ∈
            
              Z
            
          
        
        
          L
          
            n
          
        
        
          z
          
            −
            n
            −
            2
          
        
      
    
    {\displaystyle T(z)=\sum _{n\in \mathbb {Z} }L_{n}z^{-n-2}}
  
 coincides with the free boson's energy-momentum tensor. The corresponding Virasoro algebra therefore has a geometrical interpretation as the algebra of infinitesimal conformal maps, and encodes the theory's local conformal symmetry.
 For special values of the central charge and/or of the radius of compactification, free bosonic theories can have not only their 
  
    
      
        
          
            
              
                
                  u
                
                ^
              
            
          
          
            1
          
        
      
    
    {\displaystyle {\hat {\mathfrak {u}}}_{1}}
  
 symmetry, but also additional symmetries. In particular, at 
  
    
      
        c
        =
        1
      
    
    {\displaystyle c=1}
  
, for special values of the radius of compactification, there may appear non-abelian affine Lie algebras, supersymmetry, etc.
 In a free bosonic CFT, all fields are either affine primary fields or affine descendants thereof. Thanks to the affine symmetry, correlation functions of affine descendant fields can in principle be deduced from correlation functions of affine primary fields. 
 An affine primary field 
  
    
      
        
          V
          
            α
            ,
            
              
                
                  α
                  ¯
                
              
            
          
        
        (
        z
        )
      
    
    {\displaystyle V_{\alpha ,{\bar {\alpha }}}(z)}
  
 with the left and right 
  
    
      
        
          
            
              
                
                  u
                
                ^
              
            
          
          
            1
          
        
      
    
    {\displaystyle {\hat {\mathfrak {u}}}_{1}}
  
-charges 
  
    
      
        α
        ,
        
          
            
              α
              ¯
            
          
        
      
    
    {\displaystyle \alpha ,{\bar {\alpha }}}
  
 is defined by its OPEs with the currents, 
 These OPEs are equivalent to the relations 
 The charges 
  
    
      
        α
        ,
        
          
            
              α
              ¯
            
          
        
      
    
    {\displaystyle \alpha ,{\bar {\alpha }}}
  
 are also called the left- and right-moving momentums. If they coincide, the affine primary field is called diagonal and written as 
  
    
      
        
          V
          
            α
          
        
        (
        z
        )
        =
        
          V
          
            α
            ,
            α
          
        
        (
        z
        )
      
    
    {\displaystyle V_{\alpha }(z)=V_{\alpha ,\alpha }(z)}
  
. 
 Normal-ordered exponentials of the free boson are affine primary fields. In particular, the field 

  
    
      
        :
        
          e
          
            2
            α
            ϕ
            (
            z
            )
          
        
        :
      
    
    {\displaystyle :e^{2\alpha \phi (z)}:}
  

is a diagonal affine primary field with momentum 
  
    
      
        α
      
    
    {\displaystyle \alpha }
  
. This field, and affine primary fields in general, are sometimes called vertex operators.
 An affine primary field is also a Virasoro primary field with the conformal dimension 
 The two fields 
  
    
      
        
          V
          
            α
          
        
        (
        z
        )
      
    
    {\displaystyle V_{\alpha }(z)}
  
 and 
  
    
      
        
          V
          
            Q
            −
            α
          
        
        (
        z
        )
      
    
    {\displaystyle V_{Q-\alpha }(z)}
  
 have the same left and right conformal dimensions, although their momentums are different.
 Due to the affine symmetry, momentum is conserved in free bosonic CFTs. At the level of fusion rules, this means that only one affine primary field can appear in the fusion of any two affine primary fields,
 Operator product expansions of affine primary fields therefore take the form 
 where 
  
    
      
        C
        (
        
          α
          
            i
          
        
        ,
        
          
            
              
                α
                ¯
              
            
          
          
            i
          
        
        )
      
    
    {\displaystyle C(\alpha _{i},{\bar {\alpha }}_{i})}
  
 is the OPE coefficient, and the term 
  
    
      
        O
        (
        
          z
          
            1
          
        
        −
        
          z
          
            2
          
        
        )
      
    
    {\displaystyle O(z_{1}-z_{2})}
  
 is the contribution of affine descendant fields. OPEs have no manifest dependence on the background charge.
 According to the affine Ward identities for 
  
    
      
        N
      
    
    {\displaystyle N}
  
-point functions on the sphere, 
 Moreover, the affine symmetry completely determines the dependence of sphere 
  
    
      
        N
      
    
    {\displaystyle N}
  
-point functions on the positions,
 Single-valuedness of correlation functions leads to constraints on momentums, 
 A free bosonic CFT is called non-compact if the momentum can take continuous values. 
 Non-compact free bosonic CFTs with 
  
    
      
        Q
        ≠
        0
      
    
    {\displaystyle Q\neq 0}
  
 are used for describing non-critical string theory. In this context, a non-compact free bosonic CFT is called a linear dilaton theory. 
 A free bosonic CFT with 
  
    
      
        Q
        =
        0
      
    
    {\displaystyle Q=0}
  
 i.e. 
  
    
      
        c
        =
        1
      
    
    {\displaystyle c=1}
  
 is a sigma model with a one-dimensional target space. 
 The compactified free boson with radius 
  
    
      
        R
      
    
    {\displaystyle R}
  
 is the free bosonic CFT where the left and right momentums take the values 
 The integers 
  
    
      
        n
        ,
        w
      
    
    {\displaystyle n,w}
  
 are then called the momentum and winding number. The allowed values of the compactification radius are 
  
    
      
        R
        ∈
        
          
            C
          
          
            ∗
          
        
      
    
    {\displaystyle R\in \mathbb {C} ^{*}}
  
 if 
  
    
      
        Q
        =
        0
      
    
    {\displaystyle Q=0}
  
 and 
  
    
      
        R
        ∈
        
          
            1
            
              i
              Q
            
          
        
        
          Z
        
      
    
    {\displaystyle R\in {\frac {1}{iQ}}\mathbb {Z} }
  
 otherwise. 
 If 
  
    
      
        Q
        =
        0
      
    
    {\displaystyle Q=0}
  
, free bosons with radiuses 
  
    
      
        R
      
    
    {\displaystyle R}
  
 and 
  
    
      
        
          
            1
            R
          
        
      
    
    {\displaystyle {\frac {1}{R}}}
  
 describe the same CFT. From a sigma model point of view, this equivalence is called T-duality. 
 If 
  
    
      
        Q
        =
        0
      
    
    {\displaystyle Q=0}
  
, the compactified free boson CFT exists on any Riemann surface. Its partition function on the torus 
  
    
      
        
          
            
              C
            
            
              
                Z
              
              +
              τ
              
                Z
              
            
          
        
      
    
    {\displaystyle {\frac {\mathbb {C} }{\mathbb {Z} +\tau \mathbb {Z} }}}
  
 is 
 where 
  
    
      
        q
        =
        
          e
          
            2
            π
            i
            τ
          
        
      
    
    {\displaystyle q=e^{2\pi i\tau }}
  
, and 
  
    
      
        η
        (
        τ
        )
      
    
    {\displaystyle \eta (\tau )}
  
 is the Dedekind eta-function. This partition function is the sum of characters of the Virasoro algebra over the theory's spectrum of conformal dimensions. 
 As in all free bosonic CFTs, correlation functions of affine primary fields have a dependence on the fields' positions that is determined by the affine symmetry. The remaining constant factors are signs that depend on the fields' momentums and winding numbers.
 Due to the 
  
    
      
        
          
            Z
          
          
            2
          
        
      
    
    {\displaystyle \mathbb {Z} _{2}}
  
 automorphism 
  
    
      
        J
        →
        −
        J
      
    
    {\displaystyle J\to -J}
  
 of the abelian affine Lie algebra
there are two types of boundary conditions that preserve the affine symmetry, namely
 If the boundary is the line 
  
    
      
        z
        =
        
          
            
              z
              ¯
            
          
        
      
    
    {\displaystyle z={\bar {z}}}
  
, these conditions correspond respectively to the Neumann boundary condition and Dirichlet boundary condition for the free boson 
  
    
      
        ϕ
      
    
    {\displaystyle \phi }
  
.
 In the case of a compactified free boson, each type of boundary condition leads to a family of boundary states, parametrized by 
  
    
      
        θ
        ∈
        
          
            
              R
            
            
              2
              π
              
                Z
              
            
          
        
      
    
    {\displaystyle \theta \in {\frac {\mathbb {R} }{2\pi \mathbb {Z} }}}
  
. The corresponding one-point functions on the upper half-plane 
  
    
      
        {
        ℑ
        z
        >
        0
        }
      
    
    {\displaystyle \{\Im z>0\}}
  
 are 
 In the case of a non-compact free boson, there is only one Neumann boundary state, while Dirichlet boundary states are parametrized by a real parameter. The corresponding one-point functions are 
 where 
  
    
      
        α
        ∈
        i
        
          R
        
      
    
    {\displaystyle \alpha \in i\mathbb {R} }
  
 and 
  
    
      
        θ
        ∈
        
          R
        
      
    
    {\displaystyle \theta \in \mathbb {R} }
  
 for a Euclidean boson. 
 Neumann and Dirichlet boundaries are the only boundaries that preserve the free boson's affine symmetry. However, there exist additional boundaries that preserve only the conformal symmetry. 
 If the radius is irrational, the additional boundary states are parametrized by a number 
  
    
      
        x
        ∈
        [
        −
        1
        ,
        1
        ]
      
    
    {\displaystyle x\in [-1,1]}
  
. The one-point functions of affine primary fields with 
  
    
      
        (
        n
        ,
        w
        )
        ≠
        (
        0
        ,
        0
        )
      
    
    {\displaystyle (n,w)\neq (0,0)}
  
 vanish. However, the Virasoro primary fields that are affine descendants of the affine primary field with 
  
    
      
        (
        n
        ,
        w
        )
        =
        (
        0
        ,
        0
        )
      
    
    {\displaystyle (n,w)=(0,0)}
  
 have nontrivial one-point functions.
 If the radius is rational 
  
    
      
        R
        =
        
          
            p
            q
          
        
      
    
    {\displaystyle R={\frac {p}{q}}}
  
, the additional boundary states are parametrized by the manifold 
  
    
      
        
          
            
              S
              U
              (
              2
              )
            
            
              
                
                  Z
                
                
                  p
                
              
              ×
              
                
                  Z
                
                
                  q
                
              
            
          
        
      
    
    {\displaystyle {\frac {SU(2)}{\mathbb {Z} _{p}\times \mathbb {Z} _{q}}}}
  
.
 From 
  
    
      
        N
      
    
    {\displaystyle N}
  
 massless free scalar bosons, it is possible to build a product CFT with the symmetry algebra 
  
    
      
        
          
            
              
                
                  u
                
                ^
              
            
          
          
            1
          
          
            N
          
        
      
    
    {\displaystyle {\hat {\mathfrak {u}}}_{1}^{N}}
  
. Some or all of the bosons can be compactified. 
 In particular, compactifying 
  
    
      
        N
      
    
    {\displaystyle N}
  
 bosons without background charge on an 
  
    
      
        N
      
    
    {\displaystyle N}
  
-dimensional torus (with Neveu–Schwarz B-field) gives rise to a family of CFTs called Narain compactifications. These CFTs exist on any Riemann surface, and play an important role in perturbative string theory.
 Due to the existence of the automorphism 
  
    
      
        J
        →
        −
        J
      
    
    {\displaystyle J\to -J}
  
 of the affine Lie algebra 
  
    
      
        
          
            
              
                
                  u
                
                ^
              
            
          
          
            1
          
        
      
    
    {\displaystyle {\hat {\mathfrak {u}}}_{1}}
  
, and of more general automorphisms of 
  
    
      
        
          
            
              
                
                  u
                
                ^
              
            
          
          
            1
          
          
            N
          
        
      
    
    {\displaystyle {\hat {\mathfrak {u}}}_{1}^{N}}
  
, there exist orbifolds of free bosonic CFTs. For example, the 
  
    
      
        
          
            Z
          
          
            2
          
        
      
    
    {\displaystyle \mathbb {Z} _{2}}
  
 orbifold of the compactified free boson with 
  
    
      
        Q
        =
        0
      
    
    {\displaystyle Q=0}
  
 is the critical two-dimensional Ashkin–Teller model.
 The Coulomb gas formalism is a technique for building interacting CFTs, or some of their correlation functions, from free bosonic CFTs. The idea is to perturb the free CFT using screening operators of the form 
  
    
      
        
          
            ∫
          
          
            d
            
              2
            
          
          z
          
          O
          (
          z
          )
        
      
    
    {\displaystyle \textstyle {\int }d^{2}z\,O(z)}
  
, where 
  
    
      
        O
        (
        z
        )
      
    
    {\displaystyle O(z)}
  
 is an affine primary field of conformal dimensions 
  
    
      
        (
        Δ
        ,
        
          
            
              Δ
              ¯
            
          
        
        )
        =
        (
        1
        ,
        1
        )
      
    
    {\displaystyle (\Delta ,{\bar {\Delta }})=(1,1)}
  
. In spite of its perturbative definition, the technique leads to exact results, thanks to momentum conservation. 
 In the case of a single free boson with background charge 
  
    
      
        Q
      
    
    {\displaystyle Q}
  
, there exist two diagonal screening operators 
  
    
      
        
          
            ∫
          
          
            V
            
              b
            
          
          ,
          
            
              ∫
            
            
              V
              
                
                  b
                  
                    −
                    1
                  
                
              
            
          
        
      
    
    {\displaystyle \textstyle {\int }V_{b},\textstyle {\int }V_{b^{-1}}}
  
, where 
  
    
      
        Q
        =
        b
        +
        
          b
          
            −
            1
          
        
      
    
    {\displaystyle Q=b+b^{-1}}
  
. Correlation functions in 
minimal models can be computed using these screening operators, giving rise to Dotsenko–Fateev integrals. Residues of correlation functions in Liouville theory can also be computed, and this led to the original derivation of the DOZZ formula for the three-point structure constant.
 In the case of 
  
    
      
        N
      
    
    {\displaystyle N}
  
 free bosons, the introduction of screening charges can be used for defining nontrivial CFTs including conformal Toda theory. The symmetries of these nontrivial CFTs are described by subalgebras of the abelian affine Lie algebra. Depending on the screenings, these subalgebras may or may not be W-algebras.
 The Coulomb gas formalism can also be used in two-dimensional CFTs such as the q-state Potts model and the 
  
    
      
        O
        (
        n
        )
      
    
    {\displaystyle O(n)}
  
 model.
 In arbitrary dimensions, there exist conformal field theories called generalized free theories. These are however not generalizations of the free bosonic CFTs in two dimensions. In the former, it is the conformal dimension which is conserved (modulo integers). In the latter, it is the momentum. 
 In two dimensions, generalizations include: