Let's say I have a signal, containing frequencies up to $30$ kHZ.
I am sampling this signal at $40$ kHz with infinite bit depth (just for theory).
Will I be able to recover exactly all the frequencies up to $20$ kHZ , or is that the signal must only contain frequencies below $20$ kHZ to get the exact magnitudes of the frequencies up to $20$ kHZ ? In other words, will frequencies above $20$ kHZ introduce uncertainty about those below $20$ kHZ ?