f(1)=2,f(2)=8,f(3)=18,f(5)=50
By given values, we assume
f(x)=2x2 for x=1,2,3,5
Let g(x)=f(x)−2x2, then
x=1,2,3,5 are roots of g(x)
As degree of f(x) is 4, so degree of g(x) is also 4
Therefore,
g(x)=a(x−1)(x−2)(x−3)(x−5)⇒f(x)=a(x−1)(x−2)(x−3)(x−5)+2x2
As the leading coefficient of f(x) is 4, so
f(x)=4(x−1)(x−2)(x−3)(x−5)+2x2⇒f(4)=4(3)(2)(1)(−1)+32∴f(4)=8