A textbook is a book that contains concepts and/or formulas/procedures - A BOOK (not an article or an extract but a book) THAT TRIES TO TEACH YOU SOMETHING.

The total opposite of such a book would be a novel. This a book that tells a story and is not trying to teach you something.