Using non-integer roots for synthetic division in polynom

I want to use the polynom package for synthetic division. However, while it works well for integer roots it does not take non-integer inputs. For example this works well:

\documentclass[12pt,letterpaper,oneside]{article}
\usepackage{polynom}

\begin{document}
\polyhornerscheme[x=4]{2x^5-3x^4-23x^3-3x^2+51x+36}
\end{document}


But I don't know how to use a non-integer such as \sqrt{3} as a root:

\polyhornerscheme[x=\sqrt{3}]{2x^5-3x^4-23x^3-3x^2+51x+36}


Are there any workarounds to this problem, or am I just better off writting out the division manually in a table.

My apologies if this is a silly question, I'm new to both LaTeX and the polynom package.

• Welcome to TeX.SX! Please make your code compilable (if possible), or at least complete it with \documentclass{...}, the required \usepackage's, \begin{document}, and \end{document}. That may seem tedious to you, but think of the extra work it represents for TeX.SX users willing to give you a hand. Help them help you: remove that one hurdle between you and a solution to your problem. – Adam Liter Apr 20 '15 at 19:30
• Go to texdoc.net/texmf-dist/doc/latex/polynom/polynom.pdf and in the documentation pg 3 it is clearly stated that it only works for integers. – R. Schumacher Apr 20 '15 at 19:46
• OK, I had just hopped that there might be some other workaround or similar package. How can I mark this question as resolved? – P-51D-25 Apr 20 '15 at 19:56
• One of the entries in the line of small, grey words to the bottom left of your post should be 'close'. I believe that'll do it. – LSpice Apr 23 '15 at 0:49
• @LSpice There is still some chance. For example, fixing an algebraic number ζ, one can calculate its minimal polynomial by hand. Then use \polylongdiv with customized layout. – Symbol 1 Apr 24 '15 at 16:00
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 1, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.5527285933494568, "perplexity": 930.6837469902871}, "config": {"markdown_headings": false, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2021-25/segments/1623487634576.73/warc/CC-MAIN-20210617222646-20210618012646-00012.warc.gz"}