Math Is Fun Forum
  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#1 2019-03-29 10:36:38

cmowla
Member
Registered: 2012-06-14
Posts: 66

General Synthetic Division in Mathematica (Shows Work)

Hi all,

Late last year I applied to Wolfram Research for a position in the development of Wolfram|Alpha for education.  The applicants were given a coding problem set.  One of them was to create a function which shows step-by-step work.  Obviously by the title of this thread, I chose to do one for General Synthetic Division.

That is, for those who are not aware, you can use synthetic division to perform division on polynomials that your teachers told you that you must use long division for, as "synthetic division is only for when dividing by a binomial with the coefficient of x being 1".

This is a brief (silent) video showing a demonstration.

And here is the Notebook.  (I minimized the code, but obviously you can maximize it to view it.)

According to my knowledge, it can divide any two polynomials and shows all of the work.  (It's color-coded as well!)

Enjoy!

Last edited by cmowla (2019-03-29 10:40:22)

Offline

Board footer

Powered by FluxBB