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}\left[1\right]≔a{x}^{2}+bx+c=0$
 ${{\mathrm{eq}}}_{{1}}{≔}{a}{}{{x}}^{{2}}{+}{b}{}{x}{+}{c}{=}{0}$ (2)
 > $\mathrm{Solve}\left(\mathrm{eq}\left[1\right],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}\left[1\right],\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}\left[2\right]≔\mathrm{diff}\left(y\left(x\right),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}\left[2\right]\right)$
 ${y}{}\left({x}\right){=}{\mathrm{_C1}}{}{{ⅇ}}^{{x}}$ (6)
 > $\mathrm{Solve}\left(\mathrm{eq}\left[2\right],\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}\left[2\right],\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}\left[4\right]≔\mathrm{diff}\left(u\left(x,t\right),t\right)+c\mathrm{diff}\left(u\left(x,t\right),x\right)=-\mathrm{\lambda }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}\left[4\right]\right)$
 ${u}{}\left({x}{,}{t}\right){=}{\mathrm{_F1}}{}\left(\frac{{t}{}{c}{-}{x}}{{c}}\right){}{{ⅇ}}^{{-}\frac{{\mathrm{\lambda }}{}{x}}{{c}}}$ (10)
 > $\mathrm{bc}\left[4\right]≔u\left(x,0\right)=\mathrm{\phi }\left(x\right)$
 ${{\mathrm{bc}}}_{{4}}{≔}{u}{}\left({x}{,}{0}\right){=}{\mathrm{\phi }}{}\left({x}\right)$ (11)
 > $\mathrm{sol}\left[5\right]≔\mathrm{Solve}\left(\left[\mathrm{eq}\left[4\right],\mathrm{bc}\left[4\right]\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}\left[5\right]≔\left[\mathrm{diff}\left(u\left(x,t\right),t\right)=\frac{1}{10}\mathrm{diff}\left(u\left(x,t\right),x,x\right),u\left(x,0\right)=1,u\left(0,t\right)=0,\mathrm{D}\left[1\right]\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}\left[5\right]≔\mathrm{PDEtools}:-\mathrm{Solve}\left(\mathrm{eq}\left[5\right],\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}\left[5\right]:-\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}\left[6\right]≔\left[\mathrm{diff}\left(f\left(x,y\right),y,y\right),\mathrm{diff}\left(g\left(x,y\right),y,y\right)-2\mathrm{diff}\left(f\left(x,y\right),x,y\right)-6\mathrm{diff}\left(f\left(x,y\right),y\right)y,-9\mathrm{diff}\left(f\left(x,y\right),y\right)a{y}^{2}-12\mathrm{diff}\left(f\left(x,y\right),y\right){a}^{2}y+2\mathrm{diff}\left(g\left(x,y\right),x,y\right)-\mathrm{diff}\left(f\left(x,y\right),x,x\right)-3g\left(x,y\right)-3\mathrm{diff}\left(f\left(x,y\right),y\right)b-3\mathrm{diff}\left(f\left(x,y\right),x\right)y,-4g\left(x,y\right){a}^{2}-2\mathrm{diff}\left(f\left(x,y\right),x\right)b+\mathrm{diff}\left(g\left(x,y\right),y\right)b-3y\mathrm{diff}\left(g\left(x,y\right),x\right)+\mathrm{diff}\left(g\left(x,y\right),x,x\right)-6g\left(x,y\right)ay-6\mathrm{diff}\left(f\left(x,y\right),x\right)a{y}^{2}-8\mathrm{diff}\left(f\left(x,y\right),x\right){a}^{2}y+3\mathrm{diff}\left(g\left(x,y\right),y\right)a{y}^{2}+4\mathrm{diff}\left(g\left(x,y\right),y\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}\left[6\right],\left\{a,b,f,g\right\}\right)$
 $\left\{{a}{=}{\mathrm{_C1}}{,}{b}{=}{{\mathrm{_C1}}}^{{3}}{,}{f}{}\left({x}{,}{y}\right){=}\frac{{\mathrm{_C3}}{}{\mathrm{_C1}}{+}{{ⅇ}}^{{\mathrm{_C1}}{}\left({\mathrm{_C2}}{+}{x}\right)}}{{\mathrm{_C1}}}{,}{g}{}\left({x}{,}{y}\right){=}{-}\left({\mathrm{_C1}}{+}{y}\right){}{{ⅇ}}^{{\mathrm{_C1}}{}\left({\mathrm{_C2}}{+}{x}\right)}\right\}{,}\left\{{a}{=}{a}{,}{b}{=}{b}{,}{f}{}\left({x}{,}{y}\right){=}{\mathrm{_C1}}{,}{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}\left[6\right],\left\{b,f,g\right\},\mathrm{singsol}=\mathrm{false},\mathrm{diffalg}\right)$
 $\left\{{b}{=}{{a}}^{{3}}{,}{f}{}\left({x}{,}{y}\right){=}{\mathrm{_C1}}{+}{\mathrm{_C2}}{}{{ⅇ}}^{{a}{}{x}}{,}{g}{}\left({x}{,}{y}\right){=}{-}{{ⅇ}}^{{a}{}{x}}{}{\mathrm{_C2}}{}{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}\left[7\right]≔\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}\left[7\right],\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}\left[8\right]≔\left[kac\left(a+b\right)\mathrm{exp}\left(kdt\right)-2a\mathrm{exp}\left(kt\right)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}\left[8\right],\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}\left[9\right]≔\mathrm{diff}\left(f\left(x,y\right),x\right)\mathrm{diff}\left(g\left(x,y\right),x\right)+\mathrm{diff}\left(f\left(x,y\right),y\right)\mathrm{diff}\left(g\left(x,y\right),y\right)+g\left(x,y\right)\left(\mathrm{diff}\left(f\left(x,y\right),x,x\right)+\mathrm{diff}\left(f\left(x,y\right),y,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}\left[9\right]≔\mathrm{Solve}\left(\mathrm{eq}\left[9\right]\right)$
 ${{\mathrm{sol}}}_{{9}}{≔}\left\{{f}{}\left({x}{,}{y}\right){=}{\mathrm{_F1}}{}\left({y}\right){,}{g}{}\left({x}{,}{y}\right){=}\frac{{-}{y}{+}{\mathrm{_F2}}{}\left({x}\right)}{\frac{{ⅆ}}{{ⅆ}{y}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{\mathrm{_F1}}{}\left({y}\right)}\right\}$ (23)
 > $\mathrm{pdetest}\left(\mathrm{sol}\left[9\right],\mathrm{eq}\left[9\right]\right)$
 ${0}$ (24)
 Here are solutions for ${\mathrm{eq}}_{9}$ that are independent of $x$ and independent of $y$
 > $\mathrm{Solve}\left(\mathrm{eq}\left[9\right],\mathrm{independentof}=x\right)$
 $\left\{{f}{}\left({x}{,}{y}\right){=}{\mathrm{_F1}}{}\left({y}\right){,}{g}{}\left({x}{,}{y}\right){=}\frac{{-}{y}{+}{\mathrm{_C1}}}{\frac{{ⅆ}}{{ⅆ}{y}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{\mathrm{_F1}}{}\left({y}\right)}\right\}$ (25)
 > $\mathrm{sol}\left[9,x\right]≔\mathrm{Solve}\left(\mathrm{eq}\left[9\right],\mathrm{independentof}=y\right)$
 ${{\mathrm{sol}}}_{{9}{,}{x}}{≔}\left\{{f}{}\left({x}{,}{y}\right){=}{\mathrm{_F1}}{}\left({x}\right){,}{g}{}\left({x}{,}{y}\right){=}\frac{{-}{x}{+}{\mathrm{_C1}}}{\frac{{ⅆ}}{{ⅆ}{x}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{\mathrm{_F1}}{}\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}\left[9,x\right],\mathrm{eq}\left[9\right]\right)$
 ${0}$ (27)

Compatibility

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