Let be a random variable from an absolutely continuous distribution with density:

Find the minimum sufficient statistics T and its density.

The solution is as of follows:

Let

Then

, with

I understand that this density gives non zero values only when and but I don't understand how that last line with the two indicator functions come into being. Thank you!