- About this Journal
- Abstracting and Indexing
- Aims and Scope
- Article Processing Charges
- Articles in Press
- Author Guidelines
- Bibliographic Information
- Citations to this Journal
- Contact Information
- Editorial Board
- Editorial Workflow
- Free eTOC Alerts
- Publication Ethics
- Submit a Manuscript
- Subscription Information
- Table of Contents
ISRN Applied Mathematics
Volume 2013 (2013), Article ID 650467, 7 pages
Design Feed Forward Neural Network to Solve Singular Boundary Value Problems
Department of Mathematics, College of Education Ibn Al-Haitham, Baghdad University, Iraq
Received 14 May 2013; Accepted 9 June 2013
Academic Editors: Z. Huang and X. Wen
Copyright © 2013 Luma N. M. Tawfiq and Ashraf A. T. Hussein. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
The aim of this paper is to design feed forward neural network for solving second-order singular boundary value problems in ordinary differential equations. The neural networks use the principle of back propagation with different training algorithms such as quasi-Newton, Levenberg-Marquardt, and Bayesian Regulation. Two examples are considered to show that effectiveness of using the network techniques for solving this type of equations. The convergence properties of the technique and accuracy of the interpolation technique are considered.
The study of solving differential equations using artificial neural network (Ann) was initiated by Agatonovic-Kustrin and Beresford in . Lagaris et al. in  employed two networks, a multilayer perceptron and a radial basis function network, to solve partial differential equations (PDE) with boundary conditions defined on boundaries with the case of complex boundary geometry. Tawfiq  proposed a radial basis function neural network (RBFNN) and Hopfield neural network (unsupervised training network). Neural networks have been employed before to solve boundary and initial value problems. Malek and Shekari Beidokhti  reported a novel hybrid method based on optimization techniques and neural networks methods for the solution of high order ODE which used three-layered perceptron network. Akca et al.  discussed different approaches of using wavelets in the solution of boundary value problems (BVP) for ODE, also introduced convenient wavelet representations for the derivatives for certain functions, and discussed wavelet network algorithm. Mc Fall  presented multilayer perceptron networks to solve BVP of PDE for arbitrary irregular domain where he used logsig. transfer function in hidden layer and pure line in output layer and used gradient decent training algorithm; also, he used RBFNN for solving this problem and compared between them. Junaid et al.  used Ann with genetic training algorithm and log sigmoid function for solving first-order ODE. Abdul Samath et al.  suggested the solution of the matrix Riccati differential equation (MRDE) for nonlinear singular system using Ann. Ibraheem and Khalaf  proposed shooting neural networks algorithm for solving two-point second-order BVP in ODEs which reduced the equation to the system of two equations of first order. Hoda and Nagla  described a numerical solution with neural networks for solving PDE, with mixed boundary conditions. Majidzadeh  suggested a new approach for reducing the inverse problem for a domain to an equivalent problem in a variational setting using radial basis functions neural network; also he used cascade feed forward to solve two-dimensional Poisson equation with back propagation and Levenberg-Marquardt train algorithm with the architecture three layers and 12 input nodes, 18 tansig. transfer functions in hidden layer, and 3 linear nodes in output layer. Oraibi  designed feed forward neural networks (FFNNs) for solving IVP of ODE. Ali  designed fast FFNN to solve two-point BVP. This paper proposed FFNN to solve two point singular boundary value problem (TPSBVP) with back propagation (BP) training algorithm.
2. Singular Boundary Value Problem
The general form of the 2nd-order two-point boundary value problem (TPBVP) is there are two types of a point : ordinary point and singular point.
A function is analytic at if it has a power series expansion at that converges to on an open interval containing . A point is an ordinary point of the ODE (1), if the functions and are analytic at . Otherwise is a singular point of the ODE. On the other hand, if or are not analytic at , then is said to be a singular point [14, 15].
There is at present no theoretical work justifying numerical methods for solving problems with irregular singular points. The main practical occurrence of such problems seems to be semianalytic technique .
3. Artificial Neural Network
Ann is a simplified mathematical model of the human brain. It can be implemented by both electric elements and computer software. It is a parallel distributed processor with large numbers of connections; it is an information processing system that has certain performance characters in common with biological neural networks .
The arriving signals, called inputs, multiplied by the connection weights (adjusted) are first summed (combined) and then passed through a transfer function to produce the output for that neuron. The activation (transfer) function acts on the weighted sum of the neuron’s inputs and the most commonly used transfer function is the sigmoid function (tansig.) .
There are two main connection formulas (types): feedback (recurrent) and feed forward connections. Feedback is one type of connection where the output of one layer routes back to the input of a previous layer, or to the same layer. Feed forward neural network (FFNN) does not have a connection back from the output to the input neurons .
There are many different training algorithms, but the most often used training algorithm is the Delta rule or back propagation (BP) rule. A neural network is trained to map a set of input data by iterative adjustment of the weights. Information from inputs is fed forward through the network to optimize the weights between neurons. Optimization of the weights is made by backward propagation of the error during training phase.
The Ann reads the input and output values in the training data set and changes the value of the weighted links to reduce the difference between the predicted and target (observed) values. The error in prediction is minimized across many training cycles (iteration or epoch) until network reaches specified level of accuracy. A complete round of forward-backward passes and weight adjustments using all input-output pairs in the data set is called an epoch or iteration. If a network is left to train for too long, however, it will be overtrained and will lose the ability to generalize.
In this paper, we focused on the training situation known as supervised training, in which a set of input/output data patterns is available. Thus, the Ann has to be trained to produce the desired output according to the examples.
In order to perform a supervised training we need a way of evaluating the Ann output error between the actual and the expected outputs. A popular measure is the mean squared error (MSE) or root mean squared error (RMSE) .
4. Description of the Method
In the proposed approach the model function is expressed as the sum of two terms: the first term satisfies the boundary conditions (BCs) and contains no adjustable parameters. The second term can be found by using FFNN which is trained so as to satisfy the differential equation and such technique called collocation neural network.
In this section, we will illustrate how our approach can be used to find the approximate solution of the general form, a 2nd-order TPSBVP: where a subject to certain BCs and , , denotes the domain and is the solution to be computed.
If denotes a trial solution with adjustable parameters , the problem is transformed to a discretize form: subject to the constraints imposed by the BCs.
In the our proposed approach, the trial solution employs an FFNN and the parameters correspond to the weights and biases of the neural architecture. We choose a form for the trial function such that it satisfies the BCs. This is achieved by writing it as a sum of two terms: where is a single-output FFNN with parameters and input units fed with the input vector . The term contains no adjustable parameters and satisfies the BCs. The second term is constructed so as not to contribute to the BCs, since satisfy them. This term can be formed by using an FFNN whose weights and biases are to be adjusted in order to deal with the minimization problem.
An efficient minimization of (3) can be considered as a procedure of training the FFNN, where the error corresponding to each input is the value which has to forced near zero. Computation of this error value involves not only the FFNN output but also the derivatives of the output with respect to any of its inputs.
Therefore, in computing the gradient of the error with respect to the network weights consider a multilayer FFNN with input units (where is the dimensions of the domain), one hidden layer with sigmoid nodes, and a linear output unit.
For a given input , the output of the FFNN is denotes the weight connecting the input unit to the hidden unit , denotes the weight connecting the hidden unit to the output unit, denotes the bias of hidden unit , and is the sigmoid transfer function (tansig.).
The gradient of FFNN with respect to the parameters of the FFNN can be easily obtained as
Once the derivative of the error with respect to the network parameters has been defined, then it is a straight forward to employ any minimization technique. It must also be noted that the batch mode of weight updates may be employed.
5. Illustration of the Method
In this section we describe solution of TPSBVP using FFNN.
To illustrate the method, we will consider the 2nd-order TPSBVP: where and the BC: , ; a trial solution can be written as where is the output of an FFNN with one input unit for and weights .
Note that satisfies the BC by construction. The error quantity to be minimized is given by where the . Since it is straightforward to compute the gradient of the error with respect to the parameters using (6). The same holds for all subsequent model problems.
In this section we report numerical result, using a multi-layer FFNN having one hidden layer with 5 hidden units (neurons) and one linear output unit. The sigmoid activation of each hidden unit is tansig.; the analytic solution was known in advance. Therefore we test the accuracy of the obtained solutions by computing the deviation:
In order to illustrate the characteristics of the solutions provided by the neural network method, we provide figures displaying the corresponding deviation both at the few points (training points) that were used for training and at many other points (test points) of the domain of equation. The latter kind of figures are of major importance since they show the interpolation capabilities of the neural solution which to be superior compared to other solution obtained by using other methods. Moreover, we can consider points outside the training interval in order to obtain an estimate of the extrapolation performance of the obtained numerical solution.
Example 1. Consider the following 2nd-order TPSBVP: with BC: , . The analytic solution is ; according to (8) the trial neural form of the solution is taken to be
The FFNN trained using a grid of ten equidistant points in . Figure 1 displays the analytic and neural solutions with different training algorithm. The neural results with different types of training algorithm such as Levenberg-Marquardt (trainlm), quasi-Newton (trainbfg), and Bayesian Regulation (trainbr) introduced in Table 1 and its errors given in Table 2, Table 3 gives the performance of the train with epoch and time, and Table 4 gives the weight and bias of the designer network,
Ramos in  solved this example using -linearization method and gave the absolute error ; also, Kumar in  solved this example by the three-point finite difference technique and gave the absolute error .
Example 2. Consider the following 2nd-order TPSBVP: with BC: , and the analytic solution is ; according to (8) the trial neural form of the solution is
The FFNN trained using a grid of ten equidistant points in . Figure 2 displays the analytic and neural solutions with different training algorithms. The neural network results with different types of training algorithm such as trainlm, trainbfg, and trainbr, introduced in Table 5 and its errors given in Table 6, Table 7 gives the performance of the train with epoch and time and Table 8 gives the weight and bias of the designer network.
From the previous mentioned problems it is clear that the proposed network can be handle effectively TPSBVP and provide accurate approximate solution throughout the whole domain and not only at the training points. As evident from the tables, the results of proposed network are more precise as compared to the method suggested in [20, 21].
In general, the practical results on FFNN show that the Levenberg-Marquardt algorithm (trainlm) will have the fastest convergence, then trainbfg and then Bayesian Regulation (trainbr). However, “trainbr” does not perform well on function approximation problems. The performance of the various algorithms can be affected by the accuracy required of the approximation.
- S. Agatonovic-Kustrin and R. Beresford, “Basic concepts of artificial neural network (ANN) modeling and its application in pharmaceutical research,” Journal of Pharmaceutical and Biomedical Analysis, vol. 22, no. 5, pp. 717–727, 2000.
- I. E. Lagaris, A. C. Likas, and D. G. Papageorgiou, “Neural-network methods for boundary value problems with irregular boundaries,” IEEE Transactions on Neural Networks, vol. 11, no. 5, pp. 1041–1049, 2000.
- L. N. M. Tawfiq, Design and training artificial neural networks for solving differential equations [Ph.D. thesis], University of Baghdad, College of Education Ibn-Al-Haitham, 2004.
- A. Malek and R. Shekari Beidokhti, “Numerical solution for high order differential equations using a hybrid neural network—optimization method,” Applied Mathematics and Computation, vol. 183, no. 1, pp. 260–271, 2006.
- H. Akca, M. H. Al-Lail, and V. Covachev, “Survey on wavelet transform and application in ODE and wavelet networks,” Advances in Dynamical Systems and Applications, vol. 1, no. 2, pp. 129–162, 2006.
- K. S. Mc Fall, An artificial neural network method for solving boundary value problems with arbitrary irregular boundaries [Ph.D. thesis], Georgia Institute of Technology, 2006.
- A. Junaid, M. A. Z. Raja, and I. M. Qureshi, “Evolutionary computing approach for the solution of initial value problems in ordinary differential equations,” World Academy of Science, Engineering and Technology, vol. 55, pp. 578–5581, 2009.
- J. Abdul Samath, P. S. Kumar, and A. Begum, “Solution of linear electrical circuit problem using neural networks,” International Journal of Computer Applications, vol. 2, no. 1, pp. 6–13, 2010.
- K. I. Ibraheem and B. M. Khalaf, “Shooting neural networks algorithm for solving boundary value problems in ODEs,” Applications and Applied Mathematics, vol. 6, no. 11, pp. 1927–1941, 2011.
- S. A. Hoda I. and H. A. Nagla, “On neural network methods for mixed boundary value problems,” International Journal of Nonlinear Science, vol. 11, no. 3, pp. 312–316, 2011.
- K. Majidzadeh, “Inverse problem with respect to domain and artificial neural network algorithm for the solution,” Mathematical Problems in Engineering, vol. 2011, Article ID 145608, 16 pages, 2011.
- Y. A. Oraibi, Design feed forward neural networks for solving ordinary initial value problem [M.S. thesis], University of Baghdad, College of Education Ibn Al-Haitham, 2011.
- M. H. Ali, Design fast feed forward neural networks to solve two point boundary value problems [M.S. thesis], University of Baghdad, College of Education Ibn Al-Haitham, 2012.
- I. Rachůnková, S. Staněk, and M. Tvrdý, Solvability of Nonlinear Singular Problems for Ordinary Differential Equations, Hindawi Publishing Corporation, New York, USA, 2008.
- L. F. Shampine, J. Kierzenka, and M. W. Reichelt, “Solving Boundary Value Problems for Ordinary Differential Equations in Matlab with bvp4c,” 2000.
- H. W. Rasheed, Efficient semi-analytic technique for solving second order singular ordinary boundary value problems [M.S. thesis], University of Baghdad, College of Education Ibn-Al-Haitham, 2011.
- A. I. Galushkin, Neural Networks Theory, Springer, Berlin, Germany, 2007.
- K. Mehrotra, C. K. Mohan, and S. Ranka, Elements of Artificial Neural Networks, Springer, New York, NY, USA, 1996.
- A. Ghaffari, H. Abdollahi, M. R. Khoshayand, I. S. Bozchalooi, A. Dadgar, and M. Rafiee-Tehrani, “Performance comparison of neural network training algorithms in modeling of bimodal drug delivery,” International Journal of Pharmaceutics, vol. 327, no. 1-2, pp. 126–138, 2006.
- J. I. Ramos, “Piecewise quasilinearization techniques for singular boundary-value problems,” Computer Physics Communications, vol. 158, no. 1, pp. 12–25, 2004.
- M. Kumar, “A three-point finite difference method for a class of singular two-point boundary value problems,” Journal of Computational and Applied Mathematics, vol. 145, no. 1, pp. 89–97, 2002.