Dividing a Huge Polynomial

Algebra Level 1

x 9999 + x 8888 + x 7777 + + x 1111 + 1 x^{9999} + x^{8888} + x^{7777 }+\cdots+ x^{1111} + 1

Is the above polynomial divisible by x + 1 x + 1 ?

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Akshat Sharda
Feb 29, 2016

By remainder factor theorem , if P ( x ) P(x) is divisible by x c x-c , then P ( c ) = 0 P(c) = 0 . In this case, if P ( x ) = x 9999 + x 8888 + x 7777 + + x 1111 + 1 P(x) = x^{9999} + x^{8888} + x^{7777 }+\cdots+ x^{1111} + 1 is divisible by ( x + 1 ) (x+1) , then P ( 1 ) = 0 P(-1) = 0 .

Now we want to check whether P ( 1 ) = 0 P(-1) = 0 is true or not, if it is indeed true then the polynomial in question is divisible by ( x + 1 ) (x+1) ; otherwise it is not divisible by ( x + 1 ) (x+1) .

Recall that
( negative number ) odd number (\text{negative number})^\text{odd number} yields a negative number; while
( negative number ) even number (\text{negative number})^\text{even number} yields a positive number.

Substituting x = 1 x = -1 gives,

P ( 1 ) = ( 1 ) 9999 + ( 1 ) 8888 + ( 1 ) 7777 + + ( 1 ) 1111 + 1 P(-1) = (-1)^{9999} + (-1)^{8888} + (-1)^{7777} + \cdots + (-1)^{1111} + 1

Computing the powers of each of these numbers gives

( 1 ) 9999 = ( 1 ) 7777 = ( 1 ) 5555 = ( 1 ) 3333 = ( 1 ) 1111 = 1 ( 1 ) 8888 = ( 1 ) 6666 = ( 1 ) 4444 = ( 1 ) 2222 = 1 \begin{aligned} (-1)^{9999} &=& (-1)^{7777} = (-1)^{5555}= (-1)^{3333}= (-1)^{1111} = -1 \\ (-1)^{8888} &=& (-1)^{6666} = (-1)^{4444}= (-1)^{2222}= 1 \end{aligned}

Thus, we can evaluate P ( 1 ) P(-1) with ease!

P ( 1 ) = ( 1 ) + ( 1 ) 0 + ( 1 ) + ( 1 ) 0 + ( 1 ) + ( 1 ) 0 + ( 1 ) + ( 1 ) 0 ( 1 ) + ( 1 ) 0 = 0 P(-1) = \cancelto{0}{ (-1) + (1) } + \cancelto{0}{ (-1) + (1) } + \cancelto{0}{ (-1) + (1) } + \cancelto{0}{ (-1) + (1) } \cancelto{0}{ (-1) + (1) } = 0

And because we have shown that P ( 1 ) = 0 P(-1) = 0 is indeed true, so the polynomial in question is divisible by ( x + 1 ) (x+1) .

As simple as that, +1!

Sravanth C. - 5 years, 3 months ago

Log in to reply

Exactly :-)

Akshat Sharda - 5 years, 3 months ago

Awesome question!!

Tush Chen - 5 years ago
Mina Yaccoub
Mar 10, 2016

[x^(2y+1) +1 ] / [x+1] = -1 + x - x^2 +x^3 ... - x^2y

[x^(2m) - 1] / [x+1] = 1 -x +x^2 -x^3 ... -x^(2m-1)

x^9999 + x^8888 + x^7777 + x^6666 ... + x+1 = [x^9999 +1] + [x^8888 -1] +[x^7777+1] +[x^6666 -1]... + x+1

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...