Rewrite the given equation as
[tex]y=x^2-4x+8=x^2-4x+4+4=(x-2)^2+4[/tex].
Since [tex](x-2)^2\ge 0[/tex], you can conclude that the imimum value of y will be gained for the minimum value of [tex](x-2)^2[/tex]. The minimum value of [tex](x-2)^2[/tex] is 0 for x=2.
So, y(2)=0+4=4.
Answer: minimum value of y is 4, when x=2.