A cubic polynomial P ( x ) satisfies the following:
P ( 1 ) = 1 , P ( 2 ) = 2 , P ( 3 ) = 3 , P ( 4 ) = 5 .
What is the value of P ( 6 ) ?
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.
in these type of questions, you just construct your own polynomial that satisfies the given conditions of the question...
so, the polynomial can be worked out as :
6 1 ( x − 1 ) ( x − 2 ) ( x − 3 ) + x
put the values of P(6) to get 1 6
Another method is to use the Method of Finite Differences. We construct a difference table for the polynomial P ( n ) using the first few values of n given as follows:
n 1 2 3 4 5 6 P ( n ) 1 2 3 5 9 1 6 D 1 ( n ) 1 1 2 4 7 D 2 ( n ) 0 1 2 3 D 3 ( n ) 1 1 1
From the table, we can clearly see that P ( 6 ) = 1 6
Log in to reply
Oh wow! I didn't even think of thinking of that.
Log in to reply
I've improved on the presentation now. The table formatting code is a pain in the arse.
Could you go into a little detail as to how you worked it out?
Log in to reply
we create a poynomial which is of degree 3 and satisfies as many conditions as possible in one try... that can be the following which satisfies 3 conditions (securing them)... ( x − 1 ) ( x − 2 ) ( x − 3 ) + x as we see, it doesn't satisfy our fourth condition... to secure that under our customised polynomial we customise the leading coefficient as well... (as it's not mentioned, it can be anything) in P(4), ( x − 1 ) ( x − 2 ) ( x − 3 ) gives value 6... the other part gives us 4. we need to make it 5... so we need 1. hence making leading coefficient 6 1 , secures our 4th condition as well... hence we worked out our P(x)
Log in to reply
Oh okay. Makes sense. But trial and error is the only way you can construct the polynomial, right? I guess I need practice.
Log in to reply
@Omkar Kulkarni – The main idea behind constructing such a polynomial is to use the Remainder-Factor Theorem as done by @Abdur Rehman Zahid in his solution below.
There are many other methods to solve this type of problems. One of them is to use the Method of Finite Differences. There's a Brilliant wiki on the topic too. I'll demonstrate it for the following problem in the comments.
Log in to reply
@Prasun Biswas – How would you use the Method of Finite Differences? :/
Log in to reply
@Omkar Kulkarni – Wait for a moment. I'm almost done with my solution.
@Omkar Kulkarni – not trial and error... it's just IDEA ...
How many type of polynomial did this question have??
Log in to reply
@Lalit Jena – only one...
Log in to reply
@Sarthak Rath – Thxx!!! I think I need to study more hard!!! :-)
Log in to reply
@Lalit Jena – u r brilliant!!! gifted!!! brainy!!! and not to forget, talented(in maths specially)!!! u don't have to study hard or else i will become unrecognised!!!
Log in to reply
@Sarthak Rath – Stop lying!! U are my classmate I know Sarthak IS BETTER THAN ME !!!
Log in to reply
@Lalit Jena – look at that profile pic... only decent genius boys/girls (whichever!) like u can have a genius as a profile pic... look at mine... wolverine!!!
Log in to reply
@Sarthak Rath – anyway... lets stop this... this is getting us nowhere....
@Sarthak Rath – -_- stop it
This solution is simple but requires a bit of brute force in solving a system of 4 linear equations. I'll post it anyway.
Let P ( x ) be a x 3 + b x 2 + c x + d
Then:
P ( 1 ) = a + b + c + d = 1
P ( 2 ) = 8 a + 4 b + 2 c + d = 2
P ( 3 ) = 2 7 a + 9 b + 3 c + d = 3
P ( 4 ) = 6 4 a + 1 6 b + 4 c + d = 5
The solution of the above system is
( a , b , c , d ) = ( 6 1 , − 1 , 6 1 7 , − 1 )
P ( x ) = 6 x 3 − x 2 + 6 1 7 x 2 − 1
P ( 6 ) = 1 6
Problem Loading...
Note Loading...
Set Loading...
Let g ( x ) = P ( x ) − x .We see that g ( 1 ) = g ( 2 ) = g ( 3 ) = 0 so 1 , 2 , 3 are the roots of g ( x ) .Which means that g ( x ) is of the form a ( x − 1 ) ( x − 2 ) ( x − 3 ) , a being some constant(The polynomial is not monic,as it will be seen later).So: a ( x − 1 ) ( x − 2 ) ( x − 3 ) = P ( x ) − x P ( x ) = a ( x − 1 ) ( x − 2 ) ( x − 3 ) + x It is given that P ( 4 ) = 5 ,so a ( 4 − 1 ) ( 4 − 2 ) ( 4 − 3 ) + 4 = 5 a ( 3 ) ( 2 ) ( 1 ) + 4 = 5 6 a = 1 → a = 6 1 So the polynomial is 6 1 ( x − 1 ) ( x − 2 ) ( x − 3 ) + x .Simply evaluating the polynomial at 6 gives the answer 1 6