Optimizing Implicit Functions: Best Fit for Coupled ODE Solutions

In summary, the conversation discusses the possibility of making a least squares fit with a function given implicitly, due to the unsolvability of the equation analytically. The system of coupled ODEs can be numerically solved and plotted, but there is also measurement data available. The question is whether it is possible to find the best fit of the solution to the data points by varying the constants involved. The conversation also mentions the involvement of initial conditions and suggests using regression methods for calculating the constants through an optimization problem.
  • #1
P3X-018
144
0
Is it possible to make a least squares fit with a function given implicitly, because the equation isn't solveable analyticly? Because I had the coupled ODE,

[tex]\ddot{x} = \omega^2x + 2\omega\dot{y} - C\,\frac{\dot{x}}{\dot{r}}[/tex]

[tex] \ddot{y} = \omega^2y - 2\omega\dot{x} - C\,\frac{\dot{y}}{\dot{r}} [/tex]

where [itex] \dot{r} = \sqrt{\dot{x}^2+\dot{y}^2}[/itex], and [itex] \omega [/itex] and C are constants in time.
I can numerically solve this system and make a plot in x-y, but I also have some measurement data, so is there a way to make best fit of the "solution" to the data points? That is vary the 2 constants to make a best fit?
There are also the 4 initial conditions when solving this system of ODE, how will they be involved in this?
 
Last edited:
Mathematics news on Phys.org
  • #2
Of course you can measure the distance between your measurement data and the solution you calculated. I would use regression methods, depending on the degree of the solution. The origin of the data (the ODE solution) shouldn't bother you. If you want to calculate the constants by a best fit you will get an optimization problem, which probably needs again a numerical solution.
 

1. What is the concept of "fit" in implicit functions?

The concept of "fit" in implicit functions refers to how well a mathematical model or equation represents a set of data points. It is a measure of how closely the predicted values from the model match the actual values in the data set.

2. How do you determine the fit of an implicit function?

The fit of an implicit function can be determined by calculating the sum of squared residuals, also known as the sum of squared errors, which measures the difference between the predicted values and the actual values in the data set. A lower sum of squared residuals indicates a better fit.

3. What are the advantages of using implicit functions for data analysis?

Implicit functions allow for a more flexible and comprehensive analysis of data, as they can handle non-linear relationships and complex data sets. They also provide a more accurate representation of the data and can be used to make predictions or identify trends.

4. Can implicit functions be applied to any type of data?

Yes, implicit functions can be applied to any type of data, including numerical, categorical, and continuous data. However, the data must be in a tabular format with multiple variables in order for the implicit function to be calculated.

5. How can you improve the fit of an implicit function?

The fit of an implicit function can be improved by adjusting the parameters of the model or by using a more complex model that can better capture the relationships in the data. It is also important to carefully select the variables and data points used in the calculation of the implicit function.

Similar threads

  • General Math
Replies
2
Views
713
Replies
8
Views
220
Replies
4
Views
1K
Replies
3
Views
568
  • Special and General Relativity
Replies
5
Views
328
  • Classical Physics
Replies
17
Views
984
  • Advanced Physics Homework Help
Replies
3
Views
360
  • Programming and Computer Science
Replies
31
Views
2K
  • Introductory Physics Homework Help
2
Replies
40
Views
859
  • Introductory Physics Homework Help
Replies
17
Views
359
Back
Top