Least-squares Solutions of Linear Differential Equations

Size: px
Start display at page:

Download "Least-squares Solutions of Linear Differential Equations"

Transcription

1 1 Least-squares Solutions of Linear Differential Equations Daniele Mortari dedicated to John Lee Junkins arxiv: v1 [mathca] 5 Feb 017 Abstract This stu shows how to obtain least-squares solutions to initial and boundary value problems to nonhomogeneous linear differential equations with nonconstant coefficients of any order However, without loss of generality, the approach has been applied to second order differential equations The proposed method has two steps The first step consists of writing a constrained expression, introduced in Ref [1], that has embedded the differential equation constraints These expressions are given in term of a new unknown function, gt), and they satisfy the constraints, no matter what gt) is The second step consists of expressing gt) as a linear combination of m independent known basis functions, gt) = ξ T ht) Specifically, Chebyshev orthogonal polynomials of the first kind are adopted for the basis functions This choice requires rewriting the differential equation and the constraints in term of a new independent variable, x [ 1, +1] The procedure leads to a set of linear equations in terms of the unknown coefficients vector, ξ, that is then computed by least-squares Numerical examples are provided to quantify the solutions accuracy for initial and boundary values problems as well as for a control-type problem, where the state is defined in one point and the costate in another point Acronyms used throughout this paper DE IVP BVP LS Differential Equation Initial Value Problem Boundary Value Problem Least-Squares I INTRODUCTION The n-th order nonhomogeneous ordinary linear Differential Equation DE) with nonconstant coefficients is the equation n f i t) di yt) dt i = ft), 1) i=0 where ft) and the n + 1 functions, f i t), can be any nonlinear continuous functions and t often the time) is the independent variable This kind of equations appear in many problems and in almost all scientific disciplines Equation 1) can be solved by the method of variation of parameters: using n linearly independent solutions, y 1 t),, y n t), of the homogenous part Then, the general solution is just a linear combination of the independent solutions plus the particular solution associated to the nonhomogeneous equation [] The variation of parameters method relies on the capability of finding the n linearly independent solutions Unfortunately, there is no general method to find these solutions Another method, called undetermined coefficients [], is restricted to the case of constant coefficient, only Finally, in the specific case if ft) and all the n + 1 functions, f i t), are polynomials, then an approximate solution can be found by power series [] However, in this stu, ft) and all the f i t) functions can be any nonlinear continuous functions that are nonsingular in the integration time range The proposed Least-Squares LS) method can be applied to solve Eq 1) for any value of n However, without loss of generality and for sake of brevity, the approach is here applied to second order nonhomogeneous linear DE with nonconstant coefficients, f t) d yt) dt + f 1 t) t) + f 0 t) yt) = ft) ) dt It is important to outline that, if functions f 1 t), f 0 t), and ft) are continuous and nonsingular within the integration range, the Initial Value Problems IVP) always admit solutions, while Boundary Value Problems BVP) may have a single, multiple, no, or infinite solutions Final special analysis is dedicated to particular BVP typical from optimal control) where the variable is a vector, {x T, λ T } T, and where the state vector is defined at initial time, xt 0 ) = x 0, and the costate vector at final time, λt f ) = λ f Professor, Aerospace Engineering, Texas A&M University, College Station, TX , USA mortari@tamuedu

2 II THE CONSTRAINED EXPRESSIONS The key idea of this stu is to search the solution of Eq 1) using constrained expressions, whose theory is presented in d di y Ref [1] These expressions have embedded all the DE constraints, = y di) t i, where the n-element vector, d, contains dt di t=ti the constraints derivatives orders and the n-element vector, t, indicates where the constraints are specified The constrained equations adopted in this stu are expressed as, yt) = gt) + n i=1 [ ] β i t, t) y di) t i g di) t i where: β d k) i t k, t) = δ ik 3) expressions that are linear functions in the unknown function gt) and in its derivatives, g di) t i, evaluated at constraints times and where δ ik is the Kronecker delta The β i t, t) are special functions of the time and constraints times defined by the vector t The β i functions given in Eq 3) are not unique but they are characterized by β d k) i t k, t) = δ ik Detailed derivations and presentations of these constrained expressions can be found in Ref [1] However, let s give three constrained expression examples Example #1 In the first example consider the function, yt) = gt) + t t t) t t 1 ) ẏ 1 ġ 1 ) + t t t 1) t t 1 ) ẏ ġ ), ) where β 1 t, t) = t t t) t t 1 ) and β t, t) = t t t 1) The first derivative of Eq ) is t t 1 ) ẏt) = ġt) + t t ẏ 1 ġ 1 ) + t t 1 ẏ ġ ) t t 1 t t 1 It is easy to verify that, when t = t1) = t 1 then ẏt 1 ) = ẏ 1 and when t = t) = t then ẏt ) = ẏ Therefore, no matter what gt) is, Eq ) can be used as constrained expression for functions subject to: ẏt 1 ) = ẏ 1 and ẏt ) = ẏ Example # This example is for a function subject to the following n = constraints, d y dt = ÿ t1, yt ) = y t, yt 3 ) = y t3, and t1 dt = ẏ t t where, d = {, 0, 0, 1} Let s select the constraint time vector as, t = { 1, 0,, } A constrained expression with embedded all four constraints is + t t yt) = gt) + t ÿ t1 g t1 ) + 8 t + 3 t + t 3 y t g t ) ) + 3 t t 8 t y t3 g t3 ) + 10 t + 3 t + t 3 ẏ t ġ t ) 1 where + t t β 1 t, t) = t, β t, t) = 8 t + 3t + t 3, 1 8 3t t β 3 t, t) = t, and β t, t) = 10t + 3t + t It is not difficult to verify that yt), as defined by Eq 5), has embedded all four constraints, ÿ t1, y t, y t3, ẏ t ), independent what gt) is Example #3 This example shows the constrained expression when the constraints are specified in a relative way, as for In this specific case, a constrained expression is yt) = gt) + yt 1 ) = yt ) and ẏt 1 ) = ẏt ) t g 1 g ) + t t 1 + t ) t ġ 1 ġ ) t t 1 t t 1 ) It is straightforward to prove this equation satisfies the two relative constraints, y 1 = y and ẏ 1 = ẏ These three examples show that the solution, yt), can be expressed in term of an unknown function, gt), such that yt) always satisfies all DE constraints This allows us to re-write the original DE in terms of the new function, gt), thus obtaining a DE with constraints alrea embedded in the DE This new DE has two interesting properties: it is not subject to external constraints and it is linear in gt) and its derivatives In this stu simple constrained equations have been provided to solve linear DE with nonconstant coefficients for IVP, in Eqs 1, 0, 1), and for BVP, in Eqs 3, 9, 30, 31, 3, 33, 3, 35, 36)

3 3 A The least-squares approach Since function gt) is free to be selected, then it can be expressed as a linear combinations of a set of m linearly independent basis functions, h k t), m gt) = ξ T ht) = ξ k h k t) 6) This means that two distinct functions, h i t) and h j t) with i j, must span different function spaces In addition, all functions, h k t), and their derivatives must be continuous and nonsingular within the time range By doing this, the coefficients ξ k of Eq 6) become our unknowns Once these coefficients are computed, the gt) function is known and, consequently, Eq ) provides the DE solution Examples of basis functions are polynomials eg, Lagrange, Legendre, monomial, Chebyshev, etc), Fourier series, monomial plus Fourier series, and any combinations of continuous and nonsingular functions spanning different function spaces By substituting the expression of yt), given in Eq 3), in the DE of Eq ), along with the expression of gt), given in Eq 6), and its derivatives, ġt) = ξtḣt) and gt) = ξtḧt), a linear equation in terms of the unknown coefficients, ξ, is obtained This equation can be then specialized for a set of N values of t j eg, uniformly distributed in the integration time range), obtaining m ξ k p k t j ) = p T t j ) ξ = λt j ) k=0 where pt j ) is an n-long known vector and j [1, N] and N m + 1 This set of N equations in m + 1 unknowns usually, N m) can be set in the matrix form p 0 t 1 ) p 1 t 1 ) p m t 1 ) ξ 0 λt 1 ) p 0 t ) p 1 t ) p m t ) ξ 1 λt ) P ξ = = = λ p 0 t N ) p 1 t N ) p m t N ) λt N ) admitting the LS solution k=0 ξ m ξ = P T P ) 1 P T λ 7) This LS solution is computed by scaling the P matrix is order to decrease the condition number of P T P and, consequently, the numerical errors This procedure is applied in detail for a second order nonhomogeneous linear DE with nonconstant coefficients for IVP and BVP, respectively B The selected basis functions In all the examples provided in this paper, the Chebyshev Orthogonal Polynomials COP) of the first kind have been selected to represent the basis functions set Note that, this selection may not be the best solution In fact, while COP are a versatile basis to describe almost any kind of function, the COP derivatives are affected by a sort of Runge s phenomenon, with one order of magnitude increase at each subsequent derivatives Figure 1 shows this effect for the first two derivatives Since COP are defined in term of a new variable, x [ 1, +1], we set x linearly related to t [t 1, t ], as x = t t 1 1 t = t 1 + x + 1)t t 1 ), 8) t t 1 where t is specifically defined in BVP while it can be considered as the integration upper limit in IVP Setting δt = t t 1, the derivatives in terms of the new variable are, dt = d y dt = d dt Therefore, Eq ) can be re-written as, dt = ) δt = d dt dt ) dt = d δt ) dt = δt d y 9) δt f x) d yx) + x) x) + f 0x) yx) = fx), 10) where the functions f, f 1, f 0, and f are now expressed in term of the new variable using Eq 8) By changing the integration variable, particular attention must be given to the constraints specified in term of derivatives In fact, the derivatives dt and

4 Fig 1 Chebyshev Orthogonal Polynomials and the first two derivatives d y dt are related to derivatives and d y as specified by Eq 9) Therefore, also the constraints, provided in term of the first and/or second derivatives, need to comply with the rules given in Eq 9), = δt x1 dt = δt d y ẏ1 = ẏ 1x and = d y δt x1 dt t1 = δt ÿ1 = ÿ 1x, t1 meaning that: the constraints on the derivatives in term of the new x variable now depend on the integration time range III LEAST-SQUARES SOLUTION OF INITIAL VALUE PROBLEMS Three distinct IVPs can be considered, depending on the DE constraints kind Consider first the most classic problem where the function and its first derivative are specified in one point A Initial Value Problems subject to: yt 1 ) = y 1 and ẏt 1 ) = ẏ 1 In this case, the constraints written in term of the new variable x) are, yx 1 = 1) = y 1 and and a simple constrained expression for this IVP is, x1= 1 = ẏ 1x = δt ẏ1, yx) = gx) + y 1 g 1 ) + x + 1)ẏ 1x ġ 1 ), 11) where g 1) = g 1 and ġ 1) = ġ 1 Again, the solution yx), as expressed by Eq 11), has embedded the constraints, no matter what the function gx) is Substituting yx), as expressed by Eq 11), in Eq 10) we obtain, δt f d g + ) dg ġ 1 + f 0 [g g 1 ġ 1 x + 1)] = f δtẏ1xf 1 f 0 [y 1 + ẏ 1x x + 1)] 1)

5 5 Now, let gx) be expressed as a linear combination of COPs of the first kind, m gx) = ξ k T k x), 13) which are defined by the recursive function, T k+1 = x T k T k 1 k=0 starting from: All derivatives of COP can be computed in a recursive way, starting from dt 0 = 0, dt 1 = 1 and d d T 0 d = dd T 1 = 0 d > 1), d while the subsequent derivatives of Eq 1) give for k > 1, { T0 = 1 T 1 = x 1) dt k+1 = T k +x dt k d T k+1 = dt k +x d T k dt k 1 d T k 1 15) d d T k+1 d = d dd 1 T k d 1 +x dd T k d In particular, it is easy to show that, T k 1) = 1) k dt k, = 1) k+1 k, x= 1 k=0 dd T k 1 d, d 1), d T k = 1) k k k 1) 16) x= 1 3 Therefore, substituting the expressions given in Eqs 13-16) in Eq 1), the following equation m { ξ k δt f d T k + [ ] δt f dtk 1 1)k+1 k [ + f 0 Tk 1) k 1) k+1 k x + 1) ]} = k= = f δtẏ1xf 1 f 0 [y 1 + ẏ 1x x + 1)]} is obtained However, particular attention must be given to Eq 17) because, for k = 0 and k = 1, all three terms of the RHS vanish, d T k = dt k 1)k+1 k = T k 1) k 1) k+1 k x + 1) = 0 for k = 0 and k = 1 which is equivalent to rewrite Eq 17) as m { ξ k δt f d T k + [ ] δt f dtk 1 1)k+1 k [ + f 0 Tk 1) k 1) k+1 k x + 1) ]} = 18) = f δtẏ1xf 1 f 0 [y 1 + ẏ 1x x + 1)]} The reason why in Eq 17) for k = 0 and k = 1, all three terms of the RHS vanish, derives from the fact that the first two terms of COP are constant and linear in x Now, the constrained expression of Eq 11) is derived using a constant plus a linear expression in x This means that the basis functions used for gx) cannot be composed using the same function spaces, namely, the constant and the linear expression in x, because alrea adopted to define the constrained expression d T k Note that, the two derivatives, and dt k, are specific known polynomials in x, derived using Eqs 13-15) Therefore, Eq 18) is a linear equation in terms of the m 1) unknown coefficients ξ k This allows us to estimate these coefficients by LS, by specifying Eq 18) for a set of N values x j, ranging from x 1 = 1 to x = +1 Specifically, we have p k x j ) = [ δt f x j ) d T k + xj x j ) dt k 1) k+1 k xj + f 0 x j ) [ T k x j ) 1) k 1) k+1 k x j + 1) ] λx j ) =fx j ) δtẏ1xf 1 x j ) f 0 x j )[y 1 + ẏ 1x x j + 1)] In the next subsection the proposed approach is applied to a DE with known analytical solution Accuracy comparison is provided with respect to the solution obtained by the Runge-Kutta-Fehlberg step-varying integrator MATLAB function ODE5) ] + 17)

6 6 B Accuracy tests Consider integrating the following IVP from t 1 = 1 to t =, t d y tt + ) + t + ) y = 0 dt dt { y1) = y1 = 1 subject to: ẏ1) = ẏ 1 = 0 This implies ẏ 1x = ẏ 1 3 = 0 The general solution of this equation is yt) = e t 1) t Equation 19) has been solved using the proposed LS approach with m = 16 and N = 1, 000) and integrated using MATLAB function ODE5, implementing the Runge-Kutta-Fehlberg variable step integrator The results are shown in Fig 19) Fig Results example with known solution m = 16 and N = 1, 000) In the left plot of Fig the absolute values of mean and standard deviation of the P ξ λ) residuals are shown as a function of m When the residuals standard deviation reaches the minimum at m = 17) 1 the LS approach provides the best accuracy results The errors with respect to the true solution for the LS approach and the errors obtained using MATLAB function ODE5, are shown in the right plot For this IVP, the LS method provides about five order of magnitudes accuracy gain with respect to ODE5 integrator C Initial Value Problems subject to: yt 1 ) = y 1 and ÿt 1 ) = ÿ 1 ÿ 1x = ÿ 1 δt Using the constrained equation, then Eq 10) becomes δt f yx) = gx) x y 1 g 1 ) + x + x ÿ 1x g 1 ) d ) g g 1 + dg = f δt f ÿ 1x 1 The value of m = 17 implies a size of matrix P T P ) ) + g x + 1 x ) + x 1 g 1 + f 0 g + g 1 x g 1 = ) x + 1 x ) 0) + x y 1 + ÿ 1x f 0 y 1 x + ÿ 1x

7 7 Note that, if y 1 and ÿ 1x are known, then ẏ 1x can be derived using Eq 10) evaluated at x 1 = 1 ẏ 1x = δt ft 1 ) f ÿ 1x δt f 0 t 1 ) y 1 t 1 ) provided that f 1 t 1 ) 0 Therefore, the solution of the DE given in Eq 10) with constraints y 1 and ÿ 1x can be solved as in the previous section with constraints y 1 and ẏ 1x, where ẏ 1x is provided as a function of ẏ 1 and integration time range δt D Initial Value Problems subject to: ẏt 1 ) = ẏ 1 and ÿt 1 ) = ÿ 1 Using the constrained equation, Eq 10) becomes ) x yx) = gx) + x ẏ 1x ġ 1 ) + + x ÿ 1x g 1 ) d ) δt f g g 1 + [ ] )] dg x ġ 1 g 1 x + 1) + f 0 [g ġ 1 x g 1 + x = = f δt f ÿ 1x )] x 1) [ẏ 1x + ÿ 1x x + 1)] f 0 [ẏ 1x x + ÿ 1x + x Again, if ẏ 1x and ÿ 1x are known, then y 1 can also be computed by specializing Eq 10) at x 1 = 1 y 1 = δt ft 1 ) f ÿ 1x t 1 ) ẏ 1x δt f 0 t 1 ) f 0 t 1 ) 0 ) Therefore, the solution of the DE given in Eq 10) with constraints ẏ 1x and ÿ 1x can be solved as in the previous section with constraints y 1 and ẏ 1x, where y 1 is provided by Eq ) IV LEAST-SQUARES SOLUTION OF BOUNDARY VALUE PROBLEMS Boundary Value Problems BVP) appear in many applications arising in science and engineering Examples are the modeling of chemical reactions, heat transfer, and diffusion A thorough survey of the existing solutions to this problem can be found in Ref [3], describing most of the existing methods with the exception of those using Bézier curves The use of implicit Bézier functions to obtain approximate solutions of BVP or IVP) is not a new idea, albeit it is quite recent 00) Venkataraman has attacked the problem using optimization techniques [], [5], [6] while Zheng uses analytical LS approach [7] Bézier curves have been adopted also to solve specific problems such as singular perturbed BVP [8] as well as integro-de [9] Two-point BVP are usually solved by iterative techniques The most common approaches are the shooting methods, transforming the BVP into IVP With respect to the analytical LS approach proposed in Ref [7], this paper has developed a practical, fast and easy to implement, numerical LS approach The proposed method does not require any sophisticated optimization technique to solve BVP applied to linear second-order nonhomogeneous DE Examples are provided with particularly emphasis on the approximate solutions accuracy levels Let s first consider the most common BVP whose constraints are y 1) = y 1 and y1) = y A constrained function is Substituting in Eq 10) we obtain δt f yx) = gx) + 1 x d g + y 1 g 1 ) x y g ) dg + g ) 1 g + f 0 g g 1 + g = f 1 y y 1 ) f 0 y1 + y In particular, using COP to describe gx), we have dt k T k 1) = 1, = k, x=1 Using these expressions in Eq 3) we obtain n { ξ k δt f d T k + k=0 [ dtk + 1)k 1 and = f 1 y y 1 ) f 0 y1 + y y 1 y x d T k + g ) 1 g x = ) 3) = k k 1) x=1 3 ] [ + f 0 T k 1)k + 1 y 1 y x ]} + 1)k 1 x = ) )

8 8 However, for k = 0 and k = 1, all three terms on the RHS of Eq ) becomes zeros d T k = dt k + 1)k 1 For this reason Eq ) must be selected as m { ξ k δt f d T k + k= = T k 1)k + 1 [ dtk + 1)k 1 = f 1 y y 1 ) f 0 y1 + y + 1)k 1 x = 0 for k = 0, 1 ] [ + f 0 T k 1)k + 1 The m 1) coefficients ξ k of Eq 5) are then computed by LS using Eq 7) A Numerical accuracy tests with known solution Consider the following BVP with constant coefficients, d y dt + dt + y = 0 y 1 y x ]} + 1)k 1 x = ) 5) { y0) = 1 subject to: y1) = 3, 6) whose solution is, yt) = e t +3e 1)te t, with derivatives, ẏt) = e t 3et t 3e+), and ÿt) = e t 3et t 6e+3) Figure 3 show the LS approach results for this test in terms of mean and standard deviation of P ξ λ) residuals top, left) and the condition number of matrix P T P top, center) as a function of the number of COP adopted m 1) to solve the LS problem The residuals of the DE of Eq 6) are provided top, right), and the errors of the LS solution, yt) bottom, left), the first derivative, ẏt) bottom, center), and the second derivative, ÿt) bottom, right), with respect to the true solution, are provided Fig 3 IVP least-square results for Eq 6) and for m [3, 3] Shooting methods are transforming BVP into IVP Numerical integrations of IVP, provide subsequent estimates based on previous estimates This implies that the error, in general, is accumulating In the contrary, the accuracy provided by LS solution is uniformly distributed within the integration bounds If more accuracy is desired on a specific range, then by increasing the number of points on that range or by providing greater weights to the points on that range, the accuracy increase is obtained where desired

9 9 B Tests with unknown solution, with no solution, and with infinite solutions Consider the DE with unknown solution, 1 + t) d y dt + cos t 3t + 1 ) dt + 6 sin t e cos3t)) y = [1 sin3t)]3t π), t subject to y0) = and y1) = In this case the LS solution results are given in the plots of Fig with the same meaning to those provided in Fig 3 The LS solution accuracy increases up to m = 1-degree COP The standard deviation of the residuals reaches about 10 1 accuracy level while the DE residuals are lower than Fig Results with unknown solution Consider the following BVP with no solution, d y dt 6 dt + 5 y = 0 { y0) = 1 subject to: yπ) = 7) In fact, the general solution of Eq 7) is yt) = [a cos t) + b sin t)] e 3 t, where the constraint y0) = 1 gives a = 1 while the constraint yπ) = gives = e 3 π, a wrong identity! Figure 5 shows the results when trying to solve by LS the problem given in Eq 7) For this example the number of COP terms has been increased up to when the matrix P T P become numerically singular, at m =, with a condition number value above The mean and standard deviation of the P ξ λ) residuals show no convergence while the condition number of P T P indicates that the problem has no solution It is possible to show that, even in the no solution case, the proposed LS approach provides anyway a solution complying with the DE constraints! Finally, consider the BVP with infinite solutions, d y dt + y = 0 { y0) = subject to: yπ) = 8) In fact, the general solution of Eq 8) is, yt) = a cos t) + b sin t), consisting of infinite solutions as b can have any value Results of the LS approach are given in Fig 6 showing the convergence, but not at machine level accuracy Note the differences between the two cases of no and infinite solutions Both of them experience bad condition number, but the convergence is experienced in the infinite solution case, only

10 10 Fig 5 Results with NO solution C Constraints: yt 1 ) = y 1 and ẏt ) = ẏ ẏ x = ẏ δt yx) = gx) + y 1 g 1 ) + x + 1)ẏ x ġ ) can be used Substituting this equation in Eq 10), we obtain δt f d g + ) dg ġ + f 0 [g g 1 ġ x + 1)] = = f ẏ x f 0 [y 1 + ẏ x x + 1)] 9) Then, using the expressions provided in Eqs 13-16) in Eq 9) the LS solution can be obtained using the procedure described in Eqs 6-7) Equation 9) has been tested, providing excellent results, which are not included for sake of brevity D Constraints: yt 1 ) = y 1 and ÿt ) = ÿ ÿ x = ÿ δt yx) = gx) x y 1 g 1 ) + x + x ÿ x g ) can be used Substituting this equation in Eq 10), we obtain d ) δt f g g + ) dg + g x + 1 x ) + x 1 g + f 0 g + g 1 x g = = f δt ÿxf ) δt f x + 1 x ) 30) + x 1 y 1 + ÿ x f 0 y 1 x + ÿ x Then, using the expressions provided in Eqs 13-16) in Eq 30) the LS solution can be obtained using the procedure described in Eqs 6-7) Equation 30) has been tested, providing excellent results, which are not included for sake of brevity

11 11 Fig 6 Results with infinite solutions E Constraints: ẏt 1 ) = ẏ 1 ẏ 1x = ẏ 1 δt and yt ) = y yx) = gx) + y g ) + x 1)ẏ 1x ġ 1 ) can be used Substituting this equation in Eq 10), we obtain δt f d g + ) dg ġ 1 + f 0 [g g ġ 1 x 1)] = = f δtẏ1xf 1 f 0 [y + ẏ 1x x 1)] 31) Then, using the expressions provided in Eqs 13-16) in Eq 31) the LS solution can be obtained using the procedure described in Eqs 6-7) Equation 31) has been tested, providing excellent results, which are not included for sake of brevity F Constraints: ẏt 1 ) = ẏ 1 ẏ 1x = ẏ 1 δt and ẏt ) = ẏ ẏ x = ẏ δt yx) = gx) + x 1 x ) ẏ 1x ġ 1 ) + x 1 + x ) ẏ x ġ ) can be used Substituting this equation in Eq 10), we obtain d ) δt f g + ġ1 ġ + [ dg ġ11 ] x) + ġ x + 1) + { + f 0 g x [ġ 1 1 x ) x )]} + ġ + 1 = f δt ẏ x ẏ 1x )f 1 δt f x 1 [ẏ 1x 1 x) + ẏ x x + 1)] f 0 [ẏ 1x 1 x ) x )] + ẏ x + 1 3)

12 1 Then, using the expressions provided in Eqs 13-16) in Eq 3) the LS solution can be obtained using the procedure described in Eqs 6-7) Equation 3) has been tested for the special case of the Mathieu s DE [11] G Constraints: ẏt 1 ) = ẏ 1 ẏ 1x = ẏ 1 δt and ÿt ) = ÿ ÿ x = ÿ δt x ) yx) = gx) + x ẏ 1x ġ 1 ) + x + 1 ÿ x g ) can be used Substituting this equation in Eq 10), we obtain d ) δt f g g + [ ] dg x ) ] ġ 1 g x + 1) + f 0 [g ġ 1 x g + 1 x = = f δt ÿxf [ x ) ] 33) [ẏ 1x + ÿ x x + 1)] f 0 ẏ 1x x + ÿ x + 1 x Then, using the expressions provided in Eqs 13-16) in Eq 33) the LS solution can be obtained using the procedure described in Eqs 6-7) Equation 33) has been tested, providing excellent results, which are not included for sake of brevity H Constraints: ÿt 1 ) = ÿ 1 ÿ 1x = ÿ 1 δt and yx ) = y yx) = gx) + x y g ) + x x 1)ÿ 1 g 1 ) can be used Substituting this equation in Eq 10), we obtain d ) δt f g g 1 + ) dg g x 1 x ) x g 1 + f 0 g g x g 1 = = f δt ÿ1f ) δt f x 1 x ) 3) x 1 y + ÿ 1 f 0 y + ÿ 1 Then, using the expressions provided in Eqs 13-16) in Eq 3) the LS solution can be obtained using the procedure described in Eqs 6-7) Equation 3) has been tested, providing excellent results, which are not included for sake of brevity I Constraints: ÿt 1 ) = ÿ 1 ÿ 1x = ÿ 1 δt and ẏt ) = ẏ ẏ x = ẏ δt yx) = gx) + x ẏ x ġ ) + x x )ÿ 1 g 1 ) can be used Substituting this equation in Eq 10), we obtain d ) δt f g g 1 + [ ] )] dg x ġ g 1 x 1) + f 0 [g ġ x g 1 x = f δt ÿ1f [ẏ x + ÿ 1 x 1)] f 0 = )] x 35) [ẏ x x + ÿ 1 x Then, using the expressions provided in Eqs 13-16) in Eq 35) the LS solution can be obtained using the procedure described in Eqs 6-7) Equation 35) has been tested, providing excellent results, which are not included for sake of brevity J Constraints: ÿt 1 ) = ÿ 1 ÿ 1x = ÿ 1 δt and ÿt ) = ÿ ÿ x = ÿ δt yx) = gx) + x 1 3 x)ÿ 1x g 1 ) + x x)ÿ x g ) can be used Substituting this equation in Eq 10), we obtain [ d δt f g g ] 11 x) + g x + 1) + + [ dg g 1x x ) + g x ] + x) + [ +f 0 g g 13x x 3 ) + g x 3 + 3x ] ) = 1 = f δt f [ÿ 1x 1 x) + ÿ 1x x + 1)] ÿ 1 x x ) + ÿ x x + x) f 0 ÿ 1x 3x x 3 ) + ÿ x x 3 + 3x ) 1 36)

13 13 Then, using the expressions provided in Eqs 13-16) in Eq 36) the LS solution can be obtained using the procedure described in Eqs 6-7) Equation 36) has been tested, providing excellent results, which are not included for sake of brevity K Optimal control example: state known at initial time and costate at final time This example consists of the linear DE, {ẋ } [ ] { } A11 t) A = 1 t) x λ A 1 t) A t) λ subject to: with the constrained expressions, { xt) = gx t) + x 0 g x0 ) λt) = g λ t) + λ f g λf ) Assuming, x = {x, ẋ} T and λ = {λ x, λẋ} T, then [ ] ht t) g x t) = α ḣ T t) and [ ] β T g λ t) = ht) γ T and the constrained expressions become, [ ] ht h T 0 xt) = x 0 + α ḣ T ḣt 0 and [ ] β T λt) = λ f + h h γ T f ) Then, the namic equation becomes, [ḣt ] [ ] ht h T 0 α A 11 [ ḧ T ] [ ḣ T ḣt 0] β T ht h T 0 ḣ A γ T 1 ḣ T ḣt 0 which can be written in matrix form, where [ ] β T α A 1 h h γ T f ) = A 11 x 0 + A 1 λ f α A [ β T γ T ] h h f ) = A 1 x 0 + A λ f, { xt0 ) = x 0 λt f ) = λ f, 37) α [ ] { } M β = A11 A 1 x0, 38) A γ 1 A λ f [ḣt ] [ ] [ ] [ ] ht h T 0 ht h T f 0 T A 11 A M = ḧ T ḣ T 1 A ḣt 0 0 T 1 h T h T [ ] f ht h T [ḣt ] [ ] [ ] [ ] 0 ht h T f 0 T 0 T A 1 A ḣ T ḣt 0 0 T A 0 T ḣ T h T h T f Equation 38) is linear in the unknown coefficients vectors: α, β, and γ) and, therefore, it can be solved by LS as done in the previous numerical examples Equation 37) can be subject to different constraints The following are two examples that can be solved by LS using the corresponding constrained expressions, { { xt0 ) = x 0 xt) = gx t) + x 0 g x0 ) + t t 0 )ẋ 0 ġ x0 ) ẋt 0 ) = ẋ 0 { xt0 ) = x 0 λt f ) = xt f ) λt) = g λ t) { xt) = gx t) + x 0 g x0 ) λt) = g λ t) + g xf + x 0 g x0 g λf ) CONCLUSIONS AND FUTURE WORK This stu presents a new approach to provide least-squares solutions of linear nonhomogeneous differential equations of any order with nonconstant coefficients, continuous and non singular in the independent variable integration range For sake of brevity and without loosing generality, the implementation of the proposed method has been applied to second order differential equations This least-squares approach can be adopted to solve initial and boundary value problems with constraints given in terms of the function and/or derivatives The proposed method is based on searching the solution with a specific expression, called constrained expression, which is a function with embedded differential equation constraints This expression is given in terms of a new unknown function, gt) The original differential equation is rewritten in terms of gt), thus obtaining a new differential equation where the constraints are embedded in the differential equation itself Then, the gt) function is expressed as a linear combination of basis functions, ht) The coefficients of this linear expansion are then computed by least-squares by specializing the new differential equation for a set of N different values of the independent variable In this stu the Chebyshev orthogonal polynomial of the first kind have been selected as basis functions This choice may not be a good choice because each subsequent derivative degree

14 1 increases the range by approximately one order of magnitude and because polynomials are in general a bad choice to describe potential periodic solutions) Numerical tests have been performed for initial value problems with known solution A direct comparison has been made with the solution provided by MATLAB function ODE5, implementing the Runge-Kutta-Fehlberg variable-step integrator In this test, the least-squares approach shows five orders of magnitude accuracy gain Numerical tests have been performed for boundary value problems for the four cases of known, unknown, no, and infinite solutions In particular, the condition number and the residual mean of the least-square approach can be used to discriminate whether a boundary value problem has no solution or infinite solutions The proposed method is easy to implement, not iterative and, as opposed to classic numerical approaches, the solution error distribution do not increase along the integration but it is approximately uniformly distributed in the integration range In addition, the proposed technique is identical to solve initial and boundary value problems The method can also be used to solve higher order linear differential equations with linear constraints This stu is not complete as many investigations should be performed before setting this approach as a standard way to integrate linear differential equations Many research areas are still open, full of question marks A few of these open research areas are: 1) Extension to weighted least-squares; ) Nonuniform distribution of points and optimal distributions of points to increase accuracy in specific ranges of interest; 3) Comparisons with different function bases and identification of an optimal function base if it exists!); ) Analysis using Fourier bases; 5) Accuracy analysis of number of basis functions versus points distribution; 6) Extension to nonlinear differential equations; 7) Extension to partial differential equations 8) Extension to nonlinear constraints This stu does not provide answers to the above questions, but it provides suggestions of important area of research and basic tools to dig REFERENCES [1] Mortari, D The Theory of Connections Part 1: Connecting Points, AAS of 017 AAS/AIAA Space Flight Mechanics Meeting Conference, San Antonio, TX, February 5-9, 017 [] Strang, G Differential Equations and Linear Algebra, Wellesley-Cambridge Press, 015, ISBN , [3] Lin, Y, Enszer, JA, and Stadtherr, MA Enclosing all Solutions of Two-Point Boundary Value Problems for ODEs, Computers and Chemical Engineering, 008, pp [] Venkataraman, P A New Class of Analytical Solutions to Nonlinear Boundary Value Problems, DETC , 5th Computers and Information in Engineering CIE) Conference, Long Beach, CA, September, 005 [5] Venkataraman, P Explicit Solutions for Linear Boundary Value Problems using Bézier Functions, DETC , 6th Computers and Information in Engineering CIE) Conference, Philadelphia, PA, September, 006 [6] Venkataraman, P and Michopoulos, JG Explicit Solutions for Nonlinear Partial Differential Equations, DETC , 7th Computers and Information in Engineering CIE) Conference, Las Vegas, NA, September, 007 [7] Zheng, JM, Sederberg, TW, and Johnson, RW Least-Squares Methods for Solving Differential Equations using Bézier Control Points, Applied Numerical Mathematics, Vol 8, No, Feb 00, pp 37-5 [8] Evrenosoglu, M, Somali, S Least-Squares Methods for Solving Singular Perturbed Two-Point Boundary Value Problems Using Bézier Control Points, Applied Mathematics Letters, Vol 1, No 10, Oct 008, pp [9] Ghomanjani, F, Kamyad, AV, and Kiliman, A Bézier Curves Method for Fourth-Order Integro-Differential Equations, Abstract and Applied Analysis, Vol 013, Article ID 67058, 5 pages, 013 doi:101155/013/67058 [10] Doha, EH, Bhrawy, AH, and Saker, MA On the Derivatives of Bernstein Polynomials: An Application for the Solution of High Even-Order Differential Equations, Hindawi Publishing Corporation, Boundary Value Problems, Vol 011, Article ID 8953, 16 pages, doi:101155/011/8953 [11] Mathieu, E Mémoire sur Le Mouvement Vibratoire d une Membrane de Forme Elliptique, Journal de Mathématiques Pures et Appliquées, , 1868 [1] Meixner, J and Schäfke, FW Mathieusche Funktionen und Sphäroidfunktionen Springer, 195

Received: 30 July 2017; Accepted: 29 September 2017; Published: 8 October 2017

Received: 30 July 2017; Accepted: 29 September 2017; Published: 8 October 2017 mathematics Article Least-Squares Solution o Linear Dierential Equations Daniele Mortari ID Aerospace Engineering, Texas A&M University, College Station, TX 77843, USA; mortari@tamu.edu; Tel.: +1-979-845-734

More information

Lecture IX. Definition 1 A non-singular Sturm 1 -Liouville 2 problem consists of a second order linear differential equation of the form.

Lecture IX. Definition 1 A non-singular Sturm 1 -Liouville 2 problem consists of a second order linear differential equation of the form. Lecture IX Abstract When solving PDEs it is often necessary to represent the solution in terms of a series of orthogonal functions. One way to obtain an orthogonal family of functions is by solving a particular

More information

Ordinary Differential Equation Theory

Ordinary Differential Equation Theory Part I Ordinary Differential Equation Theory 1 Introductory Theory An n th order ODE for y = y(t) has the form Usually it can be written F (t, y, y,.., y (n) ) = y (n) = f(t, y, y,.., y (n 1) ) (Implicit

More information

CHAPTER 1. Theory of Second Order. Linear ODE s

CHAPTER 1. Theory of Second Order. Linear ODE s A SERIES OF CLASS NOTES FOR 2005-2006 TO INTRODUCE LINEAR AND NONLINEAR PROBLEMS TO ENGINEERS, SCIENTISTS, AND APPLIED MATHEMATICIANS DE CLASS NOTES 2 A COLLECTION OF HANDOUTS ON SCALAR LINEAR ORDINARY

More information

ORDINARY DIFFERENTIAL EQUATIONS

ORDINARY DIFFERENTIAL EQUATIONS ORDINARY DIFFERENTIAL EQUATIONS GABRIEL NAGY Mathematics Department, Michigan State University, East Lansing, MI, 48824. JANUARY 3, 25 Summary. This is an introduction to ordinary differential equations.

More information

x 3y 2z = 6 1.2) 2x 4y 3z = 8 3x + 6y + 8z = 5 x + 3y 2z + 5t = 4 1.5) 2x + 8y z + 9t = 9 3x + 5y 12z + 17t = 7

x 3y 2z = 6 1.2) 2x 4y 3z = 8 3x + 6y + 8z = 5 x + 3y 2z + 5t = 4 1.5) 2x + 8y z + 9t = 9 3x + 5y 12z + 17t = 7 Linear Algebra and its Applications-Lab 1 1) Use Gaussian elimination to solve the following systems x 1 + x 2 2x 3 + 4x 4 = 5 1.1) 2x 1 + 2x 2 3x 3 + x 4 = 3 3x 1 + 3x 2 4x 3 2x 4 = 1 x + y + 2z = 4 1.4)

More information

ORDINARY DIFFERENTIAL EQUATIONS

ORDINARY DIFFERENTIAL EQUATIONS ORDINARY DIFFERENTIAL EQUATIONS GABRIEL NAGY Mathematics Department, Michigan State University, East Lansing, MI, 4884 NOVEMBER 9, 7 Summary This is an introduction to ordinary differential equations We

More information

Polytechnic Institute of NYU MA 2132 Final Practice Answers Fall 2012

Polytechnic Institute of NYU MA 2132 Final Practice Answers Fall 2012 Polytechnic Institute of NYU MA Final Practice Answers Fall Studying from past or sample exams is NOT recommended. If you do, it should be only AFTER you know how to do all of the homework and worksheet

More information

Fourth Order RK-Method

Fourth Order RK-Method Fourth Order RK-Method The most commonly used method is Runge-Kutta fourth order method. The fourth order RK-method is y i+1 = y i + 1 6 (k 1 + 2k 2 + 2k 3 + k 4 ), Ordinary Differential Equations (ODE)

More information

CHAPTER 10: Numerical Methods for DAEs

CHAPTER 10: Numerical Methods for DAEs CHAPTER 10: Numerical Methods for DAEs Numerical approaches for the solution of DAEs divide roughly into two classes: 1. direct discretization 2. reformulation (index reduction) plus discretization Direct

More information

A Gauss Lobatto quadrature method for solving optimal control problems

A Gauss Lobatto quadrature method for solving optimal control problems ANZIAM J. 47 (EMAC2005) pp.c101 C115, 2006 C101 A Gauss Lobatto quadrature method for solving optimal control problems P. Williams (Received 29 August 2005; revised 13 July 2006) Abstract This paper proposes

More information

The Chebyshev Collection Method for Solving Fractional Order Klein-Gordon Equation

The Chebyshev Collection Method for Solving Fractional Order Klein-Gordon Equation The Chebyshev Collection Method for Solving Fractional Order Klein-Gordon Equation M. M. KHADER Faculty of Science, Benha University Department of Mathematics Benha EGYPT mohamedmbd@yahoo.com N. H. SWETLAM

More information

Physics 250 Green s functions for ordinary differential equations

Physics 250 Green s functions for ordinary differential equations Physics 25 Green s functions for ordinary differential equations Peter Young November 25, 27 Homogeneous Equations We have already discussed second order linear homogeneous differential equations, which

More information

Lecture 4: Numerical solution of ordinary differential equations

Lecture 4: Numerical solution of ordinary differential equations Lecture 4: Numerical solution of ordinary differential equations Department of Mathematics, ETH Zürich General explicit one-step method: Consistency; Stability; Convergence. High-order methods: Taylor

More information

multistep methods Last modified: November 28, 2017 Recall that we are interested in the numerical solution of the initial value problem (IVP):

multistep methods Last modified: November 28, 2017 Recall that we are interested in the numerical solution of the initial value problem (IVP): MATH 351 Fall 217 multistep methods http://www.phys.uconn.edu/ rozman/courses/m351_17f/ Last modified: November 28, 217 Recall that we are interested in the numerical solution of the initial value problem

More information

Chapter 4: Higher-Order Differential Equations Part 1

Chapter 4: Higher-Order Differential Equations Part 1 Chapter 4: Higher-Order Differential Equations Part 1 王奕翔 Department of Electrical Engineering National Taiwan University ihwang@ntu.edu.tw October 8, 2013 Higher-Order Differential Equations Most of this

More information

Differential Equations Practice: 2nd Order Linear: Nonhomogeneous Equations: Undetermined Coefficients Page 1

Differential Equations Practice: 2nd Order Linear: Nonhomogeneous Equations: Undetermined Coefficients Page 1 Differential Equations Practice: 2nd Order Linear: Nonhomogeneous Equations: Undetermined Coefficients Page 1 Questions Example (3.5.3) Find a general solution of the differential equation y 2y 3y = 3te

More information

MA22S3 Summary Sheet: Ordinary Differential Equations

MA22S3 Summary Sheet: Ordinary Differential Equations MA22S3 Summary Sheet: Ordinary Differential Equations December 14, 2017 Kreyszig s textbook is a suitable guide for this part of the module. Contents 1 Terminology 1 2 First order separable 2 2.1 Separable

More information

Numerical Methods - Initial Value Problems for ODEs

Numerical Methods - Initial Value Problems for ODEs Numerical Methods - Initial Value Problems for ODEs Y. K. Goh Universiti Tunku Abdul Rahman 2013 Y. K. Goh (UTAR) Numerical Methods - Initial Value Problems for ODEs 2013 1 / 43 Outline 1 Initial Value

More information

MB4018 Differential equations

MB4018 Differential equations MB4018 Differential equations Part II http://www.staff.ul.ie/natalia/mb4018.html Prof. Natalia Kopteva Spring 2015 MB4018 (Spring 2015) Differential equations Part II 0 / 69 Section 1 Second-Order Linear

More information

Mathematics Qualifying Exam Study Material

Mathematics Qualifying Exam Study Material Mathematics Qualifying Exam Study Material The candidate is expected to have a thorough understanding of engineering mathematics topics. These topics are listed below for clarification. Not all instructors

More information

Lecture 9. Systems of Two First Order Linear ODEs

Lecture 9. Systems of Two First Order Linear ODEs Math 245 - Mathematics of Physics and Engineering I Lecture 9. Systems of Two First Order Linear ODEs January 30, 2012 Konstantin Zuev (USC) Math 245, Lecture 9 January 30, 2012 1 / 15 Agenda General Form

More information

LINEAR EQUATIONS OF HIGHER ORDER. EXAMPLES. General framework

LINEAR EQUATIONS OF HIGHER ORDER. EXAMPLES. General framework Differential Equations Grinshpan LINEAR EQUATIONS OF HIGHER ORDER. EXAMPLES. We consider linear ODE of order n: General framework (1) x (n) (t) + P n 1 (t)x (n 1) (t) + + P 1 (t)x (t) + P 0 (t)x(t) = 0

More information

Polynomial Solutions of the Laguerre Equation and Other Differential Equations Near a Singular

Polynomial Solutions of the Laguerre Equation and Other Differential Equations Near a Singular Polynomial Solutions of the Laguerre Equation and Other Differential Equations Near a Singular Point Abstract Lawrence E. Levine Ray Maleh Department of Mathematical Sciences Stevens Institute of Technology

More information

Logistic Map, Euler & Runge-Kutta Method and Lotka-Volterra Equations

Logistic Map, Euler & Runge-Kutta Method and Lotka-Volterra Equations Logistic Map, Euler & Runge-Kutta Method and Lotka-Volterra Equations S. Y. Ha and J. Park Department of Mathematical Sciences Seoul National University Sep 23, 2013 Contents 1 Logistic Map 2 Euler and

More information

ON THE NUMERICAL SOLUTION FOR THE FRACTIONAL WAVE EQUATION USING LEGENDRE PSEUDOSPECTRAL METHOD

ON THE NUMERICAL SOLUTION FOR THE FRACTIONAL WAVE EQUATION USING LEGENDRE PSEUDOSPECTRAL METHOD International Journal of Pure and Applied Mathematics Volume 84 No. 4 2013, 307-319 ISSN: 1311-8080 (printed version); ISSN: 1314-3395 (on-line version) url: http://www.ijpam.eu doi: http://dx.doi.org/10.12732/ijpam.v84i4.1

More information

MATH 307: Problem Set #7

MATH 307: Problem Set #7 MATH 307: Problem Set #7 Due on: Feb 11, 2016 Problem 1 First-order Variation of Parameters The method of variation of parameters uses the homogeneous solutions of a linear ordinary differential equation

More information

Solutions to Math 53 Math 53 Practice Final

Solutions to Math 53 Math 53 Practice Final Solutions to Math 5 Math 5 Practice Final 20 points Consider the initial value problem y t 4yt = te t with y 0 = and y0 = 0 a 8 points Find the Laplace transform of the solution of this IVP b 8 points

More information

Math Ordinary Differential Equations

Math Ordinary Differential Equations Math 411 - Ordinary Differential Equations Review Notes - 1 1 - Basic Theory A first order ordinary differential equation has the form x = f(t, x) (11) Here x = dx/dt Given an initial data x(t 0 ) = x

More information

Solutions To Odes And Pdes Numerical Analysis Using R

Solutions To Odes And Pdes Numerical Analysis Using R We have made it easy for you to find a PDF Ebooks without any digging. And by having access to our ebooks online or by storing it on your computer, you have convenient answers with solutions to odes and

More information

Series Solutions of Linear ODEs

Series Solutions of Linear ODEs Chapter 2 Series Solutions of Linear ODEs This Chapter is concerned with solutions of linear Ordinary Differential Equations (ODE). We will start by reviewing some basic concepts and solution methods for

More information

Ordinary Differential Equations

Ordinary Differential Equations CHAPTER 8 Ordinary Differential Equations 8.1. Introduction My section 8.1 will cover the material in sections 8.1 and 8.2 in the book. Read the book sections on your own. I don t like the order of things

More information

Bézier Description of Space Trajectories

Bézier Description of Space Trajectories Bézier Description of Space Trajectories Francesco de Dilectis, Daniele Mortari, Texas A&M University, College Station, Texas and Renato Zanetti NASA Jonhson Space Center, Houston, Texas I. Introduction

More information

Formulation of Linear Constant Coefficient ODEs

Formulation of Linear Constant Coefficient ODEs E E 380 Linear Control Systems Supplementary Reading Methods for Solving Linear Constant Coefficient ODEs In this note, we present two methods for solving linear constant coefficient ordinary differential

More information

Understand the existence and uniqueness theorems and what they tell you about solutions to initial value problems.

Understand the existence and uniqueness theorems and what they tell you about solutions to initial value problems. Review Outline To review for the final, look over the following outline and look at problems from the book and on the old exam s and exam reviews to find problems about each of the following topics.. Basics

More information

Chapter 8. Numerical Solution of Ordinary Differential Equations. Module No. 1. Runge-Kutta Methods

Chapter 8. Numerical Solution of Ordinary Differential Equations. Module No. 1. Runge-Kutta Methods Numerical Analysis by Dr. Anita Pal Assistant Professor Department of Mathematics National Institute of Technology Durgapur Durgapur-71309 email: anita.buie@gmail.com 1 . Chapter 8 Numerical Solution of

More information

11.6. Parametric Differentiation. Introduction. Prerequisites. Learning Outcomes

11.6. Parametric Differentiation. Introduction. Prerequisites. Learning Outcomes Parametric Differentiation 11.6 Introduction Sometimes the equation of a curve is not be given in Cartesian form y f(x) but in parametric form: x h(t), y g(t). In this Section we see how to calculate the

More information

2tdt 1 y = t2 + C y = which implies C = 1 and the solution is y = 1

2tdt 1 y = t2 + C y = which implies C = 1 and the solution is y = 1 Lectures - Week 11 General First Order ODEs & Numerical Methods for IVPs In general, nonlinear problems are much more difficult to solve than linear ones. Unfortunately many phenomena exhibit nonlinear

More information

Differential equations, comprehensive exam topics and sample questions

Differential equations, comprehensive exam topics and sample questions Differential equations, comprehensive exam topics and sample questions Topics covered ODE s: Chapters -5, 7, from Elementary Differential Equations by Edwards and Penney, 6th edition.. Exact solutions

More information

An Introduction to Numerical Methods for Differential Equations. Janet Peterson

An Introduction to Numerical Methods for Differential Equations. Janet Peterson An Introduction to Numerical Methods for Differential Equations Janet Peterson Fall 2015 2 Chapter 1 Introduction Differential equations arise in many disciplines such as engineering, mathematics, sciences

More information

Entrance Exam, Differential Equations April, (Solve exactly 6 out of the 8 problems) y + 2y + y cos(x 2 y) = 0, y(0) = 2, y (0) = 4.

Entrance Exam, Differential Equations April, (Solve exactly 6 out of the 8 problems) y + 2y + y cos(x 2 y) = 0, y(0) = 2, y (0) = 4. Entrance Exam, Differential Equations April, 7 (Solve exactly 6 out of the 8 problems). Consider the following initial value problem: { y + y + y cos(x y) =, y() = y. Find all the values y such that the

More information

PH.D. PRELIMINARY EXAMINATION MATHEMATICS

PH.D. PRELIMINARY EXAMINATION MATHEMATICS UNIVERSITY OF CALIFORNIA, BERKELEY SPRING SEMESTER 207 Dept. of Civil and Environmental Engineering Structural Engineering, Mechanics and Materials NAME PH.D. PRELIMINARY EXAMINATION MATHEMATICS Problem

More information

The Unifying View on Ordinary Differential Equations and Automatic Differentiation, yet with a Gap to Fill Alexander Gofen.

The Unifying View on Ordinary Differential Equations and Automatic Differentiation, yet with a Gap to Fill Alexander Gofen. The Unifying View on Ordinary Differential Equations and Automatic Differentiation, yet with a Gap to Fill Alexander Gofen Conventions Differentiation is understood as for holomorphic functions in the

More information

Homogeneous Equations with Constant Coefficients

Homogeneous Equations with Constant Coefficients Homogeneous Equations with Constant Coefficients MATH 365 Ordinary Differential Equations J. Robert Buchanan Department of Mathematics Spring 2018 General Second Order ODE Second order ODEs have the form

More information

APPM 2360 Section Exam 3 Wednesday November 19, 7:00pm 8:30pm, 2014

APPM 2360 Section Exam 3 Wednesday November 19, 7:00pm 8:30pm, 2014 APPM 2360 Section Exam 3 Wednesday November 9, 7:00pm 8:30pm, 204 ON THE FRONT OF YOUR BLUEBOOK write: () your name, (2) your student ID number, (3) lecture section, (4) your instructor s name, and (5)

More information

Butcher tableau Can summarize an s + 1 stage Runge Kutta method using a triangular grid of coefficients

Butcher tableau Can summarize an s + 1 stage Runge Kutta method using a triangular grid of coefficients AM 205: lecture 13 Last time: ODE convergence and stability, Runge Kutta methods Today: the Butcher tableau, multi-step methods, boundary value problems Butcher tableau Can summarize an s + 1 stage Runge

More information

First Order Linear Ordinary Differential Equations

First Order Linear Ordinary Differential Equations First Order Linear Ordinary Differential Equations The most general first order linear ODE is an equation of the form p t dy dt q t y t f t. 1 Herepqarecalledcoefficients f is referred to as the forcing

More information

Ordinary Differential Equations (ODEs)

Ordinary Differential Equations (ODEs) Ordinary Differential Equations (ODEs) 1 Computer Simulations Why is computation becoming so important in physics? One reason is that most of our analytical tools such as differential calculus are best

More information

Ordinary Differential Equations

Ordinary Differential Equations Ordinary Differential Equations We call Ordinary Differential Equation (ODE) of nth order in the variable x, a relation of the kind: where L is an operator. If it is a linear operator, we call the equation

More information

M A : Ordinary Differential Equations

M A : Ordinary Differential Equations M A 2 0 5 1: Ordinary Differential Equations Essential Class Notes & Graphics D 19 * 2018-2019 Sections D07 D11 & D14 1 1. INTRODUCTION CLASS 1 ODE: Course s Overarching Functions An introduction to the

More information

Find the Fourier series of the odd-periodic extension of the function f (x) = 1 for x ( 1, 0). Solution: The Fourier series is.

Find the Fourier series of the odd-periodic extension of the function f (x) = 1 for x ( 1, 0). Solution: The Fourier series is. Review for Final Exam. Monday /09, :45-:45pm in CC-403. Exam is cumulative, -4 problems. 5 grading attempts per problem. Problems similar to homeworks. Integration and LT tables provided. No notes, no

More information

APPM 2360: Midterm 3 July 12, 2013.

APPM 2360: Midterm 3 July 12, 2013. APPM 2360: Midterm 3 July 12, 2013. ON THE FRONT OF YOUR BLUEBOOK write: (1) your name, (2) your instructor s name, (3) your recitation section number and (4) a grading table. Text books, class notes,

More information

Solutions to Homework 3

Solutions to Homework 3 Solutions to Homework 3 Section 3.4, Repeated Roots; Reduction of Order Q 1). Find the general solution to 2y + y = 0. Answer: The charactertic equation : r 2 2r + 1 = 0, solving it we get r = 1 as a repeated

More information

An Analysis of Five Numerical Methods for Approximating Certain Hypergeometric Functions in Domains within their Radii of Convergence

An Analysis of Five Numerical Methods for Approximating Certain Hypergeometric Functions in Domains within their Radii of Convergence An Analysis of Five Numerical Methods for Approximating Certain Hypergeometric Functions in Domains within their Radii of Convergence John Pearson MSc Special Topic Abstract Numerical approximations of

More information

Series Solutions of Differential Equations

Series Solutions of Differential Equations Chapter 6 Series Solutions of Differential Equations In this chapter we consider methods for solving differential equations using power series. Sequences and infinite series are also involved in this treatment.

More information

Math 256: Applied Differential Equations: Final Review

Math 256: Applied Differential Equations: Final Review Math 256: Applied Differential Equations: Final Review Chapter 1: Introduction, Sec 1.1, 1.2, 1.3 (a) Differential Equation, Mathematical Model (b) Direction (Slope) Field, Equilibrium Solution (c) Rate

More information

Integration of Differential Equations

Integration of Differential Equations Integration of Differential Equations Gabriel S. Cabrera August 4, 018 Contents 1 Introduction 1 Theory.1 Linear 1 st Order ODEs................................. 3.1.1 Analytical Solution...............................

More information

Space Surveillance with Star Trackers. Part II: Orbit Estimation

Space Surveillance with Star Trackers. Part II: Orbit Estimation AAS -3 Space Surveillance with Star Trackers. Part II: Orbit Estimation Ossama Abdelkhalik, Daniele Mortari, and John L. Junkins Texas A&M University, College Station, Texas 7783-3 Abstract The problem

More information

Chapter 2 Analytical Approximation Methods

Chapter 2 Analytical Approximation Methods Chapter 2 Analytical Approximation Methods 2.1 Introduction As we mentioned in the previous chapter, most of the nonlinear ODEs have no explicit solutions, i.e., solutions, which are expressible in finite

More information

HW3 - Due 02/06. Each answer must be mathematically justified. Don t forget your name. 1 2, A = 2 2

HW3 - Due 02/06. Each answer must be mathematically justified. Don t forget your name. 1 2, A = 2 2 HW3 - Due 02/06 Each answer must be mathematically justified Don t forget your name Problem 1 Find a 2 2 matrix B such that B 3 = A, where A = 2 2 If A was diagonal, it would be easy: we would just take

More information

arxiv: v9 [math-ph] 6 Nov 2014

arxiv: v9 [math-ph] 6 Nov 2014 Generalization of the three-term recurrence formula and its applications Yoon Seok Choun Baruch College, The City University of New York, Natural Science Department, A506, 7 Lexington Avenue, New York,

More information

An Overly Simplified and Brief Review of Differential Equation Solution Methods. 1. Some Common Exact Solution Methods for Differential Equations

An Overly Simplified and Brief Review of Differential Equation Solution Methods. 1. Some Common Exact Solution Methods for Differential Equations An Overly Simplified and Brief Review of Differential Equation Solution Methods We will be dealing with initial or boundary value problems. A typical initial value problem has the form y y 0 y(0) 1 A typical

More information

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

A Study on Linear and Nonlinear Stiff Problems. Using Single-Term Haar Wavelet Series Technique Int. Journal of Math. Analysis, Vol. 7, 3, no. 53, 65-636 HIKARI Ltd, www.m-hikari.com http://dx.doi.org/.988/ijma.3.3894 A Study on Linear and Nonlinear Stiff Problems Using Single-Term Haar Wavelet Series

More information

Theory, Solution Techniques and Applications of Singular Boundary Value Problems

Theory, Solution Techniques and Applications of Singular Boundary Value Problems Theory, Solution Techniques and Applications of Singular Boundary Value Problems W. Auzinger O. Koch E. Weinmüller Vienna University of Technology, Austria Problem Class z (t) = M(t) z(t) + f(t, z(t)),

More information

APPM 2360: Final Exam 10:30am 1:00pm, May 6, 2015.

APPM 2360: Final Exam 10:30am 1:00pm, May 6, 2015. APPM 23: Final Exam :3am :pm, May, 25. ON THE FRONT OF YOUR BLUEBOOK write: ) your name, 2) your student ID number, 3) lecture section, 4) your instructor s name, and 5) a grading table for eight questions.

More information

Identification Methods for Structural Systems. Prof. Dr. Eleni Chatzi Lecture March, 2016

Identification Methods for Structural Systems. Prof. Dr. Eleni Chatzi Lecture March, 2016 Prof. Dr. Eleni Chatzi Lecture 4-09. March, 2016 Fundamentals Overview Multiple DOF Systems State-space Formulation Eigenvalue Analysis The Mode Superposition Method The effect of Damping on Structural

More information

The family of Runge Kutta methods with two intermediate evaluations is defined by

The family of Runge Kutta methods with two intermediate evaluations is defined by AM 205: lecture 13 Last time: Numerical solution of ordinary differential equations Today: Additional ODE methods, boundary value problems Thursday s lecture will be given by Thomas Fai Assignment 3 will

More information

Boundary Value Problems (Sect. 10.1). Two-point Boundary Value Problem.

Boundary Value Problems (Sect. 10.1). Two-point Boundary Value Problem. Boundary Value Problems (Sect. 10.1). Two-point BVP. from physics. Comparison: IVP vs BVP. Existence, uniqueness of solutions to BVP. Particular case of BVP: Eigenvalue-eigenfunction problem. Two-point

More information

Permutations and Polynomials Sarah Kitchen February 7, 2006

Permutations and Polynomials Sarah Kitchen February 7, 2006 Permutations and Polynomials Sarah Kitchen February 7, 2006 Suppose you are given the equations x + y + z = a and 1 x + 1 y + 1 z = 1 a, and are asked to prove that one of x,y, and z is equal to a. We

More information

Math 310 Introduction to Ordinary Differential Equations Final Examination August 9, Instructor: John Stockie

Math 310 Introduction to Ordinary Differential Equations Final Examination August 9, Instructor: John Stockie Make sure this exam has 15 pages. Math 310 Introduction to Ordinary Differential Equations inal Examination August 9, 2006 Instructor: John Stockie Name: (Please Print) Student Number: Special Instructions

More information

Finite Differences for Differential Equations 28 PART II. Finite Difference Methods for Differential Equations

Finite Differences for Differential Equations 28 PART II. Finite Difference Methods for Differential Equations Finite Differences for Differential Equations 28 PART II Finite Difference Methods for Differential Equations Finite Differences for Differential Equations 29 BOUNDARY VALUE PROBLEMS (I) Solving a TWO

More information

Direct Optimal Control and Costate Estimation Using Least Square Method

Direct Optimal Control and Costate Estimation Using Least Square Method 21 American Control Conference Marriott Waterfront, Baltimore, MD, USA June 3-July 2, 21 WeB22.1 Direct Optimal Control and Costate Estimation Using Least Square Method Baljeet Singh and Raktim Bhattacharya

More information

An Efficient Numerical Method for Solving. the Fractional Diffusion Equation

An Efficient Numerical Method for Solving. the Fractional Diffusion Equation Journal of Applied Mathematics & Bioinformatics, vol.1, no.2, 2011, 1-12 ISSN: 1792-6602 (print), 1792-6939 (online) International Scientific Press, 2011 An Efficient Numerical Method for Solving the Fractional

More information

COMP 558 lecture 18 Nov. 15, 2010

COMP 558 lecture 18 Nov. 15, 2010 Least squares We have seen several least squares problems thus far, and we will see more in the upcoming lectures. For this reason it is good to have a more general picture of these problems and how to

More information

Higher Order Linear Equations Lecture 7

Higher Order Linear Equations Lecture 7 Higher Order Linear Equations Lecture 7 Dibyajyoti Deb 7.1. Outline of Lecture General Theory of nth Order Linear Equations. Homogeneous Equations with Constant Coefficients. 7.2. General Theory of nth

More information

Two-Point Boundary Value Problem and Optimal Feedback Control based on Differential Algebra

Two-Point Boundary Value Problem and Optimal Feedback Control based on Differential Algebra Two-Point Boundary Value Problem and Optimal Feedback Control based on Differential Algebra Politecnico di Milano Department of Aerospace Engineering Milan, Italy Taylor Methods and Computer Assisted Proofs

More information

Applied Differential Equation. November 30, 2012

Applied Differential Equation. November 30, 2012 Applied Differential Equation November 3, Contents 5 System of First Order Linear Equations 5 Introduction and Review of matrices 5 Systems of Linear Algebraic Equations, Linear Independence, Eigenvalues,

More information

ACM 95b/100b Final Exam March 12, 2004 Due March 17, 2004 ACM 95b/100b 3pm in Firestone 307 E. Sterl Phinney (2 pts) Include grading section number

ACM 95b/100b Final Exam March 12, 2004 Due March 17, 2004 ACM 95b/100b 3pm in Firestone 307 E. Sterl Phinney (2 pts) Include grading section number ACM 95b/100b Final Exam March 12, 2004 Due March 17, 2004 ACM 95b/100b 3pm in Firestone 307 E. Sterl Phinney 2 pts) Include grading section number The honor code is in effect. Please follow all of the

More information

Math 3313: Differential Equations Second-order ordinary differential equations

Math 3313: Differential Equations Second-order ordinary differential equations Math 3313: Differential Equations Second-order ordinary differential equations Thomas W. Carr Department of Mathematics Southern Methodist University Dallas, TX Outline Mass-spring & Newton s 2nd law Properties

More information

USING CARLEMAN EMBEDDING TO DISCOVER A SYSTEM S MOTION CONSTANTS

USING CARLEMAN EMBEDDING TO DISCOVER A SYSTEM S MOTION CONSTANTS (Preprint) AAS 12-629 USING CARLEMAN EMBEDDING TO DISCOVER A SYSTEM S MOTION CONSTANTS John E. Hurtado and Andrew J. Sinclair INTRODUCTION Although the solutions with respect to time are commonly sought

More information

A Numerical Solution of the Lax s 7 th -order KdV Equation by Pseudospectral Method and Darvishi s Preconditioning

A Numerical Solution of the Lax s 7 th -order KdV Equation by Pseudospectral Method and Darvishi s Preconditioning Int. J. Contemp. Math. Sciences, Vol. 2, 2007, no. 22, 1097-1106 A Numerical Solution of the Lax s 7 th -order KdV Equation by Pseudospectral Method and Darvishi s Preconditioning M. T. Darvishi a,, S.

More information

A Note on the Differential Equations with Distributional Coefficients

A Note on the Differential Equations with Distributional Coefficients MATEMATIKA, 24, Jilid 2, Bil. 2, hlm. 115 124 c Jabatan Matematik, UTM. A Note on the Differential Equations with Distributional Coefficients Adem Kilicman Department of Mathematics, Institute for Mathematical

More information

Additional Homework Problems

Additional Homework Problems Additional Homework Problems These problems supplement the ones assigned from the text. Use complete sentences whenever appropriate. Use mathematical terms appropriately. 1. What is the order of a differential

More information

Chapter 2 Optimal Control Problem

Chapter 2 Optimal Control Problem Chapter 2 Optimal Control Problem Optimal control of any process can be achieved either in open or closed loop. In the following two chapters we concentrate mainly on the first class. The first chapter

More information

Initial value problems for ordinary differential equations

Initial value problems for ordinary differential equations AMSC/CMSC 660 Scientific Computing I Fall 2008 UNIT 5: Numerical Solution of Ordinary Differential Equations Part 1 Dianne P. O Leary c 2008 The Plan Initial value problems (ivps) for ordinary differential

More information

Applied Math for Engineers

Applied Math for Engineers Applied Math for Engineers Ming Zhong Lecture 15 March 28, 2018 Ming Zhong (JHU) AMS Spring 2018 1 / 28 Recap Table of Contents 1 Recap 2 Numerical ODEs: Single Step Methods 3 Multistep Methods 4 Method

More information

Applied Numerical Analysis

Applied Numerical Analysis Applied Numerical Analysis Using MATLAB Second Edition Laurene V. Fausett Texas A&M University-Commerce PEARSON Prentice Hall Upper Saddle River, NJ 07458 Contents Preface xi 1 Foundations 1 1.1 Introductory

More information

Initial value problems for ordinary differential equations

Initial value problems for ordinary differential equations Initial value problems for ordinary differential equations Xiaojing Ye, Math & Stat, Georgia State University Spring 2019 Numerical Analysis II Xiaojing Ye, Math & Stat, Georgia State University 1 IVP

More information

A Model of Evolutionary Dynamics with Quasiperiodic Forcing

A Model of Evolutionary Dynamics with Quasiperiodic Forcing paper presented at Society for Experimental Mechanics (SEM) IMAC XXXIII Conference on Structural Dynamics February 2-5, 205, Orlando FL A Model of Evolutionary Dynamics with Quasiperiodic Forcing Elizabeth

More information

First Order ODEs, Part I

First Order ODEs, Part I Craig J. Sutton craig.j.sutton@dartmouth.edu Department of Mathematics Dartmouth College Math 23 Differential Equations Winter 2013 Outline 1 2 in General 3 The Definition & Technique Example Test for

More information

Math 308 Final Exam Practice Problems

Math 308 Final Exam Practice Problems Math 308 Final Exam Practice Problems This review should not be used as your sole source for preparation for the exam You should also re-work all examples given in lecture and all suggested homework problems

More information

Chapter 4: First-order differential equations. Similarity and Transport Phenomena in Fluid Dynamics Christophe Ancey

Chapter 4: First-order differential equations. Similarity and Transport Phenomena in Fluid Dynamics Christophe Ancey Chapter 4: First-order differential equations Similarity and Transport Phenomena in Fluid Dynamics Christophe Ancey Chapter 4: First-order differential equations Phase portrait Singular point Separatrix

More information

First and Second Order Differential Equations Lecture 4

First and Second Order Differential Equations Lecture 4 First and Second Order Differential Equations Lecture 4 Dibyajyoti Deb 4.1. Outline of Lecture The Existence and the Uniqueness Theorem Homogeneous Equations with Constant Coefficients 4.2. The Existence

More information

Lecture 42 Determining Internal Node Values

Lecture 42 Determining Internal Node Values Lecture 42 Determining Internal Node Values As seen in the previous section, a finite element solution of a boundary value problem boils down to finding the best values of the constants {C j } n, which

More information

4. Higher Order Linear DEs

4. Higher Order Linear DEs 4. Higher Order Linear DEs Department of Mathematics & Statistics ASU Outline of Chapter 4 1 General Theory of nth Order Linear Equations 2 Homogeneous Equations with Constant Coecients 3 The Method of

More information

SMOOTHNESS PROPERTIES OF SOLUTIONS OF CAPUTO- TYPE FRACTIONAL DIFFERENTIAL EQUATIONS. Kai Diethelm. Abstract

SMOOTHNESS PROPERTIES OF SOLUTIONS OF CAPUTO- TYPE FRACTIONAL DIFFERENTIAL EQUATIONS. Kai Diethelm. Abstract SMOOTHNESS PROPERTIES OF SOLUTIONS OF CAPUTO- TYPE FRACTIONAL DIFFERENTIAL EQUATIONS Kai Diethelm Abstract Dedicated to Prof. Michele Caputo on the occasion of his 8th birthday We consider ordinary fractional

More information

LEGENDRE POLYNOMIALS AND APPLICATIONS. We construct Legendre polynomials and apply them to solve Dirichlet problems in spherical coordinates.

LEGENDRE POLYNOMIALS AND APPLICATIONS. We construct Legendre polynomials and apply them to solve Dirichlet problems in spherical coordinates. LEGENDRE POLYNOMIALS AND APPLICATIONS We construct Legendre polynomials and apply them to solve Dirichlet problems in spherical coordinates.. Legendre equation: series solutions The Legendre equation is

More information

Non-Dimensional Star Identification for Un-Calibrated Star Cameras

Non-Dimensional Star Identification for Un-Calibrated Star Cameras Non-Dimensional Star Identification for Un-Calibrated Star Cameras Malak A. Samaan, Daniele Mortari, and John L. Junkins Department of Aerospace Engineering, Texas A&M University, College Station, TX 77843-3141

More information

Lösning: Tenta Numerical Analysis för D, L. FMN011,

Lösning: Tenta Numerical Analysis för D, L. FMN011, Lösning: Tenta Numerical Analysis för D, L. FMN011, 090527 This exam starts at 8:00 and ends at 12:00. To get a passing grade for the course you need 35 points in this exam and an accumulated total (this

More information

Only this exam and a pen or pencil should be on your desk.

Only this exam and a pen or pencil should be on your desk. Lin. Alg. & Diff. Eq., Spring 16 Student ID Circle your section: 31 MWF 8-9A 11 LATIMER LIANG 33 MWF 9-1A 11 LATIMER SHAPIRO 36 MWF 1-11A 37 CORY SHAPIRO 37 MWF 11-1P 736 EVANS WORMLEIGHTON 39 MWF -5P

More information