How to find an equation with multiple x,y coordinates

  • Context: Undergrad 
  • Thread starter Thread starter beamthegreat
  • Start date Start date
  • Tags Tags
    Coordinates Multiple
Click For Summary

Discussion Overview

The discussion revolves around finding an equation that fits a set of given x,y coordinates. Participants explore various methods and tools, including Geogebra, Excel, and polynomial fitting techniques, to derive an appropriate mathematical model for the data points provided.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning
  • Homework-related

Main Points Raised

  • One participant expresses difficulty in using Geogebra to find an equation that fits their plotted points and seeks alternative methods.
  • Another participant suggests that the relationship between the data points is quadratic and recommends using the method of common differences to derive the equation.
  • It is noted that a unique polynomial of degree n-1 can be fitted to n points, implying that an 8th degree polynomial could be used for the provided data.
  • A suggestion is made to use Excel or Google Docs Spreadsheet to create a scatter plot and apply a polynomial trendline to find the equation.
  • One participant provides a detailed method for calculating successive differences in the y-values to identify the type of polynomial that may fit the data.
  • Another participant proposes simplifying the problem by using smaller numbers and identifying common factors in the y-values to reveal a clearer pattern.

Areas of Agreement / Disagreement

Participants present multiple approaches and methods for finding the equation, with no consensus on a single solution or method. The discussion remains open-ended with various suggestions and techniques proposed.

Contextual Notes

Participants mention different methods and tools without resolving which is the most effective. There are also indications of potential simplifications through common factors, but these remain speculative.

beamthegreat
Messages
116
Reaction score
7
Hi, I tried using geogebra to find an equation that exactly goes through the list of points I plotted on the graph but I failed to find any way so far. I have tried using, FitExp, FitGrowth, and Fitline, and so far none of them worked. I have no idea what kind of equation this is so I cannot used the Fit command. Any Ideas on how I can find the equation using Geogebra or any other method?

Here are the points:

10 - 54
20 - 216
30 - 486
40 - 864
50 - 1350
60 - 1944
70 - 2646
80 - 3456
90 - 4374

Thanks.
 
Mathematics news on Phys.org
Hi. The relationship between your data points is quadratic. Try searching for a tutorial on the method of common differences for sequences, it's very easy to apply and you'll get a nice neat equation.

Hint: In general you'd get an equation of the form y = ax2 + bx + c, but with your data b = c = 0.

Also note: Now that I've told you it's quadratic, you could of course just ask your software for the solution. Don't cheat yourself! Use google to look into the method I mentioned above, and take the first step toward arming yourself to deal with such problems in the future.
 
More generally, there exist a unique n-1 degree polynomial that passes through any given n points so, at worst, an 8 degree polynomial could be fit to it.
 
You could always use Excel for this. If you do not have that program, Google Docs Spreadsheet will probably suffice.

The best recommendation I can give is for Excel 2007 on a PC. I would enter the data into the spreadsheet, then highlight the data, and create a scatter-plot chart. Select the chart, and choose the Layout Tab from the Chart Tools category. There should be a button that says "Trendline". Choose "More Trendline Options".

Select Polynomial Order 2. There's also a check box for "Display Equation on Chart". That will give you the equation.

Note: you can look at other types of trendlines and polynomials to see what would be a best fit.

Another analysis you can do in Excel is to calculate the differences of the successive range values. Then calculate the differences of those differences. For you're data, I got:

10 54
20 216 162
30 486 270 108
40 864 378 108
50 1350 486 108
60 1944 594 108
70 2646 702 108
80 3456 810 108
90 4374 918 108

Note how the difference of the differences is 108 in every case. You can use this type of information to figure out the type of equation too.
 
It's a lot easier if you can work with smaller numbers, which we can do in this case. The x values are all multiples of 10, so you might as well just use 1, 2, 3, ... 9 instead of 10, 20, etc. This is just easier to work with.

Also, the y values are all even numbers, so could obviously be divided by 2. Looking more carefully, they turn out to be divisible by 9 as well. So divide all the y values by 18. There might turn out to be yet more common factors to divide the y values down.

So the first two y values become 3 and 12 (54/18 and 216/18). Hmmm, wonder if there is another common factor of 3 here? If we divide all the y values by 3 and 18 -- in other words, divide them all by 54 -- then a very clear pattern becomes evident.
 
Last edited:

Similar threads

Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 9 ·
Replies
9
Views
1K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
1
Views
3K
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K