Finding best fit for a parabolic segment

  • Thread starter Thread starter ktoz
  • Start date Start date
  • Tags Tags
    Fit
ktoz
Messages
170
Reaction score
12
I have a set of points

x y
0 0
1 1
2 3
3 4
4 6
5 8
6 9
7 11
8 14
9 16
10 18
11 21
12 24
13 27
14 30

That seem to define, fairly closely, a parabolic segment. How do I find the scale and x/y origin of the parabola that most closely fits these points?
 
Last edited:
Mathematics news on Phys.org
Must the set of points be a parabola? What does the scatter plot of the points look like?

You might try picking a few points to use for a set of equations based on the general form for conic sections; solve the set of equations for the coefficients and make your best judgement. the relationship of the coefficient values determine what kind of conic section the chosen set of points represent. You might want to try the points which you believe are the most important for your system. Some kind of matrix or linear algebra/curve fitting software would make the task efficient.

Your general form would be like:
\[<br /> Ax^2 + By^2 + Cxy + Dx + Ey + F = 0<br /> \]
 
y = 1.1\cdot10^{-8}x^7 + 2.5\cdot10^{-7}x^6 + 3.2\cdot10^{-6}x^5 + 3.1\cdot10^{-5}x^4 + 0.00063x^3 + 0.036x^2 + 1.34x - 0.0981 although y=1.8x isn't bad either.
 
Last edited:
symbolipoint said:
Must the set of points be a parabola? What does the scatter plot of the points look like?

After working with a larger data set, I don't think it is a parabola. It looks very similar to one when I manually overlay a true parabola in Adobe Illustrator but it can't be made to fit exactly. It's doesn't appear to be an asymptote either.

Your general form would be like:
\[<br /> Ax^2 + By^2 + Cxy + Dx + Ey + F = 0<br /> \]

When calculated a different way, the points seem to follow

y = x^(1/m)

Where m is in the neighborhood of pi/2
 
?

The results show a concavity towards the y axis. A function such as x^{1/m} with m > 1 gives a concavity towards the x axis.

PS: Could you PM me the datasheet?
 
Gib Z said:
y = 1.1\cdot10^{-8}x^7 + 2.5\cdot10^{-7}x^6 + 3.2\cdot10^{-6}x^5 + 3.1\cdot10^{-5}x^4 + 0.00063x^3 + 0.036x^2 + 1.34x - 0.0981 although y=1.8x isn't bad either.

Thanks Gib.

Did you derive that with Mathematica? I only posted a few data points because there are an infinite number :)

When I calculate them a different way, it appears to be a simple power function with an exponent of 1/m. I tried i/phi which diverges too quickly and 1/(pi/2) which is better but still diverges a little too quickly.
 
I used Graphmatica. How do you have an infinite number of points without some sort of generating function...however you do it, send it over.
 
Werg22 said:
?

The results show a concavity towards the y axis. A function such as x^{1/m} with m > 1 gives a concavity towards the x axis.

The original data set was a bit contrived to get it to oriented it that way.

PS: Could you PM me the datasheet?

Will do. Thanks for taking a look.
 
Hey ktoz, I'll take a look another time, it's time for me to go to bed... it's 6:19 AM here. :zzz:
 
  • #10
Holy whack...Worst I've ever done was 5:30 :)
 

Similar threads

Replies
24
Views
2K
Replies
7
Views
2K
Replies
2
Views
1K
Replies
6
Views
1K
Replies
4
Views
2K
Replies
19
Views
2K
Replies
7
Views
3K
Back
Top