Ask for constructing function from coordinate(x,y) points

In summary, Bundit is seeking advice on how to calculate the function expression of given coordinate points. He provides six coordinate points and mentions a possible relationship between x and y in the form of y=a.exp(b.x). Ackbach recommends using Excel to plot the points and fitting trendlines to find the best fit. He also mentions the limitations of using only six points and provides two potential equations of best fit, one being a quadratic and the other a cubic. Bundit also asks for the definition of R^2, which is a measure of how well the chosen equation fits the data points, with a higher value indicating a better fit.
  • #1
bundit
2
0
Hello,

I'm new in this forum. I would like to know how to calculate to obtain the function expression of some given coordinate points(x,y). For example, if I have 6 coordinate points which are

(x,y)
(0.23, 4.5)
(0.25, 6.5)
(0.35, 8.8)
(0.43, 15)
(0.45, 17)
(0.5, 25)

The (x,y) relation are apparently not linearized. It seems to by y=a.exp(b.x). How to calculate to derive the equation of y in term of y=f(x)?

Thank you.
Bundit
 
Physics news on Phys.org
  • #2
My recommendation: Excel. Plot the points up in Excel, and try fitting trendlines of various types to your data. Warning: six points isn't going to give you that much information. Do you need to interpolate or extrapolate?

The best fit I found (without going to very high-order polynomials) was
$$y=303.31x^{2}-151.14x+24.221,$$
with an $R^{2}$-value of $0.9895$. You can do a bit better with a cubic:
$$y=1357.5x^{3}-1205.6x^{2}+387.32x-36.859,$$
with an $R^{2}$ value of $0.9968$.
 
  • #4
Ackbach said:
My recommendation: Excel. Plot the points up in Excel, and try fitting trendlines of various types to your data. Warning: six points isn't going to give you that much information. Do you need to interpolate or extrapolate?

The best fit I found (without going to very high-order polynomials) was
$$y=303.31x^{2}-151.14x+24.221,$$
with an $R^{2}$-value of $0.9895$. You can do a bit better with a cubic:
$$y=1357.5x^{3}-1205.6x^{2}+387.32x-36.859,$$
with an $R^{2}$ value of $0.9968$.

Thank you,Ackbach.
By the way, can you brief me the definition of R^2 in your quote.?

Thanks.
Bundit
 
  • #5
,

Thank you for your question. To find the function that best fits the given coordinate points, you can use a method called curve fitting. This involves finding a mathematical equation that closely approximates the data points.

One approach to do this is by using a regression analysis, where you can use a computer program or a graphing calculator to find the equation that best fits the data points. There are different types of regression methods, such as linear, exponential, and logarithmic, that can be used depending on the nature of the data.

In your case, since the relation between x and y appears to be exponential, you can use an exponential regression to find the equation. This will give you the values of a and b in the equation y = a.exp(b.x), which you can then use to calculate the function y = f(x).

I hope this helps. Let me know if you have any further questions.
 

FAQ: Ask for constructing function from coordinate(x,y) points

What is the purpose of constructing a function from coordinate points?

The purpose of constructing a function from coordinate points is to be able to model and predict the relationship between the independent variable (x) and the dependent variable (y). This can be useful in various fields such as physics, engineering, and economics.

What are the steps involved in constructing a function from coordinate points?

The steps involved in constructing a function from coordinate points are:
1. Identify the independent and dependent variables
2. Create a table with the given coordinate points
3. Plot the points on a graph
4. Determine the general form of the function (linear, quadratic, exponential, etc.)
5. Use the given points to solve for the constants/coefficients in the function
6. Check the accuracy of the function by plugging in additional points or using regression analysis.

What are the key elements to consider when constructing a function from coordinate points?

The key elements to consider when constructing a function from coordinate points are the shape of the graph (linear, quadratic, etc.), the direction of the graph (increasing or decreasing), and the intercepts (where the graph crosses the x-axis and y-axis). These elements can provide valuable information about the behavior of the function.

Can a function be constructed from any set of coordinate points?

Yes, a function can be constructed from any set of coordinate points as long as they follow a specific pattern or relationship. If the points do not follow a pattern, it may not be possible to construct a function that accurately represents the data.

What are some real-life applications of constructing a function from coordinate points?

Constructing a function from coordinate points can be applied in various real-life situations such as predicting stock market trends, analyzing population growth, predicting the trajectory of a projectile, and estimating future sales based on past data. It can also be used in creating mathematical models for scientific experiments and simulations.

Similar threads

Replies
2
Views
1K
Replies
2
Views
1K
Replies
1
Views
2K
Replies
4
Views
2K
Replies
2
Views
2K
Replies
2
Views
3K
Replies
6
Views
2K
Back
Top