The physical particle horizon is
For an Einstein-de Sitter universe, , so
Since ,
The Horizon problem is that widely separated regions of the observed universe have nearly identical conditions even though, in a decelerating standard Big Bang history, their past light cones do not overlap early enough to establish causal thermal equilibrium.
In the decelerating hot Big Bang model, the particle horizon at recombination encloses only a finite comoving region. Widely separated parts of the Cosmic microwave background therefore had no overlapping past light cones in that model, although they have almost the same temperature. This is the Horizon problem. During cosmic inflation, accelerated expansion makes the comoving Hubble radius shrink. A small region that was initially in causal contact can then expand to contain the whole presently observable universe.
The Flatness problem follows from
During ordinary radiation- or matter-dominated decelerating expansion this quantity grows, so the observed closeness of the cosmological density parameter to one requires extreme tuning at early times. Inflation makes grow nearly exponentially and therefore drives rapidly toward zero. A sufficiently large number of e-folds makes spatial flatness a dynamical outcome rather than a finely tuned initial condition.