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 have a group of points from a graph.

When I connect the points I get a shape which looks like the one's of the function f(x) = a / x .

How can i precisely find the equation of the shape ?

share|cite|improve this question
have you heard of interpolation ? – user31280 Jun 6 '13 at 13:36
English is not my mother language, so I guess no :) – Rrjrjtlokrthjji Jun 6 '13 at 13:38
read this then – user31280 Jun 6 '13 at 13:38
up vote 0 down vote accepted

To find the polynomial interpolation of $n$ points $(x_0,y_0)$, $(x_1, y_1)$, ..., $(x_n,y_n)$ is $$p(x)=\frac{(x-x_1)(x-x_2)\cdots(x-x_n)}{(x_0-x_1)(x_0-x_2)\cdots(x_0-x_n)}\cdot y_0+\frac{(x-x_0)(x-x_2)\cdots(x-x_n)}{(x_1-x_0)(x_1-x_2)\cdots(x_1-x_n)}\cdot y_1+\ldots+\frac{(x-x_0)(x-x_1)\cdots(x-x_{n-1})}{(x_n-x_0)(x_n-x_1)\cdots(x_n-x_{n-1})}\cdot y_n$$

$$p(x)=\sum_{i=0}^{n}y_i\cdot\prod_{0\leq j\leq n,j\neq i}\frac{x-x_j}{x_i-x_j}$$

There is no unique function that passes through a set of points. Interpolation only gives an approximate function. Even this depends on the kind of interpolation you choose. If you don't know interpolation and you have this kind of problem, then I'm guessing you're not asking the right question.

share|cite|improve this answer
Thanks for your answer! What does Π capital mean? – Rrjrjtlokrthjji Jun 6 '13 at 14:08
it means product, just as $\sum$ means sum. – user31280 Jun 6 '13 at 14:09

You need three or more points to find the equation of a parabola: Simply substitute the (x,y) of the points into y=ax^2+bx+c and solve simultaneously This method will work for any type of graph, just edit the formula to look contain the correct number of "x-values"

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.