If f(x)=∣∣ ∣ ∣∣1xx+12xx(x−1)(x+1)x3x(x−1)x(x−1)(x−2)(x+1)x(x−1)∣∣ ∣ ∣∣ then f(500) is equal to