|
Author |
hbghlyj
Posted 2023-3-29 17:35
Suppose we have a degree $n$ polynomial whose graph passes through the $n+1$ points $\left(x_0, y_0\right),\left(x_1, y_1\right), \ldots\left(x_n, y_n\right)$. We can find the polynomial as follows. First, we note that the graph of $f(x)=\left(x-x_0\right) g_1(x)+y_0$, where $g_1(x)$ is any polynomial, will pass through $\left(x_0, y_0\right)$. Now, we need $g_1(x)$ to be a degree $n-1$ polynomial whose graph passes through
$$
\left(x_1, \frac{y_1-y_0}{x_1-x_0}\right),\left(x_2, \frac{y_2-y_0}{x_2-x_0}\right), \ldots,\left(x_n, \frac{y_n-y_0}{x_n-x_0}\right) .
$$
So, we just repeat the process, by letting $g_1(x)=\left(x-x_1\right) g_2(x)+\frac{y_1-y_0}{x_1-x_0}$. Continuing in this manner, we can find the polynomial $f(x)$ whose graph passes through all $n+1$ given points.
|
|