Solution of Stiff Differential Equations & Dynamical Systems Using Neural Network Methods

Similar documents
ARTIFICIAL NEURAL NETWORK PART I HANIEH BORHANAZAD

Artificial Intelligence

Initial-Value Problems for ODEs. Introduction to Linear Multistep Methods

Solving Ordinary Differential equations

EEE 241: Linear Systems

Design Collocation Neural Network to Solve Singular Perturbed Problems with Initial Conditions

Ordinary differential equations - Initial value problems

Lecture Notes to Accompany. Scientific Computing An Introductory Survey. by Michael T. Heath. Chapter 9

S#ff ODEs and Systems of ODEs

Scientific Computing: An Introductory Survey

CS 450 Numerical Analysis. Chapter 9: Initial Value Problems for Ordinary Differential Equations

Prediction of Monthly Rainfall of Nainital Region using Artificial Neural Network (ANN) and Support Vector Machine (SVM)

A Study on Linear and Nonlinear Stiff Problems. Using Single-Term Haar Wavelet Series Technique

Data Mining Part 5. Prediction

Index. higher order methods, 52 nonlinear, 36 with variable coefficients, 34 Burgers equation, 234 BVP, see boundary value problems

NUMERICAL SOLUTION OF ODE IVPs. Overview

Ordinary Differential Equations II

<Special Topics in VLSI> Learning for Deep Neural Networks (Back-propagation)

Applied Math for Engineers

Research Article Design Feed Forward Neural Network to Solve Singular Boundary Value Problems

Unit III. A Survey of Neural Network Model

ECE257 Numerical Methods and Scientific Computing. Ordinary Differential Equations

Computational Modeling for Physical Sciences

Neural Networks and the Back-propagation Algorithm

EE-588 ADVANCED TOPICS IN NEURAL NETWORK

Keywords- Source coding, Huffman encoding, Artificial neural network, Multilayer perceptron, Backpropagation algorithm

Lecture 4: Numerical solution of ordinary differential equations

A Hybrid Model of Wavelet and Neural Network for Short Term Load Forecasting

A definition of stiffness for initial value problems for ODEs SciCADE 2011, University of Toronto, hosted by the Fields Institute, Toronto, Canada

4. Multilayer Perceptrons

Modelling of Pehlivan-Uyaroglu_2010 Chaotic System via Feed Forward Neural Network and Recurrent Neural Networks

CSE 352 (AI) LECTURE NOTES Professor Anita Wasilewska. NEURAL NETWORKS Learning

FDM for parabolic equations

Neural Networks. Nicholas Ruozzi University of Texas at Dallas

Reinforcement Learning, Neural Networks and PI Control Applied to a Heating Coil

ARTIFICIAL NEURAL NETWORKS گروه مطالعاتي 17 بهار 92

Ordinary Differential Equations II

A Neural Network Study of Blasius Equation

Artificial Neural Networks. Historical description

Applied Numerical Analysis

2015 Todd Neller. A.I.M.A. text figures 1995 Prentice Hall. Used by permission. Neural Networks. Todd W. Neller

Artificial Neural Networks" and Nonparametric Methods" CMPSCI 383 Nov 17, 2011!

Short Term Load Forecasting Based Artificial Neural Network

22c145-Fall 01: Neural Networks. Neural Networks. Readings: Chapter 19 of Russell & Norvig. Cesare Tinelli 1

Computational statistics

Ordinary Differential Equations

Estimation of Inelastic Response Spectra Using Artificial Neural Networks

Neural Networks. Chapter 18, Section 7. TB Artificial Intelligence. Slides from AIMA 1/ 21

ECE Introduction to Artificial Neural Network and Fuzzy Systems

New Delhi & Affiliated to VTU, Belgavi ) Oorgaum, Kolar Dist ,Karnataka

Pattern Recognition Prof. P. S. Sastry Department of Electronics and Communication Engineering Indian Institute of Science, Bangalore

Artificial Neural Networks. Edward Gatt

CSC321 Lecture 5: Multilayer Perceptrons

Exponential integrators and functions of the matrix exponential

Numerical Methods for Differential Equations

MODELLING ENERGY DEMAND FORECASTING USING NEURAL NETWORKS WITH UNIVARIATE TIME SERIES

Solving PDEs with PGI CUDA Fortran Part 4: Initial value problems for ordinary differential equations

Supervised (BPL) verses Hybrid (RBF) Learning. By: Shahed Shahir

CS:4420 Artificial Intelligence

Design Collocation Neural Network to Solve Singular Perturbation Problems for Partial Differential Equations

Last update: October 26, Neural networks. CMSC 421: Section Dana Nau

Radial Basis Function Networks. Ravi Kaushik Project 1 CSC Neural Networks and Pattern Recognition

Neural networks. Chapter 19, Sections 1 5 1

Mr. Harshit K. Dave 1, Dr. Keyur P. Desai 2, Dr. Harit K. Raval 3

Modelling and Prediction of 150KW PV Array System in Northern India using Artificial Neural Network

MTH210 DIFFERENTIAL EQUATIONS. Dr. Gizem SEYHAN ÖZTEPE

MTH 452/552 Homework 3

Multi-layer Neural Networks

Multilayer Perceptron

Application of Artificial Neural Networks in Evaluation and Identification of Electrical Loss in Transformers According to the Energy Consumption

Eigen Vector Descent and Line Search for Multilayer Perceptron

Learning and Neural Networks

IN the field of ElectroMagnetics (EM), Boundary Value

CHAPTER 10: Numerical Methods for DAEs

The Chemical Kinetics Time Step a detailed lecture. Andrew Conley ACOM Division

Chapter 5. Formulation of FEM for Unsteady Problems

What Do Neural Networks Do? MLP Lecture 3 Multi-layer networks 1

Ordinary Differential Equations

Initial value problems for ordinary differential equations

Math 128A Spring 2003 Week 12 Solutions

Chapter 6 - Ordinary Differential Equations

Lecture 42 Determining Internal Node Values

Lecture 7 Artificial neural networks: Supervised learning

Address for Correspondence

Review for Exam 2 Ben Wang and Mark Styczynski

FINITE ELEMENT SOLUTION OF POISSON S EQUATION IN A HOMOGENEOUS MEDIUM

Feed-forward Network Functions

COMPARISON OF TWO METHODS TO SOLVE PRESSURES IN SMALL VOLUMES IN REAL-TIME SIMULATION OF A MOBILE DIRECTIONAL CONTROL VALVE

Neural networks. Chapter 20. Chapter 20 1

Exponentially Fitted Error Correction Methods for Solving Initial Value Problems

An artificial neural networks (ANNs) model is a functional abstraction of the

MANY methods have been developed so far for solving

Chapter 5 Exercises. (a) Determine the best possible Lipschitz constant for this function over 2 u <. u (t) = log(u(t)), u(0) = 2.

Artificial neural networks

Estimation of the Pre-Consolidation Pressure in Soils Using ANN method

Bindel, Fall 2011 Intro to Scientific Computing (CS 3220) Week 12: Monday, Apr 18. HW 7 is posted, and will be due in class on 4/25.

Deep Learning for Partial Differential Equations (PDEs)

2.29 Numerical Fluid Mechanics Fall 2011 Lecture 20

In the Name of God. Lectures 15&16: Radial Basis Function Networks

Modeling & Simulation 2018 Lecture 12. Simulations

Transcription:

Advances in Dynamical Systems and Applications. ISSN 0973-5321, Volume 12, Number 1, (2017) pp. 21-28 Research India Publications http://www.ripublication.com Solution of Stiff Differential Equations & Dynamical Systems Using Neural Network Methods Rootvesh Mehta a,* and Dr. Sandeep Malhotra b a Indus University,Rancharda-Via Thaltej, Ahmedabad,Gujarat 382115,India b Nirma University, Sarkhej-Gandhinagar Highway, Gota, Ahmedabad, Gujarat 382481, India. Abstract There are many laws stating the behavior of the physical world involves quantities which are changing with respect to another quantities and the mathematical expressions of such laws are differential equations. There are numbers of problems of various fields like science, engineering-technology, social science etc. involves differential equations. The researchers have developed many analytical and numerical methods for solving various types of differential equations but difficulties are aroused when stiff differential equations as mathematical models are formed. Stiff differential equations are difficult and complex problems to solve analytically and numerically. Many numerical schemes employing digital computers are available for solving stiff ordinary differential equations, partial differential equations and system of stiff differential equations but have revealed many limitations. In this work we have proposed the artificial neural network method for solving such problems of stiff differential equations as the advance trend. Keywords: Stiff Differential Equations; Artificial Neural Network; Multi- Layer Perceptron Neural Network 1. INTRODUCTION AND PROBLEM STATEMENT Whenever we discuss about the rate of change of one quantity with respect to another quantity, we find existence of differential equation. Differential equation appears to us in almost all fields inevitably. The mathematical classification of differential equation problems are characterized by time dependent (Initial Value Problems) or length

22 Rootvesh Mehta, and Dr. Sandeep Malhotra dependent (Boundary Value Problems) or in many cases both (Initial Boundary Value Problems). For solving these various types of differential equations numbers of analytical and numerical methods are available. Many times we required to find numerical solution of differential equation in place of analytical solution especially in case of nonlinear differential equations it is must to find numerical (Approximation) solution as exact solution is almost impossible to find. All numerical schemes for solving time dependent problems (transient problems) generates error terms including higher order derivatives of solution of problems [1]. If the derivative term is fairly bounded, scheme generates minor error and we can find comparatively accurate approximated solution of the problems. Also, if the derivative term increases as the number of the steps increases and the solution terms also increases then error term can be controlled up to required level of accuracy of solution. But, problem arises when the value of the derivative terms increases but the solution terms not increases fairly and scheme represents larger truncation error which leads us to relatively inaccurate approximated solution of the problems and the time dependent problems generating such situations are known as stiff differential equations ([1]). A very important and special class of stiff differential equations arising from the phenomena with widely differing time scales. These types of equations are found in studies of electrical circuits, vibrations, chemical reactions, atmospheric chemistry problems, biosciences and many more fields. Generally, stiff equations are also described as equations involving terms which leads to the quick variations in the solution. Stiff equations describe as a differential equation whose exact solution includes a term that decays exponentially to zero as step size increases, but whose derivatives are much greater in magnitude than the term itself ([1]). For an example the term where c is a large positive constant is to be considered. This is usually a part of the transient solution. The other important portion of the solution is called the steady-state solution. The transient portion of a stiff equation rapidly decay to zero as t increases, but since the nth derivative of this term has magnitude the derivative does not decay as quickly. In fact, since the derivative in the error term is evaluated not at t, but at a number between zero and t, the derivative terms can increase as t increases and vary rapidly indeed. Because the error includes a term of this form, evaluated at a time less than the step size h, the error can be quite large if t is not chosen sufficiently small to offset this large derivative. Furthermore, for the larger t, the smaller h must be maintained for the accuracy ([1]).

Solution of Stiff Differential Equations & Dynamical Systems 23 In last three decades, researchers have developed various methods for solving stiff differential equations and systems. Particularly it becomes very difficult to obtained required solution when non-linearity and stiffness are together in differential equations. It is observed that stiff differential equations are ill-conditioned in a computational sense and that they seriously defy traditional numerical methods ([2]). For the reason we would like to work on an alternate class of methods namely artificial neural network methods for solving various types of stiff differential equations. There has been remarkable growth in study of brain like computation known as the study of neural networks from last few decades and successful attempts have made to solve various computational problems more efficiently by using it. 2. LITERATURE REVIEW First of all stiffness in differential equations detected by the two chemists Curtiss and Hirschfelder (1952) ([3]). They gave the name to the concept the nature of stiffness and they observed it also. They defined stiffness in differential equations as stability requirement dictates the choice of the step size to be very small. For solving such problem they suggested Backward Differentiation Formula (BDF) for numerical integration. C. F. Curtiss & J. O. Hirschfelder defined also as Stiff equations are equations where certain implicit methods, in particular BDF, perform better, usually tremendously better, than explicit ones. [3]. In 1963, Dahlquist defined the problem and observed the difficulties of solvers in solving stiff equations which are useful for solving standard differential equations ([4]). Around that time few researchers started working on stiff differential equations independently and one of them was Gear (1968) and the problem of stiff differential equations came to the notice of researchers working in the fields of mathematics and computer science ([5]). Later on stiff differential equations are characterized as those whose solutions evolve on very different time scales occurring simultaneously. Also, stiffness occurs in many engineering applications as well as system of differential equations in many non-linear PDEs after doing discretization. In late 1970 s demand increases for finding numerical schemes with smaller step size for solving stiff differential equations of the type ordinary, partial and systems. It gave birth to Implicit-explicit Runge-Kutta methods, Adam Basforth methods, Implicit Euler methods, Rosenbrock methods ([5]). These schemes gave birth to various solvers like GEAR, EPSODE, DISUB, CHEMSODE etc. for stiff differential equations during 1970 to 2000. But as the stiffness generates numerical complications as numerical scheme is continuously presenting errors, the local truncation error turns as a trouble to the system

24 Rootvesh Mehta, and Dr. Sandeep Malhotra that taking us far away from the good result that we are trying to achieve ([5]). The difficulties arise also as various numerical schemes, including all explicit methods, are unstable (in the sense of absolute stability) except the step size is very small ([5]). For achieving accurate solution of stiff problems over time intervals all explicit methods are ineffective due to bounded stability regions of methods and researchers are required to use implicit numerical schemes. Some implicit methods such as the Adams- Moulton methods also have bounded stability regions ([1]). The Crank-Nicholson scheme which is implicit is having unconditionally stable region on the boundary, and experience shows that, Crank-Nicholson scheme often produces an oscillatory solution in the transient computation. Although the scheme is stable, the steady state is approached at a slow rate. Therefore, for the solution of steady state problems it may be more efficient to solve an equivalent transient problem and continue marching in the time direction till the solution does not change up to a prescribed tolerance. To overcome these limitations researchers have started working on alternate methods like neural network method. There is lot of work has been done in applying neural network methods for solving differential equations ([6]). The methods like Feed forward neural network (FFNN), Multilayer perceptron neural network, Radial basis function neural network, Multi quadric radial basis function network, Cellular neural network, Finite element neural network, Wavelet neural network etc. have been developed over the years and results are found satisfactory ([7]). 3. PROPOSED MODEL The great success has been witnessed in solving complex problems using digital computers. Though there are numbers of complex problems available right now has shown us number of limitations of digital computers like computational capabilities and process, time consumptions, big truncation error etc. ([6]). To overcome these limitations from last few years researchers are working on Analog computers for solving many complex problems of differential equations. An alternate method for solving differential equations is the Artificial Neural Network Methods. Existing neural network methods for solving differential equations are having following advantages ([7]): 1. The neural network methods provide closed and analytic form of solution and it is useful for subsequent calculations. 2. The Artificial Neural Network approach provides solution with generalized property. 3. Using Artificial Neural Network we need to do face less computational

Solution of Stiff Differential Equations & Dynamical Systems 25 complexity as it generates compact data set and solution model also. 4. The Artificial Neural Network approach is general and can apply on any type of complex differential equations and system of differential equations. 5. The Artificial Neural Network approach is useful in solving real time difficult differential equations appearing in many engineering applications because using neuro processors method can be realized in hardware. The aim of the recent study is to present a general concept for solving stiff differential equations and systems to find better approximated solution by overcoming existing limitations using the Artificial Neural Network paradigm. Using Multilayer Perceptron Neural Network for finding approximated solution of stiff differential equations and systems and comparing the result with the analytical numerical solution of the problems to present general approach for solving stiff equations and systems. This method uses a feed forward neural network as the basic approximation component, whose parameters (weights and biases) are adjusted to minimize error function. At last optimization techniques are applied for minimizing the error value and training of the network includes the calculation of error gradient also. 4. FORMULATION OF FIRST ORDER ODE AND SYSTEM OF ODES USING MLP To understand the method, consider a first order ODE d f( x, ) (1) with x [0,1] and the initial condition (0) A. Now, the trial solution of Equation (1) is ( x) A( x) xn( x, p) t h N( x, p) v ( z ), z w x u i1 i i i i i Which is the output of a network with one node for x and p. Here we assume trial function such that it satisfies the given initial condition. Now, differentiating both sides of Equation (2) we get d t dn( x, p) N( x, p) x (3) We also know that h dn( x, p) vw i1 (1) i i i (2)

26 Rootvesh Mehta, and Dr. Sandeep Malhotra Hence we get d t Now, the error quantity to be minimized as h h (1) vii xviwii i1 i1 2 k t k k (4) d ( x ) t k E( p) f ( x, ( x )), x [0,1] (5) k So, here mainly two types of neural networks are used for solving First order differential equation. One network is training network which is five layers ANN model made of input layer, three hidden layers and output layer. Another network is solution network which is four layers ANN model made of input layer, two hidden layers and output layer. Similarly, for systems of k first order ODES given as d i fi( x, 1, 2,..., k ), i(0)= Ai,( i 1,..., k) Then the trial solution for each equation can be written as Now, the error quantity to be minimized is ( x) A xn ( x, p ) (6) t i i i i K d ( x ) tk i E( p) f ( x,,,..., ) (7) k i t1 t2 t k k1 i 1 Here, the activation function is sigmoid function x and the derivatives of 1 e 3 2 (1 ), 2 3, sigmoid function are and so on. 4 3 2 6 12 7 In a similar way we can do formulation of higher order ODEs and PDEs. 2 5. DISCUSSION & CONCLUSION As our research problem is to solve stiff differential equations and systems using neural network methods it is necessary to transform nonlinear differential equations to linear differential equations through linearization and discretization. Also, we required to do simulation using the tools like MATLAB for availing the fast and quite accurate solution of problems using the architecture of the artificial neural network. The process proposed here obtained from relevant literature and the result can be compare with the results already available in relevant literature.

Solution of Stiff Differential Equations & Dynamical Systems 27 REFERENCES [1] Richard L. Burden, J. Douglas Faires, Numerical Analysis, Cengage Learning, 2011. [2] W.L. Miranker, The Computational Theory of Stiff Differential Equations, Pubblicazioni IAC Roma Ser. III N. 102, 1975. [3] G. Dahlquist., A Special Stability Problem for Linear Multistep Methods. BIT 3 (1964) 27 43. [4] Nur Ainul Basyirah Binti Khalil, Solving A Stiff Partial Differential Equation Using Method Of Lines And Runge-Kutta Method, Faculty Of Science And Technology, Universiti Malaysia Terengganu, 2013. [5] C. Chedjou, K. Kyamakya, M. A. Latif, U. A. Khan, I. Moussa and Do Trong Tuan, Solving Stiff Ordinary Differential Equations and Partial Differential Equations Using Analog Computing Based on Cellular Neural Networks ISAST Transactions on Computers and Intelligent Systems, No. 2, Vol. 1, 2009. [6] Neha Yadav,Anupam Yadav,Manoj Kumar, An introduction of neural network methods for differential equations SpringerBriefs in Applied Sciences and Technology. [7] Sandeep Malhotra, R G Kapadia, Transient Simulation of Vapor Liquid Two Phase Flow inside Single Tube Condenser using Quazi Linearization Approach, International Journal of Computational and Applied Mathematics volume 7, Issue 3, 265-272, 2012. [8] S H Malhotra, Simulation of Navier Stokes equation represents the transient model of single tube heat exchanger with vapor-liquid two phase flow inside, International Journal of Emerging Technologies in Computational and Applied Sciences, Volume 5, Issue 5, 540-547, 2013. [9] Sandeep Malhotra, Mathematical Science and Transient Simulation of 1-D Heat Exchanger, International Journal of Scientific & Engineering Research, Volume 4, Issue 10, 1417-1420, 2013. [10] Hala Ashi, Numerical Methods for Stiff Systems, School of Mathematical Sciences Division of Applied Mathematics, the University of Nottingham 2008. [11] Muhammad Idrees, Fazle Mabood, Asar Ali, Gul Zaman, Exact Solution for a Class of Stiff Systems by Differential Transform Method, Applied Mathematics, 2013, 4, 440-444, 2013 [12] M.T. Darvishi, F. Khani, A.A. Soliman, The numerical simulation for stiff systems of ordinary differential equations Elsveir, Computers and Mathematics with Applications 54 (2007) 1055 1063 2006. [13] J. Meade, Jr. And A. A. Fernandez, The Numerical Solution of Linear

28 Rootvesh Mehta, and Dr. Sandeep Malhotra Ordinary Differential Equations by Feedforward Neural Networks Muthl. Comput. Modelling Vol. 19, No. 12, pp. l-25, 1994. [14] Chedjou, K. Kyamakya, A Novel General and Robust Method Based on NAOP Solving Nonlinear Ordinary Differential Equations and Partial Differential Equations by Cellular Neural Networks Journal of Dynamic Systems, Measurement, and Control,Volume 135, Issue 3, published online March 28, 2013.