Relative to this post:
There is a LaTex function you can use: \polylongdiv{numerator}{demonimator} What it does is show you the steps in long division for polynomials. Unfortunately mathurl.com does not render it, but I can direct you to other places where you can try it out or see if you'd like!
