enter image description here

How to make division of polynomials with latex?


1 Answer 1


I wouldn't usually answer a question with no code/MWE but I have never used polynom before so thought I would answer for my own latex growth. The documentation is contained on CTAN and this is the code for all four default styles:

\polylongdiv{x^3 -2x^2 -5x + 6}{x - 1}
\polylongdiv[style=B]{x^3 -2x^2 -5x + 6}{x - 1}
\polylongdiv[style=C]{x^3 -2x^2 -5x + 6}{x - 1}
\polylongdiv[style=D]{x^3 -2x^2 -5x + 6}{x - 1}

enter image description here

I am not sure how to get it into precisely your format but this is a start.

  • 1
    +1 | style=C would place (x - 1) as divisor on the left side of the equation. Commented Oct 6, 2022 at 8:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .