A simple trick to summarize the three main categories of the author's purpose is to use the acronym PIE, which stands for persuade, inform, and entertain. Although there are many reasons to write, to persuade, to inform and to entertain, represent the three main forms of author's purpose.
Hope this helps