Inspiration

Algebra Level 4

m n f ( n ) 0 1 1 2 2 16 3 216 4 4096 \begin{array}{c}m n & f(n) \\ 0 & 1 \\ 1 & 2 \\ 2 & 16 \\ 3 & 216 \\ 4 & 4096\end{array}

Given that f ( n ) f(n) is a 4 th 4^\text{th} degree polynomial satisfying the relationship as shown above, find f ( 5 ) f(5) .


The answer is 18471.

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.

2 solutions

Akshat Sharda
Feb 6, 2016

By using Method of Differences,

m n f ( n ) D 1 ( n ) D 2 ( n ) D 3 ( n ) D 4 ( n ) 0 1 1 13 173 3321 1 2 14 186 3494 3321 2 16 200 3680 6815 3 216 3880 10495 4 4096 14375 5 18471 \begin{array}{c}m n & f(n) & D_{1}(n) & D_{2}(n) & D_{3}(n) & D_{4}(n) \\ 0 & 1 & 1 & 13 & 173 & 3321 \\ 1 & 2 & 14 & 186 & 3494 & \color{#3D99F6}{3321} \\ 2 & 16 & 200 & 3680 & \color{#3D99F6}{6815} \\ 3 & 216 & 3880 & \color{#3D99F6}{10495} \\ 4 & 4096 & \color{#3D99F6}{14375} \\ 5 & \color{#3D99F6}{\boxed{18471}}\end{array}

More elegantly, we can write ( 5 1 ) 4096 ( 5 2 ) 216 + ( 5 3 ) 16 ( 5 4 ) 2 + ( 5 5 ) 1 = 18471 {5 \choose 1}4096-{5 \choose 2}216+{5 \choose 3}16 - {5 \choose 4}2+{5 \choose 5}1=\boxed{18471}

Otto Bretscher - 5 years, 4 months ago

Log in to reply

Sir please can you explain how we get this form?

Samarth Agarwal - 5 years, 4 months ago

Log in to reply

The problem amounts to solving 6 linear equations in 5 unknowns. The equation I give now follows from the relationship between consecutive powers that is discussed here

The method can also be explained in terms of Lagrange interpolation; see the solution by @Akshay Yadav

Otto Bretscher - 5 years, 4 months ago

Log in to reply

@Otto Bretscher Thanks Sir..

Samarth Agarwal - 5 years, 4 months ago

Sir, why not (2x)^x work? Sorry, im a new learner

Irfan Ahmad - 5 years, 4 months ago

Log in to reply

Because ( 2 x ) x (2x)^{x} is not a polynomial as required in the problem.

Otto Bretscher - 5 years, 4 months ago

Same way buddy

Kaustubh Miglani - 5 years, 4 months ago

Thumbs up! + 1 \color{#D61F06}{+ 1}

Reineir Duran - 5 years, 4 months ago

Just a question, what if we are given different values for f ( n ) f(n) and there are n n 's which are negative integers, but still all such n n 's are consecutive, will it still work?

Reineir Duran - 5 years, 4 months ago

Log in to reply

Yes !! but for consecutive integers.

Akshat Sharda - 5 years, 4 months ago

Log in to reply

It may be found for non consecutive integers too but a little hard work is required for that.

Arulx Z - 5 years, 4 months ago

Log in to reply

@Arulx Z As stated f ( n ) = A n 4 + B n 3 + C n 2 + D n + E \quad f(n)=An^4+Bn^3+Cn^2+Dn+E \quad will give you a system of 5 equations with 5 unknowns.

I solved the ensuing system of equations using Matrix Arithmetic. Messy - yes. But this method works even if the n-values are not consecutive integers and include negatives or fractions.

f ( n ) = 1107 8 n 4 9617 12 n 3 + 11537 8 n 2 9337 12 n + 1 f(n)= \dfrac {1107}{8} n^4 - \dfrac {9617}{12} n^3 + \dfrac {11537}{8} n^2 - \dfrac {9337}{12} n + 1

Find f(5) by direct substitution into the polynomial, simplify and voila - f ( 5 ) = 18471 f(5)= \boxed {18471}

Bob Kadylo - 5 years, 4 months ago

@Arulx Z My method works fine for non consecutive integers, even for decimal values.

Akshay Yadav - 5 years, 4 months ago

Same way! First I tried finding a general pattern, but then I said "screw it!" and used method of differences. Seems like it was worth it, though, as f ( 5 ) f(5) does not seem to be related to the previous terms in any way.

Manuel Kahayon - 5 years, 4 months ago

Darn I used finite differences and miscalculated 3 times :(

Jonathan Yang - 5 years, 4 months ago

Can f(6) be calculated by using method of differences

Hari Om Sharma - 5 years, 3 months ago

Log in to reply

Yes one can calculate f ( 6 ) f(6) also by method of differences. Notice that D 4 ( n ) D_4(n) in Akshat Sharda's solution will remain constant.

You can also use my method of Lagrange's interpolation.

Akshay Yadav - 5 years, 3 months ago

Yes, as Akshay said ! But a lot of calculations (I hate them!)

Akshat Sharda - 5 years, 3 months ago
Akshay Yadav
Feb 7, 2016

Using Lagrange's interpolation method-

( 5 1 ) ( 5 2 ) ( 5 3 ) ( 5 4 ) ( 0 1 ) ( 0 2 ) ( 0 3 ) ( 0 4 ) ( 1 ) = 1 \frac{(5-1)(5-2)(5-3)(5-4)}{(0-1)(0-2)(0-3)(0-4)}(1)=1

( 5 0 ) ( 5 2 ) ( 5 3 ) ( 5 4 ) ( 1 0 ) ( 1 2 ) ( 1 3 ) ( 1 4 ) ( 2 ) = 10 \frac{(5-0)(5-2)(5-3)(5-4)}{(1-0)(1-2)(1-3)(1-4)}(2)=-10

( 5 0 ) ( 5 1 ) ( 5 3 ) ( 5 4 ) ( 2 0 ) ( 2 1 ) ( 2 3 ) ( 2 4 ) ( 16 ) = 160 \frac{(5-0)(5-1)(5-3)(5-4)}{(2-0)(2-1)(2-3)(2-4)}(16)=160

( 5 0 ) ( 5 1 ) ( 5 2 ) ( 5 4 ) ( 3 0 ) ( 3 1 ) ( 3 2 ) ( 3 4 ) ( 216 ) = 2160 \frac{(5-0)(5-1)(5-2)(5-4)}{(3-0)(3-1)(3-2)(3-4)}(216)=-2160

( 5 0 ) ( 5 1 ) ( 5 2 ) ( 5 3 ) ( 4 0 ) ( 4 1 ) ( 4 2 ) ( 4 3 ) ( 4096 ) = 20480 \frac{(5-0)(5-1)(5-2)(5-3)}{(4-0)(4-1)(4-2)(4-3)}(4096)=20480

Summing all these up,

1 10 + 160 2160 + 20480 = 18471 1-10+160-2160+20480=\boxed{18471}

Nivice man

aishwarya dadhich - 5 years, 3 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...