Partial Differential Equations with Boundary Conditions
Significant developments happened for Maple 2019 in its ability for the exact solving of PDE with Boundary / Initial conditions. The new functionality is described below, in 11 brief Sections, with 30 selected examples and a few comments.
1. PDE and BC problems solved using linear change of variables
2. It is now possible to specify or exclude method(s) for solving
3. Series solutions for linear PDE and BC problems solved via product separation with eigenvalues that are the roots of algebraic expressions which cannot be inverted
4. Superposition method for linear PDE with more than one non-homogeneous BC
5. Polynomial solutions method:
6. Solving more problems using the Laplace transform or the Fourier transform
7. Improvements to solving heat and wave PDE, with or without a source:
8. Improvements in series methods for Laplace PDE problems
9. Better simplification of answers:
10. Linear differential operator: more solutions are now successfully computed
11. More problems in 3 variables are now solved
References
PDE and BC problems often require that the boundary and initial conditions be given at certain evaluation points (usually in which one of the variables is equal to zero). Using linear changes of variables, however, it is possible to change the evaluation points of BC, obtaining the solution for the new variables, and then changing back to the original variables. This is now automatically done by the pdsolve command.
Example 1: A heat PDE & BC problem in a semi-infinite domain:
pde__1≔∂∂tux,t=14⁢∂2∂x2u⁡x,t:
iv__1≔u⁡−A,t=0,ux,B=10:
Note the evaluation points A and B. The method typically described in textbooks requires the evaluation points to be A=0, B=0. The change of variables automatically used in this case is:
transformation ≔ x=xi−A,t=tau+B,ux,t=upsilonxi,tau
transformation≔t=τ+B,x=ξ−A,u⁡x,t=υ⁡ξ,τ
so that pdsolve's task becomes solving this other problem, now with the appropriate evaluation points
PDEtools:-dchangetransformation,pde__1,iv__1,xi,tau,upsilon;
∂∂τυ⁡ξ,τ=∂2∂ξ2υ⁡ξ,τ4,υ⁡0,τ=0,υ⁡ξ,0=10
and then changing the variables back to the original {x, t, u} and giving the solution. The process all in one go:
pdsolvepde__1,iv__1assuming absA<x,absB<t
u⁡x,t=10⁢erf⁡x+At−B
Example 2: A heat PDE with a source and a piecewise initial condition
pde__2≔∂∂tu⁡x,t+1=μ⁢∂2∂x2u⁡x,t:
iv__2≔u⁡x,1=00≤x1x<0:
pdsolvepde__2,iv__2assuming 0<μ,0<t
u⁡x,t=32−erf⁡x2⁢μ⁢t−12−t
Example 3: A wave PDE & BC problem in a semi-infinite domain:
pde__3≔∂2∂t2ux,t=∂2∂x2ux,t:
iv__3≔u⁡x,1=ⅇ−x−62+ⅇ−x+62,D2⁡ux,1=12:
pdsolve⁡pde__3,iv__3assuming0<t
u⁡x,t=ⅇ−−x+t+522+ⅇ−−x+t−722+ⅇ−x+t−722+ⅇ−x+t+522+t2−12
Example 4: A wave PDE & BC problem in a semi-infinite domain:
pde__4≔∂2∂t2u⁡x,t−14⁢∂2∂x2u⁡x,t=0:
iv__4≔D1⁡u⁡1,t=0,u⁡x,0=ⅇ−x2,D2⁡ux,0=0:
pdsolve⁡pde__4,iv__4assuming1<x,0<t
u⁡x,t=ⅇ−t+2⁢x24+ⅇ−t−2⁢x24t2<x−1ⅇ−t+2⁢x24+ⅇ−t−2⁢x+424x−1<t22
Example 5: A wave PDE with a source:
pde__5≔∂2∂t2u⁡x,t−c2⁢∂2∂x2u⁡x,t=f⁡x,t:
iv__5≔u⁡x,1=g⁡x,D2⁡u⁡x,1=h⁡x:
pdsolve⁡pde__5,iv__5
u⁡x,t=∫0t−1∫−t+τ+1⁢c+xx+c⁢t−1−τⅆ2ⅆζ2h⁡ζ⁢c2⁢τ+ⅆ2ⅆζ2g⁡ζ⁢c2+f⁡ζ,τ+1ⅆζⅆτ+2⁢t−2⁢c⁢h⁡x+2⁢g⁡x⁢c2⁢c
pdetest,pde__5,iv__5
0,0,0
Staring with Maple 2019, the pdsolve/BC solving methods can be indicated, either to be used for solving, as in methods=method__1,method__2, ... to be tried in the order indicated, or to be excluded, as in exclude=method__1,method__2, .... The methods and sub-methods available are organized in a table, `pdsolve/BC/methods`:
indices`pdsolve/BC/methods`
1,2,3,2,SpecializeArbitraryFunctions,2,Series,system,2,Heat,2,Wave,high_order
So, for example, the methods for PDEs of first order and second order are, respectively,
`pdsolve/BC/methods`1
SpecializeArbitraryFunctions,Fourier,Laplace,Generic,PolynomialSolutions,LinearDifferentialOperator
`pdsolve/BC/methods`2
SpecializeArbitraryFunctions,SpecializeArbitraryConstants,Wave,Heat,Series,Laplace,Fourier,Generic,PolynomialSolutions,LinearDifferentialOperator,Superposition
Some methods have sub-methods (their existence is visible in (9)):
`pdsolve/BC/methods`2,Series
TwoBC,ThreeBCsincos,FourBC,ThreeBC,ThreeBCPeriodic,WithSourceTerm,ThreeVariables
`pdsolve/BC/methods`2,Heat
SemiInfiniteDomain,WithSourceTerm
Example 6:
pde__6≔∂2∂r2u⁡r,θ+∂2∂θ2u⁡r,θ=0:
iv__6≔u2,θ=3⁢sin⁡2⁢θ+1:
pdsolve⁡pde__6,iv__6
u⁡r,θ=−_F2⁡−I⁢r+2⁢I+θ+1−3⁢sin⁡2⁢I⁢r−4⁢I−2⁢θ+_F2⁡I⁢r−2⁢I+θ
pdsolve⁡pde__6,iv__6,method=Fourier
u⁡r,θ=3⁢I⁢ⅇ2⁢r−4−2⁢I⁢θ2−3⁢I⁢ⅇ−2⁢r+4+2⁢I⁢θ2+1
Example 7:
pde__7≔∂2∂x2u⁡x,y+∂2∂y2u⁡x,y=0:
iv__7≔u⁡x,0=Dirac⁡x:
pdsolvepde__7, iv__7
u⁡x,y=δ⁡x−δ″⁡x⁢y22+_C3⁢y
pdsolve⁡pde__7,iv__7,method=Fourier
u⁡x,y=invfourier⁡ⅇ−s⁢y,s,x
convert,Int;
u⁡x,y=∫−∞∞ⅇ−s⁢y+I⁢s⁢xⅆs2⁢π
pdsolve⁡pde__7,iv__7,method=Generic
u⁡x,y=−_F2⁡−y+I⁢x+δ⁡x+I⁢y+_F2⁡y+I⁢x
Linear problems for which the PDE can be separated by product, giving rise to Sturm-Liouville problems for the separation constants (eigenvalues) and separated functions (eigenfunctions), do not always result in solvable equations for the eigenvalues. Below are examples where the eigenvalues are respectively roots of a sum of Bessel functions and of a trigonometric equation tan⁡λn+λn=0.
Example 8: This problem represents the temperature distribution in a thin circular plate whose lateral surfaces are insulated (Articolo example 6.9.2):
pde__8≔∂∂tur,θ,t=∂∂ru⁡r,θ,t+r⁢∂2∂r2u⁡r,θ,t+∂2∂θ2u⁡r,θ,tr⁢25⋅r:
iv__8≔D1u1,θ,t=0,u⁡r,0,t=0,u⁡r,π,t=0,u⁡r,θ,0=r−13⁢r3⁢sin⁡θ:
pdsolve⁡pde__8,iv__8
u⁡r,θ,t=∑n=0∞⁡−4⁢J1⁡λn⁢r⁢sin⁡θ⁢ⅇ−λn2⁢t25⁢J0⁡λn⁢λn3−J1⁡λn⁢λn2+4⁢λn⁢J0⁡λn−8⁢J1⁡λn3⁢λn3⁢J0⁡λn2⁢λn+J1⁡λn2⁢λn−2⁢J0⁡λn⁢J1⁡λnwhere−J1⁡λn+J2⁡λn⁢λn=0∧0<λn
In the above we see that the eigenvalue λ__n satisfies J1⁡λn+J2⁡λn⁢λn=0. When λ__n is the root of one single BesselJ or BesselY function of integer order, the Maple functions BesselJZeros and BesselYZeros are used instead. That is the case, for instance, if we slightly modify this problem changing the first boundary condition to be u1,θ,t=0 instead of D1u1,θ,t=0
iv__8.1≔u1,θ,t=0,ur,0,t=0,ur,π,t=0,ur,θ,0=r−13⁢r3⁢sinθ:
pdsolvepde__8,iv__8.1
Example 9: This problem represents the temperature distribution in a thin rod whose left end is held at a fixed temperature of 5 and whose right end loses heat by convection into a medium whose temperature is 10. There is also an internal heat source term in the PDE (Articolo example 8.4.3):
pde__9≔∂∂tux,t=120⁢∂2∂x2u⁡x,t+t:
iv__9≔u0,t=5,u1,t+D1u1,t=10,ux,0=−40⁢x23+45⁢x2+5:
pdsolvepde__9,iv__9
u⁡x,t=∑n=0∞⁡80⁢ⅇ−λn2⁢t20⁢sin⁡λn⁢x⁢λn2⁢cos⁡λn+λn⁢sin⁡λn+4⁢cos⁡λn−43⁢λn2⁢sin⁡2⁢λn−2⁢λn+∫0t∑n=0∞⁡4⁢ⅇ−λn2⁢t−τ20⁢sin⁡λn⁢x⁢τ⁢cos⁡λn−1sin⁡2⁢λn−2⁢λnⅆτ+5⁢x2+5wheretan⁡λn+λn=0∧0<λn
For information on how to verify or plot a solution like the one above, see the section "Sturm-Liouville problem with eigenvalues that are the roots of algebraic expressions which cannot be inverted" in the pdsolve with boundary conditions help page.
Previously, for linear homogeneous PDE problems with non-periodic initial and boundary conditions, pdsolve was only consistently able to solve the problem as long as at most one of those conditions was non-homogeneous. The superposition method works by taking advantage of the linearity of the problem and the fact that the solution to such a problem in which two or more of the BC are non-homogeneous can be given as
u = u__1+u__2 + ..., where each u__i is a solution of the PDE with all but one of the BC homogenized.
Example 10: A Laplace PDE with one homogeneous and three non-homogeneous conditions:
pde__10≔∂2∂x2u⁡x,y+∂2∂y2u⁡x,y=0:
iv__10≔u⁡0,y=0,u⁡π,y=sinh⁡π⁢cos⁡y,u⁡x,0=sin⁡x,u⁡x,π=−sinh⁡x:
pdsolve⁡pde__10,iv__10
u⁡x,y=ⅇ2⁢π−1⁢∑n=1∞⁡−1n⁢n⁢ⅇ2⁢π−1⁢ⅇn⁢π−y−π⁢sin⁡n⁢x⁢ⅇ2⁢n⁢y−1π⁢n2+1⁢ⅇ2⁢π⁢n−1+ⅇ2⁢π−1⁢∑n=2∞⁡2⁢sin⁡n⁢y⁢ⅇn⁢π−x⁢sinh⁡π⁢n⁢−1n+1⁢ⅇ2⁢n⁢x−1π⁢ⅇ2⁢π⁢n−1⁢n2−1+sin⁡x⁢−ⅇy+ⅇ−y+2⁢πⅇ2⁢π−1
This new method gives pdsolve better performance when the PDE & BC problems admit polynomial solutions.
Example 11:
pde__11≔∂2∂x2u⁡x,y+y⁢∂2∂y2u⁡x,y=0:
iv__11≔u⁡x,0=0,D2⁡ux,0=x2:
pdsolve⁡pde__11,iv__11
u⁡x,y=y⁢x2−y
These methods now solve more problems and are no longer restricted to PDE of first or second order.
Example 12: A third order PDE & BC problem:
pde__12≔∂∂tu⁡x,t=−∂3∂x3u⁡x,t:
iv__12≔ux,0=fx:
pdsolvepde__12, iv__12;
u⁡x,t=∫−∞∞4⁢π⁢f⁡−ζ⁢−x+ζ−t13⁢K13⁡−2⁢3⁢x+ζ⁢−x+ζ−t139⁢−t133⁢−t13ⅆζ4⁢π2
Example 13: A PDE & BC problem that is solved using Laplace transform:
pde__13≔∂2∂y∂xu⁡x,y=sin⁡x⁢sin⁡y:
iv__13≔u⁡x,0=1+cos⁡x,D2⁡u⁡0,y=−2⁢siny:
pdsolvepde__13, iv__13;
u⁡x,y=cos⁡y⁢1+cos⁡x
To see the computational flow, the solving methods used, and in which order they are tried, use
infolevelpdsolve ≔ 2;
infolevelpdsolve≔2
Example 14:
pde__14≔∂2∂x2u⁡x,y+∂2∂y2u⁡x,y=0:
iv__14≔u⁡x,0=0,ux,b=hx:
pdsolvepde__14, iv__14;
* trying method "SpecializeArbitraryFunctions" for 2nd order PDEs -> trying "LinearInXT" -> trying "HomogeneousBC" * trying method "SpecializeArbitraryConstants" for 2nd order PDEs * trying method "Wave" for 2nd order PDEs -> trying "Cauchy" -> trying "SemiInfiniteDomain" -> trying "WithSourceTerm" * trying method "Heat" for 2nd order PDEs -> trying "SemiInfiniteDomain" -> trying "WithSourceTerm" * trying method "Series" for 2nd order PDEs -> trying "TwoBC" -> trying "ThreeBCsincos" -> trying "FourBC" -> trying "ThreeBC" -> trying "ThreeBCPeriodic" -> trying "WithSourceTerm" * trying method "SpecializeArbitraryFunctions" for 2nd order PDEs -> trying "LinearInXT" -> trying "HomogeneousBC" Trying travelling wave solutions as power series in tanh ... Trying travelling wave solutions as power series in ln ... * trying method "SpecializeArbitraryConstants" for 2nd order PDEs Trying travelling wave solutions as power series in tanh ... Trying travelling wave solutions as power series in ln ... * trying method "Wave" for 2nd order PDEs -> trying "Cauchy" -> trying "SemiInfiniteDomain" -> trying "WithSourceTerm" * trying method "Heat" for 2nd order PDEs -> trying "SemiInfiniteDomain" -> trying "WithSourceTerm" * trying method "Series" for 2nd order PDEs -> trying "TwoBC" Trying travelling wave solutions as power series in tanh ... Trying travelling wave solutions as power series in ln ... -> trying "ThreeBCsincos" -> trying "FourBC" -> trying "ThreeBC" -> trying "ThreeBCPeriodic" -> trying "WithSourceTerm" -> trying "ThreeVariables"
* trying method "Laplace" for 2nd order PDEs -> trying a Laplace transformation * trying method "Fourier" for 2nd order PDEs -> trying a fourier transformation
* trying method "Generic" for 2nd order PDEs -> trying a solution in terms of arbitrary constants and functions to be adjusted to the given initial conditions * trying method "PolynomialSolutions" for 2nd order PDEs * trying method "LinearDifferentialOperator" for 2nd order PDEs * trying method "Superposition" for 2nd order PDEs -> trying "ThreeVariables" * trying method "Laplace" for 2nd order PDEs -> trying a Laplace transformation * trying method "Fourier" for 2nd order PDEs -> trying a fourier transformation
<- fourier transformation successful <- method "Fourier" for 2nd order PDEs successful
u⁡x,y=−invfourier⁡ⅇs⁢b−y⁢fourier⁡h⁡x,x,sⅇ2⁢s⁢b−1,s,x+invfourier⁡ⅇs⁢b+y⁢fourier⁡h⁡x,x,sⅇ2⁢s⁢b−1,s,x
convert,Int
u⁡x,y=−∫−∞∞∫−∞∞h⁡x⁢ⅇ−I⁢x⁢sⅆx⁢ⅇs⁢b−y+I⁢s⁢xⅇ2⁢s⁢b−1ⅆs2⁢π+∫−∞∞∫−∞∞h⁡x⁢ⅇ−I⁢x⁢sⅆx⁢ⅇs⁢b+y+I⁢s⁢xⅇ2⁢s⁢b−1ⅆs2⁢π
Reset the infolevel to avoid displaying the computational flow:
infolevelpdsolve ≔ 1:
Example 15: A heat PDE:
pde__15≔∂∂tu⁡x,t=13⁢∂2∂x2u⁡x,t:
iv__15≔D1⁡u⁡0,t=0,D1⁡u⁡1,t=1,ux,0=12⁢x2+x:
pdsolvepde__15, iv__15
u⁡x,t=12+∑n=1∞⁡2⁢cos⁡n⁢π⁢x⁢ⅇ−13⁢π2⁢n2⁢t⁢−1+−1nπ2⁢n2+13⁢t+x22
To verify an infinite series solution such as this one you can first use pdetest
pdetest,pde__15,iv__15;
0,0,0,12+∑n=1∞⁡2⁢cos⁡n⁢π⁢x⁢−1+−1nπ2⁢n2−x
To verify that the last condition, for ux,0 is satisfied, we plot the first 1000 terms of the series solution with t=0 and make sure that it coincides with the plot of the right-hand side of the initial condition ux,0=12⁢x2+x. Expected: the two plots superimposed on each other
plotvaluesubst=0,infinity=1000,rhs,x22+x,x=0..1;
Example 16: A heat PDE in a semi-bounded domain:
pde__16≔∂∂tu⁡x,t=14⁢∂2∂x2u⁡x,t:
iv__16≔D1⁡u⁡α,t=0,ux,β=10⁢ⅇ−x2:
pdsolvepde__16,iv__16,ux,tassuming 0<x,0<t
u⁡x,t=−5⁢erf⁡t−β−1⁢α+xt−β+1⁢t−β−1⁢ⅇ4⁢α⁢−x+α−t+β−1+erf⁡t−β+1⁢α−xt−β+1⁢t−β−1⁢ⅇx2−t+β−1t−β+1
Example 17: A wave PDE in a semi-bounded domain:
pde__17≔∂2∂t2u⁡x,t−9⁢∂2∂x2u⁡x,t=0:
iv__17≔D1u0,t=0,ux,0=0,D2ux,0=x3:
pdsolvepde__17,iv__17assuming 0<x,0<t
u⁡x,t=9⁢t3⁢x+t⁢x33⁢t<x274⁢t4+92⁢t2⁢x2+112⁢x4x<3⁢t
Example 18: A wave PDE with a source
pde__18≔∂2∂t2u⁡x,t=∂2∂x2ux,t+x⁢ⅇ−t:
iv__18≔u⁡0,t=0,u⁡1,t=0,u⁡x,0=0,D2⁡ux,0=1:
pdsolve⁡pde__18,iv__18
u⁡x,t=∑n=1∞⁡−2⁢π2⁢n2⁢−1n−π2⁢n2+2⁢−1n−1⁢sin⁡n⁢π⁢t+π⁢n⁢−1n⁢ⅇ−t−cos⁡n⁢π⁢t⁢sin⁡n⁢π⁢xπ2⁢n2⁢π2⁢n2+1
Example 19: Another wave PDE with a source
pde__19≔∂2∂t2u⁡x,t=4⁢∂2∂x2u⁡x,t+1+t⁢x:
iv__19≔u⁡0,t=0,u⁡π,t=sin⁡t,u⁡x,0=0,D2⁡ux,0=0:
pdsolvepde__19,iv__19
u⁡x,t=∑n=1∞⁡−2⁢−2⁢n4−12⁢π⁢n2+18⁢π⁢sin⁡2⁢n⁢t+n⁢−π⁢n2+14⁢π⁢cos⁡2⁢n⁢t+sin⁡t⁢n2+n−12⁢n+12⁢t+1⁢π⁢−1n⁢sin⁡n⁢xπ⁢n4⁢4⁢n2−1⁢π+x⁢sin⁡tπ
Example 20: A Laplace PDE with BC representing the inside of a quarter circle of radius 1. The solution we seek is bounded as r approaches 0:
pde__20≔∂2∂r2u⁡r,θ+∂∂ru⁡r,θr+∂2∂θ2u⁡r,θr2=0:
iv__20≔u⁡r,0=0,u⁡r,12⁢π=0,D1⁡u⁡1,θ=f⁡θ:
pdsolve⁡pde__20,iv__20,HINT=boundedseriesr=0assuming0≤θ,θ≤12⁢π,0≤r,r≤1
u⁡r,θ=∑n=1∞⁡2⁢∫0π2f⁡θ⁢sin⁡2⁢n⁢θⅆθ⁢r2⁢n⁢sin⁡2⁢n⁢θπ⁢n
Example 21: A Laplace PDE for which we seek a solution that remains bounded as y approaches ∞:
pde__21≔∂2∂x2u⁡x,y+∂2∂y2u⁡x,y=0:
iv__21≔u⁡0,y=A,u⁡a,y=0,ux,0=0:
pdsolve⁡pde__21,iv__21,HINT=boundedseries⁡y=∞assuminga>0
u⁡x,y=∑n=1∞⁡−2⁢A⁢sin⁡n⁢π⁢xa⁢ⅇ−n⁢π⁢yan⁢π⁢a−A⁢x−aa
Example 22: For this wave PDE with a source term, pdsolve used to return a solution with uncomputed integrals:
pde__22≔∂2∂t2u⁡x,t=A⁢x+∂2∂x2u⁡x,t:
iv__22≔u⁡0,t=0,u⁡1,t=0,u⁡x,0=0,D2⁡ux,0=0:
pdsolve⁡pde__22,iv__22
u⁡x,t=∑n=1∞⁡2⁢−1n⁢A⁢sin⁡n⁢π⁢x⁢cos⁡n⁢π⁢tn3⁢π3+−x3+x⁢A6
Example 23: A BC at x=∞ is now handled by pdsolve:
pde__23≔∂2∂x2u⁡x,y+∂2∂y2u⁡x,y=0:
iv__23≔u⁡0,y=sin⁡y,u⁡x,0=0,u⁡x,a=0,u∞,y=0:
pdsolve⁡pde__23,iv__23assuming0<a
u⁡x,y=∑n=1∞⁡−2⁢π⁢n⁢−1a=π⁢nsin⁡a⁢−1nπ⁢n−aotherwise⁢ⅇ−n⁢π⁢xa⁢sin⁡n⁢π⁢yaπ⁢n+a
Example 24: A reduced Helmholtz PDE in a square of side π. Previously, pdsolve returned a series starting at n=0, when the limit of the n=0 term is 0.
pde__24≔∂2∂x2u⁡x,y+∂2∂y2u⁡x,y−k⁢u⁡x,y=0:
iv__24≔u⁡0,y=1,u⁡π,y=0,u⁡x,0=0,ux,π=0:
pdsolve⁡pde__24,iv__24assuming0<k
u⁡x,y=∑n=1∞⁡2⁢sin⁡n⁢y⁢−1+−1n⁢−ⅇ−−2⁢π+x⁢n2+k+ⅇn2+k⁢xn⁢ⅇ2⁢n2+k⁢π−1⁢π
Example 25:
pde__25≔∂∂tw⁡x1,x2,x3,t=∂2∂x12w⁡x1,x2,x3,t+∂2∂x22w⁡x1,x2,x3,t+∂2∂x32wx1,x2,x3,t:
iv__25≔w⁡x1,x2,x3,1=ⅇa⁢x12+x2⁢x3:
pdsolve⁡pde__25,iv__25
w⁡x1,x2,x3,t=x12+2⁢t−2⁢ⅇa+x2⁢x3
Example 26:
pde__26≔∂∂tw⁡x1,x2,x3,t−D1,2⁡w⁡x1,x2,x3,t−D1,3⁡w⁡x1,x2,x3,t−D3,3⁡w⁡x1,x2,x3,t+D2,3⁡w⁡x1,x2,x3,t=0:
iv__26≔w⁡x1,x2,x3,a=ⅇx1+x2−3 x3:
pdsolve⁡pde__26,iv__26
w⁡x1,x2,x3,t=ⅇx1+x2−3⁢x3
Example 27:
pde__27≔∂2∂t2w⁡x1,x2,x3,t=D1,2⁡w⁡x1,x2,x3,t+D1,3⁡w⁡x1,x2,x3,t+D3,3⁡w⁡x1,x2,x3,t−D2,3wx1,x2,x3,t:
iv__27≔w⁡x1,x2,x3,a=x13⁢x22+x3,D4⁡wx1,x2,x3,a=−x2⁢x3+x1:
pdsolve⁡pde__27,iv__27,w⁡x1,x2,x3,t
w⁡x1,x2,x3,t=x13⁢x22+3⁢x2⁢−t+a2⁢x12+−t+a⁢a3−3⁢a2⁢t+3⁢a⁢t2−t3−2⁢x12−a36+a2⁢t2+−3⁢t2+6⁢x2⁢x3⁢a6+t36−t⁢x2⁢x3+x3
Example 28: A Schrödinger type PDE in two space dimensions, where Z is Planck's constant.
pde__28≔I⋅ℏ ⋅ ∂∂tf⁡x,y,t⁢=−ℏ2⁢⋅∂2∂x2f⁡x,y,t+∂2∂y2f⁡x,y,t⁢2 m:
iv__28≔f⁡x,y,0=2⁢sin⁡2⁢π⁢x⁢sin⁡π⁢y+sin⁡π⁢x⁢sin⁡3⁢π⁢y,f⁡0,y,t=0,f⁡1,y,t=0,f⁡x,1,t=0,fx,0,t=0:
pdsolvepde__28,iv__28
f⁡x,y,t=2⁢sin⁡π⁢x⁢2⁢sin⁡π⁢y⁢cos⁡π⁢x⁢ⅇ−5⁢I2⁢ℏ⁢t⁢π2m+sin⁡3⁢π⁢y⁢ⅇ−5⁢I⁢ℏ⁢t⁢π2m
Example 29: This problem represents the temperature distribution in a thin rectangular plate whose lateral surfaces are insulated yet is losing heat by convection along the boundary x=1, into a surrounding medium at temperature 0 (Articolo example 6.6.3):
pde__29≔∂∂tu⁡x,y,t=150⁢∂2∂x2u⁡x,y,t+∂2∂y2u⁡x,y,t:
iv__29≔D1⁡u⁡0,y,t=0,D1⁡u⁡1,y,t+u⁡1,y,t=0,u⁡x,0,t=0,u⁡x,1,t=0,u⁡x,y,0=1−x23⁢y⁢1−y:
pdsolvepde__29,iv__29assuming 0≤x,x≤1,0≤y,y≤1;
Example 30: exercise 7.15 from Articolo's textbook, with six boundary/initial conditions:
pde__30≔∂2∂t2ux,y,t=14⁢∂2∂x2u⁡x,y,t+∂2∂y2u⁡x,y,t−110⁢∂∂tu⁡x,y,t:
iv__30≔D1u0,y,t=0, D1u1,y,t+u1,y,t=0,D2ux,0,t−ux,0,t=0,D2ux,1,t=0,ux,y,0=1−13⁢x2⁢1−13⁢y−12,D3ux,y,0=0:
In this problem, there are three independent variables, therefore two eigenvalues (constants that appear separating variables by product) in the Sturm-Liouville problem. However, after solving the separated system and also for the eigenvalues, the second eigenvalue is equal to the first one, and it cannot be expressed in terms of known functions, because the equation it solves cannot be inverted. Its solution is, however, computable
pdsolvepde__30,iv__30
Articolo, G. A. (2009). Partial differential equations and boundary value problems with Maple (2nd ed.). Amsterdam: Acad. Press/Elsevier.
Download Help Document