For what it's worth, I find this problem on several sites, and it does appear to come
from a textbook. (I haven't read through any.)
Note that it doesn't say the UP causes the interference pattern, but that somehow it would destroy the pattern.
Okay, reading through some of this I think I know what the problem might be getting at, though I'll say up front that I don't agree with it. I'll explain that at the end.
I
think the argument is supposed to go like this:
Say we have a light source that is giving off light waves for at least a short period of time. Over that period, if we do not try to detect the particle (at either slit) then the waveform spreads out, creating an interference pattern on the screen. If we detect which slit the particle goes through (let's say for the sake of argument we have a detector on each slit) then we know
where the particle should be at some point, which means that the momentum will be very uncertain. Now, because the particle is localized, it's wavefunction will be peaked and there is nothing between the slits and screen to change the momentum part of the wavefunction, so the wave stays peaked. Thus, there is no interference pattern on the screen.
BUT
1) We don't really need the UP for this. All we need is the fact that the wave peaks at the detector. Time evolution will "spread out" the wavefunction, but over a short distance this will not really have an effect on the pattern. We still destroy the interference pattern.
2) Nothing of what said above explains why, if we take away the detectors and only shoot one particle at a time at the slits, why we build up an interference pattern on the screen if we do that a large number of times, and why that pattern doesn't show up if we detect which slit the particle goes through.
IMHO the best way to explain the double slit experiment is the axiom that a particle cannot be said to be in any particular state when we are not measuring it and (barring time evolution) will stay in that state until something interacts with it. The wavefunction will thus initially spread out through all of space creating an interference pattern, and if it goes through a detector the wavefunction "collapses" into a state with a peaked position wavefunction, then proceeds to the screen and does not create interference. The UP just confuses the issue and doesn't really add anything of substance.
-Dan