Define the function
p(x)=∣x−4∣−⌊x⌋,
where ⌊x⌋ denotes the greatest integer less than or equal to x.
a. (i) Analyse the expression ∣x−4∣ on the intervals (−∞,4] and [4,∞).
b. (ii) For an arbitrary integer n, consider x∈[n,n+1). Express the radicand ∣x−4∣−⌊x⌋ in terms of n and x, and state the condition under which it is non-negative.
c. (iii) Using part (ii), determine all real numbers x for which the radicand is non-negative, and hence write the domain of p(x) in interval notation.