Skip to content

Weak SINDY for higher order ODEs #159

Closed
@bthakur21

Description

@bthakur21

Hi,

Can Weak SINDY be used on higher order ordinary differential equations, for example the van der Pol equation (a second order differential equation):
x''(t) - mu (1-x^2) x' + x = 0
(where x' is the first order time derivative, x'' is the second order time derivative, and mu is a constant),
such that we only give the time series of x in the training data and Weak SINDy gives back either a second order differential equation or two first order differential equations for x and x'?

There is an option "derivative_order" in the weak SINDy library but I guess it is only meant for the order of the spatial derivatives in feature library.

If I have a time series of x given to me and I calculate x' (lets name it y) using some numerical methods and give the time series of both x and x' in the training data, Weak SINDy is correctly able to identify the van der Pol equation in the form of coupled set of two first order differential equations:
x' = y
y'= mu (1-x^2) x' - x

So if I have a time series x as a solution of a fourth order differential equation, say,
x''''(t) = f(x,x',x'',x''')
do I need to calculate the numerical derivatives of x up to third order and give x,x',x'',and x''' in the training data to weak SINDy so that it can identify the coupled set of 4 first order differential equations in x,x',x'', and x'''?

Thanks very much in advance.

Best regards,
Bhumika

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions