For American Opportunity Credit you can claim as qualified education expenses your tuition and text books and also a computer if required (which now a days it is a necessity). For the Lifetime Learning Credit only tuition is a qualified expense. Books can be an expense if purchased from the school.