Abstract

In view of the fact that impulsive differential equations have the discreteness due to the impulse phenomenon, this paper proposes a single hidden layer neural network method based extreme learning machine and a physicsinformed neural network method combined with learning rate attenuation strategy to solve linear impulsive differential equations and nonlinear impulsive differential equations respectively. For the linear impulsive differential equations, firstly, the interval is segmented according to the impulse points, and a single hidden layer neural network model is constructed, the weight parameters of hidden layer are randomly set, the optimal output parameters and solution of the first segment are obtained by the extreme learning machine algorithm, then we calculate the initial value of the second segment according to the jumping equation, and the remaining segments are solved in turn in the same way. Although the single hidden layer neural network method proposed can solve linear equations with high accuracy, it is not suitable for solving nonlinear equations. Therefore, we propose the physics-informed neural network combined with learning rate attenuation strategy to solve the nonlinear impulsive differential equations, then the Adam algorithm and L-BFGS algorithm are combined to find the optimal approximate solution of each segment. Numerical examples show that the single hidden layer neural network method with Legendre polynomials as the activation function and the physics-informed neural network method combined with learning rate attenuation strategy can solve linear and nonlinear impulsive differential equations with higher accuracy.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call