Exact comprehensive equations for the photon management properties of silicon nanowire