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

Is there a way to produce parametric equations for a curve?(If we do know cartesian coordinates of course)

share|cite|improve this question
What do you know about the curve then? You could always take a piece of rope and measure the length of the curve along piece wise arcs and thus parametrize it discretely. – Raskolnikov Jan 16 '11 at 10:45
My mistake when i wrote the question.I corrected it – t.k Jan 16 '11 at 12:32
up vote 1 down vote accepted

See Chapter 4 of this (a textbook on differential geometry). Essentially, a curve $\textbf{r}$ depends on two parameters ($u^1$ and $u^2$) in some arbitrary Cartesian coordinate system.

share|cite|improve this answer

I recommend the online book, intuitive introduction, for more deep stuff read the other reply. They call it multivariable calculus, and it covers some parametrization of curves. Sorry but not sure what you are asking here so just giving you a book to look at.

share|cite|improve this answer

Yes, you fit a cubic-spline through the points. Actually two cubic splines, one for $x$ and one for $y$ in terms of some independent parameter. You can make the parameter $t=0\cdots1$ or whatever you want.

In camshaft profile development we do that all the time, as we take measured points and fit splines to parametrize the curve and then calculate velocity, acceleration, jerk, snap, crackle and pop (1st,2nd,3rd,4th,5th,6th derivatives). Some smoothing is required sometimes.

There are free online books for cubic spline interpolation in C (link), and Fortran (link) which is easier to read and re-code to something more modern. A Fortran 90 version uses vectorized operations which are only useful in Matlab, or Fortran. I recommend reading chapter 3-3.

I have ported this routines in C# if interested.

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.