Optimizing Implicit Functions: Best Fit for Coupled ODE Solutions

Click For Summary
SUMMARY

This discussion focuses on optimizing implicit functions for least squares fitting in the context of coupled ordinary differential equations (ODEs). The equations presented are: \(\ddot{x} = \omega^2x + 2\omega\dot{y} - C\,\frac{\dot{x}}{\dot{r}}\) and \(\ddot{y} = \omega^2y - 2\omega\dot{x} - C\,\frac{\dot{y}}{\dot{r}}\), where \(\dot{r} = \sqrt{\dot{x}^2+\dot{y}^2}\). The discussion emphasizes the need for numerical solutions to optimize constants \(\omega\) and \(C\) for best fitting the calculated solutions to measurement data. It also highlights the importance of initial conditions in the optimization process.

PREREQUISITES
  • Understanding of coupled ordinary differential equations (ODEs)
  • Familiarity with numerical methods for solving ODEs
  • Knowledge of least squares fitting techniques
  • Experience with regression analysis
NEXT STEPS
  • Explore numerical methods for solving coupled ODEs, such as Runge-Kutta methods
  • Learn about least squares fitting techniques specifically for implicit functions
  • Investigate optimization algorithms for parameter estimation in ODE models
  • Study regression analysis methods to evaluate the goodness of fit for ODE solutions
USEFUL FOR

Researchers, mathematicians, and engineers working with dynamic systems, particularly those involved in modeling and optimizing solutions to coupled ordinary differential equations.

P3X-018
Messages
144
Reaction score
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:
Physics news on Phys.org
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.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 0 ·
Replies
0
Views
4K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
0
Views
2K
  • · Replies 24 ·
Replies
24
Views
5K
  • · Replies 65 ·
3
Replies
65
Views
9K