pdsolve/series
computes formal power series solutions for differential equation systems
Calling Sequence
Parameters
Options
Description
Examples
pdsolve(DE, F, series, opts)
DE
-
a system of differential equations (ODEs, PDEs and/or algebraic constraints), possibly including initial values for the unknowns, their derivatives and/or an expansion point
F
optional, may be required, a function, or a set or list of them, indicating the dependent variables of the problem
disregard = ...
optional, to disregard whether the initial values cancel the equations and/or inequations of DE, the right-hand-side can be: nothing (default), inequations, equations, all
order = n
optional, a nonnegative integer specifying the order of the series expansion, default value is Order
The opts arguments may contain one or more of the following options.
disregard = <nothing (default), inequations, equations, all>. This option permits to restrict the test for the initialvalues (see above).
equations: the equations are disregarded; pdsolve only checks that the inequations are satisfied by initialvalues.
inequations: the inequations are disregarded; pdsolve only checks that the equations are satisfied by initialvalues.
all: equations and inequations are disregarded.
order = n. This option specifies the truncation order for the series expansion; if not given, the value of n used is that of Order.
The function call pdsolve(DE, series) returns an integral (exponents are nonnegative integers), formal (the convergence issue is not addressed), power series solution of the differential ideal defined by DE, truncated at order = n.
The unknowns may or not be specified. When the unknowns are specified (as a function, or a set or list of them), 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.
The initial values for the unknowns, and/or their derivatives, and/or an expansion point, can be provided in DE by enclosing all the arguments into a set or a list. The set of initial values must have only one expansion point and must be linear in the unknowns and derivatives evaluated at the expansion point. Typically, these initial values are specified as equations of the form u0=value_of_u0, where the u0 are dependent variables and/or their derivatives evaluated at the expansion point - say u⁡0,t,u⁡x,0 or u⁡0,0 when the unknown is u⁡x,t - and value_of_u0 represent their values, possibly being expressions involving independent variables (in which case keep the independent variable as is, in the left-hand-side u0).
If initial values are not specified, the expansion point is the origin, all the independent variables equal to 0, and all the functions and their derivatives different from zero. It is also possible to specify only an expansion point different than zero directly in DE - say including equations of the form x=x0,t=t0.
The values attributed to the unknowns and their derivatives at the expansion point, also cannot be chosen freely. They must satisfy the system F=0,S≠0, returned by the DifferentialAlgebra command PowerSeriesSolution when using the option conditions. These conditions, which are checked by default, can be disregarded using the option disregard = ...; see the Examples section.
If the attributed values are solutions of the system F=0,S≠0, then, the returned power series are truncated solutions of the differential equation system DE.
If these values do not satisfy F=0, then, the returned power series are not truncated solutions of the differential ideal.
If they satisfy F=0, but do not satisfy S≠0, then, the returned power series may, or may not, be truncated solutions of the of DE. If they are, they do not need to be unique.
The heat equation in two dimensions
pde1≔diff⁡u⁡x,t,t,t−diff⁡u⁡x,t,x=0
pde1≔∂2∂t2u⁡x,t−∂∂xu⁡x,t=0
Classically, one says that the solutions of the heat equation depend on two arbitrary functions u⁡x,0=f⁡x and ut⁡x,0=g⁡x. Our choice for initial values is then
iv1≔u⁡x,0=f⁡x,D2⁡u⁡x,0=g⁡x
pdsolve⁡pde1,iv1,series,order=2
u⁡x,t=t2+2⁢x⁢D⁡f⁡02+D⁡g⁡0⁢x⁢t+D2⁡f⁡0⁢x22+g⁡0⁢t+f⁡0
A general nonlinear PDE system
pde2≔diff⁡u⁡x,t,x,x2⁢v⁡x,t+diff⁡u⁡x,t,x,x⁢v⁡x,t+diff⁡u⁡x,t,x=0,diff⁡u⁡x,t,x,t=0,diff⁡u⁡x,t,t,t2−1=0
pde2≔∂2∂x2u⁡x,t2⁢v⁡x,t+∂2∂x2u⁡x,t⁢v⁡x,t+∂∂xu⁡x,t=0,∂2∂t∂xu⁡x,t=0,∂2∂t2u⁡x,t2−1=0
The initial values are chosen to satisfy the conditions that can be computed using PowerSeriesSolution with the option condition
iv2≔v⁡x,0=1+f⁡x,D2,2⁡u⁡0,0=1,u⁡0,0=c0,D1⁡u⁡0,0=0,D2⁡u⁡0,0=c2,D1,1⁡u⁡0,0=−1
pdsolve⁡pde2,iv2,u,v⁡x,t,series,order=3
u⁡x,t=c0+c2⁢t−12⁢t2,v⁡x,t=1+f⁡0+D⁡f⁡0⁢x+D2⁡f⁡0⁢x22+D3⁡f⁡0⁢x36
Note than unlike PowerSeriesSolution, pdsolve can handle any mathematical function (or compositions of them) in the coefficients of the differential equations provided that it admits a differential equation representation, for example
pde3≔diff⁡u⁡x,t,x,x=exp⁡sin⁡x⁢diff⁡u⁡x,t,t
pde3≔∂2∂x2u⁡x,t=ⅇsin⁡x⁢∂∂tu⁡x,t
pdsolve⁡pde3,t=t0,x=x0,series,order=2
u⁡x,t=x−x02⁢ⅇsin⁡x0+2⁢t−2⁢t0⁢D2⁡u⁡x0,t02+D1,2⁡u⁡x0,t0⁢x−x0⁢t−t0+D2,2⁡u⁡x0,t0⁢t−t022+D1⁡u⁡x0,t0⁢x−x0+u⁡x0,t0
pde4≔diff⁡u⁡x,t,x,x=BesselJ⁡ν,sin⁡x⁢diff⁡u⁡x,t,t
pde4≔∂2∂x2u⁡x,t=BesselJ⁡ν,sin⁡x⁢∂∂tu⁡x,t
pdsolve⁡pde4,x=x0,series,order=2
u⁡x,t=x−x02⁢BesselJ⁡ν,sin⁡x0+2⁢t⁢D2⁡u⁡x0,02+D1,2⁡u⁡x0,0⁢x−x0⁢t+D2,2⁡u⁡x0,0⁢t22+D1⁡u⁡x0,0⁢x−x0+u⁡x0,0
See Also
pdsolve
pdsolve/boundaryconditions
DifferentialAlgebra
PowerSeriesSolution
Download Help Document