Lời giải:
a)
$x^2+x+20=(x^2+2.\frac{1}{2}x+\frac{1}{2^2})+\frac{79}{4}$
$=(x+\frac{1}{2})^2+\frac{79}{4}\geq 0+\frac{79}{4}>0$ (đpcm)
b)
$x^2+x+7=(x^2+2.\frac{1}{2}.x+\frac{1}{2^2})+\frac{27}{4}$
$=(x+\frac{1}{2})^2+\frac{27}{4}\geq 0+\frac{27}{4}>0$ (đpcm)