What is the remainder when x3+x6+x9+x27 is divided by x2−1?
=x25+x23+x21+x19+x17+x15+x13+x11+x9+2x7+2x5+x4+2x3+x2+3x+1 remainder 3x+1
Thanks Heureka,
What is the remainder when x^3 + x^6 + x^9 + x^27 is divided by x^2 - 1?
Heureka has done this the standard way but I just wanted to see if I could figure out how to do it without the
algebraic division. I think my method is valid but I am not 100% sure on the divide by 2 bit. I think it is valid though.
x2−1=(x−1)(x+1)letf(x)=x3+x6+x9+x27When f(x) is divided by x+1 the remainder will be f(−1)f(−1)=−1+1−1−1=−2x3+x6+x9+x27(x+1)(x−1)=x3+x6+x9+x27+2(x+1)(x−1)+−2(x+1)(x−1)=x3+x6+x9+x27+2(x+1)(x−1)+−2(x+1)(x−1)=g(x)+(1+1+1+1+2)/2(x−1)+−2(x+1)(x−1)I divided by 2 because I factored out (x+1)ifQ(x)=x+1thenQ(1)=2 =g(x)+3(x−1)+−2(x+1)(x−1)=g(x)+3(x+1)(x−1)(x+1)+−2(x+1)(x−1)=g(x)+3x+1(x−1)(x+1)so the remainder will be 3x+1
---------------
coding
x^2-1=(x-1)(x+1)\\
let\;\;f(x)=x^3+x^6+x^9+x^{27}\\
\text{When f(x) is divided by x+1 the remainder will be }f(-1)\\
f(-1)=-1+1-1-1=-2\\
\frac{x^3+x^6+x^9+x^{27}}{(x+1)(x-1)}\\
=\frac{x^3+x^6+x^9+x^{27}+2}{(x+1)(x-1)}+\frac{-2}{(x+1)(x-1)}\\
=\frac{x^3+x^6+x^9+x^{27}+2}{(x+1)(x-1)}+\frac{-2}{(x+1)(x-1)}\\
=g(x)+\frac{(1+1+1+1+2)/2}{(x-1)}+\frac{-2}{(x+1)(x-1)}\\\qquad \qquad \text{I divided by 2 because I factored out (x+1)}\\
\\ \qquad \qquad if \;\;Q(x)=x+1\;\;then\;\;Q(1)=2\\~\\
=g(x)+\frac{3}{(x-1)}+\frac{-2}{(x+1)(x-1)}\\
=g(x)+\frac{3(x+1)}{(x-1)(x+1)}+\frac{-2}{(x+1)(x-1)}\\
=g(x)+\frac{3x+1}{(x-1)(x+1)}\\
\text{so the remainder will be }3x+1