Given that x is a real number, find the minimum value of $\sqrt{(x+2017)(x+2018)(x+2019)(x+2020)+1}$
Attempt:
Let z= (x + 2018)
$\sqrt{(z-1)(z)(z+1)(z+2)+1}$
First derivative of the equation gives me a value of $z = -1/2$, giving a miniumum of 5/4?
But i tried plugging -2017 to the equation, giving a value of 1

You can just set it equal to $0$ and find the zeros, since it is a square root function, the values cannot be $<0$ in this case.
Here, you know it must have a real zero, since there is nothing in the function located "outside" the square root.
$\sqrt{(x+2017)(x+2018)(x+2019)(x+2020)+1}=0$
$(x+2017)(x+2018)(x+2019)(x+2020)+1=0$
Let $a=x+2017$
$a(a+1)(a+2)(a+3)+1=0$
$a^4+6a^3+11a^2+6a+1=0$
$(a^2 + 3a + 1)^2=0$
$a= \cfrac 32 \pm \cfrac{\sqrt5}{2}$
Since $a=x+2017$
$x+2017=\cfrac 32 \pm \cfrac{\sqrt5}{2}$