Can two different continuous frequencies produce the same recorded values?
A perfect sampled fit can describe the wrong oscillation
Source research checked . Teaching calculations are ideal models.
An oscilloscope or software logger records samples, not an unbroken view of a waveform. Different continuous signals can agree at those sample times. If an analysis chooses between them only by how well it fits the recorded values, it can have no basis for preferring the physically correct one.
The constructed experiment samples a zero-phase cosine at a fixed rate. Folding its frequency into the base interval gives an alias with the same ideal sample sequence. The numerical comparison makes the ambiguity concrete: two plotted continuous explanations can diverge between sample times while their recorded points coincide. More elaborate fitting does not recover information that the measurement procedure never distinguished.
This lesson applies to control waveforms, spectroscopy traces and simulated dynamics. A justified bandwidth limit, anti-alias filtering or a changed sampling schedule can supply the missing constraint. The example also distinguishes Fourier-bin spacing from a universal resolution claim. A longer record changes the analysis grid, but identifiability still depends on the signal model, window and measurement process.
Start with the assumptions
- The signal is a zero-phase cosine with a known fixed amplitude.
- Sampling is exact and uniformly spaced.
- Floating-point discrepancies are numerical error, not physical noise.
Samples occur at t_k = k/f_s
Cosine alias = |((f+f_s/2) modulo f_s)-f_s/2|
DFT-bin spacing = f_s/N
Compare the input regimes
Each case uses invented inputs. The results follow from this model and do not describe measured hardware.
Baseline regime
Complete inputs
- Sampling rate, Hz
- 80
- Actual sinusoid frequency, Hz
- 91
- Sample count
- 32
- Signal amplitude
- 1
- Fold the actual frequency into the interval from zero to fs/2: |((f + fs/2) mod fs) - fs/2| = 11 Hz.
- Evaluate zero-phase cosines at t_k = k/fs for k = 0,...,31. The largest difference between actual and aliased sample values is 2.29816e-14, arising from floating-point arithmetic.
- The spacing of the discrete Fourier transform bins is fs/N = 2.5 Hz. This is a grid spacing, not a universal resolution limit or a proof that adjacent lines are separable.
| Calculated quantity | Synthetic result |
|---|---|
| Folded alias frequency, Hz | 11 |
| Sampling Nyquist boundary, Hz | 40 |
| Observation duration N/fs, seconds | 0.4 |
| DFT-bin spacing fs/N, Hz | 2.5 |
| Maximum numerical sample discrepancy | 2.29816166097e-14 |
| Index | Time, seconds | Actual-frequency sample | Alias-frequency sample |
|---|---|---|---|
| 0 | 0 | 1 | 1 |
| 1 | 0.0125 | 0.64944804833 | 0.64944804833 |
| 2 | 0.025 | -0.15643446504 | -0.15643446504 |
| 3 | 0.0375 | -0.852640164354 | -0.852640164354 |
| 4 | 0.05 | -0.951056516295 | -0.951056516295 |
| 5 | 0.0625 | -0.382683432365 | -0.382683432365 |
| 6 | 0.075 | 0.45399049974 | 0.45399049974 |
| 7 | 0.0875 | 0.972369920398 | 0.972369920398 |
| 8 | 0.1 | 0.809016994375 | 0.809016994375 |
| 9 | 0.1125 | 0.0784590957278 | 0.0784590957278 |
| 10 | 0.125 | -0.707106781187 | -0.707106781187 |
| 11 | 0.1375 | -0.996917333733 | -0.996917333733 |
The 91 Hz and 11 Hz zero-phase cosines give the same ideal sample sequence. A better-fitting sampled curve cannot identify which continuous signal was present. Filtering, an independently justified bandwidth limit or a changed sampling rate supplies information absent from the original samples.
Comparison regime
Complete inputs
- Sampling rate, Hz
- 130
- Actual sinusoid frequency, Hz
- 281
- Sample count
- 40
- Signal amplitude
- 1.5
- Fold the actual frequency into the interval from zero to fs/2: |((f + fs/2) mod fs) - fs/2| = 21 Hz.
- Evaluate zero-phase cosines at t_k = k/fs for k = 0,...,39. The largest difference between actual and aliased sample values is 1.00031e-13, arising from floating-point arithmetic.
- The spacing of the discrete Fourier transform bins is fs/N = 3.25 Hz. This is a grid spacing, not a universal resolution limit or a proof that adjacent lines are separable.
| Calculated quantity | Synthetic result |
|---|---|
| Folded alias frequency, Hz | 21 |
| Sampling Nyquist boundary, Hz | 65 |
| Observation duration N/fs, seconds | 0.307692307692 |
| DFT-bin spacing fs/N, Hz | 3.25 |
| Maximum numerical sample discrepancy | 1.00031094519e-13 |
| Index | Time, seconds | Actual-frequency sample | Alias-frequency sample |
|---|---|---|---|
| 0 | 0 | 1.5 | 1.5 |
| 1 | 0.00769230769231 | 0.791460366159 | 0.791460366159 |
| 2 | 0.0153846153846 | -0.664787318399 | -0.664787318399 |
| 3 | 0.0230769230769 | -1.49299745208 | -1.49299745208 |
| 4 | 0.0307692307692 | -0.910743761728 | -0.910743761728 |
| 5 | 0.0384615384615 | 0.531907330564 | 0.531907330564 |
| 6 | 0.0461538461538 | 1.47205518921 | 1.47205518921 |
| 7 | 0.0538461538462 | 1.02152378818 | 1.02152378818 |
| 8 | 0.0615384615385 | -0.394061067298 | -0.394061067298 |
| 9 | 0.0692307692308 | -1.43736874366 | -1.43736874366 |
| 10 | 0.0769230769231 | -1.12276612226 | -1.12276612226 |
| 11 | 0.0846153846154 | 0.252535562021 | 0.252535562021 |
The 281 Hz and 21 Hz zero-phase cosines give the same ideal sample sequence. A better-fitting sampled curve cannot identify which continuous signal was present. Filtering, an independently justified bandwidth limit or a changed sampling rate supplies information absent from the original samples.
Extended regime
Complete inputs
- Sampling rate, Hz
- 190
- Actual sinusoid frequency, Hz
- 413
- Sample count
- 40
- Signal amplitude
- 2.1
- Fold the actual frequency into the interval from zero to fs/2: |((f + fs/2) mod fs) - fs/2| = 33 Hz.
- Evaluate zero-phase cosines at t_k = k/fs for k = 0,...,39. The largest difference between actual and aliased sample values is 9.54792e-14, arising from floating-point arithmetic.
- The spacing of the discrete Fourier transform bins is fs/N = 4.75 Hz. This is a grid spacing, not a universal resolution limit or a proof that adjacent lines are separable.
| Calculated quantity | Synthetic result |
|---|---|
| Folded alias frequency, Hz | 33 |
| Sampling Nyquist boundary, Hz | 95 |
| Observation duration N/fs, seconds | 0.210526315789 |
| DFT-bin spacing fs/N, Hz | 4.75 |
| Maximum numerical sample discrepancy | 9.54791801178e-14 |
| Index | Time, seconds | Actual-frequency sample | Alias-frequency sample |
|---|---|---|---|
| 0 | 0 | 2.1 | 2.1 |
| 1 | 0.00526315789474 | 0.968816442255 | 0.968816442255 |
| 2 | 0.0105263157895 | -1.20609019163 | -1.20609019163 |
| 3 | 0.0157894736842 | -2.08165454559 | -2.08165454559 |
| 4 | 0.0210526315789 | -0.714615666327 | -0.714615666327 |
| 5 | 0.0263157894737 | 1.42229130041 | 1.42229130041 |
| 6 | 0.0315789473684 | 2.02693871158 | 2.02693871158 |
| 7 | 0.0368421052632 | 0.447929224562 | 0.447929224562 |
| 8 | 0.0421052631579 | -1.6136423328 | -1.6136423328 |
| 9 | 0.0473684210526 | -1.93680848545 | -1.93680848545 |
| 10 | 0.0526315789474 | -0.173416625492 | -0.173416625492 |
| 11 | 0.0578947368421 | 1.77680003008 | 1.77680003008 |
The 413 Hz and 33 Hz zero-phase cosines give the same ideal sample sequence. A better-fitting sampled curve cannot identify which continuous signal was present. Filtering, an independently justified bandwidth limit or a changed sampling rate supplies information absent from the original samples.
Try the reasoning: How would a second sampling rate or a verified analog bandwidth limit distinguish the continuous frequencies that share these samples?