I don't think that there is a need for the liberal use of swearing in a mathematics book ("shit" appears 5 times in your sample PDF alone, two of which are in the title). In my opinion, it makes it sound very amateur and unprofessional.
> "Check this shit out:"
Could be "Consider this example:"
> Now get ready for some crazy shit. Using your...
Now for something even more interesting. Using your...