Polynomial Grid Division JS library
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.



A JavaScript learning project.

The polygrid repo provides a page and infrastructure for generating examples of "polynomial division using the grid method." Polynomial division is usually introduced in high school advanced functions or pre-calculus classes, or in college first-year calculus classes.

Please see the live example here: dmackinnon1.github.io/polygrid/.

Students generally learn a method that closely resembles traditional integer "long division", and sometimes use a different notation known as "synthetic division." Grid division offers an alternative to these. The intention was to provide examples of this method, which is becoming more frequently used but is still generally neglected by textbooks.

For each example, two single variable polynomials (the dividend and the divisor) are generated with some constraints on the degree and coefficients. The grid division algorithm is carried out, returning the quotient and remainder, with intermediate steps available for display.

I have been playing around with polynomial grid division for a while. Please see these posts:

The current polygid infra does not handle the 'backwards' style of polynomial grid division, which you can read about here: