Roopesh - The ice cream eater

Algebra Level 3

Roopesh went to his friends house. There he ate a lot of Ice-cream. First he started with Vanilla then Chocolate then Vanilla then Butterscotch then Vanilla. He is a mathematician and made a monic polynomial of degree 5 which gave him values of the first letter of the Ice Cream.

This is the way his polynomial proceeded :-
p ( 1 ) = 22 p(1) = 22
p ( 2 ) = 3 p(2) = 3
p ( 3 ) = 22 p(3) = 22
p ( 4 ) = 2 p(4) = 2
p ( 5 ) = 22 p(5) = 22

If the value of p ( 6 ) = a b c p(6) = \overline{abc} . The first letter of the ice cream he eats would be a + b + c a+b+c . Which ice cream will be eat next?

Assumption: a b c \overline{abc} represents a 3 digit number.

Vanilla Black Forest Quizzal Ice cream Drama Queen Ice cream Pineapple Mango Chocolate Need for Roopesh

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

Kazem Sepehrinia
May 18, 2015

Let Q ( x ) = P ( x ) 22 Q(x)=P(x)-22 1 1 , 3 3 and 5 5 are the roots of Q ( x ) Q(x) , It follows that Q ( x ) = P ( x ) 22 = ( x 1 ) ( x 3 ) ( x 5 ) ( x a ) ( x b ) Q(x)=P(x)-22=(x-1)(x-3)(x-5)(x-a)(x-b) Note that Q ( 2 ) = P ( 2 ) 22 = 19 = 3 ( 2 a ) ( 2 b ) Q ( 4 ) = P ( 4 ) 22 = 20 = 3 ( 4 a ) ( 4 b ) Q(2)=P(2)-22=-19=3(2-a)(2-b) \\ Q(4)=P(4)-22=-20=-3(4-a)(4-b) Last two equations give us: a + b = 1 2 a b = 34 3 a+b=-\frac{1}{2} \\ ab=-\frac{34}{3} Now we have P ( x ) = 22 + ( x 1 ) ( x 3 ) ( x 5 ) ( x a ) ( x b ) = 22 + ( x 1 ) ( x 3 ) ( x 5 ) ( x 2 ( a + b ) x + a b ) = 22 + ( x 1 ) ( x 3 ) ( x 5 ) ( x 2 + 1 2 x 34 3 ) P(x)=22+(x-1)(x-3)(x-5)(x-a)(x-b) \\ =22+(x-1)(x-3)(x-5)(x^2-(a+b)x+ab) \\ = 22+(x-1)(x-3)(x-5)(x^2+\frac{1}{2}x-\frac{34}{3}) It gives P ( 6 ) = 437 P(6)=437

A no-brainer method would be to use the Method of Finite Differences . Since it is given that p ( x ) p(x) is monic degree 5 5 polynomial, you have,

D 5 ( n ) = 5 ! = 120 n Dom ( p ) D_5(n)=5!=120~\forall~n\in\textrm{Dom}(p)

Here's the relevant part of the constructed difference table:

n p ( n ) D 1 ( n ) D 2 ( n ) D 3 ( n ) D 4 ( n ) D 5 ( n ) 1 22 19 38 77 156 120 2 3 19 39 79 276 3 22 20 40 355 4 2 20 395 5 22 415 6 437 \begin{array}{|c|c|c|c|c|c|c|} \hline n&p(n)&D_1(n)&D_2(n)&D_3(n)&D_4(n)&D_5(n)\\ \hline 1&22&-19&38&-77&156&120\\ 2&3&19&-39&79&276\\ 3&22&-20&40&355\\ 4&2&20&395\\ 5&22&415\\ 6&437\\ \hline\end{array}

Prasun Biswas - 6 years ago

Log in to reply

cool, never knew about this! this would have been useful to know...

Christopher Black - 6 years ago

Best solution!

Swapnil Das - 5 years, 11 months ago

When you write that the polynomial roots are 1, 3, and 5, wouldn't that be (x-1)(x-3)(x-5)(x-a)(x-b)? I noticed you did the math correctly regardless, just some possible confusion there...

Christopher Black - 6 years ago

Log in to reply

Thanks! Edited.

Kazem Sepehrinia - 6 years ago

Very nice. Now I see why this was a good question.

Kunal Verma - 6 years ago

I did exactly the same.

Gabriel Chacón - 2 years, 4 months ago
Samuel Adekunle
Jan 25, 2018

Let G(x) = P(x)-22 = (x-1)(x-2)(x-3)(x-4)(x-5) + h(x) Since G(x) is monic this implies that deg(h(x))<=4 Since h(1)=h(3)=h(5)=0 Let h(x)=A(x-1)(x-3)(x-5)(x+b) Using the fact that h(2)= 19 and h(4) = -20 Values for A and B can be gotten to be A = 6.5 and b=-116/39 Then h(6) = 6.5(5)(3)(1)(6-(116/39))= 295 Then G(6)= 5! + h(6) = 415 Finally we see P(6) = G(6) + 22 = 437 4+3+7=14 Which tells us that our Ice cream must begin with letter "N"

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...