Questions tagged [polynomials]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
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 ...
user avatar
0 votes
1 answer
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 ...
user avatar
1 vote
0 answers
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 ...
user avatar
0 votes
1 answer
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 ...
user avatar
3 votes
1 answer
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}
user avatar
0 votes
0 answers
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, ...
user avatar
  • 295
0 votes
0 answers
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} \...
user avatar
  • 3,049
0 votes
0 answers
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 ...
user avatar
  • 33
4 votes
0 answers
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} \...
user avatar
6 votes
2 answers
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): \...
user avatar
  • 3,458
0 votes
3 answers
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 ...
user avatar
  • 103
3 votes
0 answers
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)...
user avatar
  • 6,303
3 votes
2 answers
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 ...
user avatar
  • 227
6 votes
2 answers
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 ...
user avatar
  • 183
8 votes
2 answers
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 ...
user avatar
4 votes
1 answer
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 ...
user avatar
1 vote
1 answer
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 ...
user avatar
3 votes
1 answer
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 ...
user avatar
2 votes
0 answers
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 ...
user avatar
1 vote
0 answers
104 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} \...
user avatar
1 vote
0 answers
167 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?
user avatar
  • 1,965