Find a Shorter Solution for f(7) with Given Constraints | Elementary Question

  • Thread starter Thread starter icystrike
  • Start date Start date
  • Tags Tags
    Elementary
Click For Summary

Homework Help Overview

The problem involves a polynomial function defined as f(x) = a_0 + a_1x + a_2x^2 + ... + a_nx^n, where the coefficients are nonnegative integers. The conditions f(1) = 8 and f(35) = 6^6 are provided, and the goal is to find the value of f(7).

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • The original poster attempts to find a shorter solution after arriving at an answer. Some participants suggest that the polynomial resembles a binomial expansion, leading to a simpler interpretation. Others question how to derive the binomial form from the given information.

Discussion Status

Participants are exploring different interpretations of the polynomial function and its properties. Some have proposed a binomial expansion as a potential approach, while others are examining the reasoning behind this assumption. There is no explicit consensus on the best method yet.

Contextual Notes

Participants note the constraints of the coefficients being nonnegative integers and the implications of the given values for f(1) and f(35). The discussion reflects on the assumptions made regarding the polynomial's structure and behavior.

icystrike
Messages
444
Reaction score
1

Homework Statement


I've posted it many months ago.. now i manage to get the answer but I am wondering if anyone has a shorter solution?

The question goes like this(without a single omission):

Let f(x)=[itex]a_0+a_1x+a_2x^2+...+a_nx^n[/itex] ,where [itex]a_0,a_1,a_2,...,a_n[/itex]
are nonnegative integers. If f(1)=8 and f(35)=[itex]6^6[/itex] , find f(7).

Answer is 512.

Homework Equations

The Attempt at a Solution



Given [tex]a_{i}[/tex] is nonnegative , it can be 0 ,1 ,2 ,3 , ... , 7

Since [tex]35^{4}>6^{6}[/tex],
[tex]a_{4},a_{5},a_{6}... = 0[/tex]
[tex]f(35)=6^{6} \equiv1 mod(35)[/tex] by fermat's little theorem.
[tex]a_0 =1[/tex]
[tex]a_3=0 or 1 \because 2\times35^3 > 6^6[/tex]
therefore ,
[tex]a_1 + a_2 = 7 (rej \because a_2 > 38)[/tex]
or
[tex]a_1 + a_2 =6[/tex]

Hence, we can have a two by two simultaneous eqn:
[tex]a_1 + a_2 = 6[/tex]
[tex]35a_1 + 35^2 a_2 =3780[/tex]
[tex]a_1=3 ,a_2=3[/tex]

therefore , [tex]f(7)=1+3\times7+3\times7^{2}+7^{3}=512[/tex]
 
Last edited:
Physics news on Phys.org
This is a fairly simple question. Another way to do this:

f(x) looks like the binomial expansion of [tex]f(x)=(1+x)^n[/tex]
In this case, since it is given that f(1)=8, n=3.

Putting x=35 confirms this as we get [tex]f(35)=(1+35)^3[/tex].

Thus you can easily get f(7)=512.
 
chaoseverlasting said:
This is a fairly simple question. Another way to do this:

f(x) looks like the binomial expansion of [tex]f(x)=(1+x)^n[/tex]
In this case, since it is given that f(1)=8, n=3.

Putting x=35 confirms this as we get [tex]f(35)=(1+35)^3[/tex].

Thus you can easily get f(7)=512.
But how you manage to find out that f(x) is actually the binomial expansion from the given information...
 
Because of the increasing powers of x. It starts with x^0 and ends with x^n. It resembles a binomial expansion. Since f(1) was a power of 2, that furthur strengthened the assumption. Thats because the sum of binomial coefficients is 2^n, so it seemed to fit. From there on, I just checked if the given expansion fit the data and from there, the answer.
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
3K
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
1
Views
1K
  • · Replies 11 ·
Replies
11
Views
4K
Replies
2
Views
2K
Replies
4
Views
2K
Replies
9
Views
3K
Replies
3
Views
1K
  • · Replies 2 ·
Replies
2
Views
6K