Skip to main content

Questions tagged [polynomials]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
2 answers
73 views

Polynomial long division with macro command in a for loop (to get different coefficients)

I would like to create problem sheets with polynomial long division, where each student gets different polynomials. I tried to use the polynom package, but the following code does not compile (it does ...
Watson's user avatar
  • 972
1 vote
0 answers
67 views

Different style of long divison using polynom package

\documentclass{article} \usepackage{polynom} \begin{document} \[ \polylongdiv{x^3-5x^2+2x+8}{x-2} \] \end{document} Hi, The above code produces while in teaching, we are more used to ...
CasperYC's user avatar
  • 697
-1 votes
1 answer
451 views

How to make division of polynomials with latex?

How to make division of polynomials with latex?
user279680's user avatar
-1 votes
3 answers
171 views

How to make long division of polynomials? (Polish notation) [duplicate]

How can I make long division of polynomials in LaTeX? My goal is having something like picture below: (actually, this is a Polish notation) I know about polynom package, but the problem is, that this ...
constantin_d's user avatar
2 votes
0 answers
233 views

Polynomial long division with complex numbers

I heard of the polynom LaTeX package, which can be used to do polynomial long division in LaTeX documents; I have even used it myself before for normal polynomials with real coefficients. However, now ...
Benjamijn Flanze's user avatar
2 votes
2 answers
112 views

How do I create macros that take + (plus) or - (minus) separated arguments as inputs and stores them to variables (e.g., coefficients of polynomials)?

How do I create macros that take + (plus) or - (minus) separated arguments as inputs and store them to variables (e.g., coefficients of polynomials)? I want to define macros that can access and select ...
Farrel Ahmed's user avatar
0 votes
0 answers
459 views

How Do I Typeset Horner's Method / Scheme of Regular Synthetic Division and Expanded Synthetic Division for Monic Divisors and Non-Monic Divisors?

I personally do not like the \polyhornerscheme[x=x_0]{<a_0 + a_1 x + ... a_n x^n>} macro of the polynom package because of personal aesthetic preferences and how it doesn't have a general enough ...
Farrel Ahmed's user avatar
5 votes
1 answer
613 views

How do I programmatically typeset Polynomial Long Division with connected parenthesis and line? (Possibly using TikZ)

I generally am fine with using the \polylongdiv{<dividend>}{<divisor>} macro from the polynom package: but I was wondering, How do I programmatically typeset Polynomial Long Division with ...
Farrel Ahmed's user avatar
0 votes
1 answer
494 views

Using polynom package in Latexit

I want to create a polynomial division in LatexIt, but am having all sorts of trouble. I have read the polynom documentation and looked at several examples. The examples all use polynom, but all seem ...
Sciolism Apparently's user avatar
3 votes
1 answer
291 views

How do I draw arrows under equations?

I don’t know how to produce the arrows circled in red: Here is what I have so far: \dfrac{5}{6} \div \left(-\dfrac{3}{4}\right)=\dfrac{5}{6} \times \left(-\dfrac{4}{3}\right)=-\dfac{10}{9}
bayaraa surenjav's user avatar
0 votes
0 answers
251 views

Using variables besides X and x in polynom package

Is there a way to make the polynom package accept variable labels other than x? If I try to typeset a polynomial long division using the variable T or t using that package, the output is screwed up, ...
KCd's user avatar
  • 305
0 votes
0 answers
218 views

Long division between two polynomials, one has a variable coefficient

I would like to do the long division between polynomials p(x)=-x^4+2x^2-(a-1)^2x+1 (where a is a real number) and q(x)=x+1: I tried to use polynom package as follows: \documentclass{article} \...
manooooh's user avatar
  • 3,223
0 votes
0 answers
48 views

How can I represent a block will be executed polynomial time with package algorithm?

I want to represent an algorithm where a subsection must be repeated polynomial time. I am using algorithm package. I want to represent something like: ... repeat polynomial time state 1 ...
Reza's user avatar
  • 53
4 votes
0 answers
396 views

How to visualize (polynomial) long division with infinite fractions only for the first n fractions

I have the following fraction (1+2z^{-1})\(1+2z^{-1}+4z^{-3}) which I want to calculate and visualize with the polynom-package. However, if I execute the following code: \documentclass{article} \...
Doesbaddel's user avatar
6 votes
2 answers
364 views

pgfplots: How to draw a tangent graph below two others?

Assumed I want to draw three simple graphs based on the following illustration: How can I plot those three graphs? I've tried to create something like this: Minimum Working Example (MWE): \...
Dave's user avatar
  • 3,778
0 votes
3 answers
934 views

Ploting the roots of a polynomial

I want to plot the roots of any given polynomial on the complex plane. Example: Let $P(x)=x^4-x^3-1$ be given. I want to plot on the $Oxy$ complex plane all four roots of this polynomial. I suppose ...
Emo's user avatar
  • 135
3 votes
0 answers
272 views

polynom.sty: How can show only the task and the result of a Polynomial long division?

How can I automatically show only the task and the result of a Polynomial long division, like (without the 'gap', too late seen above) I know, there are possibilities to bunch that together (see MWE)...
cis's user avatar
  • 8,912
3 votes
2 answers
4k views

Horner's Method for polynomial long division

I am trying to do a polynomial division using Horner's Method of Synthetic Division, as described on page 451 of the book, Elementary Algebra by Hall & Knight. I wanted to perform the following ...
Luo Kaisa's user avatar
  • 227
6 votes
2 answers
230 views

Variable argument macro to define splitting polynomial

I need a macro that behaves the following: \mpoly{x}{1}{2} outputs (x+1)(x+2) \mpoly{x}{1}{2}{3} outputs (x+1)(x+2)(x+3) \mpoly{x}{1}{2}{3}{5} outputs (x+1)(x+2)(x+3)(x+5) and so on. I am not at ...
mxant's user avatar
  • 193
8 votes
2 answers
394 views

Exercise & Solution Page

In an earlier post of mine, I asked how to create separate exercise and solution pages for basic arithmetic. I'm trying the same thing now for factoring simple trinomials, but it's not working and I'm ...
WeCanLearnAnything's user avatar
4 votes
1 answer
1k views

Polynom Package Multiplication

Ok! So...was really pleased when I discovered that polynom will just do polynomial long division for me like it's no big deal. But...is there a function for multiplying polynomials? I seem to have ...
Tanner Strunk's user avatar
1 vote
1 answer
58 views

Use of polynomial command with an argument defined by \dfrac{2]{3} for example

This question is the following of this one. The solution worked very well (Thanks so much JPI !) but it remains another request : with the previous code (without the 1st solution by JPI) I could use ...
B.Gravouil's user avatar
3 votes
1 answer
283 views

Type of variable used in macro polynomial?

I would like to use polynomial macro, just with the standard way. But the coefficients of the polynom are generated by \FPeval or \pgfmathrandominteger commands => the result of polynomial isn't the ...
B.Gravouil's user avatar
2 votes
0 answers
796 views

How to manually write polynomials long division rather than using the automated polynom?

I very new to LaTeX and currently try to practice writing engineering reports with it as a replacement for Microsoft Word. In one of my assignments I have to do Polynomial Long Divisions. I found ...
user avatar
1 vote
0 answers
117 views

polylongdiv with terms in reverse order

Is there a way to use \polylongdiv in the polynom package to display and calculate polynomials in the reverse order from the way the package is written? For example, \documentclass{article} \...
John Molokach's user avatar
1 vote
0 answers
274 views

LaTex code for Polynomial Division in Ascending Powers [closed]

Is there a way to let the LaTeX package Polynom also do division in ascending powers of x as given in the figure or any other package of LaTex is able to do this?
schremmer's user avatar
  • 2,127