Polynomial Reciprocal on Integers

Algebra Level 3

f ( x ) f(x) is a degree 4 polynomial satisfying f ( n ) = 1 n f(n) = \frac {1} {n} for integers n = n = 1 to 5. If f ( 0 ) = a b f(0) = \frac {a} {b} , where a a and b b are coprime positive integers. What is the value of a + b a + b ?


The answer is 197.

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.

22 solutions

Consider g ( x ) = x f ( x ) 1 g(x)= xf(x)-1 . We know that for all n { 1 , 2 , 3 , 4 , 5 } n \in \{1, 2, 3, 4, 5\} , f ( n ) = 1 n f(n)= \frac{1}{n} , so for all n { 1 , 2 , 3 , 4 , 5 } n \in \{1, 2, 3, 4, 5\} , n f ( n ) 1 = 0 g ( n ) = 0 nf(n)-1= 0 \implies g(n)=0 Note that the degree of g ( x ) g(x) is 5 5 . We have shown that 1 , 2 , 3 , 4 , 5 1, 2, 3, 4, 5 are roots of g ( x ) g(x) , so they must be the only roots of g ( x ) g(x) . We then conclude g ( x ) = c ( x 1 ) ( x 2 ) ( x 3 ) ( x 4 ) ( x 5 ) g(x)= c(x-1)(x-2)(x-3)(x-4)(x-5) for some non-zero constant c c . This implies x f ( x ) = c ( x 1 ) ( x 2 ) ( x 3 ) ( x 4 ) ( x 5 ) + 1 xf(x)= c(x-1)(x-2)(x-3)(x-4)(x-5)+1 Notice that x x divides the L.H.S, so 0 0 must be a root of the polynomial in the R.H.S. So, c ( 0 1 ) ( 0 2 ) ( 0 3 ) ( 0 4 ) ( 0 5 ) + 1 = 0 c(0-1)(0-2)(0-3)(0-4)(0-5) + 1=0 5 ! × c + 1 = 0 \implies -5! \times c + 1= 0 c = 1 5 ! \implies c= \frac{1}{5!}

Thus, we obtain x f ( x ) = 1 5 ! ( x 1 ) ( x 2 ) ( x 3 ) ( x 4 ) ( x 5 ) + 1 xf(x)= \frac{1}{5!}(x-1)(x-2)(x-3)(x-4)(x-5)+1 Since 0 0 is the root of the polynomial in the R.H.S, we know its constant term is 0 0 . Let c 1 , c 2 , c 3 , c 4 , c 5 c_1, c_2, c_3, c_4, c_5 be the coefficients of x 1 , x 2 , x 3 , x 4 , x 5 x^1, x^2, x^3, x^4, x^5 of 1 5 ! ( x 1 ) ( x 2 ) ( x 3 ) ( x 4 ) ( x 5 ) + 1 \frac{1}{5!}(x-1)(x-2)(x-3)(x-4)(x-5)+1 . Then, we have f ( x ) = c 5 x 4 + c 4 x 3 + c 3 x 2 + c 2 x + c 1 f(x)= c_5x^4 + c_4x^3 + c_3x^2 + c_2x + c_1 This implies f ( 0 ) = c 1 f(0)=c_1 By Vieta's formula, we obtain c 1 = 1 × 2 × 3 + 1 × 2 × 4 + 1 × 3 × 4 + 2 × 3 × 4 120 c_1= \frac{1 \times 2 \times 3 + 1 \times 2 \times 4 + 1 \times 3 \times 4 + 2 \times 3 \times 4}{120} f ( 0 ) = 137 60 \implies f(0)= \frac{137}{60} Our desired answer is 137 + 60 = 197 137+60= \boxed{197} .

I think there is a small typo....

Your c 1 c_1 should read as \displaystyle c 1 = ( 1 × 2 × 3 × 4 ) + ( 1 × 2 × 3 × 5 ) + ( 1 × 2 × 4 × 5 ) + ( 1 × 3 × 4 × 5 ) + ( 2 × 3 × 4 × 5 ) 120 c_1=\frac{(1\times2\times3\times4)+(1\times2\times3\times5)+(1\times2\times4\times5)+(1\times3\times4\times5)+(2\times3\times4\times5)}{120}

Nishant Sharma - 7 years, 6 months ago

Log in to reply

Yes, sorry about that.

Sreejato Bhattacharya - 7 years, 6 months ago

Hi! Sorry but can you explain how do you use Vieta's formula to derive the above? ( I understand that we are trying to find c 1 c_{1} which is the coefficient of x 1 x^{1} in the x f ( x ) xf(x) function.)

Jackal Jim - 7 years, 6 months ago

Log in to reply

Well, we know the roots of 1 5 ! ( x 1 ) ( x 2 ) ( x 3 ) ( x 4 ) ( x 5 ) \dfrac{1}{5!}(x-1)(x-2)(x-3)(x-4)(x-5) , so we can find its coefficient of x x by Vieta's relations. Note that adding 1 1 to it doesn't change its coefficient of x x , so the coefficient of x x in 1 5 ! ( x 1 ) ( x 2 ) ( x 3 ) ( x 4 ) ( x 5 ) \dfrac{1}{5!}(x-1)(x-2)(x-3)(x-4)(x-5) is equal to the coefficient of x x in x f ( x ) xf(x) .

Sreejato Bhattacharya - 7 years, 6 months ago

Log in to reply

@Sreejato Bhattacharya Alright thanks! :)

Jackal Jim - 7 years, 6 months ago

Nicely explained. +1, my friend!

Ahaan Rungta - 7 years, 6 months ago

Log in to reply

Thanks! :)

Sreejato Bhattacharya - 7 years, 6 months ago

Use method of differences, it will come fast.

A Brilliant Member - 7 years, 6 months ago

Log in to reply

Can you elaborate on the method of differences?

Jit Ganguly - 7 years, 6 months ago

Log in to reply

The idea is the following: if P ( x ) P(x) is a degree n n polynomial then Q ( x ) = P ( x + 1 ) P ( x ) Q(x)=P(x+1)-P(x) is a degree n 1 \leq n-1 polynomial, then R ( x ) = Q ( x + 1 ) Q ( x ) R(x)=Q(x+1)-Q(x) is a degree n 2 \leq n-2 polynomial, and so on. Thus, in some more steps you will get a constant polynomial and finally the zero polynomial.

For example, if P ( x ) = x 2 P(x)=x^2 , the values of P ( 0 ) , P ( 1 ) , P ( 2 ) , P ( 3 ) , P(0), P(1), P(2), P(3), \ldots are 0 , 1 , 4 , 9 , , 0, 1, 4, 9, \ldots, the first line of differences is 1 , 3 , 5 , 7 , 1, 3, 5, 7, \ldots the second line of differences is 2 , 2 , 2 , 2 , 2, 2, 2, 2, \ldots and finally the third line 0 , 0 , 0 , 0 , 0, 0, 0, 0, \ldots

Could you apply this method to our problem?

Jorge Tipe - 7 years, 6 months ago

Log in to reply

@Jorge Tipe Let f ( 0 ) = k f(0)=k . We construct the following difference table:
x f ( x ) D 1 ( x ) D 2 ( x ) D 3 ( x ) D 4 ( x ) 0 k 1 k k 3 2 11 6 k k 25 12 1 1 1 2 1 3 1 4 1 5 2 1 2 1 6 1 12 1 20 3 1 3 1 12 1 30 4 1 4 1 20 5 1 5 \begin{array}{c|c|c|c|c|c} x & f(x) & D_1(x) & D_2(x) & D_3(x) & D_4(x) \\ \hline 0 & k & 1-k & k-\frac{3}{2} & \frac{11}{6}-k & k-\frac{25}{12} \\ \hline 1 & 1 & -\frac{1}{2} & \frac{1}{3} & -\frac{1}{4} & \frac{1}{5} \\ \hline 2 & \frac{1}{2} & -\frac{1}{6} & \frac{1}{12} & -\frac{1}{20} & \cdots \\ \hline 3 & \frac{1}{3} & -\frac{1}{12} & \frac{1}{30} & \cdots & \cdots \\ \hline 4 & \frac{1}{4} & -\frac{1}{20} & \cdots & \cdots & \cdots \\ \hline 5 & \frac{1}{5} & \cdots & \cdots & \cdots & \cdots \\ \hline \end{array} Since the values in the fourth difference row must be constant, we obtain: k 25 12 = 1 5 k = 137 60 k-\frac{25}{12}= \frac{1}{5} \implies k= \frac{137}{60} But I still can't see how this is a more elegant method than mine. It requires lot of computations, and is not easily generalizable either.

Sreejato Bhattacharya - 7 years, 6 months ago

Log in to reply

@Sreejato Bhattacharya This isn't.........the essence of the problem lies in the previous method of solving.

Jit Ganguly - 7 years, 6 months ago

Log in to reply

@Jit Ganguly And this method is also very prone to mistakes. I got k = 97 60 k= \frac{97}{60} when I first constructed the difference table. :P

Sreejato Bhattacharya - 7 years, 6 months ago

@Jorge Tipe I see! Thanks a lot, it's very useful.

Jit Ganguly - 7 years, 6 months ago

That works, but it is not very fast. One has to calculate the differences up to the fourth row, which is not very easy to do. Computing c 1 c_1 is a bit tedious, but much more efficient.

Sreejato Bhattacharya - 7 years, 6 months ago

Log in to reply

Agreed.......Even I chose Lagrange interpolation.

Nishant Sharma - 7 years, 6 months ago

Log in to reply

@Nishant Sharma Even Lagrange Interpolation is more efficient than constructing a difference table in this case!

Sreejato Bhattacharya - 7 years, 6 months ago

Solutions like this can be made clearer by using the "identical" sign instead of "equal" sign when appropriate. (Although we usually use the same symbol for both usage.)

Zhangjie Lim - 7 years, 6 months ago

Log in to reply

I prefer not to use it, as it is often confused with the modular congruency notation.

Sreejato Bhattacharya - 7 years, 6 months ago

Great solution. Realy amazing.

indulal gopal - 6 years, 7 months ago
Wei Liang Gan
May 20, 2014

Consider the polynomial xf(x)-1 As f(x) is of degree 4, xf(x)-1 must be of degree 5 Using the given condition, we know that 1,2,3,4,5 are roots of xf(x)-1 by substituting f(x)=1/x Therefore,$$xf(x)-1 \equiv A(x-1)(x-2)(x-3)(x-4)(x-5) \text{for some constant }A$$ By substituting 0 into both polynomials, we get $$-1 = A(-1)(-2)(-3)(-4)(-5)=-120A \Rightarrow A = 1/120$$ By expanding and comparing the 'x' terms of the polynomials, we get $$xf(0) = A((-1)(-2)(-3)(-4)+(-1)(-2)(-3)(-5)+(-1)(-2)(-4)(-5)+(-1)(-3)(-4)(-5)+(-2)(-3)(-4)(-5))x = 274x/120 = 137x/60$$ Since 137 and 60 are coprime, the answer is 137+60=197

Kee Wei Lee
May 20, 2014

Lets consider the polynomial Q ( n ) = n f ( n ) 1 Q(n)=nf(n)-1 which has degree 5. We note that Q ( n ) = 0 Q(n)=0 for n = 1 , 2 , 3 , 4 , 5 n=1,2,3,4,5 So by factor theorem; Q ( n ) = A ( n 1 ) ( n 2 ) ( n 3 ) ( n 4 ) ( n 5 ) Q(n)=A(n-1)(n-2)(n-3)(n-4)(n-5) for some real constant A. If n=0, Q ( 0 ) = ( 0 ) ( f ( 0 ) ) 1 = 1 Q(0)=(0)(f(0))-1=-1 , thus A ( 1 ) ( 2 ) ( 3 ) ( 4 ) ( 5 ) = 1 A(-1)(-2)(-3)(-4)(-5)=-1 . Hence we have A = 1 / ( 5 ! ) = 1 / 120 A=1/(5!)=1/120 Hence we will get n f ( n ) 1 = ( 1 / 120 ) ( n 1 ) ( n 2 ) ( n 3 ) ( n 4 ) ( n 5 ) nf(n)-1=(1/120)(n-1)(n-2)(n-3)(n-4)(n-5) . So, f ( n ) = ( n 1 ) ( n 2 ) ( n 3 ) ( n 4 ) ( n 5 ) + 120 120 n f(n)=\frac {(n-1)(n-2)(n-3)(n-4)(n-5)+120} {120n} . The linear term in the numerator will become the constant in f ( n ) f(n) . We can derive the expansion's coefficient's by using Vieta's theorem. So we can get f ( 0 ) = ( 1 × 2 × 3 × 4 + 1 × 2 × 3 × 5 + . . . + 2 × 3 × 4 × 5 ) 120 f(0)=\frac {(1\times 2\times 3\times 4+1\times 2\times 3\times 5+...+2\times 3\times 4\times 5)} {120} = 1 / 5 + 1 / 4 + 1 / 3 + 1 / 2 + 1 = 137 60 =1/5+1/4+1/3+1/2+1=\frac {137}{60} Hence the require value is 137 + 60 = 197 137+60=197

There were numerous solutions received where students solved for the polynomial using a system of 5 simultaneous equations. This method is much cleaner, and students should learn this a useful application of the Remainder-Factor Theorem.

Calvin Lin Staff - 7 years ago

Let the function be F(x)=p x^4+q x^3+r x^2+s x^1+t, F(1)=p+q+r+s+t =1 , F(2)=16p+8q+4r+2s+t =1/2 , F(3)=81p+27q+9r+3s+t =1/3 , F(4)=256p+64q+16r+4s+t =1/4,
F(5)=625p+125q+25r+5s+t =1/5,
F(2)-F(1)=15p+7q+3r+s =-1/2 -----(1), F(3)-F(2)=65p+19q+5r+s=-1/6 ----------(2), F(4)-F(3)=175p+37q+7r+s=-1/12 -------------(3), F(5)-F(4)=369p+61q+9r+s=-1/20 ------------(4), (2)-(1)=50p+12q+2r=1/3 -----------(5), (3)-(2)=110p+18q+2r=1/12 ---------(6), (4)-(3)=194p+24q+2r=1/30 ----------(7), (6)-(5)=60p+6q=-1/4 -------------(8), (7)-(6)=84p+6q=-1/20 -----------(9), From (8) and(9) ,p=1/120 ,q=-1/8 , substituting the values of p and q in (5) we get ,r=17/24, substituting the values of p,q and r in (1) we get ,s=-15/8, we have ,p+q+r+s+t=1, t=137/60, F(0)=t=137/60=a/b, a+b=137+60=197

Caleb Wagner
May 20, 2014

The general form of f(x) is as follows (a,b,c,d, and e are constants):

f(x) = a x^4 + b x^3 + c x^2 + d x + e

But we know that f(1) = 1, f(2) = 1/2, f(3) = 1/3, f(4) = 1/4, and f(5) = 1/5, using the fact that f(n) = 1/n for n = 1,2,3,4, and 5. So, we may write:

f(1) = a + b + c + d + e = 1

f(2) = 16a + 8b + 4c + 2d + e = 1/2

f(3) = 81a + 27b + 9c + 3d + e = 1/3

f(4) = 256a + 64b + 16c + 4d + e = 1/4

f(5) = 625a + 125b + 25c + 5d + e = 1/5

This is a system of five equations in five unkowns. It is straightforward to solve for a,b,c,d, and e. All we really need to know, however, is e, because

f(0) = e

Solving the above system gives e = 137/60

So, 137 + 60 = 197 is the answer.

Zhimin Gong
May 20, 2014

a+b+c+d+e=1 16a+8b+4c+2d+e=1/2 81a+27b+9c+3d+e=1/3 256a+64b+16c+4d+e=1/4 625a+125b+25c+5d+e=1/5 get: a= 0.0083 b=-0.1250 c=0.7083 d= -1.8750 e= 2.2833=137/60

Sujoy Roy
Nov 25, 2013

Let f ( x ) = A ( x 2 ) ( x 3 ) ( x 4 ) ( x 5 ) + B ( x 1 ) ( x 3 ) ( x 4 ) ( x 5 ) + C ( x 1 ) ( x 2 ) ( x 4 ) ( x 5 ) + D ( x 1 ) ( x 2 ) ( x 3 ) ( x 5 ) + E ( x 1 ) ( x 2 ) ( x 3 ) ( x 4 ) f(x)=A(x-2)(x-3)(x-4)(x-5)+B(x-1)(x-3)(x-4)(x-5)+C(x-1)(x-2)(x-4)(x-5)+D(x-1)(x-2)(x-3)(x-5)+E(x-1)(x-2)(x-3)(x-4) . As f ( 1 ) = 1 f(1)=1 , we get, A = 1 24 A=\frac{1}{24} . As f ( 2 ) = 1 2 f(2)=\frac{1}{2} , we get, B = 1 12 B=-\frac{1}{12} . As f ( 3 ) = 1 3 f(3)=\frac{1}{3} , we get, C = 1 12 C=\frac{1}{12} . As f ( 4 ) = 1 4 f(4)=\frac{1}{4} , we get, D = 1 24 D=-\frac{1}{24} . As f ( 5 ) = 1 5 f(5)=\frac{1}{5} , we get, E = 1 120 E=\frac{1}{120} . Now, f ( 0 ) = 120 A + 60 B + 40 C + 30 D + 24 E = 5 5 + 10 3 5 4 + 1 5 = 137 60 f(0)=120A+60B+40C+30D+24E=5-5+\frac{10}{3}-\frac{5}{4}+\frac{1}{5}=\frac{137}{60} . So, a + b = 197 a+b=197

Lagrange Interpolation! Nice!

Sreejato Bhattacharya - 7 years, 6 months ago
Kishlaya Jaiswal
Nov 25, 2013

We have f ( n ) = 1 n f(n) = \frac{1}{n} for n ϵ 1 , 2 , 3 , 4 , 5 n \epsilon {1,2,3,4,5}

So n f ( n ) 1 = 0 nf(n)-1=0 . Let g ( x ) = x f ( x ) 1 g(x)= xf(x)-1 . And also g ( x ) = 0 g(x)=0 for x ϵ 1 , 2 , 3 , 4 , 5 x\epsilon {1,2,3,4,5} and so they are the roots of g ( x ) g(x)

We can clearly see that, since f ( x ) f(x) is of degree 4 then g ( x ) g(x) will be of degree 5

Now, we have enough information about g ( x ) g(x) , so we can state -

g ( x ) = x f ( x ) 1 = a ( x 1 ) ( x 2 ) ( x 3 ) ( x 4 ) ( x 5 ) g(x) = xf(x)-1 = a(x-1)(x-2)(x-3)(x-4)(x-5)

Now we have a a as unknown. We can simply find out its value by setting x = 0 x=0

So, we get - 0 × f ( 0 ) 1 = a × ( 1 ) ( 2 ) ( 3 ) ( 4 ) ( 5 ) = 5 ! × a 0\times f(0) - 1 = a\times(-1)(-2)(-3)(-4)(-5) = -5!\times a

a = 1 5 ! \Rightarrow a= \frac{1}{5!}

Therefore, we get f ( x ) = 1 5 ! ( x 1 ) ( x 5 ) + 1 x f(x) = \frac{\frac{1}{5!}(x-1)\ldots (x-5)+1}{x}

Since, we don't know if x x cancels out or not, we see that f ( 0 ) = u n d e f i n e d f(0) = undefined .

Therefore, we proceed further as follows -

Let f ( x ) = 1 5 ! ( a x 4 + b x 3 + c x 2 + d x + e ) f(x) = \frac{1}{5!}(ax^4+bx^3+cx^2+dx+e) . Hence f ( 0 ) = e 5 ! f(0)=\frac{e}{5!}

Now, again we have another unknown namely e e

Now we see that g ( x ) = x f ( x ) 1 = x × 1 5 ! ( a x 4 + b x 3 + c x 2 + d x + e ) 1 = 1 5 ! ( a x 5 + b x 4 + c x 3 + d x 2 + e x ) 1 g(x) = xf(x)-1 = x\times\frac{1}{5!}(ax^4+bx^3+cx^2+dx+e) -1 = \frac{1}{5!}(ax^5+bx^4+cx^3+dx^2+ex) -1

Since, 1 , 2 , 3 , 4 , 5 1,2,3,4,5 are roots of g ( x ) g(x) , we can easily get the value of e e by Vieta's Relations -

e = 1.2.3.4 + 1.2.3.5 + 1.3.4.5 + 1.2.4.5 + 2.3.4.5 = 274 e = 1.2.3.4 + 1.2.3.5 + 1.3.4.5 + 1.2.4.5 + 2.3.4.5 = 274

Therefore, f ( 0 ) = 274 120 = 137 60 = a b f(0) = \frac{274}{120} = \frac{137}{60} = \frac{a}{b}

Hence, a + b = 197 a+b = \boxed{197}

Ze Tao
May 20, 2014

a+b+c+d+e=1 16a+8b+4c+2d+e=1/2 81a+27b+9c+3d+e=1/3 256a+64b+16c+4d+e=1/4 625a+125b+25c+5d+e=1/5

Christine Gamble
May 20, 2014

Let f(x) = ax^4 + bx^3 + cx^2 + dx + e. Form simultaneous equations using results for F(1) etc and solve.

Aditya Parson
Nov 25, 2013

n f ( n ) 1 = 0 n\cdot f(n)-1=0

Let g ( n ) g(n) be a polynomial of degree 5 5 , such that g ( n ) = n f ( n ) 1 g(n)=n \cdot f(n)-1 . The roots of g ( n ) g(n) are 1 , 2 , 3 , 4 , 5 1,2,3,4,5 .

Write g ( n ) = k ( x 1 ) ( x 2 ) ( x 3 ) ( x 4 ) ( x 5 ) g(n)=k(x-1)(x-2)(x-3)(x-4)(x-5) Put n = 0 n=0 : g ( 0 ) = 1 = k 1 5 ! g(0)=-1=k \cdot -1 \cdot 5!

k = 1 5 ! k=\frac{1}{5!}

We have: n f ( n ) = g ( n ) + 1 n \cdot f(n)=g(n)+1

Observe that g ( n ) g(n) is a a polynomial with degree 5 5 , and it has no constant term, so we can divide both sides by n n to determine f ( n ) f(n) .

Thus, f ( n ) = 1 5 ! ( n 1 ) ( n 2 ) . . ( n 5 ) + 1 n f(n)=\frac{{\frac{1}{5!}(n-1)(n-2)..(n-5)+1}}{n} The expansion of the above terms are ugly, but we do know that the n n in the denominator will cancel out. So write f ( n ) = 1 5 ! ( a x 4 + b x 3 + c x 2 + d x + e ) f(n)=\frac{1}{5!}(ax^4+bx^3+cx^2+dx+e) . The answer to the question is e 5 ! \frac{e}{5!} .

Now, consider the expansion of ( n 1 ) ( n 2 ) . . ( n 5 ) (n-1)(n-2)..(n-5) . To evaluate f ( 0 ) f(0) we only require to know the co-efficient of the linear term( the term e e ). We can find the linear term by vieta's relations of a degree 5 5 polynomial:

e = 1 2 3 4 + 1 2 3 5 + 1 2 4 5 + 1 3 4 5 + 2 3 4 5 = 274 e=1\cdot 2\cdot3\cdot4+1\cdot2\cdot3\cdot5+1\cdot2\cdot4\cdot5+1\cdot3\cdot4\cdot5+2\cdot3\cdot4\cdot5=274

Thus f ( 0 ) = 274 120 = 137 60 f(0)=\frac{274}{120}=\frac{137}{60}

Our answer is : 197 \boxed{197} .

You forgot to replace x x by n n in expansion of f ( n ) f(n) and g ( n ) g(n) . LOL..................

Nishant Sharma - 7 years, 6 months ago

Log in to reply

Yeah. Funny that, lol.

Aditya Parson - 7 years, 6 months ago
Will Song
Nov 25, 2013

We get that n f ( n ) 1 = c ( n 1 ) ( n 5 ) n f(n) - 1 = c(n - 1) \cdots (n - 5) Using n = 0 n = 0 , we get that c = 1 120 c = \dfrac{1}{120}

Then the constant term in ( n 1 ) ( n 5 ) + 120 120 n \dfrac{(n - 1) \cdots (n - 5) + 120}{120 n} is 120 / 1 + 120 / 2 + 120 / 3 + 120 / 4 + 120 / 5 120 = 137 60 \dfrac{120 / 1 + 120 / 2 + 120 / 3 + 120 / 4 + 120 / 5}{120} = \dfrac{137}{60}

Jit Ganguly
Nov 25, 2013

Whenever one thinks of polynomials one thinks of its roots and consequently working with them, right? Now here we're given that f ( x ) f(x) has degree 4, so not much info is given about its roots. Now look at the second condition f ( n ) = 1 n f(n) = \frac{1} {n} , which on modification gives n f ( n ) 1 = 0 nf(n)-1=0 . Now clearly, the above is a polynomial, call it h ( n ) h(n) . Note that h ( n ) = 0 h(n)=0 for n = 1 , 2 , 3 , 4 , 5 n=1,2,3,4,5 . ( This is the reason for writing f × n 1 f \times n -1 so that the roots can be obtained) . Since nothing is known about the leading coefficient of f and consequently h, let h ( n ) = t ( x 1 ) ( x 2 ) ( x 3 ) ( x 4 ) ( x 5 ) h(n) = t (x-1)(x-2)(x-3)(x-4)(x-5) for some real number t. Note that h(n) is written like this because if a polynomial has roots p i , i = 1 ( 1 ) n p_{i} ,i=1(1)n , then that polynomial can be written as q × ( x p 1 ) ( x p 2 ) . . . . ( x p i ) . . . . . ( x p n ) q \times (x-p_{1})(x-p_{2})....(x-p_{i}).....(x-p_{n}) where q is real, the leading co-efficient of the polynomial.

Now h( nf(n)-1 ) has been written in a 'good form', but what about 't'? What is its value? . Since it's an identity in n, everything can be plugged in for n. Since the value of f isn't known at any point plugging in n=0 would be great!

So ( 0 × f ( 0 ) ) 1 = t × ( 1 ) 5 120 (0\times f(0))-1 = t \times (-1)^{5} 120 giving t = 1 120 t= \frac{1}{120} .

Now for the next step write f ( x ) = a x 4 + b x 3 + c x 2 + d x + e f(x) = ax^{4}+bx^{3}+cx^{2}+dx+e , where a , b , c , d , e a,b,c,d,e are assumed to be reals. So f ( 0 ) = e f(0) = e , the target variable whose value is to be determined.

So finally writing the entire equation:

x f ( x ) 1 = x ( a x 4 + b x 3 + c x 2 + d x + e ) 1 = a x 5 + b x 4 + c x 3 + d x 2 + e x 1 xf(x)-1 = x(ax^{4}+bx^{3}+cx^{2}+dx+e)-1 =ax^{5}+bx^{4}+cx^{3}+dx^{2}+ex-1 So finally,

a x 5 + b x 4 + c x 3 + d x 2 + e x 1 = 1 120 × ( x 1 ) ( x 2 ) ( x 3 ) ( x 4 ) ( x 5 ) ax^{5}+bx^{4}+cx^{3}+dx^{2}+ex-1 = \frac{1}{120} \times(x-1)(x-2)(x-3)(x-4)(x-5)

As mentioned earlier the target variable is e e , the co-efficient of x x on both sides of the above equation. So equating the co-efficient of x x ( this is only simple algebraic manipulation, only co-efficient of x is to be collected from both sides and nothing else!! It may seem long and tiresome but it's not that much hectic, trust me. ),

e = 274 120 = 137 60 , s o , a = 137 , b = 60 , a + b = 197 e= \frac {274}{120} = \frac{137}{60}, so, a=137, b=60, a+b=\boxed{197} .

Man! A long solution!!

Note: You can use inline LaTeX equations by simply embedding your code in the (  ) \text{\ ( \ )} braces (no \displaystyle needed!). :)

Sreejato Bhattacharya - 7 years, 6 months ago

Log in to reply

Sorry mate, but couldn't follow what you said.........( no \display style needed)?

Jit Ganguly - 7 years, 6 months ago

Log in to reply

Well, if you use \displaystyle in your LaTeX braces, the code will appear in a new paragraph. If you want to use inline LaTeX, you have to use the (  ) \text{ \ ( \ )} braces, without the \displaystyle .

Sreejato Bhattacharya - 7 years, 6 months ago

Log in to reply

@Sreejato Bhattacharya Thanks.

Jit Ganguly - 7 years, 6 months ago

Nice explanation!!

Kulkul Chatterjee - 7 years, 6 months ago
Darshan Shetty
May 20, 2014

using all given values of f(x), and as degree is 4, we get4th derivative as a constant. solving, we get f(0) as 137/60. a=137, b=60. hence a+b=197

Let g ( x ) = f ( x ) 1 x g(x)=f(x) - \frac {1}{x} . Then, g ( 1 ) = g ( 2 ) = g ( 3 ) = g ( 4 ) = g ( 5 ) = 0 g(1)=g(2)=g(3)=g(4)=g(5)=0 . So ( x 1 ) , ( x 2 ) , ( x 3 ) , ( x 4 ) , ( x 5 ) (x-1),(x-2),(x-3),(x-4),(x-5) are factors of g ( x ) g(x) by the Remainder-Factor Theorem. But g ( x ) g(x) will then be a degree 5 polynomial. Thus, g ( x ) = ( x 1 ) ( x 2 ) ( x 3 ) ( x 4 ) ( x 5 ) A x + B g(x)=\frac{(x-1)(x-2)(x-3)(x-4)(x-5)}{Ax+B} , where A , B A,B are real numbers. f ( x ) = ( x 1 ) ( x 2 ) ( x 3 ) ( x 4 ) ( x 5 ) A x + B + 1 x f(x)=\frac{(x-1)(x-2)(x-3)(x-4)(x-5)}{Ax+B}+\frac 1x =\frac{x^6-15x^5+85x^4-225x^3+274x^2-120x+Ax+B}{Ax^2+Bx}). For f ( x ) f(x) to be a polynomial, its least exponent must be 2. So 120 x + A x + B = x ( 120 + A ) + B = 0 -120x+Ax+B=x(-120+A)+B=0 , which gives A = 120 A=120 , B = 0 B=0 . f ( x ) = x 4 15 x 3 + 85 x 2 225 x + 274 120 f(x)=\frac{x^4-15x^3+85x^2-225x+274}{120} . Thus, f ( 0 ) = 137 60 f(0)=\frac{137}{60} , and 137 + 60 = 197 137+60=197 .

We first obtain the polynomia f ( x ) f(x) . For x = 1 , 2 , 3 , 4 , 5 x=1,2,3,4,5 , we have

x f ( x ) 1 = C ( x 1 ) ( x 2 ) ( x 3 ) ( x 4 ) ( x 5 ) xf(x)-1=C(x-1)(x-2)(x-3)(x-4)(x-5) for some real constant C C .. At x = 0 x=0 , one can obtain C C as C = 1 120 C=\frac{1}{120} . It follows that the required polynomial is

f ( x ) = 120 + ( x 1 ) ( x 2 ) ( x 3 ) ( x 4 ) ( x 5 ) 120 x f(x) = \frac{120+(x-1)(x-2)(x-3)(x-4)(x-5)}{120x}

Also, observe that (\f(x)) has the form

f ( x ) = 1 120 ( x 4 A x 3 + B x 2 C x + D ) f(x) =\frac{1}{120} (x^{4}-Ax^{3}+Bx^{2}-Cx+D)

From Viete's formulas applied to ( x 1 ) ( x 2 ) ( x 3 ) ( x 4 ) ( x 5 ) x \frac{(x-1)(x-2)(x-3)(x-4)(x-5)}{x} gives

D = ( 2 ) ( 3 ) ( 4 ) ( 5 ) + ( 1 ) ( 3 ) ( 4 ) ( 5 ) + ( 2 ) ( 1 ) ( 4 ) ( 5 ) + ( 2 ) ( 3 ) ( 1 ) ( 5 ) + ( 2 ) ( 3 ) ( 4 ) ( 1 ) = 274 D = (2)(3)(4)(5)+(1)(3)(4)(5)+(2)(1)(4)(5)+(2)(3)(1)(5)+(2)(3)(4)(1)=274

Hence,

f ( x ) = 1 120 ( x 4 A x 3 + B x 2 C x + 274 ) f(x) =\frac{1}{120} (x^{4}-Ax^{3}+Bx^{2}-Cx+274)

Now, by setting x = 0 x=0 , we obtain

f ( 0 ) = 1 120 ( 274 ) = 137 60 f(0) =\frac{1}{120} (274)=\frac{137}{60}

From which we see that a + b = 197 a+b=\boxed{197}

Gabriel Ravel
Jan 16, 2014

Because f ( n ) = 1 / n f(n)=1/n for n = 1 , 2 , 3 , 4 , 5 n=1,2,3,4,5 we see that n f ( n ) 1 = 0 nf(n)-1=0 for those same values. Let n f ( n ) = q ( n ) nf(n)=q(n) , we see that because f ( n ) f(n) is a degree 4 polynomial, q(n) is a degree 5 polynomial. Furthermore, q ( 0 ) = 0 f ( 0 ) = 0 q(0)=0*f(0)=0 .

The rest of this problem is a tedious computation involving polynomial interpolation. If you haven't seen it, wiki does a passable job at explaining it here: http://en.wikipedia.org/wiki/Lagrange_polynomial.

Because we have 6 points of data for a degree 5 polynomial we can pin it down explicitly, divide by n and then evaluate the resulting degree 4 polynomial f ( n ) f(n) at 0 yielding f ( 0 ) = 137 60 f(0)=\frac{137}{60} . So the answer is 137 + 60 = 197 137+60=\boxed{197}

Here is the computation:

q ( n ) = ( n ) ( n 1 ) ( n 2 ) ( n 3 ) ( n 4 ) 120 + ( n ) ( n 1 ) ( n 2 ) ( n 3 ) ( n 5 ) 24 + ( n ) ( n 1 ) ( n 2 ) ( n 4 ) ( n 5 ) 12 + ( n ) ( n 1 ) ( n 3 ) ( n 4 ) ( n 5 ) 12 + ( n ) ( n 2 ) ( n 3 ) ( n 4 ) ( n 5 ) 24 q(n)=\frac{(n)(n-1)(n-2)(n-3)(n-4)}{120} +\frac{(n)(n-1)(n-2)(n-3)(n-5)}{-24} + \frac{(n)(n-1)(n-2)(n-4)(n-5)}{12} + \frac{(n)(n-1)(n-3)(n-4)(n-5)}{-12} +\frac{(n)(n-2)(n-3)(n-4)(n-5)}{24}

Where the coefficient of the term without n a n-a (for a = 1 , 2 , 3 , 4 , 5 ) a=1,2,3,4,5) is computed by plugging a a into the numerator and then dividing by the result, so that when we plug a a into the modified term we get 1 as we must. Likewise because f ( 0 ) = 0 f(0)=0 the coefficient of the term without n n in the numerator is 0.

Now we evaluate q ( n ) n \frac{q(n)}{n} at 0: = 1 5 5 4 + 10 3 5 + 5 = 137 60 =\frac{1}{5}-\frac{5}{4}+\frac{10}{3}-5+5 = \frac{137}{60}

Or you can solve 5 equations by putting n=1 to 5 in calculator and then you will get a/b=2.28333333, hence after that convert this number to fraction .......

for That 2.2833333333 = 2+0.3333333 -0.05=2+1/3-1/20=137/60

Sajan Kapil - 7 years, 4 months ago

Log in to reply

Don't write solutions that use a calculator, it just prove that you know how to use one!

Satvik Golechha - 7 years, 3 months ago
Igor Bragaia
Dec 1, 2013

If f(x)=ax⁴+bx³+cx²+dx+e, to x belongs to {1,2,3,4,5}, we have the equality ax⁴+bx³+cx²+dx+e=1/x. In other words, ax⁵+bx⁴+cx³+dx²+ex-1=0. The roots of this equation are 1,2,3,4,5. By Girard, we now that: -(-1)/a=5.4.3.2.1=120 => a=1/120 e/a=2.3.4.5+1.3.4.5+1.2.4.5+1.2.3.5+1.2.3.4=274 => e=274a=274/120=137/60 But we are looking for f(0)=e, so the answear is 137+60=197 !!

Pebrudal Zanu
Nov 30, 2013

x f ( x ) 1 = a ( x 1 ) ( x 2 ) . . . ( x 5 ) xf(x)-1=a(x-1)(x-2)...(x-5) ...(1)

So that

a = 1 5 ! a=\frac{1}{5!}

from ...(1)

We get constant of x x is

137 60 \frac{137}{60}

So, a + b = 197 a+b=197

Rahul Jain
Nov 25, 2013

f(n)=1/n for n=1, 2, 3, 4, 5

Let us assume a function g(x)=x f(x) -1= a (x-1) (x-2)(x-3)(x-4)(x-5).

Clearly, g(x)=0 for n=1, 2, 3, 4, 5.

Equation constant terms in LHS and RHS of x f(x) -1= a (x-1) (x-2)(x-3)(x-4)(x-5).

We get a=1/120.

f(0)= lt_{x-> 0} \frac{(x-1)(x-2)(x-3)(x-4)(x-5)+120}{120x}=\frac{137}{60}

Erick Wong
Nov 25, 2013

Notice that nf(n)-1 is a quintic polynomial which is zero at n=1,2,3,4,5, and therefore must be of the form cg(n) where c is constant and g ( n ) = i = 1 5 ( n i ) g(n) = \prod_{i=1}^5 (n-i) . Substituting n=0 gives c=-1/g(0), and thus f(n) = (g(0)-g(n))/ng(0). Since f is continuous, f ( 0 ) = lim n 0 f ( n ) = g ( 0 ) / g ( 0 ) f(0) = \lim_{n\to 0} f(n) = -g'(0)/g(0) by the definition of the derivative of g. -g'(n)/g(n) is the (negative) logarithmic derivative of g, which is i = 1 5 1 / ( n i ) -\sum_{i=1}^5 1/(n-i) . At n=0 this evaluates to 1 + 1 / 2 + 1 / 3 + 1 / 4 + 1 / 5 = 137 / 60 1+1/2+1/3+1/4+1/5 = 137/60 .

Let g ( x ) = x f ( x ) 1 g(x)=x\cdot f(x)-1 . Thus g ( x ) g(x) is a degrees 5 polynomial.

and we have g ( 1 ) = g ( 2 ) = g ( 3 ) = g ( 4 ) = g ( 5 ) = 0 g(1)=g(2)=g(3)=g(4)=g(5)=0 so

g ( x ) = x f ( x ) 1 = c 0 ( x 1 ) ( x 2 ) ( x 3 ) ( x 4 ) ( x 5 ) g(x)=x\cdot f(x)-1=c_0(x-1)(x-2)(x-3)(x-4)(x-5)

c 0 c_0 have to equal 1 5 ! \frac{1}{5!} . when we divide both sides by x x we will get the constant in right hand side is

1 2 3 4 + 1 2 3 5 + 1 2 4 5 + 1 3 4 5 + 2 3 4 5 5 ! = 1 1 + 1 2 + 1 3 + 1 4 + 1 5 = 137 60 \frac{1\cdot2\cdot3\cdot4+1\cdot2\cdot3\cdot5+1\cdot2\cdot4\cdot5+1\cdot3\cdot4\cdot5+2\cdot3\cdot4\cdot5}{5!}=\frac{1}{1}+\frac{1}{2}+\frac{1}{3}+\frac{1}{4}+\frac{1}{5}=\frac{137}{60}

therefore the answer is 137 + 60 = 197 137+60=197

Can you explain why c 0 = 1 5 ! c_0 = \dfrac{1}{5!} ?

Rajiv Movva - 7 years, 6 months ago

the constant in both sides have to equal. If it's not , f ( x ) f(x) will not be a polynomial because has c 1 x 1 c_1x^{-1} is the one term.

Pasharapon Pongpattanakit - 7 years, 6 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...