Let m be the mass of each substance,
Total mass = `m+m = 2m`
Total volume` = m/(rho_1) +m/(rho_2) = m((rho_(1)+rho_(2))/(rho_(1)rho_(2))) `
Density of mixture ,
`rho = ("total mass")/("total volume") =(2m)/(m((rho_(1)+rho_(2))/(rho_(1)rho_(2))))=(2rho_(1)rho_(2))/(rho_(1)+rho_(2))`.