You're encouraged to study harder when you're failing your classes.
Logan is not doing well in math and has a major exam tomorrow.
Logan wants to pass his exam.
Logan spends extra time working out practice problems to prepare for the exam.
Logan writes notes on his hand and refers to them during the exam.
Logan gets a decent grade and is prepared for future lessons.
Logan doesn't actually learn the material, which makes the next exam even more difficult.