Given the first few terms of a quartic function ,
,
,
,
,
,
.
Find .
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.
Let the polynomial be:
y = a x 4 + b x 3 + c x 2 + d x + e
Now, the function is evaluated at six points and there are five unknown coefficients in the polynomial. So five out of these six points can be used to evaluate the unknown coefficients.
So: a x n 4 + b x n 3 + c x n 2 + d x n + e = y n n ∈ ( 1 , 2 , 3 , 4 , 5 ) x n = n
Writing out the first five equations and rearranging them in a matrix form:
⎣ ⎢ ⎢ ⎢ ⎢ ⎡ x 1 4 x 2 4 x 3 4 x 4 4 x 5 4 x 1 3 x 2 3 x 3 3 x 4 3 x 5 3 x 1 2 x 2 2 x 3 2 x 4 2 x 5 2 x 1 x 2 x 3 x 4 x 5 1 1 1 1 1 ⎦ ⎥ ⎥ ⎥ ⎥ ⎤ ⎣ ⎢ ⎢ ⎢ ⎢ ⎡ a b c d e ⎦ ⎥ ⎥ ⎥ ⎥ ⎤ = ⎣ ⎢ ⎢ ⎢ ⎢ ⎡ y 1 y 2 y 3 y 4 y 5 ⎦ ⎥ ⎥ ⎥ ⎥ ⎤ A c = b ⟹ c = A − 1 b y 1 = 1 ; y 2 = 1 ; y 3 = 5 ; y 4 = 1 3 ; y 5 = 4 1
The system of linear equations can also be solved by hand easily. After solving, the following two values were computed:
f ( 6 ) = [ x 6 4 x 6 3 x 6 2 x 6 1 ] ⎣ ⎢ ⎢ ⎢ ⎢ ⎡ a b c d e ⎦ ⎥ ⎥ ⎥ ⎥ ⎤ = 1 2 1 f ( 7 ) = [ x 7 4 x 7 3 x 7 2 x 7 1 ] ⎣ ⎢ ⎢ ⎢ ⎢ ⎡ a b c d e ⎦ ⎥ ⎥ ⎥ ⎥ ⎤ = 3 0 1
The calculation of f ( 6 ) was a check to see if the system of equations were solved correctly and the calculation of f ( 7 ) gives the required answer.