Solve - Maple Help

PDEtools

 Solve
 unified command to compute exact, series, or numerical solutions, possibly independent of indicated variables, for systems of algebraic or differential equations, possibly including inequations, initial values, or boundary conditions

 Calling Sequence Solve(sys, solving_variables, options=value)

Parameters

 sys - algebraic and/or differential equation, or a set of list of them possibly containing inequations and initial or boundary conditions solving_variables - name or a function or a set or list (indicates solving ordering) of them that could include both names and functions, possibly ranked in sublists, altogether indicating the solving variables algebraically = ... - (optional) true or false (default value); indicates that the solving variables and their derivatives are to be considered objects independent of each other when solving for the variables independentof = ... - (optional) name or a set or list of them indicating that the solutions computed must be independent of these names implicit - (optional) to return solutions when they are in implicit form - by default these solutions are discarded and only explicit solutions are returned overridefunctiondependency = ... - (optional) true (default value) or false, to override the dependency of a solving function with respect to variables indicated in independentof = ... simplifier = .. - (optional) can be any valid Maple object or procedure; its default value is simplify solver = .. - (optional) can be solve, dsolve, pdsolve, fsolve, or any of the PDEtools commands FunctionFieldSolutions, InvariantSolutions, PolynomialSolutions or SimilaritySolutions. ..other.. - (optional) numeric or series or any of the optional arguments accepted by solve, dsolve, pdsolve, fsolve, or the solver specified with the option solver = ...

Description

 • The Solve command computes the value of solving_variables that solves a system of equations sys. The system being solved can involve algebraic or differential equations, or both. You can request an exact (default), numeric, or series solution (respectively use the option numeric or series). In this sense, Solve is a unified command that understands when to call solve, fsolve, dsolve, or pdsolve according to your input, also facilitating the analysis of different types of solutions by just adding the keywords series or numeric.
 • In addition of being a single interface with unified syntax for various Maple solvers, Solve permits computing exact, numeric, and series solutions that are independent of certain variables, indicated with the option independentof = ..., where the right-hand side can be a name, or a set or list of them. This is particularly useful when solving (typically non-polynomial) algebraic expressions with respect to some names and where the solutions desired shall not depend on some of the other names present in the system. The solutions returned are thus valid for arbitrary values of those other names. This option is also useful when computing solutions to partial differential equations and the solutions desired shall not depend on some of the variables of the problem.
 • For all kinds of systems, algebraic, differential, or mixed, when the system can be solved, the output consists of a sequence of equations with the solving variable isolated in the left-hand side, when sys is one equation and solving_variables one solving variable, and a sequence of sets of such equations when there is more than one solving variable or equation, or when any of them is passed as a set or list.
 • As is the case of other solvers, for Solve the unknowns may or not be specified. When the unknowns are specified (as a name, function, or a set or list of them, possibly including nested sets or lists indicating solving rankings as explained in casesplit), only these ones specified are considered unknowns and any other function is considered arbitrary. The solution is then expected to be valid for arbitrary values of these arbitrary functions. On the other hand, when the unknowns are not specified, all functions - differentiated or not - are considered unknowns, and when there are no functions then all names that are not constants are taken as the unknowns.
 • In all cases, when no solution is found or the solutions cannot be turned explicit, Solve returns NULL. To receive implicit solutions that some solvers can compute, for instance by dsolve, pdsolve, or solve, use the option implicit. Also, passing the optional argument parametric accepted by some solvers automatically turns ON the option implicit of Solve.
 • When restricting the dependency of the solutions with the option independentof = ..., one may or may not want to override with that statement the dependency of the solving functions of the problem. For this purpose use the additional optional argument overridefunctiondependency = false. For example, that permits computing solutions with some unknowns independent of the independentof = ... variables while other unknowns do depend on them. The default behavior is overridefunctiondependency = true so that all the right-hand sides of the solutions returned will be independent of the indicated variables.
 • It is sometimes necessary to solve a system with respect to some unknowns while considering derivatives of those unknowns as independent objects, for example: solve for $y\left(x\right)$ the equation $\mathrm{y\text{'}}\left(x\right)-y\left(x\right)$ to obtain $y\left(x\right)=\mathrm{y\text{'}}\left(x\right)$ instead of $y\left(x\right)=\mathrm{_C1}{ⅇ}^{x}$. For these purposes use the option algebraically.
 • You can override the solver to be used by optionally indicating solver = ... where the right-hand side can be any of solve, fsolve, dsolve, or pdsolve, or one of the PDEtools commands FunctionFieldSolutions, InvariantSolutions, PolynomialSolutions or SimilaritySolutions.

Examples

 > $\mathrm{with}\left(\mathrm{PDEtools},\mathrm{Solve}\right)$
 $\left[{\mathrm{Solve}}\right]$ (1)

Unified solver for computing exact, series, and numeric solutions

 Solve solves systems of equations with respect to solving variables, automatically calling the appropriate solver for your input.
 > ${\mathrm{eq}}_{1}≔a{x}^{2}+bx+c=0$
 ${{\mathrm{eq}}}_{{1}}{≔}{a}{}{{x}}^{{2}}{+}{b}{}{x}{+}{c}{=}{0}$ (2)
 > $\mathrm{Solve}\left({\mathrm{eq}}_{1},x\right)$
 ${x}{=}\frac{{-}{b}{+}\sqrt{{-}{4}{}{a}{}{c}{+}{{b}}^{{2}}}}{{2}{}{a}}{,}{x}{=}{-}\frac{{b}{+}\sqrt{{-}{4}{}{a}{}{c}{+}{{b}}^{{2}}}}{{2}{}{a}}$ (3)
 A numeric solution for $a,b,c$ independent of $x$
 > $\mathrm{Solve}\left({\mathrm{eq}}_{1},\left\{a,b,c\right\},\mathrm{independentof}=x,\mathrm{numeric}\right)$
 $\left\{{a}{=}{0.}{,}{b}{=}{0.}{,}{c}{=}{0.}\right\}$ (4)
 Exact and series solutions for an ODE
 > ${\mathrm{eq}}_{2}≔\frac{ⅆ}{ⅆx}y\left(x\right)=y\left(x\right)$
 ${{\mathrm{eq}}}_{{2}}{≔}\frac{{ⅆ}}{{ⅆ}{x}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{y}{}\left({x}\right){=}{y}{}\left({x}\right)$ (5)
 > $\mathrm{Solve}\left({\mathrm{eq}}_{2}\right)$
 ${y}{}\left({x}\right){=}\mathrm{c__1}{}{{ⅇ}}^{{x}}$ (6)
 > $\mathrm{Solve}\left({\mathrm{eq}}_{2},\mathrm{algebraically}\right)$
 ${y}{}\left({x}\right){=}\frac{{ⅆ}}{{ⅆ}{x}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{y}{}\left({x}\right)$ (7)
 > $\mathrm{Solve}\left({\mathrm{eq}}_{2},\mathrm{series}\right)$
 ${y}{}\left({x}\right){=}{y}{}\left({0}\right){+}{y}{}\left({0}\right){}{x}{+}\frac{{1}}{{2}}{}{y}{}\left({0}\right){}{{x}}^{{2}}{+}\frac{{1}}{{6}}{}{y}{}\left({0}\right){}{{x}}^{{3}}{+}\frac{{1}}{{24}}{}{y}{}\left({0}\right){}{{x}}^{{4}}{+}\frac{{1}}{{120}}{}{y}{}\left({0}\right){}{{x}}^{{5}}{+}{O}{}\left({{x}}^{{6}}\right)$ (8)
 A PDE problem, also with boundary conditions
 > ${\mathrm{eq}}_{4}≔\frac{\partial }{\partial t}u\left(x,t\right)+c\left(\frac{\partial }{\partial x}u\left(x,t\right)\right)=-\mathrm{λ}u\left(x,t\right)$
 ${{\mathrm{eq}}}_{{4}}{≔}\frac{{\partial }}{{\partial }{t}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{u}{}\left({x}{,}{t}\right){+}{c}{}\left(\frac{{\partial }}{{\partial }{x}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{u}{}\left({x}{,}{t}\right)\right){=}{-}{\mathrm{\lambda }}{}{u}{}\left({x}{,}{t}\right)$ (9)
 > $\mathrm{Solve}\left({\mathrm{eq}}_{4}\right)$
 ${u}{}\left({x}{,}{t}\right){=}\mathrm{f__1}{}\left(\frac{{t}{}{c}{-}{x}}{{c}}\right){}{{ⅇ}}^{{-}\frac{{\mathrm{\lambda }}{}{x}}{{c}}}$ (10)
 > ${\mathrm{bc}}_{4}≔u\left(x,0\right)=\mathrm{φ}\left(x\right)$
 ${{\mathrm{bc}}}_{{4}}{≔}{u}{}\left({x}{,}{0}\right){=}{\mathrm{\phi }}{}\left({x}\right)$ (11)
 > ${\mathrm{sol}}_{5}≔\mathrm{Solve}\left(\left[{\mathrm{eq}}_{4},{\mathrm{bc}}_{4}\right]\right)$
 ${{\mathrm{sol}}}_{{5}}{≔}\left\{{u}{}\left({x}{,}{t}\right){=}{\mathrm{\phi }}{}\left({-}{t}{}{c}{+}{x}\right){}{{ⅇ}}^{{-}{\mathrm{\lambda }}{}{t}}\right\}$ (12)
 Numerical solution for a PDE with boundary conditions
 > ${\mathrm{eq}}_{5}≔\left[\frac{\partial }{\partial t}u\left(x,t\right)=\frac{1\left(\frac{{\partial }^{2}}{\partial {x}^{2}}u\left(x,t\right)\right)}{10},u\left(x,0\right)=1,u\left(0,t\right)=0,{\mathrm{D}}_{1}\left(u\right)\left(1,t\right)=0\right]$
 ${{\mathrm{eq}}}_{{5}}{≔}\left[\frac{{\partial }}{{\partial }{t}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{u}{}\left({x}{,}{t}\right){=}\frac{\frac{{{\partial }}^{{2}}}{{\partial }{{x}}^{{2}}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{u}{}\left({x}{,}{t}\right)}{{10}}{,}{u}{}\left({x}{,}{0}\right){=}{1}{,}{u}{}\left({0}{,}{t}\right){=}{0}{,}{{\mathrm{D}}}_{{1}}{}\left({u}\right){}\left({1}{,}{t}\right){=}{0}\right]$ (13)
 > ${\mathrm{sol}}_{5}≔\mathrm{PDEtools}:-\mathrm{Solve}\left({\mathrm{eq}}_{5},\mathrm{numeric}\right)$
 ${{\mathrm{sol}}}_{{5}}{≔}{\mathbf{module}}\left({}\right)\phantom{\rule[-0.0ex]{0.5em}{0.0ex}}{\mathbf{export}}\phantom{\rule[-0.0ex]{0.5em}{0.0ex}}{\mathrm{plot}}{,}{\mathrm{plot3d}}{,}{\mathrm{animate}}{,}{\mathrm{value}}{,}{\mathrm{settings}}{;}\phantom{\rule[-0.0ex]{0.5em}{0.0ex}}{...}\phantom{\rule[-0.0ex]{0.5em}{0.0ex}}{\mathbf{end module}}$ (14)
 > ${\mathrm{sol}}_{5}:-\mathrm{plot3d}\left(t=0..1,x=0..1,\mathrm{axes}=\mathrm{boxed}\right)$
 A mixed algebraic and PDE system in four unknowns {a, b, f(x, y), g(x, y)},
 > ${\mathrm{eq}}_{6}≔\left[\frac{{\partial }^{2}}{\partial {y}^{2}}f\left(x,y\right),\frac{{\partial }^{2}}{\partial {y}^{2}}g\left(x,y\right)-2\left(\frac{{\partial }^{2}}{\partial y\partial x}f\left(x,y\right)\right)-6\left(\frac{\partial }{\partial y}f\left(x,y\right)\right)y,-9\left(\frac{\partial }{\partial y}f\left(x,y\right)\right)a{y}^{2}-12\left(\frac{\partial }{\partial y}f\left(x,y\right)\right){a}^{2}y+2\left(\frac{{\partial }^{2}}{\partial y\partial x}g\left(x,y\right)\right)-\left(\frac{{\partial }^{2}}{\partial {x}^{2}}f\left(x,y\right)\right)-3g\left(x,y\right)-3\left(\frac{\partial }{\partial y}f\left(x,y\right)\right)b-3\left(\frac{\partial }{\partial x}f\left(x,y\right)\right)y,-4g\left(x,y\right){a}^{2}-2\left(\frac{\partial }{\partial x}f\left(x,y\right)\right)b+\left(\frac{\partial }{\partial y}g\left(x,y\right)\right)b-3y\left(\frac{\partial }{\partial x}g\left(x,y\right)\right)+\frac{{\partial }^{2}}{\partial {x}^{2}}g\left(x,y\right)-6g\left(x,y\right)ay-6\left(\frac{\partial }{\partial x}f\left(x,y\right)\right)a{y}^{2}-8\left(\frac{\partial }{\partial x}f\left(x,y\right)\right){a}^{2}y+3\left(\frac{\partial }{\partial y}g\left(x,y\right)\right)a{y}^{2}+4\left(\frac{\partial }{\partial y}g\left(x,y\right)\right){a}^{2}y\right]$
 ${{\mathrm{eq}}}_{{6}}{≔}\left[\frac{{{\partial }}^{{2}}}{{\partial }{{y}}^{{2}}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{f}{}\left({x}{,}{y}\right){,}\frac{{{\partial }}^{{2}}}{{\partial }{{y}}^{{2}}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{g}{}\left({x}{,}{y}\right){-}{2}{}\frac{{{\partial }}^{{2}}}{{\partial }{x}{\partial }{y}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{f}{}\left({x}{,}{y}\right){-}{6}{}\left(\frac{{\partial }}{{\partial }{y}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{f}{}\left({x}{,}{y}\right)\right){}{y}{,}{-}{9}{}\left(\frac{{\partial }}{{\partial }{y}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{f}{}\left({x}{,}{y}\right)\right){}{a}{}{{y}}^{{2}}{-}{12}{}\left(\frac{{\partial }}{{\partial }{y}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{f}{}\left({x}{,}{y}\right)\right){}{{a}}^{{2}}{}{y}{+}{2}{}\frac{{{\partial }}^{{2}}}{{\partial }{x}{\partial }{y}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{g}{}\left({x}{,}{y}\right){-}\frac{{{\partial }}^{{2}}}{{\partial }{{x}}^{{2}}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{f}{}\left({x}{,}{y}\right){-}{3}{}{g}{}\left({x}{,}{y}\right){-}{3}{}\left(\frac{{\partial }}{{\partial }{y}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{f}{}\left({x}{,}{y}\right)\right){}{b}{-}{3}{}\left(\frac{{\partial }}{{\partial }{x}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{f}{}\left({x}{,}{y}\right)\right){}{y}{,}{-}{4}{}{g}{}\left({x}{,}{y}\right){}{{a}}^{{2}}{-}{2}{}\left(\frac{{\partial }}{{\partial }{x}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{f}{}\left({x}{,}{y}\right)\right){}{b}{+}\left(\frac{{\partial }}{{\partial }{y}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{g}{}\left({x}{,}{y}\right)\right){}{b}{-}{3}{}{y}{}\left(\frac{{\partial }}{{\partial }{x}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{g}{}\left({x}{,}{y}\right)\right){+}\frac{{{\partial }}^{{2}}}{{\partial }{{x}}^{{2}}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{g}{}\left({x}{,}{y}\right){-}{6}{}{g}{}\left({x}{,}{y}\right){}{a}{}{y}{-}{6}{}\left(\frac{{\partial }}{{\partial }{x}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{f}{}\left({x}{,}{y}\right)\right){}{a}{}{{y}}^{{2}}{-}{8}{}\left(\frac{{\partial }}{{\partial }{x}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{f}{}\left({x}{,}{y}\right)\right){}{{a}}^{{2}}{}{y}{+}{3}{}\left(\frac{{\partial }}{{\partial }{y}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{g}{}\left({x}{,}{y}\right)\right){}{a}{}{{y}}^{{2}}{+}{4}{}\left(\frac{{\partial }}{{\partial }{y}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{g}{}\left({x}{,}{y}\right)\right){}{{a}}^{{2}}{}{y}\right]$ (15)

When the solving variables of a problem involve both functions and names, as in ${\mathrm{eq}}_{6}$, the solutions for the names (here $a$ and $b$) will be independent of the dependency of the solving functions (here independent of $x$ and $y$)

 > $\mathrm{Solve}\left({\mathrm{eq}}_{6},\left\{a,b,f,g\right\}\right)$
 $\left\{{a}{=}\mathrm{c__1}{,}{b}{=}{\mathrm{c__1}}^{{3}}{,}{f}{}\left({x}{,}{y}\right){=}\frac{\mathrm{c__3}{}\mathrm{c__1}{+}{{ⅇ}}^{\mathrm{c__1}{}\left(\mathrm{c__2}{+}{x}\right)}}{\mathrm{c__1}}{,}{g}{}\left({x}{,}{y}\right){=}{-}\left(\mathrm{c__1}{+}{y}\right){}{{ⅇ}}^{\mathrm{c__1}{}\left(\mathrm{c__2}{+}{x}\right)}\right\}{,}\left\{{a}{=}{a}{,}{b}{=}{b}{,}{f}{}\left({x}{,}{y}\right){=}\mathrm{c__1}{,}{g}{}\left({x}{,}{y}\right){=}{0}\right\}$ (16)

In the first solution above we see that $a$ and $b$ are related, so the system can be solved with respect to three variables; also the second solution has lower dimension, so it is a singular solution. Solve this problem with respect to three variables, discard singular solutions, and use the DifferentialAlgebra package for the intermediate differential elimination computations (optional argument diffalg of pdsolve)

 > $\mathrm{Solve}\left({\mathrm{eq}}_{6},\left\{b,f,g\right\},\mathrm{singsol}=\mathrm{false},\mathrm{diffalg}\right)$
 $\left\{{b}{=}{{a}}^{{3}}{,}{f}{}\left({x}{,}{y}\right){=}\mathrm{c__1}{+}\mathrm{c__2}{}{{ⅇ}}^{{a}{}{x}}{,}{g}{}\left({x}{,}{y}\right){=}{-}{{ⅇ}}^{{a}{}{x}}{}\mathrm{c__2}{}{a}{}\left({a}{+}{y}\right)\right\}$ (17)

Exact, series, and numeric solutions independentof

 In the examples of the previous section the advantage with regards to calling solve, fsolve, dsolve, and pdsolve is in using a single command and having a unified format for the input and output, that allows for computing exact, series, or numeric solutions. Solve, however, also provides additional functionality: it can compute solutions independent of indicated variables
 > ${\mathrm{eq}}_{7}≔\mathrm{sin}\left(x\right)=\mathrm{cos}\left(ax+b\right)$
 ${{\mathrm{eq}}}_{{7}}{≔}{\mathrm{sin}}{}\left({x}\right){=}{\mathrm{cos}}{}\left({a}{}{x}{+}{b}\right)$ (18)
 > $\mathrm{Solve}\left({\mathrm{eq}}_{7},\left\{a,b\right\},\mathrm{independentof}=x\right)$
 $\left\{{a}{=}{1}{,}{b}{=}{-}\frac{{\mathrm{\pi }}}{{2}}\right\}{,}\left\{{a}{=}{-1}{,}{b}{=}\frac{{\mathrm{\pi }}}{{2}}\right\}$ (19)
 The system being solved using independentof can also contain inequations
 > ${\mathrm{eq}}_{8}≔\left[kac\left(a+b\right){ⅇ}^{kdt}-2a{ⅇ}^{kt}k+Q\left(-c+a\right)x,a\ne 0\right]$
 ${{\mathrm{eq}}}_{{8}}{≔}\left[{k}{}{a}{}{c}{}\left({a}{+}{b}\right){}{{ⅇ}}^{{k}{}{d}{}{t}}{-}{2}{}{a}{}{{ⅇ}}^{{k}{}{t}}{}{k}{+}{Q}{}\left({-}{c}{+}{a}\right){}{x}{,}{a}{\ne }{0}\right]$ (20)
 > $\mathrm{Solve}\left({\mathrm{eq}}_{8},\left\{a,b,c,d\right\},\mathrm{independentof}=\left\{t,x\right\}\right)$
 $\left\{{a}{=}{a}{,}{b}{=}{-}\frac{{{a}}^{{2}}{-}{2}}{{a}}{,}{c}{=}{a}{,}{d}{=}{1}\right\}$ (21)
 Solutions that are independent of the specified variables can be computed as well for differential equations or systems of them; this is a PDE example
 > ${\mathrm{eq}}_{9}≔\left(\frac{\partial }{\partial x}f\left(x,y\right)\right)\left(\frac{\partial }{\partial x}g\left(x,y\right)\right)+\left(\frac{\partial }{\partial y}f\left(x,y\right)\right)\left(\frac{\partial }{\partial y}g\left(x,y\right)\right)+g\left(x,y\right)\left(\frac{{\partial }^{2}}{\partial {x}^{2}}f\left(x,y\right)+\frac{{\partial }^{2}}{\partial {y}^{2}}f\left(x,y\right)\right)=-1$
 ${{\mathrm{eq}}}_{{9}}{≔}\left(\frac{{\partial }}{{\partial }{x}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{f}{}\left({x}{,}{y}\right)\right){}\left(\frac{{\partial }}{{\partial }{x}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{g}{}\left({x}{,}{y}\right)\right){+}\left(\frac{{\partial }}{{\partial }{y}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{f}{}\left({x}{,}{y}\right)\right){}\left(\frac{{\partial }}{{\partial }{y}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{g}{}\left({x}{,}{y}\right)\right){+}{g}{}\left({x}{,}{y}\right){}\left(\frac{{{\partial }}^{{2}}}{{\partial }{{x}}^{{2}}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{f}{}\left({x}{,}{y}\right){+}\frac{{{\partial }}^{{2}}}{{\partial }{{y}}^{{2}}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{f}{}\left({x}{,}{y}\right)\right){=}{-1}$ (22)
 The general solution of ${\mathrm{eq}}_{9}$ is
 > ${\mathrm{sol}}_{9}≔\mathrm{Solve}\left({\mathrm{eq}}_{9}\right)$
 ${{\mathrm{sol}}}_{{9}}{≔}\left\{{f}{}\left({x}{,}{y}\right){=}\mathrm{f__1}{}\left({y}\right){,}{g}{}\left({x}{,}{y}\right){=}\frac{{-}{y}{+}\mathrm{f__2}{}\left({x}\right)}{\frac{{ⅆ}}{{ⅆ}{y}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}\mathrm{f__1}{}\left({y}\right)}\right\}$ (23)
 > $\mathrm{pdetest}\left({\mathrm{sol}}_{9},{\mathrm{eq}}_{9}\right)$
 ${0}$ (24)
 Here are solutions for ${\mathrm{eq}}_{9}$ that are independent of $x$ and independent of $y$
 > $\mathrm{Solve}\left({\mathrm{eq}}_{9},\mathrm{independentof}=x\right)$
 $\left\{{f}{}\left({x}{,}{y}\right){=}\mathrm{f__1}{}\left({y}\right){,}{g}{}\left({x}{,}{y}\right){=}\frac{{-}{y}{+}\mathrm{c__1}}{\frac{{ⅆ}}{{ⅆ}{y}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}\mathrm{f__1}{}\left({y}\right)}\right\}$ (25)
 > ${\mathrm{sol}}_{9,x}≔\mathrm{Solve}\left({\mathrm{eq}}_{9},\mathrm{independentof}=y\right)$
 ${{\mathrm{sol}}}_{{9}{,}{x}}{≔}\left\{{f}{}\left({x}{,}{y}\right){=}\mathrm{f__1}{}\left({x}\right){,}{g}{}\left({x}{,}{y}\right){=}\frac{{-}{x}{+}\mathrm{c__1}}{\frac{{ⅆ}}{{ⅆ}{x}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}\mathrm{f__1}{}\left({x}\right)}\right\}$ (26)
 Note that although the general solution ${\mathrm{sol}}_{9}$ depends on arbitrary functions, the solution for $f\left(x,y\right)$ does not depend on $x$. On the other hand, in the solution ${\mathrm{sol}}_{9,x}$ above, $f\left(x,y\right)$ depends on $x$, although then the solution for $g\left(x,y\right)$ does not depend on $y$. Verify this solution:
 > $\mathrm{pdetest}\left({\mathrm{sol}}_{9,x},{\mathrm{eq}}_{9}\right)$
 ${0}$ (27)

Compatibility

 • The implicit and algebraically options were introduced in Maple 15.