During inflation, the expansion of the universe is governed by the Friedmann equation,
H2=3c28πG(21ϕ˙2+V(ϕ))
and the equation of motion for the inflaton field ϕ,
ϕ¨+3Hϕ˙+∂ϕ∂V=0.
The slow-roll conditions are ϕ˙2≪V(ϕ) and ϕ¨≪Hϕ˙. Under these assumptions, solve for ϕ(t) and a(t) for the potentials:
(i) V(ϕ)=21m2ϕ2 and
(ii) V(ϕ)=41λϕ4,(λ>0).