P ( x ) is a cubic polynomial, and for x = 1 , 2 , 3 , 4 , P ( x ) = 1 + x + x 2 1 .
For some positive coprime integers a and b , P ( 5 ) = − b a .
Find the value of a + b .
This problem is a part of <Christmas Streak 2017> series .
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.
Here is a different solution that I expect most people would have used;
Let the unknown cubic polynomial be of the form
C 1 x 3 + C 2 x 2 + C 3 x + C 4
Using the next piece of information given, that when x = 1 , 2 , 3 , 4 , P ( x ) = 1 + x + x 2 1 , we can write the following equations:
For x = 1 ;
C 1 + C 2 + C 3 + C 4 = 1 + 1 + 1 2 1
For x = 2 ;
8 C 1 + 4 C 2 + 2 C 3 + C 4 = 1 + 2 + 2 2 1
For x = 3 ;
2 7 C 1 + 9 C 2 + 3 C 3 + C 4 = 1 + 3 + 3 2 1
And for x = 4 ;
6 4 C 1 + 1 6 C 2 + 4 C 3 + C 4 = 1 + 4 + 4 2 1 .
There we have it. 4 unique equations for 4 variables. We can now find the value of the coefficients of the cubic function by solving the system of linear equations above.
The solutions are;
C 1 = 2 7 3 − 4 , C 2 = 2 7 3 4 1 , C 3 = 1 3 − 7 , C 4 = 9 1 6 7
If we find the value of P ( 5 ) for P ( x ) = 2 7 3 − 4 x 3 + 2 7 3 4 1 x 2 + 1 3 − 7 x + 9 1 6 7 , we get:
9 1 − 3
Therefore a + b = 3 + 9 1 = 9 4
Problem Loading...
Note Loading...
Set Loading...
Employ the fact that P ( x + 1 ) − P ( x ) decreases the degree of a polynomial.
Let's calculate with a b − a b
Then
P ( 1 ) = 3 1 − 2 1 4 P ( 2 ) = 7 1 2 7 3 3 4 − 9 1 6 − 2 7 3 2 4 P ( 3 ) = 1 3 1 2 7 3 1 0 2 7 3 − 8 x − 2 7 3 1 5 P ( 4 ) = 2 1 1 x − 2 7 3 5 x − 2 1 1 P ( 5 ) = x
Therefore P ( 5 ) = x = − 2 7 3 9 = − 9 1 3 .
∴ a + b = 9 4 .