presso,
I looked through chapter 6 of my copy of Shapiro. You will not find an equation for Y there, but it is easy to see where the idea came from. Shapiro solved the differential equations for compressible flow in various conditions, like adiabatic, isothermal, subsonic, and supersonic flow. In one section on low pressure drops, he rearranged the equations to be of the form of the conventional pressure drop formula times the rest of his somewhat complicated formula. In this particular rearrangement, the equation was a quadratic in terms of dP/P1 and he gives the explicit solution of the equation. I doubt this is the equation for Y because it was derived for "when the percent pressure drop is fairly small", though it might be. I suspect this method, of the conventional pressure drop formula times the rest of a complicated formula, sparked someone elses work who derived the expansion factor, Y. The words "expansion factor" are not in Shapiro's index or in chapter 6.
I think the derivation of Y for venturi meters and flow nozzles is given by reference 9 in Crane, based on Perry's discussion under Head Meters. Perry also gives an approximate equation for Y for orifices.
I think your best hope is to follow the trail of Crane's reference 9 and those in Perry's to find or learn how to derive Y for flow thru pipe to a larger flow area.
Good luck,
Latexman