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

I want to find an equation for a race track, so I could get the position of a point with respect to time. Let's say I have this track and here are a few points on it: enter image description here

Could it be possible to model an equation based on these points like regression does and how? Also I'm new to parametric equations and I tried googling some parametric equation tutorials but I couldn't find any good, so maybe if you know some good learning resources could you please tell me? Thanks!

share|cite|improve this question
up vote 1 down vote accepted

Just as for ordinary functions, there are several interpolation methods available. The simplest (and crudest) is of course the usual Lagrange interpolation.

If you're given a collection of points $\{(x_{i},y_{i}\}_{i=1}^{N}$, then you must choose an appropriate parameter (which you have flexibility in doing). An obvious choice is to take $t\in[0,1]$ and assign each node equal spacing within the parameter domain. You could also weight the spacing, change the parameter domain to something larger or smaller, etc. What you end up doing is dependent on the needs of the particular problem.

In any case, after you choose the parameter specifications, you then construct Lagrange interpolation polynomials for each component (this of course generalizes in the obvious way).

More sophisticated techniques include interpolation in which derivatives are specified (e.g. cubic Hermite interpolation), cutting up the parameter domain into multiple pieces and constructing (cubic, say) splines, etc. etc. Of course, the computational effort increases dramatically in this direction, however, such techniques are needed in certain situations, particularly when extreme precision (e.g. computer graphics) is necessary.

You may also want to take a look at this:

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.