How can I know the source size using the spectrum variability? When reading some astrophysical papers I saw things like this:

The sources are variable on very short timescales, implying a compact emission region.

How can we conclude or measure the source size, or emission region size (or its compactness) from the variability of the spectrum?
A source cannot coherently vary on timescales shorter than the source size divided by the speed of light.
That is because there is no way that different points on the source could &quot;communicate&quot; with each other and arrange for a coordinated increase or decrease in brightness.
Therefore the shortest timescale of variability gives an upper limit to the size of the emission region.