Let f ( x ) be a polynomial function with integer coefficients such that f ( 1 ) = 5 , f ( 2 ) = 8 , f ( 3 ) = 1 3 .
What is the minimum possible positive value of f ( 2 1 ) ?
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.
That's my desired "one-line solution" :)
Where it gets interesting, is when the " x 2 + 4 " part is larger than the ( x − 1 ) ( x − 2 ) ( x − 3 ) part, in which case setting g ( x ) to be non-zero can lead to a smaller solution instead of the guess of "it has to be x 2 + 4 ". As an example, calculate the minimum positive value of f ( 4 ) under the same conditions .
Log in to reply
Try looking at f ( 4 ) instead of f ( 2 1 ) for this problem. See the comments with Toby M.
For completeness, the minimum is achieved when we have an integer polynomial that satisfies g ( 2 1 ) = 0 . The polynomial g ( x ) = 0 works.
Nice solution! I actually didn't think of an algebraic method, since I'm more comfortable with number theory. This approach is definitely much quicker than dealing with systems of congruences.
Actually this beautiful solution shows that you can set g(x) to any polynomial, including with negative coefficients (the questions asks for integer coefficients, not positive integer). So the minimum value of f(21) is -\inf.
Log in to reply
Ok, the question asked for the minimum positive value of f ( 2 1 ) . I have omitted the word "positive" in my answer, but I was answering the question.
I have an Olympiad tomorrow that I qualified for!!! I tried the past papers and sucked like cow!!! Someone please help me what should I do!!! I'd be grateful
Log in to reply
If the olympiad is tomorrow, there isn't much you can do in a day. Best is to not stress yourself out right now.
I advise you to check out Ace the AMC to get started on math competition preparation.
I think your solution doesn't work. Using the points and conditions in the problem, substituting 4 into x 2 + 4 + ( x − 1 ) ( x − 2 ) ( x − 3 ) gives the minimum value of f ( 4 ) = 8 . However, using Lagrange interpolation (https://www.wolframalpha.com/input/?i=lagrange+interpolate+(1,5),(2,8),(3,13),(4,2)) I found a minimum value which has f ( 4 ) = 2 .
Log in to reply
But f ( 4 ) = 2 0 + 6 g ( 4 ) , which does give a minimum value of 2 , when g ( 4 ) = − 3 .
Let y = f ( 2 1 ) . We know that y must be an integer because f has integer coefficients. Since f has integer coefficients, a − b ∣ f ( a ) − f ( b ) for all integers a , b . Letting a = 2 1 and b = 1 , 2 , 3 , we have
2 0 ∣ 1 9 ∣ 1 8 ∣ y − 5 y − 8 y − 1 3 .
Putting this into modular arithmetic yields this system of congruences:
y y y ≡ 5 ( m o d 2 0 ) ≡ 8 ( m o d 1 9 ) ≡ 1 3 ( m o d 1 8 ) .
From these congruences, we see that we can write y in the forms 2 0 l + 5 , 1 9 m + 8 , and 1 8 n + 1 3 , where l , m , n are all non-negative integers. Equating the first two forms and taking modulo 19 yields
2 0 l + 5 2 0 l l = 1 9 m + 8 = 1 9 m + 3 ≡ 3 ( m o d 1 9 ) .
Thus, we can write l in the form 1 9 l ′ + 3 , where l ′ is some non-negative integer. Substituting this back into our original expression yields y = 2 0 ( 1 9 l ′ + 3 ) + 5 = 2 0 ( 1 9 ) l ′ + 6 5 .
Now, we equate this form with 1 8 n + 1 3 and take the entire thing modulo 18:
2 0 ( 1 9 ) l ′ + 6 5 2 0 ( 1 9 ) l ′ 2 ( 1 ) l ′ 2 l ′ l ′ = 1 8 n + 1 3 = 1 8 n − 5 2 ≡ − 5 2 ( m o d 1 8 ) ≡ 2 ( m o d 1 8 ) ≡ 1 ( m o d 9 ) .
Thus, we can write l ′ in the form 9 k + 1 , where k is some non-negative integer. Substituting this in to our expression yields y = 2 0 ( 1 9 ) ( 9 k + 1 ) + 6 5 = 3 4 2 0 k + 4 4 5 . Therefore, the smallest possible value of y is 4 4 5 .
To complete the proof, we must show that there exists such an f that satisfies all these conditions. Indeed, the function f ( x ) = x 2 + 4 satisfies the conditions, and we are done.
very nice solution sir.
With the observation in the last line, there is a "one-line" solution to this problem. Do you see it? :)
Log in to reply
Can you please share it sir? How do will we know x^2 +4 will be the least if it's a one-line?
Log in to reply
*one- liner
Log in to reply
@Mohan Nayak – See Mark's solution above.
Note: The answer isn't always going to be x 2 + 4 .
[This is not a complete solution. I just want to point out that there is a much shorter approach, which applies to the generalized problem.]
Hint: The only polynomials with integer coefficients that satisfy f ( 1 ) = 0 are of the form f ( x ) = g ( x ) × ( x − 1 ) , where g ( x ) is a polynomial with integer coefficients.
Hint: The only polynomials with integer coefficients that satisfy f ( 1 ) = 0 , f ( 2 ) = 0 , f ( 3 ) = 0 are of the form f ( x ) = g ( x ) × ( x − 1 ) ( x − 2 ) ( x − 3 ) , where g ( x ) is a polynomial with integer coefficients.
Hint: Hence classify all polynomials that satisfy the conditions of the problem.
Hint: Hence, determine the minimum possible positive value of f ( n ) .
i have learnt basic latex techniques. but how can i learn tough & hard latex techniques so that i can post calculus and tough looking problems?
Log in to reply
IMO, the best way would be to
1. Find problems on Brilliant that you like, which display the type of equations that you want.
2. Select "Toggle LaTeX" from the menu to see the LaTeX code that is used.
E.g. on this page, you would see
How can we post questions?
Log in to reply
On desktop, or mobile browsers, select "Community - Post" in the sidebar
Posting is currently unavailable in the apps.
Log in to reply
well thank you, I was searching in app. By the way I have posted one, try it.
The polynomial of least degree that passes through 3 points not on the same line is a quadratic. Therefore fitting these points onto a quadratic and then evaluating at 21 should give the minimum value at x = 21.
f ( x ) = a x 2 + b x + c
5 = a ( 1 ) 2 + b ( 1 ) + c
8 = a ( 2 ) 2 + b ( 2 ) + c
1 3 = a ( 3 ) 2 ∗ b ( 3 ) + c
This is a system of three variables, and can be represented with the following augmented matrix A:
A = ⎣ ⎡ 1 4 9 1 2 3 1 1 1 5 8 1 3 ⎦ ⎤
This matrix, when in reduced row echelon form produces the following values for a, b, and c:
r r e f ( A ) = ⎣ ⎡ 1 0 0 0 1 0 0 0 1 1 0 4 ⎦ ⎤
a = 1 , b = 0 , c = 4
Therefore the quadratic is:
f ( x ) = x 2 + 4
Evaluating at x = 2 1 , f ( 2 1 ) = 4 4 5 .
While in this case f ( x ) = x 2 + 4 did give the minimum possible positive value of f ( 2 1 ) , this is not true in general. For example, the minimum possible positive value of f ( 4 ) is not 20 ..
We can use Lagrange interpolation on the points ( 1 , 5 ) , ( 2 , 8 ) and ( 3 , 1 3 ) and find the polynomial of the least degree that passes through these points. Interpolating these 3 points gives: ( 5 ⋅ 1 − 2 x − 2 ⋅ 1 − 3 x − 3 ) + ( 8 ⋅ 2 − 1 x − 1 ⋅ 2 − 3 x − 3 ) + ( 1 3 ⋅ 3 − 1 x − 1 ⋅ 3 − 2 x − 2 ) ⇒ ( 5 ⋅ ( x − 2 ) ( − 1 ) ⋅ ( x − 3 ) ( − 0 . 5 ) ) + ( 8 ⋅ ( x − 1 ) ( 1 ) ⋅ ( x − 3 ) ( − 1 ) ) + ( 1 3 ⋅ x − 1 ( 0 . 5 ) ⋅ ( x − 2 ) ( 1 ) ) ⇒ ( − 5 x + 1 0 ) ( − 0 . 5 x + 1 . 5 ) + ( 8 x − 8 ) ( − x + 3 ) + ( 6 . 5 x − 6 . 5 ) ( x − 2 ) ⇒ 2 . 5 x 2 − 7 . 5 x − 5 x + 1 5 + − 8 x 2 + 2 4 x + 8 x − 2 4 + 6 . 5 x 2 − 1 3 x − 6 . 5 x + 1 3 ⇒ ( 2 . 5 − 8 + 6 . 5 ) x 2 + ( − 7 . 5 − 5 + 2 4 + 8 − 1 3 − 6 . 5 ) x + ( 1 5 − 2 4 + 1 3 ) ⇒ ( 1 ) x 2 − ( 0 ) x + ( 4 ) ⇒ x 2 + 4
Since this polynomial is of the lowest degree possible, the function grows slower than other positive-valued higher degree polynomials, so for a value like f ( 2 1 ) it is likely that the value will be minimised.
In this case only, our guess was correct: f ( 2 1 ) is 2 1 2 + 4 or 4 4 5 , and checking that it satisfies the conditions, ( 1 ) x 2 − ( 0 ) x + ( 4 ) has integer coefficients, and f ( 1 ) = 1 2 + 4 = 5 ; f ( 2 ) = 2 2 + 4 = 8 ; f ( 3 ) = 3 2 + 1 4 .
(or you could just observe that 5 − 4 = 1 ; 8 − 4 = 4 ; 1 3 − 4 = 9 and guess if x 2 + 4 is the polynomial that has the minimum value of f ( 2 1 ) . Since the polynomial is of degree 2, you have a pretty good chance of just guessing the answer within 3 tries)
Since this polynomial is of the lowest degree possible, the other points are at their minimum possible.
That claim is not true. For example, the minimum positive value of f ( 4 ) would not be 4 2 + 4 = 2 0 .
Thanks for noticing this. I'll rephrase my post to show that this does not reach the full solution.
I just used a generic 2nd order polynomial eq and implemented the initial conditions to solve: ax^2+bx+c = f(x)
Meaning: a+b+c = 5, 4a+2b+c = 8, 9a+3b+c = 13.
Solving this system of eqs gives a = 1, b = 0, c = 4, so f(x) = x^2+4. Plug 21 in and you get 445.
I don't know though why a 2nd order polynomial was best for this though... could you not fit something higher order that has downward inflection before 21?
I have directly solved by seeing a general pattern of n^2+2n+5 that is formed in the numbers 5, 8 and13.
That claim is not true. Do you know why? For example, the minimum positive value of f ( 4 ) would not be 4 2 + 4 = 2 0 .
Note: The pattern should be n 2 + 4 . You are off by one, where n 2 + 2 n + 5 = ( n + 1 ) 2 + 4 .
Problem Loading...
Note Loading...
Set Loading...
Note that f ( x ) − x 2 − 4 vanishes at 1 , 2 , 3 . Thus f ( x ) = x 2 + 4 + g ( x ) ( x − 1 ) ( x − 2 ) ( x − 3 ) for some g ( x ) ∈ Z [ x ] . Thus f ( 2 1 ) = 4 4 5 + 6 8 4 0 g ( 2 1 ) , and so f ( 2 1 ) ≡ 4 4 5 ( m o d 6 8 4 0 ) . Thus the smallest possible positive value of f ( 2 1 ) is 4 4 5 , achieved by choosing g ( x ) = 0 .