Easy polynomial by me

Algebra Level 2

A cubic polynomial P ( x ) P(x) satisfies the following:

P ( 1 ) = 1 , P ( 2 ) = 2 , P ( 3 ) = 3 , P ( 4 ) = 5. P(1)=1, P(2)=2, P(3)=3, P(4)=5.

What is the value of P ( 6 ) ? P(6)?


The answer is 16.

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.

3 solutions

Let g ( x ) = P ( x ) x g(x)=P(x)-x .We see that g ( 1 ) = g ( 2 ) = g ( 3 ) = 0 g(1)=g(2)=g(3)=0 so 1 , 2 , 3 1,2,3 are the roots of g ( x ) g(x) .Which means that g ( x ) g(x) is of the form a ( x 1 ) ( x 2 ) ( x 3 ) a(x-1)(x-2)(x-3) , a 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 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 P(4)=5 ,so a ( 4 1 ) ( 4 2 ) ( 4 3 ) + 4 = 5 a ( 3 ) ( 2 ) ( 1 ) + 4 = 5 6 a = 1 a = 1 6 a(4-1)(4-2)(4-3)+4=5\\ a(3)(2)(1)+4=5\\ 6a=1 \rightarrow a=\frac{1}{6} So the polynomial is 1 6 ( x 1 ) ( x 2 ) ( x 3 ) + x \frac{1}{6}(x-1)(x-2)(x-3)+x .Simply evaluating the polynomial at 6 gives the answer 16 \boxed{16}

Sarthak Rath
Feb 22, 2015

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 :

1 6 \frac{1}{6} ( x 1 ) ( x 2 ) ( x 3 ) (x-1)(x-2)(x-3) + x x

put the values of P(6) to get 16 \boxed{16}

Another method is to use the Method of Finite Differences. We construct a difference table for the polynomial P ( n ) P(n) using the first few values of n n given as follows:

n P ( n ) D 1 ( n ) D 2 ( n ) D 3 ( n ) 1 1 1 0 1 2 2 1 1 1 3 3 2 2 1 4 5 4 3 5 9 7 6 16 \begin{array} {|c|c|c|c|c|c|c|} \hline n & P(n) & D_1(n) & D_2(n) & D_3 (n) \\ \hline 1 & 1 & 1 & 0 & 1 \\ 2 & 2 & 1 & 1 & 1 \\ 3 & 3 & 2 & 2 & 1 \\ 4 & 5 & 4 & 3 & \\ 5 & 9 & 7 & & \\ 6 & 16\\ \hline \end{array}

From the table, we can clearly see that P ( 6 ) = 16 \boxed{P(6)=16}

Prasun Biswas - 6 years, 3 months ago

Log in to reply

Oh wow! I didn't even think of thinking of that.

Omkar Kulkarni - 6 years, 3 months ago

Log in to reply

I've improved on the presentation now. The table formatting code is a pain in the arse.

Prasun Biswas - 6 years, 3 months ago

Could you go into a little detail as to how you worked it out?

Omkar Kulkarni - 6 years, 3 months ago

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 (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 ) (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 1 6 \frac{1}{6} , secures our 4th condition as well... hence we worked out our P(x)

Sarthak Rath - 6 years, 3 months ago

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.

Omkar Kulkarni - 6 years, 3 months ago

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.

Prasun Biswas - 6 years, 3 months ago

Log in to reply

@Prasun Biswas How would you use the Method of Finite Differences? :/

Omkar Kulkarni - 6 years, 3 months ago

Log in to reply

@Omkar Kulkarni Wait for a moment. I'm almost done with my solution.

Prasun Biswas - 6 years, 3 months ago

@Omkar Kulkarni not trial and error... it's just IDEA ...

Sarthak Rath - 6 years, 3 months ago

Log in to reply

@Sarthak Rath Okay. Thanks!

Omkar Kulkarni - 6 years, 3 months ago

How many type of polynomial did this question have??

Lalit Jena - 6 years, 3 months ago

Log in to reply

@Lalit Jena only one...

Sarthak Rath - 6 years, 3 months ago

Log in to reply

@Sarthak Rath Thxx!!! I think I need to study more hard!!! :-)

Lalit Jena - 6 years, 3 months ago

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!!!

Sarthak Rath - 6 years, 3 months ago

Log in to reply

@Sarthak Rath Stop lying!! U are my classmate I know Sarthak IS BETTER THAN ME !!!

Lalit Jena - 6 years, 3 months ago

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!!!

Sarthak Rath - 6 years, 3 months ago

Log in to reply

@Sarthak Rath anyway... lets stop this... this is getting us nowhere....

Sarthak Rath - 6 years, 3 months ago

@Sarthak Rath -_- stop it

Lalit Jena - 6 years, 3 months ago

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 ) P(x) be a x 3 + b x 2 + c x + d ax^3 + bx^2 + cx + d

Then:

P ( 1 ) = a + b + c + d = 1 P(1)=a + b + c + d = 1

P ( 2 ) = 8 a + 4 b + 2 c + d = 2 P(2)=8a+4b+2c+d=2

P ( 3 ) = 27 a + 9 b + 3 c + d = 3 P(3)=27a+9b+3c+d=3

P ( 4 ) = 64 a + 16 b + 4 c + d = 5 P(4)=64a+16b+4c+d=5

The solution of the above system is

( a , b , c , d ) = ( 1 6 , 1 , 17 6 , 1 ) (a,b,c,d)=(\frac {1} {6},-1,\frac {17} {6}, -1)

P ( x ) = x 3 6 x 2 + 17 x 2 6 1 P(x)=\frac {x^3} {6} - x^2 + \frac {17x^2} {6} - 1

P ( 6 ) = 16 P(6) = 16

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...