1

Consider a real-valued polynomial function of one variable. Knowing the "rules" function dictates we can plot the graph of that function with a given accuracy.

Question: is the reversed process possible?

Constantine
  • 1,429

3 Answers3

1

Given the "rule-based" part of your comment, if you demand perfect accuracy, the answer is no. Just take any curve that goes through $(0,y)$ at an indefinable real number. If you accept some error in both directions, you can use an interpolating polynomial of high enough degree.

Ross Millikan
  • 374,822
0

Is this what you're looking for?

http://www.arachnoid.com/sage/polynomial.html

https://en.wikipedia.org/wiki/Polynomial_regression

  • As far as I understand, no. The question can also be posed like this: let's assume I've drawn an arbitrary graph in Paint. Does three exist a symbolic, "rule-like" representation of the function this graph presumably represents? – Constantine Jul 09 '13 at 16:31
0

I assume that, beside the graph, you have a table with some values $(x,f(x))$. In some cases, say equispaced $x$ points, building a finite difference table should allow to guess the degree of the polynomial and, subsequently, to compute the coefficients by interpolation. If you know that the data is produced by a polynomial, then iterative regressions (or interpolations) with different polynomial specifications must ultimately estimate the right coefficients giving null error up to roundoff.

More generally, symbolic regression may help, see http://www.ams.org/notices/201306/rnoti-p713.pdf for an interesting description of a software that can guess the symbolic form of your function. You can specify the search space to include only "+" and "*" (sum and product), effectively reducing the search to polynomials.

The software can be downloaded at http://formulize.nutonian.com/ and a serious treatment appeared on Science, http://www.sciencemag.org/content/324/5923/81.abstract