PDEtools
Laplace
solves a second order linear PDE in 2 independent variables using the method of Laplace
Calling Sequence
Parameters
Description
Examples
Laplace(PDE, F, numberofiterations = ...)
PDE
-
a linear partial differential equation in two independent variables
F
the unknown of the PDE
numberofiterations = ...
optional - the right hand side is a positive integer limiting the number of iterations used to tackle the PDE
The general form of a second order scalar linear PDE in two independent variables is Δ=a⁢ux,x+b⁢ux,y+c⁢uy,y+d⁢uy+e⁢ux+f⁢=0, where u=u⁡x,y is the unknown function, the coefficients a,b,c,d,e,f are functions of the independent variables x,y and a⁢c−b24<0. The method of Laplace (not to be confused with integral transform methods of the same name) is a method which, when successful, will yield the general closed-form solution to such equations, depending upon two arbitrary functions of a single variable.
The method works by transforming the original PDE Δ=0 into another second order scalar linear PDE Δ'⁢=0 with the remarkable property that solutions of Δ=0 can be found from solutions of Δ'⁢=0 by differentiations and simple linear algebraic manipulations. In favorable circumstances solutions to equation Δ'⁢=0 can be found and this then leads to solutions of the original equation. If solutions to Δ'⁢=0 cannot be found, then one may iterate the process to generate a sequence of equations Δ=0,Δ'=0,Δ''=0,...,Δn=0 with the property that solutions to Δ=0 can be constructed from solutions to Δn=0 by differentiations and simple linear algebraic manipulations. The third optional argument in the calling sequence to Laplace specifies the number of iterations the procedure will calculate in attempting to arrive at a PDE Δn=0 which can be integrated. The default numberofiterations is 5.
The specific details of the method of Laplace are easiest to explain for equations of the type ux,y+Aux+Buy+Cu=0 (although this special form is not required for the procedure). For an equation of this form, define the Laplace invariants H=dAdx+AB−C and K=dBdy+AB−C. One can show that if either H=0 or K=0 then the PDE can be integrated directly by linear ODE methods. If both H=0 and K=0 then the PDE can be easily transformed to the wave equation vx,y=0 and the solution thus found.
If H≠0 then one defines v=uy+Au and finds that: [1] v also satisfies an equation of the form vx,y+A'⁢vx+B'⁢vy+C'⁢v=0; and [2] the equation can be inverted to give u=1H⁡vx+B'⁢v. A similar transform can be defined if K≠0. See the examples for an explicit computation of these transforms.
The PDE ux,y−k⁢ux+y2=0 is known to be integrable in n steps if k=n−2⁡n−1.
with⁡PDEtools,Laplace,declare
Laplace,declare
declare⁡u⁡x,y
u⁡x,y⁢will now be displayed as⁢u
k≔n−2⁢n−1
PDEn≔diff⁡u⁡x,y,x,y−kx+y2⁢u⁡x,y
PDEn≔ux,y−n−2⁢n−1⁢ux+y2
PDE5≔subs⁡n=5,PDEn
PDE5≔ux,y−12⁢ux+y2
Laplace⁡PDE5,u⁡x,y
u=x+y3⁢f__1x,x,x+x+y3⁢f__2y,y,y−12⁢x+y2⁢f__1x,x−12⁢x+y2⁢f__2y,y+60⁢x+y⁢f__1x+60⁢x+y⁢f__2y−120⁢f__1⁡x−120⁢f__2⁡y1440⁢x+y3
For n=6, Laplace returns NULL since the default number of iterations is 5.
PDE6≔subs⁡n=6,PDEn
PDE6≔ux,y−20⁢ux+y2
Laplace⁡PDE6,u⁡x,y
To obtain the solution in this example use the optional argument numberofiterations.
Laplace⁡PDE6,u⁡x,y,numberofiterations=6
u=x+y4⁢f__1x,x,x,x+x+y4⁢f__2y,y,y,y−20⁢x+y3⁢f__1x,x,x−20⁢x+y3⁢f__2y,y,y+180⁢x+y2⁢f__1x,x+180⁢x+y2⁢f__2y,y+−840⁢x−840⁢y⁢f__1x+−840⁢x−840⁢y⁢f__2y+1680⁢f__1⁡x+1680⁢f__2⁡y100800⁢x+y4
We analyze here the case n=3 to show some of the details of the method. We define a sequence of three PDEs, PDEA, PDEB and PDEC. We wish to solve PDEA. The PDEs PDEB and PDEC are generated by the method of Laplace. We also define three maps which we denote by LAB, LBA and LBC. These are also prescribed by the method of Laplace.
PDEA≔subs⁡n=3,PDEn
PDEA≔ux,y−2⁢ux+y2
PDEB≔diff⁡v⁡x,y,x,y+2x+y⁢diff⁡v⁡x,y,x−2x+y2⁢v⁡x,y
PDEB≔vx,y+2⁢vxx+y−2⁢v⁡x,yx+y2
PDEC≔diff⁡w⁡x,y,x,y+4x+y⁢diff⁡w⁡x,y,x
PDEC≔wx,y+4⁢wxx+y
LAB≔u→∂∂y⁢u
LBA≔u→12⁢x+y2⁢∂∂x⁢u
LBC≔u→∂∂y⁢u+2⁢ux+y
Let's show that if u is a solution to PDEA, then v⁡x,y=LAB⁡u is a solution to PDEB.
solA≔Laplace⁡PDEA,u⁡x,y
solA≔u=x+y⁢f__1x+x+y⁢f__2y−2⁢f__1⁡x−2⁢f__2⁡y2⁢x+2⁢y
solB≔v⁡x,y=LAB⁡rhs⁡solA
solB≔v⁡x,y=f__1x−f__2y+x+y⁢f__2y,y2⁢x+2⁢y−2⁢x+y⁢f__1x+x+y⁢f__2y−2⁢f__1⁡x−2⁢f__2⁡y2⁢x+2⁢y2
pdetest⁡,PDEB
0
Also, if v⁡x,y is a solution to PDEB, then u=LBA⁡v⁡x,y is a solution to PDEA.
u⁡x,y=LBA⁡rhs⁡solB
u=x+y2⁢f__1x,x+f__2y,y2⁢x+2⁢y−2⁢f__1x−f__2y+x+y⁢f__2y,y2⁢x+2⁢y2−2⁢−f__1x+x+y⁢f__1x,x+f__2y2⁢x+2⁢y2+8⁢x+y⁢f__1x+x+y⁢f__2y−2⁢f__1⁡x−2⁢f__2⁡y2⁢x+2⁢y32
pdetest⁡,PDEA
Finally, if v⁡x,y is a solution to PDEB, then w⁡x,y=LBC⁡v⁡x,y is a solution to PDEC.
solC≔w⁡x,y=LBC⁡rhs⁡solB
solC≔w⁡x,y=x+y⁢f__2y,y,y2⁢x+2⁢y−4⁢f__1x−f__2y+x+y⁢f__2y,y2⁢x+2⁢y2+8⁢x+y⁢f__1x+x+y⁢f__2y−2⁢f__1⁡x−2⁢f__2⁡y2⁢x+2⁢y3+2⁢f__1x−f__2y+x+y⁢f__2y,y2⁢x+2⁢y−2⁢x+y⁢f__1x+x+y⁢f__2y−2⁢f__1⁡x−2⁢f__2⁡y2⁢x+2⁢y2x+y
pdetest⁡,PDEC
Now, remarkably, we start with the zero solution to PDEC, integrate the equation w⁡x,y=LBC⁡v⁡x,y to find v⁡x,y and apply LBA to find u:
LBC⁡v⁡x,y
vy+2⁢v⁡x,yx+y
pdsolve⁡
v⁡x,y=f__1⁡xx+y2
So this is the solution to PDEA
u⁡x,y=LBA⁡rhs⁡
u=x+y2⁢f__1xx+y2−2⁢f__1⁡xx+y32
A similar sequence of PDEs and transformations can be constructed to find a solution depending on an arbitrary function of y.
See Also
casesplit
declare
diff_table
DifferentialAlgebra
Download Help Document