A team of mathematicians has determined the ideal wing shape for fast flapping flight — a discovery that offers promise for better methods for harvesting energy from water as well as for enhancing air speed.