What makes you think that this is an important topic for you?
I ask because I suspect that a thorough understanding of this topic would avail you very little on the GMAT. If you have a choice between a gerund and infinitive, you very likely have an idiom question (I suspect that you already know this). The best way for you to improve on idiom questions is to get sufficient exposure to correct idioms that they sound natural or familiar, while incorrect idioms sound unfamiliar. For this reason, I advise students using the
MGMAT idiom list--or a similar lost from another source--to focus on what we label as the CORRECT usages, and for the most part to ignore the SUSPECT or WRONG usages. You don't want to recognize the WRONG answer as wrong, you want to find it strange.
There are a number of excellent sources on verb form idioms (that's the topic you're asking about), and if you Google "verb form idiom" you'll find the first four links pertinent to your question, but very little help for the GMAT. If you Google "gerund infinitive" you'll find the first five pertinent to your question, but very little help for the GMAT.
Trouble is, a deep answer to your question quickly takes you far from GMAT concerns.