 Differential Equations - Maple Help

Home : Support : Online Help : System : Information : Updates : Maple 11 : Differential Equations

Updates to Differential Equation (DE) Solvers in Maple 11 Summary

 The differential equation (DE) theme for Maple 11 is the exploration of the geometrical structure underlying a DE. Thus for 2nd order nonlinear Ordinary Differential Equations (ODEs), new algorithms were developed to solve entire classes in terms of elliptic functions.
 For 1st order ODEs, the nonlinear Abel AIR class, as well as those admitting conformal symmetries, are now all entirely solvable in terms of hypergeometric and elliptic functions.
 For Partial Differential Equations (PDEs) the geometrical structure is also reflected in their symmetries, which is the subject of this release, together with the related group invariant solutions, representing the most important advancement of the last 5 years in the Maple libraries for the exact solution of PDEs. Exact Solutions Ordinary Differential Equations (ODEs) New solutions in terms of elliptic functions for 2nd order nonlinear equations

 New solving algorithms for various classes of nonlinear 2nd order ODEs admitting solutions expressible in terms of the WeierstrassP or any of the 12 JacobiPQ elliptic functions. These classes of equations admit only one point symmetry and the related reduction of order leads to 1st order nonlinear Abel ODEs, a problem for which Maple 11 also presents new algorithms.
 Examples
 > PDEtools:-declare(y(x), prime=x);
 ${y}{}\left({x}\right){}{\mathrm{will now be displayed as}}{}{y}$
 ${\mathrm{derivatives with respect to}}{}{x}{}{\mathrm{of functions of one variable will now be displayed with \text{'}}}$ (1)
 > diff(y(x), x, x) = 4/x*diff(y(x), x) + 6/x^2*y(x)^2 - 6/x^2*y(x) - 1/2*x^2*a;
 ${\mathrm{y\text{'}\text{'}}}{=}\frac{{4}{}{\mathrm{y\text{'}}}}{{x}}{+}\frac{{6}{}{{y}}^{{2}}}{{{x}}^{{2}}}{-}\frac{{6}{}{y}}{{{x}}^{{2}}}{-}\frac{{{x}}^{{2}}{}{a}}{{2}}$ (2)
 > dsolve((2));
 ${y}{=}{\mathrm{WeierstrassP}}{}\left({x}{+}{\mathrm{_C1}}{,}{a}{,}{\mathrm{_C2}}\right){}{{x}}^{{2}}$ (3)
 > diff(y(x), x, x) = 2/x*a/(x+a)*diff(y(x), x) + 2*k^2/x^2/(x+a)^4*y(x)^3 + (-2*x^3*a+(-k^2-1-6*a^2)*x^2 - 6*a^3*x - 2*a^4)/x^2/(x+a)^4*y(x);
 ${\mathrm{y\text{'}\text{'}}}{=}\frac{{2}{}{a}{}{\mathrm{y\text{'}}}}{{x}{}\left({x}{+}{a}\right)}{+}\frac{{2}{}{{k}}^{{2}}{}{{y}}^{{3}}}{{{x}}^{{2}}{}{\left({x}{+}{a}\right)}^{{4}}}{+}\frac{\left({-}{2}{}{{x}}^{{3}}{}{a}{+}\left({-}{6}{}{{a}}^{{2}}{-}{{k}}^{{2}}{-}{1}\right){}{{x}}^{{2}}{-}{6}{}{{a}}^{{3}}{}{x}{-}{2}{}{{a}}^{{4}}\right){}{y}}{{{x}}^{{2}}{}{\left({x}{+}{a}\right)}^{{4}}}$ (4)
 > dsolve((4));
 ${y}{=}{\mathrm{_C2}}{}\sqrt{\frac{{{k}}^{{2}}{+}{1}}{{{k}}^{{2}}{}{{\mathrm{_C2}}}^{{2}}{+}{1}}}{}{x}{}{\mathrm{JacobiSN}}{}\left(\left({-}\frac{{1}}{{x}{+}{a}}{+}{\mathrm{_C1}}\right){}\sqrt{\frac{{{k}}^{{2}}{+}{1}}{{{k}}^{{2}}{}{{\mathrm{_C2}}}^{{2}}{+}{1}}}{,}{k}{}{\mathrm{_C2}}\right)$ (5)
 The algorithm underlying the output above can compute solutions free of integrals whenever they are linear in WeierstrassP or any of the 12 JacobiPQ functions. New option singsol = <none, essential, all> and new elliptic function solutions for high degree 1st order nonlinear ODE

 High-degree equations are nonlinear in the highest derivative. In addition to their general solution, these equations admit singular solutions automatically computed by dsolve.
 The novelty in Maple 11 is twofold. You can now specify whether to compute all, none, or only the essential singular solutions by passing an extra argument $\mathrm{singsol}$. Also, instead of the standard general solution composing fractional powers with RootOf of elliptic functions or uncomputed integrals, dsolve now computes these general solutions with no RootOfs and no uncomputed integrals but directly as explicit solutions linear in JacobiPQ, WeierstrassP, and WeierstrassPPrime elliptic functions when that is possible.
 Examples
 Two examples quadratic in y'. To see the general solution, pass only $\mathrm{singsol}=\mathrm{none}$ (it also saves the time dsolve would spend splitting the problem into cases and computing the singular solutions).
 > (-2/x^3*y(x)+1/x^2*diff(y(x),x))^2-1-b^2/x^8*y(x)^4-(-b^2-1)/x^4*y(x)^2 = 0;
 ${\left({-}\frac{{2}{}{y}}{{{x}}^{{3}}}{+}\frac{{\mathrm{y\text{'}}}}{{{x}}^{{2}}}\right)}^{{2}}{-}{1}{-}\frac{{{b}}^{{2}}{}{{y}}^{{4}}}{{{x}}^{{8}}}{-}\frac{\left({-}{{b}}^{{2}}{-}{1}\right){}{{y}}^{{2}}}{{{x}}^{{4}}}{=}{0}$ (6)
 > dsolve((6), singsol = none);
 ${y}{=}{\mathrm{JacobiSN}}{}\left({x}{+}{\mathrm{_C1}}{,}{b}\right){}{{x}}^{{2}}$ (7)
 The singular solutions for these high-degree ODEs are frequently the roots of some related high-degree polynomial.  To see this polynomial representing an implicit singular solution instead of their roots, use the optional argument implicit.
 > (-2/x^3*y(x)+1/x^2*diff(y(x),x))^2+1/x^2*y(x)*a-4/x^6*y(x)^3+b = 0;
 ${\left({-}\frac{{2}{}{y}}{{{x}}^{{3}}}{+}\frac{{\mathrm{y\text{'}}}}{{{x}}^{{2}}}\right)}^{{2}}{+}\frac{{y}{}{a}}{{{x}}^{{2}}}{-}\frac{{4}{}{{y}}^{{3}}}{{{x}}^{{6}}}{+}{b}{=}{0}$ (8)
 > dsolve((8), implicit);    # implicit avoids computing the roots of the cube
 ${{y}}^{{3}}{-}\frac{{1}}{{4}}{}{b}{}{{x}}^{{6}}{-}\frac{{1}}{{4}}{}{y}{}{a}{}{{x}}^{{4}}{=}{0}{,}{y}{=}{\mathrm{WeierstrassP}}{}\left({x}{+}{\mathrm{_C1}}{,}{a}{,}{b}\right){}{{x}}^{{2}}$ (9)
 An example cubic in y' where the solution involves WeierstrassPPrime
 > -(x+a)^6*(y(x) + x*diff(y(x),x))^3 + 1/2*a^3/b^3 - 27/2*x^4*y(x)^4 - 27*b/c*x^2*y(x)^2 - 27/2*b^2/c^2 - 3/2*a/b*(x+a)^4*(y(x)+x*diff(y(x),x))^2 = 0;
 ${-}{\left({x}{+}{a}\right)}^{{6}}{}{\left({\mathrm{y\text{'}}}{}{x}{+}{y}\right)}^{{3}}{+}\frac{{{a}}^{{3}}}{{2}{}{{b}}^{{3}}}{-}\frac{{27}{}{{x}}^{{4}}{}{{y}}^{{4}}}{{2}}{-}\frac{{27}{}{b}{}{{x}}^{{2}}{}{{y}}^{{2}}}{{c}}{-}\frac{{27}{}{{b}}^{{2}}}{{2}{}{{c}}^{{2}}}{-}\frac{{3}{}{a}{}{\left({x}{+}{a}\right)}^{{4}}{}{\left({\mathrm{y\text{'}}}{}{x}{+}{y}\right)}^{{2}}}{{2}{}{b}}{=}{0}$ (10)
 > [dsolve((10), implicit)];
 $\left[{{y}}^{{4}}{-}\frac{{-}{54}{}{{b}}^{{4}}{}{{x}}^{{2}}{}{{y}}^{{2}}{}{c}{+}{{a}}^{{3}}{}{{c}}^{{2}}{-}{27}{}{{b}}^{{5}}}{{27}{}{{x}}^{{4}}{}{{b}}^{{3}}{}{{c}}^{{2}}}{=}{0}{,}{y}{=}\frac{{\mathrm{WeierstrassPPrime}}{}\left(\frac{{1}}{{x}{+}{a}}{+}{\mathrm{_C1}}{,}\frac{{a}}{{b}}{,}\frac{{b}}{{c}}\right)}{{x}}\right]$ (11)
 > map(odetest, (11), (10));  # verify these results for correctness
 $\left[{0}{,}{0}\right]$ (12) New solutions in terms of hypergeometric functions for 1st order Abel equations of the AIR class

 The new solving algorithms for first order Abel ODEs of the 3-parameter AIR class can solve the entire class of equations having rational coefficients by resolving an equivalence to the seed representative (see references) under changes of variables of the form x -> F(x), y(x) -> (P(x) y(x) + Q(x))/(R(x) y(x) + S(x)), for rational mappings F, P, Q, R, S. In addition, for restricted subclasses, the algorithms implemented can compute the solution also when these mappings, and the coefficients in the corresponding ODE, are non-rational. The Abel AIR class is presented as entirely solvable for the first time in the literature now with Maple 11.
 Examples
 Two examples involving non-rational coefficients
 > diff(y(x),x) = y(x)/x/(ln(x)*y(x)+(-ln(x)+b)*(-ln(x)+c));
 ${\mathrm{y\text{'}}}{=}\frac{{y}}{{x}{}\left({\mathrm{ln}}{}\left({x}\right){}{y}{+}\left({-}{\mathrm{ln}}{}\left({x}\right){+}{b}\right){}\left({-}{\mathrm{ln}}{}\left({x}\right){+}{c}\right)\right)}$ (13)
 > dsolve((13));
 ${\mathrm{_C1}}{+}\frac{{\mathrm{ln}}{}\left({x}\right){}{\mathrm{KummerM}}{}\left({-}{b}{,}{1}{+}{c}{-}{b}{,}{y}\right){-}{b}{}{\mathrm{KummerM}}{}\left({-}{b}{+}{1}{,}{1}{+}{c}{-}{b}{,}{y}\right)}{{\mathrm{ln}}{}\left({x}\right){}{\mathrm{KummerU}}{}\left({-}{b}{,}{1}{+}{c}{-}{b}{,}{y}\right){+}{b}{}{c}{}{\mathrm{KummerU}}{}\left({-}{b}{+}{1}{,}{1}{+}{c}{-}{b}{,}{y}\right)}{=}{0}$ (14)
 An example whose implicit solution can be obtained in terms of HeunC
 > diff(y(x),x) = y(x)*(y(x)-1)*exp(x)/(y(x)*a+exp(2*x)-exp(x)*c);
 ${\mathrm{y\text{'}}}{=}\frac{{y}{}\left({y}{-}{1}\right){}{{ⅇ}}^{{x}}}{{y}{}{a}{+}{{ⅇ}}^{{2}{}{x}}{-}{{ⅇ}}^{{x}}{}{c}}$ (15)
 > sol := dsolve((15));
 ${\mathrm{sol}}{≔}{\mathrm{_C1}}{+}\frac{\left({\mathrm{HeunCPrime}}{}\left({0}{,}{-}{c}{,}{-1}{,}{0}{,}{a}{+}\frac{{1}}{{2}}{,}\frac{{y}}{{y}{-}{1}}\right){}{y}{-}\frac{{{ⅇ}}^{{2}{}{x}}{}\left({y}{-}{1}\right){}{\mathrm{HeunC}}{}\left({0}{,}{-}{c}{,}{-1}{,}{0}{,}{a}{+}\frac{{1}}{{2}}{,}\frac{{y}}{{y}{-}{1}}\right)}{{{ⅇ}}^{{x}}}\right){}{\left({y}{-}{1}\right)}^{{c}}}{\left(\left({y}{-}{1}\right){}\left({-}\frac{{{ⅇ}}^{{2}{}{x}}}{{{ⅇ}}^{{x}}}{+}{c}\right){}{\mathrm{HeunC}}{}\left({0}{,}{c}{,}{-1}{,}{0}{,}{a}{+}\frac{{1}}{{2}}{,}\frac{{y}}{{y}{-}{1}}\right){+}{y}{}{\mathrm{HeunCPrime}}{}\left({0}{,}{c}{,}{-1}{,}{0}{,}{a}{+}\frac{{1}}{{2}}{,}\frac{{y}}{{y}{-}{1}}\right)\right){}{{y}}^{{c}}}{=}{0}$ (16)
 To see this solution in terms of hypergeometric functions enter convert(sol, hypergeom);.  For more details, see convert/to_special_function. An example of this class where the solution is expressed directly in terms of hypergeometric functions
 > diff(y(x),x) = ((3+3*x^4+3*x^2-6*x^3+6*x)*y(x)^2 + (3*x^5+30*x^4-26*x^6-3*x^3-15*x^7+2*x^8)*y(x) - x^7*(29*x^3-31-27*x+x^5+21*x^2+5*x^4))/((x^4+x^2+1)*y(x) + x^3*(x^3+x-3*x^2+x^5-1-x^4))/x;
 ${\mathrm{y\text{'}}}{=}\frac{\left({3}{}{{x}}^{{4}}{-}{6}{}{{x}}^{{3}}{+}{3}{}{{x}}^{{2}}{+}{6}{}{x}{+}{3}\right){}{{y}}^{{2}}{+}\left({2}{}{{x}}^{{8}}{-}{15}{}{{x}}^{{7}}{-}{26}{}{{x}}^{{6}}{+}{3}{}{{x}}^{{5}}{+}{30}{}{{x}}^{{4}}{-}{3}{}{{x}}^{{3}}\right){}{y}{-}{{x}}^{{7}}{}\left({{x}}^{{5}}{+}{5}{}{{x}}^{{4}}{+}{29}{}{{x}}^{{3}}{+}{21}{}{{x}}^{{2}}{-}{27}{}{x}{-}{31}\right)}{\left(\left({{x}}^{{4}}{+}{{x}}^{{2}}{+}{1}\right){}{y}{+}{{x}}^{{3}}{}\left({{x}}^{{5}}{-}{{x}}^{{4}}{+}{{x}}^{{3}}{-}{3}{}{{x}}^{{2}}{+}{x}{-}{1}\right)\right){}{x}}$ (17)
 > dsolve((17));
 ${\mathrm{_C1}}{-}\frac{{36}{}{\left(\frac{{{x}}^{{3}}}{{{x}}^{{4}}{+}{3}{}{{x}}^{{3}}{+}{y}}\right)}^{{1}}{{3}}}{}\left({-}\frac{{{x}}^{{3}}{}\left({{x}}^{{2}}{+}\frac{{1}}{{2}}{}{x}{+}{1}\right){}{\mathrm{hypergeom}}{}\left(\left[{-}\frac{\sqrt{{2}}}{{4}}{+}{1}{,}\frac{\sqrt{{2}}}{{4}}{+}{1}\right]{,}\left[\frac{{7}}{{3}}\right]{,}\frac{{4}{}{{x}}^{{3}}}{{3}{}{{x}}^{{4}}{+}{9}{}{{x}}^{{3}}{+}{3}{}{y}}\right)}{{2}}{+}{\mathrm{hypergeom}}{}\left(\left[\frac{\sqrt{{2}}}{{4}}{,}{-}\frac{\sqrt{{2}}}{{4}}\right]{,}\left[\frac{{4}}{{3}}\right]{,}\frac{{4}{}{{x}}^{{3}}}{{3}{}{{x}}^{{4}}{+}{9}{}{{x}}^{{3}}{+}{3}{}{y}}\right){}\left({{x}}^{{2}}{+}{x}{+}{1}\right){}\left({{x}}^{{4}}{+}{3}{}{{x}}^{{3}}{+}{y}\right)\right)}{{6}{}\left({{x}}^{{2}}{-}{x}{+}{1}\right){}\left({{x}}^{{4}}{+}{3}{}{{x}}^{{3}}{+}{y}\right){}{\mathrm{hypergeom}}{}\left(\left[\frac{\sqrt{{2}}}{{4}}{-}\frac{{1}}{{3}}{,}{-}\frac{{1}}{{3}}{-}\frac{\sqrt{{2}}}{{4}}\right]{,}\left[\frac{{2}}{{3}}\right]{,}\frac{{4}{}{{x}}^{{3}}}{{3}{}{{x}}^{{4}}{+}{9}{}{{x}}^{{3}}{+}{3}{}{y}}\right){+}{2}{}{\mathrm{hypergeom}}{}\left(\left[\frac{{2}}{{3}}{-}\frac{\sqrt{{2}}}{{4}}{,}\frac{\sqrt{{2}}}{{4}}{+}\frac{{2}}{{3}}\right]{,}\left[\frac{{5}}{{3}}\right]{,}\frac{{4}{}{{x}}^{{3}}}{{3}{}{{x}}^{{4}}{+}{9}{}{{x}}^{{3}}{+}{3}{}{y}}\right){}{{x}}^{{3}}{}\left({{x}}^{{2}}{+}\frac{{1}}{{2}}{}{x}{+}{1}\right)}{=}{0}$ (18) New solutions for 1st order equations admitting conformal symmetries

 In his original symmetry work, Sophus Lie was the first to observe that nonlinear first ODEs with conformal symmetries can have their solutions computed by quadratures. The infinitesimal generators [xi(x, y), eta(x, y)] of a conformal symmetry satisfy the conditions xi[x] = eta[y] and xi[y] = -eta[x], where [x] means differentiation with respect to x. In the framework of the Maple libraries, the key observation is that ODEs possessing this type of symmetry can systematically be transformed into equations admitting infinitesimals separable by product - a problem for which Maple implemented solving algorithms in Maple 6 (see references).
 Examples
 Kamke's example number 1.83
 > diff(y(x),x) = tan(x*y(x));
 ${\mathrm{y\text{'}}}{=}{\mathrm{tan}}{}\left({y}{}{x}\right)$ (19)
 > dsolve((19), implicit);
 ${-}{\mathrm{_C1}}{+}{\mathrm{erf}}{}\left(\frac{\sqrt{{2}}{}\left({x}{+}{I}{}{y}\right)}{{2}}\right){-}{\mathrm{erf}}{}\left(\frac{\sqrt{{2}}{}\left({x}{-}{I}{}{y}\right)}{{2}}\right){=}{0}$ (20) Enhanced computation of solutions in terms of hypergeometric functions for 3rd and higher order linear equations

 There are improvements in the solving algorithms for third and higher order linear ODEs to compute solutions expressible in terms of hypergeometric functions.
 > diff(y(x),x,x,x,x) = -15/2*x/(x^4+3)*diff(y(x),x)-45/2*x^2/(x^4+3)*diff(y(x),x,x)-10*x^3/(x^4+3)*diff(y(x),x,x,x)+15/16*y(x)/(x^4+3);
 ${\mathrm{y\text{'}\text{'}\text{'}\text{'}}}{=}{-}\frac{{15}{}{x}{}{\mathrm{y\text{'}}}}{{2}{}\left({{x}}^{{4}}{+}{3}\right)}{-}\frac{{45}{}{{x}}^{{2}}{}{\mathrm{y\text{'}\text{'}}}}{{2}{}\left({{x}}^{{4}}{+}{3}\right)}{-}\frac{{10}{}{{x}}^{{3}}{}{\mathrm{y\text{'}\text{'}\text{'}}}}{{{x}}^{{4}}{+}{3}}{+}\frac{{15}{}{y}}{{16}{}\left({{x}}^{{4}}{+}{3}\right)}$ (21)
 > dsolve((21));
 ${y}{=}\frac{{\mathrm{_C1}}{}{\mathrm{hypergeom}}{}\left(\left[\frac{{3}}{{8}}{,}\frac{{5}}{{8}}{,}\frac{{7}}{{8}}{,}\frac{{9}}{{8}}\right]{,}\left[\frac{{3}}{{4}}{,}\frac{{5}}{{4}}{,}\frac{{3}}{{2}}\right]{,}{-}\frac{{3}}{{{x}}^{{4}}}\right)}{{{x}}^{{3}}{{2}}}}{+}\frac{{\mathrm{_C2}}{}{\mathrm{hypergeom}}{}\left(\left[\frac{{1}}{{8}}{,}\frac{{3}}{{8}}{,}\frac{{5}}{{8}}{,}\frac{{7}}{{8}}\right]{,}\left[\frac{{1}}{{2}}{,}\frac{{3}}{{4}}{,}\frac{{5}}{{4}}\right]{,}{-}\frac{{3}}{{{x}}^{{4}}}\right)}{\sqrt{{x}}}{+}{\mathrm{_C3}}{}\sqrt{{x}}{}{\mathrm{hypergeom}}{}\left(\right)$