odesolve.tex 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. \documentstyle[11pt]{article}
  2. \title{ODESOLVE}
  3. \author{Malcolm A.H. MacCallum \\ Queen Mary and Westfield College, London
  4. \thanks{Other contributors: Francis Wright, Alan Barnes}}
  5. \begin{document}
  6. \date{}
  7. \maketitle
  8. \section{Summary}
  9. The ODESOLVE package is a solver for ordinary differential equations.
  10. At the present time it has very limited capabilities,
  11. \begin{enumerate}
  12. \item it can handle only a single scalar equation presented as an
  13. algebraic expression or equation, and
  14. \item it can solve only first-order equations of simple types,
  15. linear equations with constant coefficients and Euler equations.
  16. \end{enumerate}
  17. \noindent These solvable types are exactly those for
  18. which Lie symmetry techniques give no useful information.
  19. \section{Use}
  20. The only top-level function the user should normally invoke is:
  21. \vspace{.1in}
  22. \begin{tabbing}
  23. {\tt ODESOLVE}(\=EXPRN:{\em expression, equation}, \\
  24. \>VAR1:{\em variable}, \\
  25. \>VAR2:{\em variable}):{\em list-algebraic}
  26. \end{tabbing}
  27. \vspace{.1in}
  28. \noindent {\tt ODESOLVE} returns a list containing an equation (like solve):
  29. \begin{description}
  30. \item[EXPRN] is a single scalar expression such that EXPRN = 0 is the
  31. ordinary differential equation (ODE for short) to be solved,
  32. or is an equivalent equation.
  33. \item[VAR1] is the name of the dependent variable.
  34. \item[VAR2] is the name of the independent variable
  35. \end{description}
  36. \noindent (For simplicity these will be called y and x in the sequel)
  37. The returned value is a list containing the equation giving the
  38. general solution of the ODE (for simultaneous equations this will be a
  39. list of equations eventually). It will contain occurrences of the
  40. operator {\tt ARBCONST} for the arbitrary constants in the general solution.
  41. The arguments of {\tt ARBCONST} should be new, as with {\tt ARBINT} etc.
  42. in SOLVE. A counter {\tt !!ARBCONST} is used to arrange this (similar to the
  43. way {\tt ARBINT} is implemented).
  44. Some other top-level functions may be of use elsewhere, especially:
  45. \vspace{.1in}
  46. \noindent{\tt SORTOUTODE}(EXPRN:{\em algebraic}, Y:{\em var}, X:{\em var}):
  47. {\em expression}
  48. \vspace{.1in}
  49. \noindent which finds the order and degree of the EXPRN as a differential
  50. equation for Y with respect to Y and sets the linearity and highest
  51. derivative occurring in reserved variables ODEORDER, ODEDEGREE,
  52. ODELINEARITY and HIGHESTDERIV. An expression equivalent to the ODE is
  53. returned, or zero if EXPRN (equated to 0) is not an ODE in the
  54. given vars.
  55. Only in the version using variation of parameters:
  56. \vspace{.1in}
  57. \begin{tabbing}
  58. {\tt COFACTOR}(\=ROW:{\em integer}, \\
  59. \>COLUMN:{\em integer}, \\
  60. \>MATRIX:{\em matrix}):{\em algebraic}
  61. \end{tabbing}
  62. \vspace{.1in}
  63. \noindent The cofactor of the element in row ROW and column COLUMN of matrix
  64. MATRIX is returned. Errors occur if ROW or COLUMN do not simplify to integer
  65. expressions or if MATRIX is not square.
  66. \section{Tracing}
  67. Some rudimentary tracing is provided and is activated by the switch TRODE
  68. (analogous to TRFAC and TRINT)
  69. \section{Comments}
  70. The intention in the long run is to develop a rather general and
  71. powerful ordinary differential equation solver incorporating the
  72. methods detailed below. At present the program has not been optimized
  73. for efficiency and much work remains to be done to convert algebraic
  74. mode procedures to more efficient symbolic mode replacements.
  75. No attempt is made to extend the REDUCE integrator, although this is
  76. in some sense a problem of ODEs. Thus the equation $\frac{dy}{dx} = g(x)$ will
  77. be solved if and only if $\int g(x) dx$ succeeds.
  78. The available and planned coverage is as follows:
  79. \begin{itemize}
  80. \item First-order equations: (first degree unless otherwise stated)
  81. \begin{itemize}
  82. \item Quadrature of $\frac{df}{dx} = g(x)$
  83. \item Linear equations
  84. \item Separable equations
  85. \item (Algebraically) homogeneous equations
  86. \item Equations reducible to the previous case by linear transformations
  87. \item Exact equations
  88. \item Bernoulli equations
  89. \end{itemize}
  90. The above are already implemented. Further 1st order cases are not:
  91. \begin{itemize}
  92. \item Riccati equations using Schmidt's methods and other special cases
  93. \item Hypotheses on the integrating factor following Char (SYMSAC 81)
  94. or Shtokhamer, Glinos and Caviness.
  95. \item Higher degree cases
  96. \end{itemize}
  97. \item Linear equations of higher order
  98. \begin{itemize}
  99. \item Constant coefficients case for driving terms solvable by
  100. variation of parameters using the integrator
  101. (Choice of method is discussed in the source of module lccode).
  102. \end{itemize}
  103. The above is already implemented. Further higher order methods are not:
  104. \begin{itemize}
  105. \item More complex driving terms via Laplace transforms (?)
  106. \item Variable coefficients: Watanabe (EUROSAM 84) methods
  107. including Kovacic's algorithm as extended by Singer
  108. \item Factorization of operators as in Schwarz's ISSAC-89 paper or
  109. Berkovich's 1990 book
  110. \item Other methods based on Galois theory (see Ulmer's preprints
  111. from Karlsruhe, 1989, 1990 and Singer's 1989 review) or
  112. other ways of hunting Liouvillian solutions (see Singer's
  113. review in J. Symb. Comp., 1990).
  114. \end{itemize}
  115. \item Non-linear equations of order 2 and higher
  116. \begin{itemize}
  117. \item Lie algebra of point symmetries e.g. using Wolf's CRACK now available
  118. in REDUCE
  119. \item Other special ansatze (see Wolf. op. cit), in particular
  120. contact transformations for 2nd order cases
  121. \end{itemize}
  122. \item Possibly (?) exploitation of Cartan's methods for equivalence of
  123. differential equations.
  124. \end{itemize}
  125. \end{document}