Linearity implies that the DFT of the sum of input signals is the sum of the DFTs of the individual input signals. Let’s find out how.
Derivation
Assume that two input signals x1[n] and x2[n] have DFTs given by X1[k] and X2[k], respectively. If that’s the case, the DFT of their sum is equal to the sum of their individual DFTs.
DFT x1[n]→X1[k]DFT x2[n]→X2[k]
This implies that:
DFT {y[n]=x1[n]+x2[n]}→Y[k]=X1[k]+X2[k]
This is because:
Y[k]=n=0∑N−1{x1[n]+x2[n]}e−j2πNkn=n=0∑N−1x1[n]e−j2πNkn+n=0∑N−1x2[n]e−j2πNkn=X1[k]+X2[k]
This helps determine the DFT of a signal without explicit calculations.
Example