Find the value of the polynomial

Algebra Level 5

Let Q ( x ) = a 0 + a 1 x + a 2 x 2 + + a n x n Q(x) = a_0 + a_1x + a_2x^2 + \cdots + a_nx^n be a polynomial with integer coefficients, and 0 a i < 3 0 \le a_i < 3 for all 0 i n 0 \le i \le n .

Given that Q ( 3 ) = 20 + 17 3 Q\big(\sqrt 3\big) = 20 + 17\sqrt 3 , what is the value of Q ( 2 ) Q(2) ?


The answer is 86.

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

Lets begin with writing 20 and 17 in ternary.

20 = 2 3 2 + 0 3 + 2 20=2*3^2+0*3+2 and also 17 = 3 2 + 2 3 + 2 17=3^2+2*3+2

Thus Q ( 3 ) = 20 + 17 3 = ( 3 ) 5 + 2 ( 3 ) 4 + 2 ( 3 ) 3 + 0 ( 3 ) 2 + 2 3 + 2 Q(\sqrt{3})=20+17\sqrt{3}=(\sqrt{3})^5+2*(\sqrt{3})^4+2*(\sqrt{3})^3+0*(\sqrt{3})^2+2*\sqrt{3}+2

So Q ( x ) = x 5 + 2 x 4 + 2 x 3 + 2 x + 2 Q(x)=x^5+2*x^4+2x^3+2x+2

Thus Q ( 2 ) = 86 Q(2)=86

This representation is unique because there is only 1 way a number can be written in ternary form.(i.e the coefficients must be less than 3 and non-negative) For example 3^4 can never be written in some combination of 3^3, 3^2 and 3 and a constant if their coefficients are less than 3. So if a term of 3^4 appears, it has to come from 3^4.

Q ( x ) = x 5 + 2 x 4 + 2 x 3 + 2 x + 2 Q(x) = x^{5} + 2x^{4} + 2x^{3}+2x+2

Why must Q ( x ) = x 5 + 2 x 4 + 2 x 3 + 2 x + 2 Q(x) = x^{5} + 2x^{4} + 2x^{3}+2x+2 be true?

Pi Han Goh - 4 years, 3 months ago

Log in to reply

It is true...I got the same after spending 10 minutes. You would like to know how?

Skanda Prasad - 3 years, 11 months ago

Log in to reply

Yes sure. \quad

Pi Han Goh - 3 years, 11 months ago

Log in to reply

@Pi Han Goh Q ( 3 ) = a 0 + 3 a 1 + 3 a 2 + 3 3 a 3 + 9 a 4 + 9 3 a 5 + . . . Q(\sqrt{3})=a_{0}+\sqrt{3}a_{1}+3a_{2}+3\sqrt{3}a_{3}+9a_{4}+9\sqrt{3}a_{5}+... I spent time substituting values 0 , 1 , 2 0,1,2 for a i a_{i} to the terms containing 3 \sqrt{3} to make the sum equal to 17 3 17\sqrt{3} and to the terms without 3 \sqrt{3} to make the sum equal to 20 20 .

I got the following combination.

a 0 = 2 , a_{0}=2, a 2 = 0 a_{2}=0 and a 4 = 2 a_{4}=2 which will give me 20 when added.

a 1 = 2 a_{1}=2 , a 3 = 2 a_{3}=2 and a 5 = 1 a_{5}=1 which will give 17 3 17\sqrt{3} when added.

And note that substituting 3 \sqrt{3} for further terms will make numbers too big like 81 81 , 81 3 81\sqrt{3} etc which we don't want. So those terms can be regarded as 0 0 .

Now we know the values of a i a_{i} s and we can substitute them in Q ( x ) Q(x) .

Hence, we get that polynomial.

Hope I am clear.

Skanda Prasad - 3 years, 11 months ago
K T
Jun 13, 2019

Q ( 3 ) = 20 + 17 3 = a 0 + 3 a 1 + 3 a 2 + 3 3 a 3 + . . . = a 0 + 3 a 2 + 9 a 4 + . . . + 3 ( a 1 + 3 a 3 + 9 a 5 + . . . ) Q(\sqrt{3})=20+17\sqrt{3}=a_0+ \sqrt{3}a_1+ 3a_2+ 3\sqrt{3}a_3+...= a_0+ 3a_2+9a_4+...+\sqrt{3}(a_1+3a_3+9a_5+...)

So we have a 0 + 3 a 2 + 9 a 4 + . . . = 20 a_0+ 3a_2+9a_4+...=20 and a 1 + 3 a 3 + 9 a 5 + . . . = 17 a_1+3a_3+9a_5+...=17 .

In effect, we are looking for the trinary representations of

2 0 10 = 20 2 3 20_{10}=202_3 so that a 4 = 2 , a 2 = 0 , a 0 = 2 a_4=2, a_2=0, a_0=2

and 1 7 10 = 12 2 3 17_{10}=122_3 so that a 5 = 1 , a 3 = 2 , a 1 = 2 a_5=1, a_3=2, a_1=2 .

Q ( 2 ) = 2 × 2 0 + 2 × 2 1 + 0 × 2 2 + 2 × 2 3 + 2 × 2 4 + 1 × 2 5 = 86 Q(2)=2×2^0+2×2^1+0×2^2+2×2^3+2×2^4+1×2^5=\boxed{86}

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...