Education

In your example, to maximize your credit you would claim $4,000 of qualified expenses for the purpose of claiming the AOC.  You would apply $1,000 of scholarship money toward the rest of the expenses to account for the total of $5,000. That leaves scholarship income of $9,000 which is taxable to the student.