JB Math Club 26-27 · Problem set

Vieta’s and Remainder Theorems

Polynomials · Problem set

Problem 1. Divisibility by a quadratic

For which values of \(a\) and \(b\) is the polynomial

\[x^4-3x^3+3x^2+ax+b\]

divisible by \(x^2-3x+2\)? Give \(a^3+b^3\) as your answer.

Show solutions · 2 methods

Solution 1. Use the roots of the divisor

Write \(F(x)=x^4-3x^3+3x^2+ax+b\). Since

\[x^2-3x+2=(x-1)(x-2),\]

the Factor Theorem says that divisibility is equivalent to \(F(1)=F(2)=0\). These conditions give:

\[\begin{aligned}1+a+b&=0,\\4+2a+b&=0.\end{aligned}\]

Subtracting the first equation from the second gives \(a=-3\), and then \(b=2\). Both equations hold for these values, so both distinct linear factors divide \(F\), and hence so does their product.

\[\boxed{a^3+b^3=(-3)^3+2^3=-19}\]

Solution 2. Find the remainder directly

A useful division identity is:

\[\begin{aligned}F(x)&=(x^2-3x+2)(x^2+1)\\&\quad +(a+3)x+(b-2).\end{aligned}\]

The last two terms form the remainder, whose degree is less than \(2\). It is the zero polynomial exactly when \(a+3=0\) and \(b-2=0\). Thus \(a=-3\), \(b=2\), again giving \(a^3+b^3=-19\).

Problem 2. Reconstruct a remainder

A polynomial \(P\) has remainder \(1\) on division by \(x-2\), and remainder \(-1\) on division by \(x+1\). Let \(R\) be its remainder on division by \(x^2-x-2\). Calculate \(R(200)\).

Show solution

Solution. Determine a linear polynomial from two values

The remainder has degree less than \(2\), so write \(R(x)=ux+v\), allowing \(u=0\). The division identity is:

\[P(x)=(x-2)(x+1)Q(x)+R(x).\]

Substitution at the roots of the divisor, together with the Remainder Theorem, gives \(R(2)=P(2)=1\) and \(R(-1)=P(-1)=-1\). Hence:

\[2u+v=1,\qquad -u+v=-1.\]

Subtracting gives \(3u=2\), so \(u=2/3\) and \(v=-1/3\). Therefore:

\[R(x)=\frac{2x-1}{3}.\]

\[\boxed{R(200)=\frac{400-1}{3}=133}\]

Problem 3. A difference of cubic values

Let \(f\) be a polynomial of degree \(3\), with leading coefficient \(2\), such that

\[f(2025)=2026,\qquad f(2026)=2027.\]

Find \(f(2027)-f(2024)\).

Show solutions · 2 methods

Solution 1. Subtract the known pattern

The polynomial \(x+1\) gives the two prescribed values. Set \(g(x)=f(x)-(x+1)\). Then \(g(2025)=g(2026)=0\), and \(g\) still has degree \(3\) and leading coefficient \(2\). Thus, for some constant \(c\),

\[g(x)=(x-2025)(x-2026)(2x+c).\]

At both \(x=2027\) and \(x=2024\), the product of the first two factors equals \(2\). Consequently,

\[\begin{aligned}g(2027)-g(2024)&=2[(4054+c)-(4048+c)]\\&=12.\end{aligned}\]

The contribution of \(x+1\) to the requested difference is \(2028-2025=3\). Therefore:

\[\boxed{f(2027)-f(2024)=12+3=15}\]

Solution 2. Finite differences

Define the forward difference by \(\Delta h(t)=h(t+1)-h(t)\). For the cubic monomial, successive differences are:

\[\Delta(t^3)=3t^2+3t+1,\quad \Delta^2(t^3)=6t+6,\quad \Delta^3(t^3)=6.\]

Each difference lowers the degree; terms of degree at most \(2\) vanish after three differences. Since the leading coefficient of \(f\) is \(2\), we get \(\Delta^3 f(t)=12\). Expanding the three differences gives:

\[f(t+3)-3f(t+2)+3f(t+1)-f(t)=12.\]

Take \(t=2024\). Rearranging and using the given values yields:

\[\begin{aligned}f(2027)-f(2024)&=12+3[f(2026)-f(2025)]\\&=12+3(2027-2026)=15.\end{aligned}\]

Problem 4. A cycle of remainders

How many integers \(n\) with \(1024<n<2024\) have the property that \(x^n+x^2+1\) is divisible by \(x^2+x+1\)?

Show solution

Solution. Reduce the exponent modulo three

Put \(D(x)=x^2+x+1\). Congruence modulo \(D(x)\) means that two polynomials have the same remainder when divided by \(D\). The identities:

\[x^3-1=(x-1)D(x),\qquad x^2+x+1=D(x)\]

give \(x^3\equiv1\pmod{D(x)}\) and \(x^2+1\equiv-x\pmod{D(x)}\). Hence:

\[x^n+x^2+1\equiv x^n-x\pmod{D(x)}.\]

There are three cases:

\[\begin{array}{c|c}n\pmod3&\text{remainder}\\\hline0&1-x\\1&0\\2&-2x-1\end{array}\]

In the first and third cases the reduced remainder is nonzero and has degree less than \(2\). Thus divisibility holds exactly when \(n\equiv1\pmod3\). The allowed integers are \(1027,1030,\ldots,2023\), so their number is:

\[\boxed{\frac{2023-1027}{3}+1=333}\]

Problem 5. Pairwise products of roots

Let \(x_1,x_2,x_3\) be the roots of \(x^3+4x^2-2x-5=0\). Find \(a,b,c\) such that the roots of

\[x^3+ax^2+bx+c=0\]

are \(x_1x_2,\ x_2x_3,\ x_1x_3\).

Show solutions · 2 methods

Solution 1. Apply Vieta's formulas twice

For the original roots, Vieta gives:

\[\begin{aligned}s_1&=x_1+x_2+x_3=-4,\\s_2&=x_1x_2+x_1x_3+x_2x_3=-2,\\s_3&=x_1x_2x_3=5.\end{aligned}\]

Let \(y_1=x_1x_2\), \(y_2=x_2x_3\), \(y_3=x_1x_3\). Then:

\[\begin{aligned}y_1+y_2+y_3&=s_2=-2,\\y_1y_2+y_1y_3+y_2y_3&=x_1x_2x_3(x_1+x_2+x_3)\\&=s_3s_1=-20,\\y_1y_2y_3&=(x_1x_2x_3)^2=25.\end{aligned}\]

Expanding \((x-y_1)(x-y_2)(x-y_3)\), with alternating signs, gives \(x^3+2x^2-20x-25\). Therefore:

\[\boxed{a=2,\qquad b=-20,\qquad c=-25}\]

Solution 2. A reciprocal substitution

Write \(p(t)=t^3+4t^2-2t-5\). Because \(x_1x_2x_3=5\), none of the roots is zero, and the new roots are \(5/x_1,5/x_2,5/x_3\), in some order.

Substitute \(t=5/x\), then clear the denominator and normalize the leading coefficient:

\[\begin{aligned}-\frac{x^3}{5}p\!\left(\frac5x\right)&=-\frac15(125+100x-10x^2-5x^3)\\&=x^3+2x^2-20x-25.\end{aligned}\]

The expanded expression is a monic cubic. Using \(x_1x_2x_3=5\), its factorization is:

\[-\frac{x^3}{5}p\!\left(\frac5x\right)=\prod_{i=1}^3\left(x-\frac5{x_i}\right).\]

This gives the required roots, with their multiplicities, and the same coefficients.

Problem 6. Large exponents, small remainder

Find the remainder when

\[x^{81}+x^{27}+x^9+x^3+x\]

is divided by \(x^3-1\).

Show solution

Solution. Every multiple of three gives the same remainder

For every positive integer \(m\),

\[x^{3m}-1=(x^3-1)(1+x^3+\cdots+x^{3(m-1)}).\]

Thus each power \(x^{3m}\) has remainder \(1\). The exponents \(81,27,9,3\) are all divisible by \(3\), so the first four terms contribute \(4\) to the remainder. The remaining term contributes \(x\).

Equivalently, subtracting \(x+4\) leaves a sum of four polynomials of the form \(x^{3m}-1\), each divisible by \(x^3-1\). Since \(x+4\) has degree less than \(3\), it is the required remainder:

\[\boxed{R(x)=x+4}\]

Problem 7. Evaluate the quotient

The polynomial \(x^{100}\) is divided by \(x+1\), giving quotient \(q(x)\) and a remainder. Find \(q(-1)\).

Show solutions · 2 methods

Solution 1. Factor a geometric sum

The Remainder Theorem gives remainder \((-1)^{100}=1\), so:

\[(x+1)q(x)=x^{100}-1.\]

Use even powers to factor the right side:

\[x^{100}-1=(x^2-1)(1+x^2+\cdots+x^{98}).\]

Since \(x^2-1=(x+1)(x-1)\), cancellation as a polynomial identity gives:

\[q(x)=(x-1)(1+x^2+\cdots+x^{98}).\]

Now substitute \(x=-1\). Each of the \(50\) terms in the sum is \(1\), and the first factor is \(-2\). Hence:

\[\boxed{q(-1)=-2\cdot50=-100}\]

Solution 2. Read the alternating quotient

Long division, or direct multiplication by \(x+1\), gives:

\[q(x)=x^{99}-x^{98}+x^{97}-\cdots+x-1.\]

There are \(100\) terms. Odd powers occur with a plus sign; even powers, including the constant term, occur with a minus sign. At \(x=-1\), every term therefore evaluates to \(-1\), so the sum is \(-100\).

Problem 8. Compare the first two coefficients

Let \(k\ge3\) be an integer such that

\[1+x^k+x^{2k}=(1+a_1x+x^2)\cdots(1+a_kx+x^2).\]

Find \(a_1^2+a_2^2+\cdots+a_k^2\).

Show solution

Solution. Count how the low-degree terms are formed

Since \(k\ge3\), the coefficients of both \(x\) and \(x^2\) on the left are zero. To obtain \(x\) on the right, choose \(a_ix\) from one factor and \(1\) from every other factor. Therefore:

\[a_1+a_2+\cdots+a_k=0.\]

To obtain \(x^2\), either choose \(x^2\) from one factor, in \(k\) ways, or choose a linear term from two different factors. Hence:

\[k+\sum_{1\le i<j\le k}a_ia_j=0.\]

Finally, expand the square of the sum:

\[\begin{aligned}\sum_{i=1}^k a_i^2&=\left(\sum_{i=1}^k a_i\right)^2-2\sum_{1\le i<j\le k}a_ia_j\\&=0-2(-k).\end{aligned}\]

\[\boxed{a_1^2+\cdots+a_k^2=2k}\]

Problem 9. The force of real roots

The polynomial

\[P(x)=x^n+2nx^{n-1}+2n(n-1)x^{n-2}+\cdots+a_0\]

has all \(n\) roots real, counted with multiplicity, where \(n>4\). Find the sum of their cubes.

Show solution

Solution. A sum of squares must vanish

Let the roots be \(r_1,\ldots,r_n\). Vieta's formulas give:

\[\sum_{i=1}^n r_i=-2n,\qquad \sum_{1\le i<j\le n}r_ir_j=2n(n-1).\]

Consequently,

\[\sum_{i=1}^n r_i^2=\left(\sum_{i=1}^n r_i\right)^2-2\sum_{i<j}r_ir_j=4n.\]

The average root is \(-2\). Measure each root's difference from this value:

\[\begin{aligned}\sum_{i=1}^n(r_i+2)^2&=\sum_{i=1}^n r_i^2+4\sum_{i=1}^n r_i+4n\\&=4n-8n+4n=0.\end{aligned}\]

Every summand is nonnegative because every root is real. They must therefore all be zero, so \(r_1=\cdots=r_n=-2\). In fact, \(P(x)=(x+2)^n\); the unspecified coefficients are forced by the real-root condition.

\[\boxed{\sum_{i=1}^n r_i^3=n(-2)^3=-8n}\]

Problem 10. A minimum without calculus

For every positive integer \(n\), find the smallest value, over real \(x\), of

\[F_n(x)=x^{2n}+2x^{2n-1}+\cdots+(2n-1)x^2+2nx.\]

Show solutions · 2 methods

Solution 1. Factor the difference from the minimum

At \(x=-1\), consecutive terms give \((1-2)+(3-4)+\cdots+((2n-1)-2n)=-n\). This suggests proving that \(F_n(x)+n\) is always nonnegative.

Consider the polynomial:

\[S_n(x)=\sum_{j=0}^{n-1}(n-j)x^{2j}.\]

It contains only even powers with positive coefficients, including constant term \(n\), so \(S_n(x)>0\) for every real \(x\). Multiplying by \((x+1)^2\) gives the identity:

\[F_n(x)+n=(x+1)^2S_n(x).\]

To check it, the coefficient of \(x^{2j+1}\) is \(2(n-j)\) for \(0\le j\le n-1\). For \(1\le j\le n-1\), the coefficient of \(x^{2j}\) is \((n-j)+(n-j+1)=2n-2j+1\). The constant and leading coefficients are \(n\) and \(1\), respectively, exactly as required. This also covers \(n=1\), when \(S_1=1\).

The right side is nonnegative and vanishes precisely at \(x=-1\). Thus:

\[\boxed{\min_{x\in\mathbb R}F_n(x)=-n,\qquad\text{attained only at }x=-1}\]

Solution 2. Induction on the degree

For \(n=1\), we have \(F_1(x)=(x+1)^2-1\ge-1\). For \(n\ge2\), separate the last two terms:

\[F_n(x)=x^2F_{n-1}(x)+(2n-1)x^2+2nx.\]

Assume \(F_{n-1}(x)\ge-(n-1)\) for every real \(x\). Multiplication by \(x^2\ge0\) preserves this inequality, so:

\[\begin{aligned}F_n(x)&\ge-(n-1)x^2+(2n-1)x^2+2nx\\&=n(x+1)^2-n\ge-n.\end{aligned}\]

Direct substitution gives \(F_n(-1)=-n\). If \(x\ne-1\), the last bound is strictly greater than \(-n\), so the equality case is unique.

Problem 11. An exponent hidden in an identity

The real number \(a\) is a root of

\[x^{13}+x^8+x^3=1.\]

Find all positive integers \(n\) such that

\[a^5+a^3=a^n+1.\]

Show solution

Solution. Create a telescoping product

First locate \(a\) without finding its exact value. The given equation can be written as:

\[1=a^3(a^{10}+a^5+1)=a^3\left[\left(a^5+\frac12\right)^2+\frac34\right].\]

The bracket is positive, so \(a>0\). If \(a\ge1\), the original sum is at least \(3\), which is impossible. Therefore \(0<a<1\).

The exponents \(3,8,13\) are spaced by \(5\). Multiplying by \(a^5-1\) makes the intermediate terms cancel:

\[\begin{aligned}(a^{13}+a^8+a^3)(a^5-1)&=a^5-1,\\a^{18}-a^3&=a^5-1,\\a^5+a^3&=a^{18}+1.\end{aligned}\]

Thus \(n=18\) works. Any other solution would satisfy \(a^n=a^{18}\). The positive integer powers of a number in \((0,1)\) strictly decrease as the exponent increases, so two different exponents cannot give the same value.

\[\boxed{n=18}\]

Problem 12. A polynomial shift identity

Find the monic polynomial

\[P(x)=x^n+a_{n-1}x^{n-1}+\cdots+a_0\]

such that, for every real \(x\),

\[(x+100)P(x)-xP(x+1)=1.\]

Show solutions · 2 methods

Solution 1. Determine the degree, then the roots

The only monic constant polynomial is \(1\), which gives \(100\) on the left, so \(n\ge1\). The leading terms of the shifted polynomial are:

\[P(x+1)=x^n+(n+a_{n-1})x^{n-1}+\cdots.\]

The terms of degree \(n+1\) cancel in the given identity. The coefficient of \(x^n\) is \((100+a_{n-1})-(n+a_{n-1})=100-n\). Since the right side is constant, this coefficient is zero, and \(n=100\).

Substituting \(x=0\) gives \(P(0)=1/100\). Remove this constant by setting \(H(x)=P(x)-1/100\). Then \(H\) is monic of degree \(100\), and

\[(x+100)H(x)=xH(x+1).\]

We have \(H(0)=0\). At \(x=-j\), for \(1\le j\le99\), the identity becomes:

\[(100-j)H(-j)=-jH(1-j).\]

Starting with \(H(0)=0\), this successively forces \(H(-1)=0\), \(H(-2)=0\), and so on up to \(H(-99)=0\), because \(100-j\ne0\) throughout. These are \(100\) distinct roots. Monicity and the degree now give:

\[H(x)=x(x+1)\cdots(x+99).\]

For this product,

\[(x+100)H(x)=xH(x+1)=x(x+1)\cdots(x+100).\]

So the product contributes zero to the original difference, while the constant \(1/100\) contributes \(1\). The candidate is therefore a solution:

\[\boxed{P(x)=x(x+1)\cdots(x+99)+\frac1{100}}\]

Solution 2. Construct a solution and prove uniqueness

A constant \(c\) contributes \(100c\) to the left side, suggesting \(c=1/100\). To make the remaining contribution zero, seek a product whose factors shift by one place when \(x\) is replaced by \(x+1\).

The consecutive-factor product \(G(x)=x(x+1)\cdots(x+99)\) has exactly the required property: \((x+100)G(x)=xG(x+1)\). Thus \(G(x)+1/100\) is a monic solution.

To prove uniqueness, the same leading-coefficient comparison used above shows that every monic solution has degree \(100\). If \(P_1,P_2\) were two different monic solutions, their difference \(D=P_1-P_2\) would have degree \(m\le99\) and some nonzero leading coefficient \(c\). Yet it would satisfy:

\[(x+100)D(x)-xD(x+1)=0.\]

The coefficient of \(x^m\) on the left is \((100-m)c\), which is nonzero. For \(m=0\), the same expression is simply \(100c\). This contradiction proves uniqueness.