A 4-digit number is in the form of 5XYZ, (X, Y and Z represents unknown digit)

(1) What is the largest number it can be?

(2) What is the smallest number it can be?

(3) What is the difference between the largest number and the smallest number?