We define the density ρ in the frame K in such a way that ρdx dy dz is the rest mass dmo of the element That is ρdx dy dz = ρodxo dyo dzo , where ρo is the proper density dxo, dyo, dzo are the dimensions of the element in the rest frame Ko . Now
if the frame K is moving with velocity, v relative to the frame K0 . Thus