If $P(x)= (x+1)^{2015}+(x-1)^{2015}$ , what is the remainder of dividing the $P(x)$ polynomial by $x^2+1$?
A) $-2^{2015}x$
B) $-2^{1008}x$
C) $2^{1008}x$
D) $2^{2008}$
E) $1$
My attepmts:
Problem is equivalent to $$P(x) \mod (x^2+1)=?$$
Let $x=1$, we have $P(1) \mod (1^2+1)=0$ which imply $R(1)=0$. But no answer matches this. Where is the problem? I can not see my mistake.
Drop the modular arithmetic for a second, and take one step back, so that it's easier to see what's going on when you substitute for $x$. We have that $$ P(x)=Q(x)(x^2+1)+ax+b $$ for some polynomial $Q$ and real coefficients $a,b$. We are after $ax+b$.
Note that inserting $x=1$ into this doesn't get us closer, as that gives us $$ 2^{2015}=2Q(2)+a+b $$ and we still don't have a handle on $Q$. The only thing this tells us is that $a+b$ is even.
On the other hand, inserting $x=i$ or $x=-i$ will make $x^2+1=0$, and the whole $Q$ term vanishes, leaving you with two equations you can solve for $a$ and $b$.