0

Problem Statement : Let $Q(z)$ and $R(z)$ be the unique polynomials such that $z^{2021}+1=(z^2+z+1)Q(z)+R(z)$ and the degree of $R$ is less than $2.$ What is $R(z)?$

Solution:

Let $z=s$ be a root of $z^2+z+1$ so that $s^2+s+1=0.$ It follows that $(s-1)\left(s^2+s+1\right)=s^3-1=0$ from which $s^3=1,$ but $s\neq1.$

Note that\begin{align*} s^{2021}+1 &= s^{3\cdot673+2}+1 \\ &= (s^3)^{673}\cdot s^2+1 \\ &= s^2+1 \\ &= \left(s^2+s+1\right)-s \\ &= -s. \end{align*}Since $z^{2021}+1=-z$ for each root $z=s$ of $z^2+z+1,$ the remainder when $z^{2021}+1$ is divided by $z^2+z+1$ is $R(z)=-z.$

My quesitons:

The solution shows the following: If $s$ is a root of $s^2+s+1$, then $R(s)=-s$. But how does this imply that $R(z)=-z$ for all $z$, instead of just those $z$ for which $z^2+z+1=0$?

1 Answers1

-1

Note that $R(z)$ is a polynomial of degree $1$ or less. So then is $R(z)+z$. Also note that a polynomial $p$ of degree $d$, has at most $d$ distinct roots, or is $0$ everywhere. For example, if say a polynomial $p(y)$ of the form $p(y)=ay+b$ is $0$ for $2$ distinct values of $y$, then both $a$ and $b$ must be $0$ and so $p(y)$ must be $0$ for all values of $y$.

So if $R(s)+s$ is $0$ for more than deg$(R(z)+z) =1$ values of $s$, [and it is for the $2$ roots $s$ of $z^2+z+1$], then as no nozero polynomial of degree $1$ can have $2$ roots, the only possibility is that $R(z)+z$ must be $0$ everywhere, or equivalently, $R(z)$ must be $-z$ everywhere.

Mike
  • 20,434
  • Thank you for this response. It is really helping me. Two follow up questions: (1) Do you really think that this justification is obvious enough to omit from a solution? I feel like this explanation should have been included. (2) Why do they write "from which $s^3=1,$ but $s\neq1.$" Do you think that they are just stating this as a note? Or is there some way that stating $s\neq1$ allows us to make a conclusion later on on in the solution? I want to make sure I am not overlooking the significance of $s\neq1.$ –  Mar 20 '22 at 03:31
  • 1
  • I do think that $R(s)+s=0$ for $2$ values of $s$, with $2>$ deg$(R(z)+z)$, should have been mentioned in the sol'n. 2. You need $s$ to be one of the $2$ roots of $z^2+z+1$, which means $s$ a root of $z^3-1$ that also satisfies $s \not =1$.
  • – Mike Mar 20 '22 at 03:37