Richard C. answered 07/17/22
Confidence-building Pre-Calculus tutor with 18 years experience
I think you may be confusing domain and range. Take a look at the graph of the quadratic,
f(x) = x2 -4x +4 = (x-2)(x-2). It should be clear that the function is defined at all values of x, therefore the domain is (-∞,∞). However the function is not defined when y<0. Therefore the range is [0, ∞).