Let Q ( x ) = a 0 + a 1 x + a 2 x 2 + ⋯ + a n x n be a polynomial with integer coefficients, and 0 ≤ a i < 3 for all 0 ≤ i ≤ n .
Given that Q ( 3 ) = 2 0 + 1 7 3 , what is the value of Q ( 2 ) ?
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.
Q ( x ) = x 5 + 2 x 4 + 2 x 3 + 2 x + 2
Why must Q ( x ) = x 5 + 2 x 4 + 2 x 3 + 2 x + 2 be true?
Log in to reply
It is true...I got the same after spending 10 minutes. You would like to know how?
Log in to reply
Yes sure.
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 + . . . I spent time substituting values 0 , 1 , 2 for a i to the terms containing 3 to make the sum equal to 1 7 3 and to the terms without 3 to make the sum equal to 2 0 .
I got the following combination.
a 0 = 2 , a 2 = 0 and a 4 = 2 which will give me 20 when added.
a 1 = 2 , a 3 = 2 and a 5 = 1 which will give 1 7 3 when added.
And note that substituting 3 for further terms will make numbers too big like 8 1 , 8 1 3 etc which we don't want. So those terms can be regarded as 0 .
Now we know the values of a i s and we can substitute them in Q ( x ) .
Hence, we get that polynomial.
Hope I am clear.
Q ( 3 ) = 2 0 + 1 7 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 + . . . )
So we have a 0 + 3 a 2 + 9 a 4 + . . . = 2 0 and a 1 + 3 a 3 + 9 a 5 + . . . = 1 7 .
In effect, we are looking for the trinary representations of
2 0 1 0 = 2 0 2 3 so that a 4 = 2 , a 2 = 0 , a 0 = 2
and 1 7 1 0 = 1 2 2 3 so that 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 = 8 6
Problem Loading...
Note Loading...
Set Loading...
Lets begin with writing 20 and 17 in ternary.
2 0 = 2 ∗ 3 2 + 0 ∗ 3 + 2 and also 1 7 = 3 2 + 2 ∗ 3 + 2
Thus Q ( 3 ) = 2 0 + 1 7 3 = ( 3 ) 5 + 2 ∗ ( 3 ) 4 + 2 ∗ ( 3 ) 3 + 0 ∗ ( 3 ) 2 + 2 ∗ 3 + 2
So Q ( x ) = x 5 + 2 ∗ x 4 + 2 x 3 + 2 x + 2
Thus Q ( 2 ) = 8 6
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.