I have a problem solving the attached nonlinear system of equations using shooting method. I will be grateful if you could help me finding the solutions out.

restart; Shootlib := "C:/Shoot9"; libname := Shootlib, libname; with(Shoot); with(plots); N1 := 1.0; N2 := 2.0; N3 := .5; Bt := 6; Re_m := N1*Bt; gamma1 := 1; FNS := {f(eta), fp(eta), fpp(eta), g(eta), gp(eta), m(eta), mp(eta), n(eta), np(eta), fppp(eta)}; ODE := {diff(f(eta), eta) = fp(eta), diff(fp(eta), eta) = fpp(eta), diff(fpp(eta), eta) = fppp(eta), diff(g(eta), eta) = gp(eta), diff(gp(eta), eta) = N1*(2.*g(eta)+(eta-2.*f(eta)).gp(eta)+2.*g(eta)*fp(eta)+2.*N2.N3.(m(eta).np(eta)-n(eta).mp(eta))), diff(m(eta), eta) = mp(eta), diff(mp(eta), eta) = Re_m.(m(eta)+(eta-2.*f(eta)).mp(eta)+2.*m(eta)*fp(eta)), diff(n(eta), eta) = np(eta), diff(np(eta), eta) = Re_m.(2.*n(eta)+(eta-2.*f(eta)).np(eta)+2.*N2/N3.m(eta).gp(eta)), diff(fppp(eta), eta) = N1*(3.*fpp(eta)+(eta-2.*f(eta)).fppp(eta)-2.*N2.N2.m(eta).(diff(mp(eta), eta)))}; blt := 1.0; IC := {f(0) = 0, fp(0) = 0, fpp(0) = alpha1, g(0) = 1, gp(0) = beta1, m(0) = 0, mp(0) = beta2, n(0) = 0, np(0) = beta3, fppp(0) = alpha2}; BC := {f(blt) = .5, fp(blt) = 0, g(blt) = 0, m(blt) = 1, n(blt) = 1}; infolevel[shoot] := 1; S := shoot(ODE, IC, BC, FNS, [alpha1 = 1.425, alpha2 = .425, beta1 = -1.31, beta2 = 1.00, beta3 = 1.29]); Error, (in isolate) cannot isolate for a function when it appears with different arguments p := odeplot(S, [eta, fp(eta)], 0 .. 15); Error, (in plots/odeplot) input is not a valid dsolve/numeric solution display(p); Error, (in plots:-display) expecting plot structure but received: p p2 := odeplot(S, [eta, theta(eta)], 0 .. 10); Error, (in plots/odeplot) input is not a valid dsolve/numeric solution display(p2); Error, (in plots:-display) expecting plot structure but received: p2

General description of the method of solving underdetermined systems of equations. As a particular application of the idea proposed a universal method kinematic analysis for all kinds of spatial and planar link mechanisms with any number degrees of freedom. The method can be used for powerful CAD linkages. http://www.maplesoft.com/applications/view.aspx?SID=154228

Some examples of a much larger number calculated by the proposed method. Examples gathered here not to look for them on the forum and opportunity to demonstrate the method. Among the examples, I think, there are very complicated.

Hi, The latest update to the differential equations Maple libraries (this week, can be downloaded from the Maplesoft R&D webpage for Differential Equations and Mathematical functions) includes new functionality in pdsolve, regarding whether the solution for a PDE or PDE system is or not a general solution.

In brief, a general solution of a PDE in 1 unknown, that has differential order N, and where the unknown depends on M independent variables, involves N arbitrary functions of M-1 arguments. It is not entirely evident how to extend this definition in the case of a coupled, possibly nonlinear PDE system. However, using differential algebra techniques (automatically used by pdsolve when tackling a PDE system), that extension to define a general solution for a DE system is possible, and also when the system involves ODEs and PDEs, and/or algebraic (that is, non-differential) equations, and/or inequations of the form involving the unknowns, and all of this in the presence of mathematical functions (based on the use of Maple's PDEtools:-dpolyform). This is a very nice case were many different advanced developments come together to naturally solve a problem that otherwise would be rather difficult. The issues at the center of this Maple development/post are then:

a) How do you know whether a PDE or PDE system solution returned is a general solution?

b) How could you indicate to pdsolve that you are only interested in a general PDE or PDE system solution?

The answer to a) is now always present in the last line of the userinfo. So input infolevel[pdsolve] := 3 before calling pdsolve, and check what the last line of the userinfo displayed tells.

The answer to b) is a new option, generalsolution, implemented in pdsolve so that it either returns a general solution or otherwise it returns NULL. If you do not use this new option, then pdsolve works as always: first it tries to compute a general solution and if it fails in doing that it tries to compute a particular solution by separating the variables in different ways, or computing a traveling wave solution or etc. (a number of other well known methods).

The examples that follow are from the help page pdsolve,system, and show both the new userinfo telling whether the solution returned is a general one and the option generalsolution at work.The examples are all of differential equation systems but the same userinfos and generalsolution option work as well in the case of a single PDE.

Example 1.

Solve the determining PDE system for the infinitesimals of the symmetry generator of example 11 from Kamke's book. Tell whether the solution computed is or not a general solution.

>

(1.1)

The PDE system satisfied by the symmetries of Kamke's ODE example number 11 is

>

This is a second order linear PDE system, with two unknowns and four equations. Its general solution is given by the following, where we now can tell that the solution is a general one by reading the last line of the userinfo. Note that because the system is overdetermined, a general solution in this case does not involve any arbitrary function

>

-> Solving ordering for the dependent variables of the PDE system: [xi(x,y), eta(x,y)]

-> Solving ordering for the independent variables (can be changed using the ivars option): [x, y] tackling triangularized subsystem with respect to xi(x,y) First set of solution methods (general or quasi general solution) Trying simple case of a single derivative. First set of solution methods successful tackling triangularized subsystem with respect to eta(x,y) <- Returning a *general* solution

(1.2)

Next we indicate to pdsolve that and are parameters of the problem, and that we want a solution for , making more difficult to identify by eye whether the solution returned is or not a general one. Again the last line of the userinfo tells that pdsolve's solution is indeed a general one

>

(1.3)

>

-> Solving ordering for the dependent variables of the PDE system: [r, n, xi(x,y), eta(x,y)]

-> Solving ordering for the independent variables (can be changed using the ivars option): [x, y] tackling triangularized subsystem with respect to r tackling triangularized subsystem with respect to n tackling triangularized subsystem with respect to xi(x,y) First set of solution methods (general or quasi general solution) Trying simple case of a single derivative. First set of solution methods successful tackling triangularized subsystem with respect to eta(x,y) tackling triangularized subsystem with respect to r tackling triangularized subsystem with respect to n tackling triangularized subsystem with respect to xi(x,y) First set of solution methods (general or quasi general solution) Trying simple case of a single derivative. First set of solution methods successful tackling triangularized subsystem with respect to eta(x,y) tackling triangularized subsystem with respect to r tackling triangularized subsystem with respect to n tackling triangularized subsystem with respect to xi(x,y) First set of solution methods (general or quasi general solution) Trying simple case of a single derivative. First set of solution methods successful tackling triangularized subsystem with respect to eta(x,y) tackling triangularized subsystem with respect to n tackling triangularized subsystem with respect to xi(x,y) First set of solution methods (general or quasi general solution) Trying simple case of a single derivative. First set of solution methods successful tackling triangularized subsystem with respect to eta(x,y) tackling triangularized subsystem with respect to n tackling triangularized subsystem with respect to xi(x,y) First set of solution methods (general or quasi general solution) Trying simple case of a single derivative. First set of solution methods successful tackling triangularized subsystem with respect to eta(x,y) tackling triangularized subsystem with respect to xi(x,y) First set of solution methods (general or quasi general solution) Trying simple case of a single derivative. First set of solution methods successful tackling triangularized subsystem with respect to eta(x,y) <- Returning a *general* solution

(1.4)

>

(1.5)

Example 2.

Compute the solution of the following (linear) overdetermined system involving two PDEs, three unknown functions, one of which depends on 2 variables and the other two depend on only 1 variable.

>

The solution for the unknowns G, H, is given by the following expression, were again determining whether this solution, that depends on 3 arbitrary functions, , is or not a general solution, is non-obvious.

>

-> Solving ordering for the dependent variables of the PDE system: [F(r,s), H(r), G(s)]

-> Solving ordering for the independent variables (can be changed using the ivars option): [r, s] tackling triangularized subsystem with respect to F(r,s) First set of solution methods (general or quasi general solution) Trying differential factorization for linear PDEs ... differential factorization successful. First set of solution methods successful tackling triangularized subsystem with respect to H(r) tackling triangularized subsystem with respect to G(s) <- Returning a *general* solution

(1.6)

>

(1.7)

Example 3.

Compute the solution of the following nonlinear system, consisting of Burger's equation and a possible potential.

>

We see that in this case the solution returned is not a general solution but two particular ones; again the information is in the last line of the userinfo displayed

>

-> Solving ordering for the dependent variables of the PDE system: [v(x,t), u(x,t)]

-> Solving ordering for the independent variables (can be changed using the ivars option): [x, t] tackling triangularized subsystem with respect to v(x,t) tackling triangularized subsystem with respect to u(x,t) First set of solution methods (general or quasi general solution) Second set of solution methods (complete solutions) Trying methods for second order PDEs Third set of solution methods (simple HINTs for separating variables) PDE linear in highest derivatives - trying a separation of variables by * HINT = * Fourth set of solution methods Trying methods for second order linear PDEs Preparing a solution HINT ... Trying HINT = _F1(x)*_F2(t) Fourth set of solution methods Preparing a solution HINT ... Trying HINT = _F1(x)+_F2(t) Trying travelling wave solutions as power series in tanh ... * Using tau = tanh(t*C[2]+x*C[1]+C[0]) * Equivalent ODE system: {C[1]^2*(tau^2-1)^2*diff(diff(u(tau),tau),tau)+(2*C[1]^2*(tau^2-1)*tau+2*u(tau)*C[1]*(tau^2-1)+C[2]*(tau^2-1))*diff(u(tau),tau)} * Ordering for functions: [u(tau)] * Cases for the upper bounds: [[n[1] = 1]] * Power series solution [1]: {u(tau) = tau*A[1,1]+A[1,0]} * Solution [1] for {A[i, j], C[k]}: [[A[1,1] = 0], [A[1,0] = -1/2*C[2]/C[1], A[1,1] = -C[1]]] travelling wave solutions successful. tackling triangularized subsystem with respect to v(x,t) First set of solution methods (general or quasi general solution) Trying differential factorization for linear PDEs ... Trying methods for PDEs "missing the dependent variable" ... Second set of solution methods (complete solutions) Trying methods for second order PDEs Third set of solution methods (simple HINTs for separating variables) PDE linear in highest derivatives - trying a separation of variables by * HINT = * Fourth set of solution methods Trying methods for second order linear PDEs Preparing a solution HINT ... Trying HINT = _F1(x)*_F2(t) Third set of solution methods successful tackling triangularized subsystem with respect to u(x,t) <- Returning a solution that *is not the most general one*

(1.8)

>

(1.9)

This example is also good for illustrating the other related new feature: one can now request to pdsolve to only compute a general solution (it will return NULL if it cannot achieve that). Turn OFF userinfos and try with this example

>

This returns NULL:

>

Example 4.

Another where the solution returned is particular, this time for a linear system, conformed by 38 PDEs, also from differential equation symmetry analysis

>

There are 38 coupled equations

>

(1.10)

When requesting a general solution pdsolve returns NULL:

>

A solution that is not a general one, is however computed by default if calling pdsolve without the generalsolution option. In this case again the last line of the userinfo tells that the solution returned is not a general solution

>

(1.11)

>

-> Solving ordering for the dependent variables of the PDE system: [eta[1](x,y,z,t,u), xi[1](x,y,z,t,u), xi[2](x,y,z,t,u), xi[3](x,y,z,t,u), xi[4](x,y,z,t,u)]

-> Solving ordering for the independent variables (can be changed using the ivars option): [t, x, y, z, u] tackling triangularized subsystem with respect to eta[1](x,y,z,t,u) First set of solution methods (general or quasi general solution) Trying simple case of a single derivative. First set of solution methods successful -> Solving ordering for the dependent variables of the PDE system: [_F1(x,y,z,t), _F2(x,y,z,t)] -> Solving ordering for the independent variables (can be changed using the ivars option): [t, x, y, z, u] tackling triangularized subsystem with respect to _F1(x,y,z,t) First set of solution methods (general or quasi general solution) Trying simple case of a single derivative. First set of solution methods successful -> Solving ordering for the dependent variables of the PDE system: [_F3(x,y,z), _F4(x,y,z)] -> Solving ordering for the independent variables (can be changed using the ivars option): [x, y, z, t] tackling triangularized subsystem with respect to _F3(x,y,z) First set of solution methods (general or quasi general solution) Trying simple case of a single derivative. First set of solution methods successful First set of solution methods (general or quasi general solution) Trying simple case of a single derivative. First set of solution methods successful tackling triangularized subsystem with respect to _F4(x,y,z) First set of solution methods (general or quasi general solution) Trying simple case of a single derivative. First set of solution methods successful -> Solving ordering for the dependent variables of the PDE system: [_F5(y,z), _F6(y,z)] -> Solving ordering for the independent variables (can be changed using the ivars option): [y, z, x] tackling triangularized subsystem with respect to _F5(y,z) First set of solution methods (general or quasi general solution) Trying simple case of a single derivative. First set of solution methods successful tackling triangularized subsystem with respect to _F6(y,z) First set of solution methods (general or quasi general solution) Trying simple case of a single derivative. First set of solution methods successful -> Solving ordering for the dependent variables of the PDE system: [_F7(z), _F8(z)] -> Solving ordering for the independent variables (can be changed using the ivars option): [z, y] tackling triangularized subsystem with respect to _F7(z) tackling triangularized subsystem with respect to _F8(z) tackling triangularized subsystem with respect to _F2(x,y,z,t) First set of solution methods (general or quasi general solution) Trying differential factorization for linear PDEs ... Trying methods for PDEs "missing the dependent variable" ... Second set of solution methods (complete solutions) Third set of solution methods (simple HINTs for separating variables) PDE linear in highest derivatives - trying a separation of variables by * HINT = * Fourth set of solution methods Preparing a solution HINT ... Trying HINT = _F3(x)*_F4(y)*_F5(z)*_F6(t) Third set of solution methods successful

tackling triangularized subsystem with respect to xi[1](x,y,z,t,u) First set of solution methods (general or quasi general solution) Trying simple case of a single derivative. First set of solution methods successful First set of solution methods (general or quasi general solution) Trying simple case of a single derivative. First set of solution methods successful -> Solving ordering for the dependent variables of the PDE system: [_F1(x,z,t), _F2(x,z,t)] -> Solving ordering for the independent variables (can be changed using the ivars option): [t, x, z, y] tackling triangularized subsystem with respect to _F1(x,z,t) First set of solution methods (general or quasi general solution) Trying simple case of a single derivative. First set of solution methods successful First set of solution methods (general or quasi general solution) Trying simple case of a single derivative. First set of solution methods successful tackling triangularized subsystem with respect to _F2(x,z,t) First set of solution methods (general or quasi general solution) Trying simple case of a single derivative. First set of solution methods successful

-> Solving ordering for the dependent variables of the PDE system: [_F3(x,t), _F4(x,t)] -> Solving ordering for the independent variables (can be changed using the ivars option): [t, x, z] tackling triangularized subsystem with respect to _F3(x,t) First set of solution methods (general or quasi general solution) Trying simple case of a single derivative. First set of solution methods successful tackling triangularized subsystem with respect to _F4(x,t) First set of solution methods (general or quasi general solution) Trying simple case of a single derivative. First set of solution methods successful -> Solving ordering for the dependent variables of the PDE system: [_F5(x), _F6(x)] -> Solving ordering for the independent variables (can be changed using the ivars option): [x, t] tackling triangularized subsystem with respect to _F5(x) tackling triangularized subsystem with respect to _F6(x) tackling triangularized subsystem with respect to xi[2](x,y,z,t,u) First set of solution methods (general or quasi general solution) Trying simple case of a single derivative. First set of solution methods successful First set of solution methods (general or quasi general solution) Trying simple case of a single derivative. First set of solution methods successful First set of solution methods (general or quasi general solution) Trying simple case of a single derivative. First set of solution methods successful First set of solution methods (general or quasi general solution) Trying simple case of a single derivative. First set of solution methods successful -> Solving ordering for the dependent variables of the PDE system: [_F1(t), _F2(t)] -> Solving ordering for the independent variables (can be changed using the ivars option): [t, z] tackling triangularized subsystem with respect to _F1(t) tackling triangularized subsystem with respect to _F2(t) tackling triangularized subsystem with respect to xi[3](x,y,z,t,u) First set of solution methods (general or quasi general solution) Trying simple case of a single derivative. First set of solution methods successful First set of solution methods (general or quasi general solution) Trying simple case of a single derivative. First set of solution methods successful First set of solution methods (general or quasi general solution) Trying simple case of a single derivative. First set of solution methods successful First set of solution methods (general or quasi general solution) Trying simple case of a single derivative. First set of solution methods successful tackling triangularized subsystem with respect to xi[4](x,y,z,t,u) First set of solution methods (general or quasi general solution) Trying simple case of a single derivative. First set of solution methods successful First set of solution methods (general or quasi general solution) Trying simple case of a single derivative. First set of solution methods successful First set of solution methods (general or quasi general solution) Trying simple case of a single derivative. First set of solution methods successful First set of solution methods (general or quasi general solution) Trying simple case of a single derivative. First set of solution methods successful <- Returning a solution that *is not the most general one*

(1.12)

>

(1.13)

Example 5.

Finally, the new userinfos also tell whether a solution is or not a general solution when working with PDEs that involve anticommutative variables set using the Physics package

>

(1.14)

Set first and as suffixes for variables of type/anticommutative (see Setup)

>

(1.15)

A PDE system example with two unknown anticommutative functions of four variables, two commutative and two anticommutative; to avoid redundant typing in the input that follows and redundant display of information on the screen let's use PDEtools:-diff_tablePDEtools:-declare

>

(1.16)

>

(1.17)

Consider the system formed by these two PDEs (because of the q diff_table just defined, we can enter derivatives directly using the function's name indexed by the differentiation variables)

>

(1.18)

>

(1.19)

The solution returned for this system is indeed a general solution

>

-> Solving ordering for the dependent variables of the PDE system: [_F4(x,y), _F2(x,y), _F3(x,y)]

-> Solving ordering for the independent variables (can be changed using the ivars option): [x, y] tackling triangularized subsystem with respect to _F4(x,y) tackling triangularized subsystem with respect to _F2(x,y) tackling triangularized subsystem with respect to _F3(x,y) First set of solution methods (general or quasi general solution) Trying simple case of a single derivative. HINT = _F6(x)+_F5(y) Trying HINT = _F6(x)+_F5(y) HINT is successful First set of solution methods successful <- Returning a *general* solution

(1.20)

>

This solution involves an anticommutative constant, analogous to the commutative constants where n is an integer.

New developments (after the release of Maple 2016) happened in the project on exact solutions for "Partial Differential Equations & Boundary Conditions". This is work in collaboration with Katherina von Bulow and the improvements are of wide range, representing a noticeable step forward in the capabilities of the Maple system for this kind of problem. As usual, these improvements can be installed in current Maple 2016 by downloading the updated library from the Maplesoft R&D webpage for Differential Equations and Mathematical functions (the update is distributed merged with the updates of the Physics package)

The improvements cover:

•

PDE&BC in semi-infinite domains for which a bounded solution is sought

•

PDE & BC problems in bounded spatial domains via eigenfunction (Fourier) expansions

•

Implementation of another algebraic method for tackling linear PDE & BC

•

Improvements in solving PDE & BC solutions by first finding the PDE's general solution.

•

Improvements in solving PDE & BC problems by using a Fourier transform.

•

PDE & BC problems that used to require the option HINT = `+` are now solved automatically

What follows is a set of examples solved now with these new developments, organized in sections according to the kind of problem. Where relevant, the sections include a subsection on "How it works step by step".

PDE&BC in semi-infinite domains for which a bounded solution is sought can now also be solved via Laplace transforms

Maple is now able to solve more PDE&BC problems via Laplace transforms.

How it works: Laplace transforms act to change derivatives with respect to one of the independent variables of the domain into multiplication operations in the transformed domain. After applying a Laplace transform to the original problem, we can simplify the problem using the transformed BC, then solve the problem in the transformed domain, and finally apply the inverse Laplace transform to arrive at the final solution. It is important to remember to give pdsolve any necessary restrictions on the variables and constants of the problem, by means of the "assuming" command.

A new feature is that we can now tell pdsolve that the dependent variable is bounded, by means of the optional argument HINT = boundedseries.

>

Consider the problem of a falling cable lying on a table that is suddenly removed (cf. David J. Logan's Applied Partial Differential Equations p.115).

>

If we ask pdsolve to solve this problem without the condition of boundedness of the solution, we obtain:

>

(1.1)

New: If we now ask for a bounded solution, by means of the option HINT = boundedseries, pdsolve simplifies the problem accordingly.

>

(1.2)

And we can check this answer against the original problem, if desired:

>

(1.3)

How it works, step by step

Let us see the process this problem undergoes to be solved by pdsolve, step by step.

First, the Laplace transform is applied to the PDE:

>

>

(1.1.1)

and the result is simplified using the initial conditions:

>

(1.1.2)

Next, we call the function "laplace(u(x,t),t,s)" by the new name U:

>

(1.1.3)

And this equation, which is really an ODE, is solved:

>

(1.1.4)

Now, since we want a BOUNDED solution, the term with the positive exponential must be zero, and we are left with:

>

(1.1.5)

Now, the initial solution must also be satisfied. Here it is, in the transformed domain:

>

(1.1.6)

Or, in the new variable U,

>

(1.1.7)

And by applying it to bounded_solution_U, we find the relationship

>

(1.1.8)

>

(1.1.9)

so that our solution now becomes

>

(1.1.10)

to which we now apply the inverse Laplace transform to obtain the solution to the problem:

>

(1.1.11)

Four other related examples

A few other examples:

>

>

(1.2.1)

>

(1.2.2)

>

>

(1.2.3)

>

(1.2.4)

>

>

(1.2.5)

>

(1.2.6)

The following is an example from page 76 in Logan's book:

>

>

(1.2.7)

More PDE&BC problems in bounded spatial domains can now be solved via eigenfunction (Fourier) expansions

The code for solving PDE&BC problems in bounded spatial domains has been expanded. The method works by separating the variables by product, so that the problem is transformed into an ODE system (with initial and/or boundary conditions) problem, one of which is a Sturm-Liouville problem (a type of eigenvalue problem) which has infinitely many solutions - hence the infinite series representation of the solutions.

>

Here is a simple example for the heat equation:

>

>

(2.1)

>

(2.2)

Now, consider the displacements of a string governed by the wave equation, where c is a constant (cf. Logan p.28).

>

>

(2.3)

>

(2.4)

Another wave equation problem (cf. Logan p.130):

>

>

(2.5)

>

(2.6)

Here is a problem with periodic boundary conditions (cf. Logan p.131). The function stands for the concentration of a chemical dissolved in water within a tubular ring of circumference . The initial concentration is given by , and the variable is the arc-length parameter that varies from 0 to .

>

>

(2.7)

>

(2.8)

The following problem is for heat flow with both boundaries insulated (cf. Logan p.166, 3rd edition)

>

>

(2.9)

>

(2.10)

This is a problem in a bounded domain with the presence of a source. A source term represents an outside influence in the system and leads to an inhomogeneous PDE (cf. Logan p.149):

>

>

(2.11)

Current pdetest is unable to verify that this solution cancells the mainly because it currently fails in identifying that there is a fourier expansion in it, but its subroutines for testing the boundary conditions work well with this problem

>

>

(2.12)

Consider a heat absorption-radiation problem in the bounded domain :

>

>

(2.13)

>

(2.14)

Consider the nonhomogeneous wave equation problem (cf. Logan p.213, 3rd edition):

>

>

(2.15)

>

(2.16)

Consider the following Schrödinger equation with zero potential energy (cf. Logan p.30):

>

>

(2.17)

>

(2.18)

Another method has been implemented for linear PDE&BC