Fair use analysis involves section 107 of the copyright law. Also see copyright.
Cornell University offers the following checklist to help you weigh the pros and cons in favor of fair use.
The infographic below (commissioned by the Association for Research Libraries) is a helpful starting place for considering fair use.