How do you find the polynomial function whose graph passes through (2,4), (3,6), (5,10)?

1 Answer
May 19, 2018

Simplest solution:

f(x) = 2xf(x)=2x

General solution:

f(x) = P(x)(x^3-10x^2+31x-30)+2xf(x)=P(x)(x310x2+31x30)+2x

Explanation:

Given:

(2, 4)(2,4), (3, 6)(3,6), (5, 10)(5,10)

Note that each yy coordinate is twice the corresponding xx coordinate.

So a suitable polynomial function is:

f(x) = 2xf(x)=2x

Note however that this is not the only polynomial function passing through these three points.

We can add any multiple (scalar or polynomial) of a cubic whose zeros lie at those three points, namely:

(x-2)(x-3)(x-5) = x^3-10x^2+31x-30(x2)(x3)(x5)=x310x2+31x30

Hence the most general solution is:

f(x) = P(x)(x^3-10x^2+31x-30)+2xf(x)=P(x)(x310x2+31x30)+2x

for any polynomial P(x)P(x).