Suppose you have f(x) = ( x^2 + 4x + 3 ) / (x+3), making a scan in that function you can say that D : R / x =! -3, because x with -3 would give a division by zero.
But, suppose you simplify that function by factorizing, you get f(x) = x + 1
It would represent the same value, but my teacher...