Numerical Solution of Differential equation

In summary, the conversation discusses the equivalence between the nonlinear oscillator and simple harmonic motion, as well as the modified symplectic euler equations and their corresponding approximate solution that lie on a family of curves. The speaker also mentions needing help in solving the problem and suggests working backwards from the solution.
  • #1
wel
Gold Member
36
0
The nonlinear oscillator [itex]y'' + f(y)=0[/itex] is equivalent to the
Simple harmonic motion:
[itex]y'= -z [/itex],
[itex]z'= f(y)[/itex]

the modified Symplectic Euler equation are

[itex]y'=-z+\frac {1}{2} hf(y)[/itex]

[itex]y'=f(y)+\frac {1}{2} hf_y z[/itex]

and deduce that the coresponding approximate solution lie on the family of curves
[itex]2F(y)-hf(y)y+z^2=constant[/itex]

where [itex]F_y= f(y)[/itex].


ans =>

for the solution of the system lie on the family of curves, i was thinking


[itex]\frac{d}{dt}[2F(y)-hf(y)y+z^2]= y \frac{dy}{dt} + z \frac{dz}{dt}[/itex]
[itex]=y(-z+\frac{1}{2} hf(y)) +z(f(y)- \frac{1}{2} h f_y z)[/itex]
but I can not do anything after that to get my answer constant.


can any genius people please help me
 
Physics news on Phys.org
  • #2
How did you get on?
Nice to show some sort of attempt, but please show your reasoning.

If you are supposed to deduce that family of curves, perhaps you shouldn't be starting with them.
Though attempting to work the problem backwards from the solution can help you figure it out.

Start with the modified symplectic euler equations.
Check your course notes about them - how would you go about getting the "corresponding approximate solution" for those?
 

FAQ: Numerical Solution of Differential equation

What is a differential equation?

A differential equation is a mathematical equation that relates a function with its derivatives. It describes the rate of change of a system over time.

What is numerical solution of differential equation?

Numerical solution of differential equations is a method of approximating the solutions of differential equations using numerical techniques. It involves breaking down the equation into smaller, simpler equations and solving them using numerical methods.

What are the advantages of using numerical methods to solve differential equations?

Using numerical methods allows for faster and more accurate solutions to complex differential equations, which may not have an analytical solution. It also allows for the solution of differential equations with boundary conditions and initial values.

What are some common numerical methods used to solve differential equations?

Some common numerical methods used to solve differential equations include Euler's method, Runge-Kutta method, and the finite difference method. These methods involve approximating the derivative of a function at different points and using this information to solve the equation.

What are some applications of numerical solution of differential equations in science?

Numerical solution of differential equations is used in a wide range of scientific fields, such as physics, chemistry, engineering, and biology. It is used to model and predict the behavior of systems, such as weather patterns, chemical reactions, and electrical circuits.

Back
Top