My physical intuition is rather poor so I would appreciate any help.
If a string is vibrating and is heavier towards one end and gradually gets lighter towards the other, I find after plotting the eigenfunctions that the standing waves have a smaller amplitude and smaller wavelength on the heavier end. I assume the reason the amplitude is lower is because more energy/force is required to move a greater mass, but I am not sure why the wavelength is smaller. I know the formula $v=\lambda f$, and I suppose by the same argument the speed of the wave will be lower when the mass is greater but it isn't obvious to me that the frequency should be constant throughout the whole string. What is the best way to think about this?