Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

By observing some system list of inputs and outputs is collected. Is there a general algorithm in mathematics for finding (approximate) polynomial function that will map inputs to outputs? It would be great if the procedure can be generalized to more than one variable.

share|cite|improve this question
What is the motivation for this problem? In particular, are you looking for a good model or an exact fit? These are not generally the same. – smackcrane Nov 10 '11 at 19:59
I guess this question is related to artificial intelligence. Also, as I know there are computer programs which evaluate the function by considering the inputs and outputs. – HbCwiRoJDp Nov 10 '11 at 20:59
up vote 2 down vote accepted

For a polynomial, you can do Lagrange interpolation to any desired order. If you do one to a given order and the next point(s) fit, that would give you good confidence.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.