For a one-dimensional Q-ball, the profile equation gives 21(f′)2=U(f)−21ω2f2. Its rest energy is therefore M=∫[(f′)2+ω2f2]. A Lorentz transformation replaces the rest coordinates by τ=γ(t−v(x−x0)), ξ=γ(x−x0−vt). The scalar solution eiωτf(ξ) has energy∫[21∣ϕt∣2+21∣ϕx∣2+U] and momentum−∫Re(ϕˉtϕx). Substitution and dx=dξ/γ give the displayed values and E2−P2=M2.