The mass deficit is defined as the amount of mass that was removed in creating the core. Mathematically, the mass deficit is defined as M d e f = 4 π π ∫ ∫ 0 R c [ ρ ρ i ( r ) − − ρ ρ ( r ) ] r 2 d r ,