Analytical solution of the problem of supercritical fluid instability in a heated channel