In the book "A Programmer's introduction to mathematics" by J Kun., page 15, it states:
Theorem 2.2: For any integer $n>=0$ and any list of $n+1$ points $(x_0,y_0),(x_1,y_1)...(x_n,y_n)$ in $\mathbb{R^2}$ with $x_0 < x_1 < ... < x_n$, there exists a unique degree $n$ polynomial $p(x)$ such that $p(x_i)=y_i$ for all $i$.
As I was reading this, I thought: does this mean that if I make up any pairs of points, where $x_1 < x_n $, there will be a function that will satisfy it?
So I made these up:
(2,10),(3,15),(4,23),(5,30)
Which of course don't have a solution but do satisfy the constraint imposed on $x$ (in the theorem there is no constraint imposed on $y$) although they do have an approximation .
So my question is this, and forgive my noobiness,
1) is the statement exact and I'm missing something
OR
2) is this just normal math lingo and everyone knows that of course there won't be a solution for any sequence of pairs but if such a sequence is the output of a polynomial function, then, it will be the only one, ie. there will be no other polynomial function that will output the same exact sequence of pairs?
I lean toward option 2) but want to be absolutely sure I'm not missing something.