Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

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|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 :) –  Nickolas Jun 6 '13 at 13:38
    
read this then en.wikipedia.org/wiki/Polynomial_interpolation –  user31280 Jun 6 '13 at 13:38

2 Answers 2

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|improve this answer
    
Thanks for your answer! What does Π capital mean? –  Nickolas 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|improve this answer

Your Answer

 
discard

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.