Work One’s Tail (Butt) Off

What does the idiom “Work One’s Tail (Butt) Off” mean?

Definition:

Work very hard

For example:

“You’ll have to work your tail off first semester, but Cornell is a very good school.”

Notes:

These are used euphemistically—they are more polite than “work your ass off.”