By symmetry, and by X and Y being independent and identically distributed, the chance that X should be smaller than Y should not be different than the chance that Y should be smaller than X. Furthermore, from independence, joint pdf,
When X and Y are not independent say X = Y + 1, (assume the existence of such X and Y), then, and When X and Y are not identically distributed, say and then, and