The subject of gerunds and infinitives in English is often met with a shrug of the shoulders and the advice, "You'll just have to memorize the charts."
This book gives some insight into the subject we've acquired over many years of teaching and should help students (and teachers alike) make it, at least, a little more accessible.