Say I randomly draw a line(not a straight line) on a plane. How do I determine whether this line can be represented as a function with a definite pattern. As in, not just a function that just matches values in two sets, but one that can be written as f(x) = 2x + x^3 or something, such that you can determine y for any value of x.
Please try to keep the answer as simple as possible. Just a high schooler here.
So, we have $f(x)=a_1x^{m_1}+a_2x^{m_2}+\cdots+a_rx^{m_r}$ for some unknown real numbers $a_1,\dots,a_r$ and $m_1,\dots,m_r$ which we wish to determine. We may assume $m_1>m_2>\cdots>m_r$. Let's do some manipulations:
$f(x)=a_1x^{m_1}(1+g(x))$ where $g(x)$ goes to zero as $x$ goes to infinity.
$\log f(x)=\log a_1+m_1\log x+h(x)$ where $h(x)$ goes to zero as $x$ goes to infinity.
$\log f(x)\div\log x=m_1+j(x)$ where $j(x)$ goes to zero as $x$ goes to infinity.
So here's what you do:
Calculate $\log f(x)/\log x$ for $x=1,2,3,\dots$ until you can tell what it converges to: that's your $m_1$.
Then calculate $\log(f(x))-m_1\log x$ for $x=1,2,3,\dots$ until you can tell what it converges to: that'll be $\log a_1$, so exponentiate it, and you get $a_1$.
Now, you can repeat the whole process for $f(x)-a_1x^{m_1}$ to work out $m_2$ and $a_2$, and keep going until you have all the $a_i$ and $m_i$.