Domain is defined as the values of input for which output is defined.
In a rational expression we must not have denominator as 0
so let us equate denominator=0 and find the restriction on domain by finding x
x²-8x+16=0
x²-8x+4²=0
(x-4)²=0
x=4
so domain is all real numbers except x=4