Questions tagged [polynomials]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
21 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} \...
0
votes
0answers
15 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 ...
-1
votes
0answers
18 views

\polylongdiv with style=D warnings appear. How do I remove these warnings?

I am using this code: \polyset{style=D,vars=x} \polylongdiv{x^5+7x^3-5x+1}{x^3+2x} When I compile, I get the following warning message, but the pdf file is ok. How can I remove these warning ...
4
votes
0answers
137 views
+50

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} \...
0
votes
0answers
57 views

Polynomial division and alignment

I am recreating the steps shown in the figure below: I have tried to use the polynom package but it doesn't help due to difference in the degree of the polynomials. What I have got so far is this: ...
6
votes
2answers
305 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): \...
0
votes
3answers
113 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 ...
3
votes
0answers
126 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)...
3
votes
2answers
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 ...
6
votes
2answers
190 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 ...
8
votes
2answers
314 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 ...
4
votes
1answer
381 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
1answer
51 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 ...
3
votes
1answer
149 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 ...
2
votes
0answers
335 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
0answers
86 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} \...
1
vote
0answers
132 views

Polynomial Division in Ascending Powers [closed]

Is there a way to let the LaTeX package Polynom also do division in ascending powers of h?