If p ( x ) is a cubic polynomial with
p ( 1 ) = 1 , p ( 2 ) = 2 , p ( 3 ) = 3 , p ( 4 ) = 5 ,
find p ( 6 ) .
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.
How did you arrived at the result that p(x)-x will have roots 1,2,3 ? Is there any proof/theorem for this ?
Log in to reply
That is a basic property that we use for solving questions like these.
p ( x ) − x = λ ( x − 1 ) ( x − 2 ) ( x − 3 ) , where λ is a leading coefficient .... ( 1 ) .
Plug x = 4 to get
p ( 4 ) = 6 ( λ ) + 4
λ = 6 1 .
Put this is ( 1 ) and set x = 6 to get
p ( 6 ) = 1 0 + 6 = 1 6 . .
You're excellent, thank you very much!
Problem Loading...
Note Loading...
Set Loading...
I'm going to use 2 methods to solve this problem, I'm going to give you a guideline for a third method (3), and of course, there are more methods ... for example, method of finite differences
1 . − We are looking for a cubic polynomial p ( x ) fulfilling p ( 1 ) = 1 ; p ( 2 ) = 2 ; p ( 3 ) = 3 ; p ( 4 ) = 5 . I'm going to use Lagrange interpolation , and I'm going to search constants a , b , c , d such that they meet the conditions imposed. p ( x ) = a ( x − 1 ) ( x − 2 ) ( x − 3 ) + b ( x − 1 ) ( x − 2 ) ( x − 4 ) + c ( x − 2 ) ( x − 3 ) ( x − 4 ) + d ( x − 1 ) ( x − 3 ) ( x − 4 ) p ( 1 ) = 1 ⇒ c = 6 − 1 ; p ( 2 ) = 2 ⇒ d = 1 ; p ( 3 ) = 3 ⇒ b = 2 − 3 ; p ( 4 ) = 5 ⇒ a = 6 5 So, the polynomial is p ( x ) = 6 5 ( x − 1 ) ( x − 2 ) ( x − 3 ) − 2 3 ( x − 1 ) ( x − 2 ) ( x − 4 ) − 6 1 ( x − 2 ) ( x − 3 ) ( x − 4 ) + ( x − 1 ) ( x − 3 ) ( x − 4 ) and now substituing at x = 6 we get p ( 6 ) = 1 6
2 . − If p ( x ) is a cubic polynomial fulfilling the conditions imposed, then p ( x ) − x is a cubic polynomial wich roots are 1 , 2 , 3 and this implies that p ( x ) − x = k ( x − 1 ) ( x − 2 ) ( x − 3 ) where k is a constant. p ( 4 ) = 5 ⇒ k = 6 1 ⇒ p ( x ) = x + 6 1 ( x − 1 ) ( x − 2 ) ( x − 3 ) ⇒ p ( 6 ) = 6 + 6 1 ⋅ 5 ⋅ 4 ⋅ 3 = 1 6
3 . − Use method of indetermined coeffcients,i.e, look for a polynomial p ( x ) = a x 3 + b x 2 + c x + d where a , b , c , d are constants and such that p ( 1 ) = 1 , p ( 2 ) = 2 , , p ( 3 ) = 3 , p ( 4 ) = 5 ,i. e, look for constants a , b , c , d such that a + b + c + d = 1 8 a + 4 b + 2 c + d = 2 2 7 a + 9 b + 3 c + d = 3 6 4 a + 1 6 b + 4 c + d = 5 Solve this system of equations for a , b , c , d and later substitute...