Math is really tricky!

Algebra Level 3

A monic polynomial f ( x ) f(x) of degree 5 is such that { f ( 0 ) = 1 f ( 1 ) = 2 f ( 2 ) = 5 f ( 3 ) = 10 f ( 4 ) = 17. \begin{cases} f(0)=1 \\ f(1)=2 \\ f(2)=5 \\ f(3)=10 \\ f(4)=17. \end{cases} What is the value of f ( 5 ) ? f(5)?

26 52 74 146

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.

8 solutions

We note that f ( x ) f(x) is of the following form:

f ( x ) = x ( x 1 ) ( x 2 ) ( x 3 ) ( x 4 ) + x 2 + 1 Note that it is monic and a degree of 5. f ( 0 ) = 0 + 0 2 + 1 = 1 See note on how to get x 2 + 1. f ( 1 ) = 0 + 1 2 + 1 = 2 f ( 2 ) = 0 + 2 2 + 1 = 5 f ( 3 ) = 0 + 3 2 + 1 = 10 f ( 4 ) = 0 + 4 2 + 1 = 17 f ( 5 ) = 120 + 25 + 1 = 146 \begin{aligned} f(x) & = x(x-1)(x-2)(x-3)(x-4) + \color{#D61F06} x^2 + 1 & \small \color{#3D99F6} \text{Note that it is monic and a degree of 5.} \\ f(0) & = 0 + {\color{#D61F06}0^2+1} = 1 & \small \color{#D61F06} \text{See note on how to get }x^2 + 1. \\ f(1) & = 0 + {\color{#D61F06}1^2 + 1} = 2 \\ f(2) & = 0 + {\color{#D61F06}2^2 + 1} = 5 \\ f(3) & = 0 + {\color{#D61F06}3^2 + 1} = 10 \\ f(4) & = 0 + {\color{#D61F06}4^2 + 1} = 17 \\ f(5) & = 120 + 25 + 1 = \boxed{146} \end{aligned}


Note: Let a 0 = 1 a_0 = 1 , a 1 = 2 a_1=2 , ... a 4 = 17 a_4=17 . We note that a k a k 1 = 2 k 1 a_k - a_{k-1} = 2k-1 . Then we have:

k = 1 x a k k = 1 x a k 1 = k = 1 x ( 2 k 1 ) k = 1 x a k k = 0 x 1 a k = k = 1 x ( 2 k 1 ) a x a 0 = 2 × x ( x + 1 ) 2 x a x 1 = x 2 a x = x 2 + 1 \begin{aligned} \sum_{k=1}^x a_k - \sum_{\color{#3D99F6}k=1}^{\color{#3D99F6}x} a_{\color{#3D99F6}k-1} & = \sum_{k=1}^x (2k-1) \\ \sum_{k=1}^x a_k - \sum_{\color{#D61F06}k=0}^{\color{#D61F06}x-1} a_{\color{#D61F06}k} & = \sum_{k=1}^x (2k-1) \\ a_x - a_0 & = 2 \times \frac {x(x+1)}2 - x \\ a_x - 1 & = x^2 \\ a_x & = x^2 + 1 \end{aligned}

@Ruchit Chudasama , you need to mention f ( x ) f(x) is monic that is the coefficient of the highest power of x x is 1. If not there is no solution.

Chew-Seong Cheong - 2 years, 11 months ago

Log in to reply

Actually it was in my mind but, in my typing flow, I just forgot to mention it......

Ruchit Chudasama - 2 years, 11 months ago

Log in to reply

I have edited the problem for you.

Chew-Seong Cheong - 2 years, 11 months ago

Log in to reply

@Chew-Seong Cheong ok...thanks..

Ruchit Chudasama - 2 years, 11 months ago

How did you get the function?

Sameer Sahoo - 2 years, 11 months ago

Log in to reply

Firstly: note that the given list of function values matches g ( x ) = x 2 + 1 g(x) = x^2+1 . This however is not a monic polynomial of degree 5 (it is monic, but only of degree 2). As such, Chew-Seong Cheong adds an additional term to obtain f ( x ) f(x) . This term does make it a monic function of degree 5, and adds 0 at all of the given values of x x : each of the terms in the multiplication becomes 0 in turn.

Roland van Vliembergen - 2 years, 10 months ago

Notice that f ( n ) = 1 + n 2 f(n)=1+n^2 for all n = 0 , 1 , 2 , 3 , 4 n=0,\, 1,\, 2,\, 3,\, 4 . Therefore the equation f ( n ) n 2 1 = 0 f(n)-n^2-1=0 has roots 0, 1, 2, 3, 4. So we can write f ( n ) n 2 1 = K n ( n 1 ) ( n 2 ) ( n 3 ) ( n 4 ) f(n)-n^2-1=Kn(n-1)(n-2)(n-3)(n-4) for some proportional constant K. However, notice that f ( n ) n 2 1 f(n)-n^2-1 is still a monic polynomial, so K = 1 K=1 . Rearrange the equation we get f ( n ) = n ( n 1 ) ( n 2 ) ( n 3 ) ( n 4 ) + n 2 + 1 f(n)=n(n-1)(n-2)(n-3)(n-4)+n^2+1

Raymond Chan - 2 years, 10 months ago

Why it can t be (x^2+1)?

Luca Cesarini - 2 years, 10 months ago

Log in to reply

Note that if g ( x ) = x 2 + 1 g(x)=x^2+1 , then g ( 0 ) = 1 g(0) = 1 , g ( 1 ) = 2 g(1)=2 , g ( 2 ) = 5 g(2)=5 , g ( 3 ) = 10 g(3)=10 and g ( 4 ) = 17 g(4)=17 .

Chew-Seong Cheong - 2 years, 10 months ago

see, they say you should have "read the statement carefully" and "had noticed" that it was the polynomial of degree 5 they wanted you to find:)))))

Nik Gibson - 2 years, 10 months ago

I have provided a note to explain.

Chew-Seong Cheong - 2 years, 10 months ago
David Vreken
Jul 13, 2018

A monic polynomial with a degree of 5 5 has the form f ( x ) = x 5 + B x 4 + C x 3 + D x 2 + E x + F f(x) = x^5 + Bx^4 + Cx^3 + Dx^2 + Ex + F .

For f ( 0 ) = 1 f(0) = 1 , 1 = 0 5 + B ( 0 ) 4 + C ( 0 ) 3 + D ( 0 ) 2 + E ( 0 ) + F 1 = 0^5 + B(0)^4 + C(0)^3 + D(0)^2 + E(0) + F , or F = 1 F = 1

For f ( 1 ) = 2 f(1) = 2 , 2 = 1 5 + B ( 1 ) 4 + C ( 1 ) 3 + D ( 1 ) 2 + E ( 1 ) + F 2 = 1^5 + B(1)^4 + C(1)^3 + D(1)^2 + E(1) + F , or B + C + D + E + F = 1 B + C + D + E + F = 1

For f ( 2 ) = 5 f(2) = 5 , 5 = 2 5 + B ( 2 ) 4 + C ( 2 ) 3 + D ( 2 ) 2 + E ( 2 ) + F 5 = 2^5 + B(2)^4 + C(2)^3 + D(2)^2 + E(2) + F , or 16 B + 8 C + 4 D + 2 E + F = 27 16B + 8C + 4D + 2E + F = -27

For f ( 3 ) = 10 f(3) = 10 , 10 = 3 5 + B ( 3 ) 4 + C ( 3 ) 3 + D ( 3 ) 2 + E ( 3 ) + F 10 = 3^5 + B(3)^4 + C(3)^3 + D(3)^2 + E(3) + F , or 81 B + 27 C + 9 D + 3 E + F = 233 81B + 27C + 9D + 3E + F = -233

For f ( 4 ) = 17 f(4) = 17 , 17 = 4 5 + B ( 4 ) 4 + C ( 4 ) 3 + D ( 4 ) 2 + E ( 4 ) + F 17 = 4^5 + B(4)^4 + C(4)^3 + D(4)^2 + E(4) + F , or 256 B + 64 C + 16 D + 4 E + F = 1007 256B + 64C + 16D + 4E + F = -1007

Solving the system equations gives B = 10 B = -10 , C = 35 C = 35 , D = 49 D = -49 , E = 24 E = 24 , and F = 1 F = 1 .

Therefore, the polynomial is f ( x ) = x 5 10 x 4 + 35 x 3 49 x 2 + 24 x + 1 f(x) = x^5 - 10x^4 + 35x^3 - 49x^2 + 24x + 1 , and f ( 5 ) = 5 5 10 ( 5 ) 4 + 35 ( 5 ) 3 49 ( 5 ) 2 + 24 ( 5 ) + 1 = 146 f(5) = 5^5 - 10(5)^4 + 35(5)^3 - 49(5)^2 + 24(5) + 1 = \boxed{146} .

How can you persuppose the coefficient of x^5 is 1

Alfred Tan Jiang Yao - 2 years, 10 months ago

Log in to reply

It's given that it is a monic polynomial.

David Vreken - 2 years, 10 months ago

Excellent, thank you

Andrew Church - 2 years, 10 months ago
Zain Majumder
Jul 15, 2018

Relevant wiki: Polynomial Interpolation - Problem Solving

Let g ( x ) = f ( x ) ( x 2 + 1 ) g(x) = f(x)-(x^2+1) . Then g ( x ) g(x) is a monic fifth-degree polynomial whose zeroes are 0 0 , 1 1 , 2 2 , 3 3 , and 4 4 .

Therefore, g ( x ) = x ( x 1 ) ( x 2 ) ( x 3 ) ( x 4 ) = f ( x ) ( x 2 + 1 ) g(x) = x(x-1)(x-2)(x-3)(x-4) = f(x)-(x^2+1) , so f ( x ) = x ( x 1 ) ( x 2 ) ( x 3 ) ( x 4 ) + x 2 + 1 f(x) = x(x-1)(x-2)(x-3)(x-4)+x^2+1 . f ( 5 ) = 5 ( 4 ) ( 3 ) ( 2 ) ( 1 ) + 25 + 1 = 146 f(5) = 5(4)(3)(2)(1)+25+1 = \boxed{146} .

That's perfect, thanks

taffy xie - 2 years, 10 months ago
Kelvin Hong
Jul 17, 2018

Because f ( x ) = x 2 + 1 f(x)=x^2+1 for x = 0 , 1 , 2 , 3 , 4 x=0,1,2,3,4 , we can let g ( x ) = f ( x ) x 2 1 g(x)=f(x)-x^2-1 , so 0 , 1 , 2 , 3 , 4 0,1,2,3,4 will be the roots of g g . Furthermore, to make f f monic, g g will need to be monic also, so g ( x ) = x ( x 1 ) ( x 2 ) ( x 3 ) ( x 4 ) g(x)=x(x-1)(x-2)(x-3)(x-4) , which let f ( x ) = x ( x 1 ) ( x 2 ) ( x 3 ) ( x 4 ) + x 2 + 1 f(x)=x(x-1)(x-2)(x-3)(x-4)+x^2+1 , then we have f ( 5 ) = 5 ! + 25 + 1 = 146 f(5)=5!+25+1=\boxed{146} .

Jeremy Galvagni
Jul 22, 2018

For a polynomial of degree n, the nth set of finite differences will be equal. I remember proving with some algebra 2 students many years ago that not only are they equal, but they are equal to n!*(leading coefficient) as long as the x values are 1 apart. Since the leading coefficient is 1, we just need to make the 5th difference equal to 5!=120. I'll leave a blank at the end of each line until I have the info to fill them in.

1 , 2 , 5 , 10 , 17 , _ 1,2,5,10,17,\_ Original numbers

1 , 3 , 5 , 7 , _ 1,3,5,7,\_ First differences

2 , 2 , 2 , _ 2,2,2,\_ Second

0 , 0 , _ 0,0,\_ Third

0 , _ 0,\_ Fourth

_ \_ Fifth difference

This last blank is the 120.

Backfilling the blanks gives

120 120

0 , 120 0,120

0 , 0 , 120 0,0,120

2 , 2 , 2 , 122 2,2,2,122

1 , 3 , 5 , 7 , 129 1,3,5,7,129

1 , 2 , 5 , 10 , 17 , 146 1,2,5,10,17,\boxed{146}

Fix the typo on original value 17. Simpler than taking the set of linear equations straight on without any short cut at x 2 + 1 x^2 + 1

Robert DeLisle - 2 years, 10 months ago

Log in to reply

Fixed, thanks. I was unaware of the x^2+1 trick. I would have done it David Vreken's way if this hadn't occurred to me.

Jeremy Galvagni - 2 years, 10 months ago
Donglin Loo
Jul 19, 2018

Not everyone is able to figure out that f ( x ) = x 2 + 1 f(x)=x^2+1 for x = 0 , 1 , 2 , 3 , 4 x=0,1,2,3,4 . It's OK if you can't think of that. I have a way to overcome that.

Do notice that f ( n + 1 ) f ( n ) = 2 n + 1 f(n+1)-f(n)=2n+1 for n = 0 , 1 , 2 , 3 n=0,1,2,3 since

f ( 1 ) f ( 0 ) = 2 1 = 1 , f ( 2 ) f ( 1 ) = 5 2 = 3 , f ( 3 ) f ( 2 ) = 10 5 = 5 , f ( 4 ) f ( 3 ) = 17 10 = 7 f(1)-f(0)=2-1=\boxed{1},f(2)-f(1)=5-2=\boxed{3},f(3)-f(2)=10-5=\boxed{5},f(4)-f(3)=17-10=\boxed{7}

n = 0 k ( f ( n + 1 ) f ( n ) ) = n = 0 k ( 2 n + 1 ) \sum_{n=0}^{k}(f(n+1)-f(n))=\sum_{n=0}^{k}(2n+1)

f ( 1 ) f ( 0 ) + f ( 2 ) f ( 1 ) + f ( 3 ) f ( 2 ) + . . . + f ( k ) f ( k 1 ) + f ( k + 1 ) f ( k ) = 2 ( 0 ) + 1 + n = 1 k ( 2 n + 1 ) f(1)-f(0)+f(2)-f(1)+f(3)-f(2)+...+f(k)-f(k-1)+f(k+1)-f(k)=2(0)+1+\sum_{n=1}^{k}(2n+1)

f ( k + 1 ) f ( 0 ) = 1 + 2 ( k ( k + 1 ) 2 ) + k f(k+1)-f(0)=1+2(\cfrac{k(k+1)}{2})+k

f ( k + 1 ) 1 = 1 + k ( k + 1 ) + k f(k+1)-1=1+k(k+1)+k

f ( k + 1 ) = k 2 + 2 k + 2 = ( k + 1 ) 2 + 1 f(k+1)=k^2+2k+2=(k+1)^2+1

f ( k ) = k 2 + 1 \therefore f(k)=k^2+1 for k = 0 , 1 , 2 , 3 k=0,1,2,3

Then, by Factor Theorem , we deduce that f ( x ) = x ( x 1 ) ( x 2 ) ( x 3 ) ( x 4 ) + x 2 + 1 f(x)=x(x-1)(x-2)(x-3)(x-4)+x^2+1 . Since the question mentions that f ( x ) f(x) is monic polynomial, it follows that the leading coefficient has to be 1 1 .

f ( 5 ) = 5 × 4 × 3 × 2 × 1 + 5 2 + 1 = 146 f(5)=5\times4\times3\times2\times1+5^2+1=\boxed{146}

Hur Isaac
Jul 21, 2018

f(x) = (x-2)^5 + A(x-2)^4 + B(x-2)^3 + C(x-2)^2 + D(x-2) + 5

Let’s calculate!

Pierre Carrette
Jul 19, 2018

Assume six-th point is (5,f5) with fn=f(n), write Lagrange polynomial of degree 5 with 6 points and solve for f5 so that polynomial is monic, i.e. coefficient of x^5 is 1.

Polynomial is sum i fi*[prod (m<>i) (x-xm)/(xi-xm)] for i = 0 to 5 and m in {0,1,2,3,4,5}. Coefficient of x^5 is sum i fi*[prod (m<>i) 1/(xi-xm)]. Thus, it should be 1 for monicity. So, f5 = (1 - sum (i<5) fi/[prod (m<>i) (xi-xm)])*[prod_(m<>5) (xi-xm)].

With the numbers, you get f5 = (1 - (-6+60-300+600-510)/720)*120 = (720+156)/6 = 146

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...