Let f:[0,1]→R be defined by f(x)=x, show that the polynomial x^2+f in T[x] is irreducible, where T is the ring of continuous real valued function on [0,1].

For irreduciblity do i just show that this does not have any roots. by evaluating the equation x^2 + f, at 0 and 1?