How do you generate a mathematical model?

In summary, when trying to generate a mathematical model or function for a set of points, there are various methods such as Lagrange Interpolation and Least Squares that can be used. However, the accuracy of the model will depend on the nature of the points and the function that is chosen to fit them. It may also be challenging to determine the best fit function, as there are many possibilities and no systematic way to analyze the data.
  • #1
brushman
113
1
For example, suppose you have a random set of points (x, y). How do you generate a mathematical model/function for these points?

Is it possible to have a set of information that cannot be described by a mathematical model?

How accurate are mathematical models? What determines how accurate a mathematical model is?
 
Mathematics news on Phys.org
  • #2
If you have just a few points, take a look at Lagrange Interpolation. It is a simple method for creating a function satisfying some set of ordered pairs and it is very intuitive.

Take a look at this article: http://en.wikipedia.org/wiki/Polynomial_interpolation
It is very general but describes a lot of things.

As for modeling, properties will depend on the object that you are studying and the research that has been done there (for example, fluid, elementary particles, biological systems, etc). I don't know much about this field but Numerical Analysis, and Differential Equations (which is essentially the language for studying these things) are of great use.
\
 
Last edited:
  • #3
Pretty broad set of questions. Here are some comments to ponder and perhaps stimulate responses from others.

Not sure if you really meant random points or not. If so, by definition, there isn't any pattern to the points to fit a function.

Assumming you mean the points resemble some sort of pattern, you are likely wondering how one might derive a function in the form of y = f(x) to represent the collection of points.

As mentioned by VeeEight, a polynomial of degree n can be fit exactly to a set of n+1 points using Lagrange Interolation.

Least squares is a numerical method to estimate the coefficients of a function that approximates the points, but you have the know the specific function (i.e. polynomial, exponential, logarithmic, rational, periodic, parametric) to try. The fit will rarely be exact. The quality of fit is the sum of the squares of the vertical distances between the function and the points.

If the points are generated by some experimental process, the nature of the function that describes the points is often known or surmised by theoretical considerations.

If there is no information at all about the nature of the function, hints of reasonable ones to try can possibly be obtained by just looking at the data. For example, if the points appear to approach a horizontal asymptote, an exponential function might be a good candidate. If the points form a periodic pattern, that's a good clue that trig functions might help. A pattern that is periodic with decreasing/increasing in amplitude could be a trig function multiplied by an exponential. Plotting the log of x, y, or both can sometimes be revealing.

Rather than find a single function in the form of y = f(x), another approach is to use a series of connected polynomial splines (e.g. cubic splines) to fit the data.

I know of no way to systematically and comprehensively analyze data to determine the best fit function. Some software programs will have a standard set of 10 or 20 function types that it will try and find the one with the best fit, but only within it's limited menu of functions. Since there are an infinite number of possible functions, an argument can be made that finding the function that best fits a set of points is impossible.
 
Last edited:

Related to How do you generate a mathematical model?

1. How do you determine the variables and parameters for a mathematical model?

The variables and parameters for a mathematical model are often determined through a process of observation, experimentation, and data analysis. Scientists will carefully observe the system they are trying to model and identify the key factors that influence its behavior. They may also conduct experiments or gather data to better understand the relationships between these factors. Through this process, they can determine the relevant variables and parameters to include in their model.

2. What methods are commonly used to generate mathematical models?

There are several methods that scientists use to generate mathematical models, including differential equations, statistical models, and computational simulations. Each method has its own advantages and is suited for different types of systems. Scientists may also combine multiple methods to create a more comprehensive model.

3. How do you validate a mathematical model?

The validation of a mathematical model involves comparing its predictions to real-world data or observations. This can be done by testing the model on new data that was not used to develop it, or by comparing its predictions to existing data. If the model accurately reflects the behavior of the system, it is considered validated.

4. What are the limitations of mathematical models?

Mathematical models are simplifications of real-world systems and therefore have limitations. They may not account for all the factors that influence a system, or they may make assumptions that are not entirely accurate. Additionally, the accuracy of a model is dependent on the quality of the data and the assumptions made by the scientist. It is important to understand these limitations when using mathematical models to inform decisions or make predictions.

5. How do you use a mathematical model to make predictions?

To use a mathematical model to make predictions, scientists input known values for the variables and parameters into the model and then use mathematical equations to calculate the predicted outcomes. These predictions can then be compared to real-world data or observations to assess the accuracy of the model. If the model is well-validated and the input values are accurate, the predictions can provide valuable insights into the behavior of the system.

Similar threads

Replies
3
Views
799
  • General Math
Replies
12
Views
2K
Replies
4
Views
1K
  • General Math
Replies
2
Views
967
Replies
72
Views
5K
Replies
4
Views
733
  • General Math
Replies
2
Views
314
  • General Math
2
Replies
61
Views
9K
Replies
8
Views
2K
Replies
3
Views
975
Back
Top