# Questions tagged [polynomials]

The tag has no usage guidance.

21 questions
Filter by
Sorted by
Tagged with
1 vote
58 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 ...
• 255
47 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 ...
• 255
1 vote
46 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 ...
• 255
34 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 ...
189 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}
122 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, ...
• 295
143 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} \...
• 3,049
47 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 ...
• 33
333 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} \...
• 300
348 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): \...
• 3,458
606 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 ...
• 103
213 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)...
• 6,303
3k 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 ...
• 227
214 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 ...
• 183
368 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 ...
• 2,981
770 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 ...
1 vote
57 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 ...
253 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 ...
543 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 ...
1 vote