Why period and frequency are reciprocals
Frequency tells you how many cycles occur each second, while period tells you how long one cycle lasts. They describe the same repeating behaviour from opposite directions, so one is always the reciprocal of the other.
That is why a higher frequency always means a shorter period. A 50 Hz mains signal repeats fifty times per second, so each cycle lasts only 0.02 seconds, or 20 milliseconds.
T = 1 / f
Period equals the reciprocal of frequency when frequency is expressed in hertz.
f = 1 / T
Frequency equals the reciprocal of period when period is expressed in seconds.