To motivate myself to forge ahead and continue studying ... I reflect upon those who are physically trapped in jail cells, frequently in pairs so as to NEVER have any true solitude and always be tormented by the presence of another human being in close quarters.
I reflect upon how precious is the access to paper, pencils, computer algebra systems, textbooks, coffee, tobacco, peanut butter, eggs, etc ... a blanket and pillow ...
Sometimes it helps to imagine oneself in some open air prison where you will spend your existence in your room, walking around outdoors (dodging automobiles) ... and you are studying to understand ... and you cherish being one who knows that there really is no one to know, nowhere to go, and no one to know.
Study as though you are doing something forbidden rather than required, like a chattel slave sneaking a book of higher mathematics back into his quarters, then refusing to report to the master in the morning ... come what may.