diffalg
power_series_solution
expand the non-singular zero of a characterizable differential ideal into integral power series
Calling Sequence
Parameters
Description
Examples
power_series_solution (point, order, J, 'syst', 'params')
point
-
list or set of names or equations
order
non-negative integer
J
characterizable differential ideal
syst
(optional) name
params
Important: The diffalg package has been deprecated. Use the superseding package DifferentialAlgebra instead.
The function power_series_solution computes a formal integral power series solution of the differential system equations J=0, inequations J≠0. Such a system is formally integrable. See the last example below.
The parameter point furnishes the point of expansion of the formal power series. It is a set or a list of equations x=v where x is one of the derivation variables and v is its value.
If point is a singular point of equations (J), then power_series_solution returns FAIL. Nevertheless, this does not mean that no formal power series solution exists at that point.
When point is not singular, the series is truncated at the order given by the parameter order. They could be expanded up to any order, though convergence is not guaranteed.
The result is presented as a list of equations ui=si⁡x1⁢...⁢xm, where the ui are the differential indeterminates and the si are series in the derivation variables.
The series involve parameters corresponding to initial conditions to be given.
The parameters appear as _Cu, where u is a differential indeterminate if it represents the value of the solution at point, or _Cu_x, where x is some derivation variable, if it represents the value of the value of the first derivative of u according to x at point.
The parameters must satisfy a triangular system of polynomial equations and inequations given by syst in terms of the parameters involved in the power series solution.
If present, the variable params receives the subset of the parameters involved in the power series solution that can almost be chosen arbitrarily if not for some inequations in syst.
If J is a radical differential ideal represented by a list of characterizable differential ideals, the function power_series_solution is mapped on its component.
The command with(diffalg,power_series_solution) allows the use of the abbreviated form of this command.
with⁡diffalg:
R≔differential_ring⁡derivations=x,ranking=u,v
R≔ODE_ring
p1≔ux2−v;p2≔vx2−4⁢v
p1≔ux2−v
p2≔vx2−4⁢v
J≔Rosenfeld_Groebner⁡p1,p2,vx,R
J≔characterizable
sol≔power_series_solution⁡x=0,50,J1,syst,params
sol≔u⁡x=_Cu+x⁢_Cu_x+x2⁢_Cv_x4⁢_Cu_x,v⁡x=x⁢_Cv_x+x2+_Cv
syst;params
_Cu_x2−_Cv=0,_Cv_x2−4⁢_Cv=0,_Cu_x≠0,_Cv_x≠0
_Cv
initial_cond≔_Cv=c2,_Cu_x=c,_Cv_x=−2⁢c,_Cu=u0
subs⁡initial_cond,syst
0=0,0=0,c≠0,−2⁢c≠0
sol≔simplify⁡subs⁡initial_cond,sol
sol≔u⁡x=u0+x⁢c−12⁢x2,v⁡x=c−x2
Let us explain now why, in general, we have to start from a characterizable differential system instead of any differential system. Consider the differential system given by these two differential polynomials.
R≔differential_ring⁡ranking=u,derivations=x,y:
p1≔ux2−4⁢u;p2≔uy−u
p1≔ux2−4⁢u
p2≔uy−u
We are looking for a solution starting as:
u⁡x,y=u⁡0,0+x⁢ux⁡0,0+y⁢uy⁡0,0+x2⁢ux,x⁡0,02+x⁢y⁢ux,y⁡0,0
It seems that we can choose an initial condition u⁡0,0=c2 (c≠0) and that, by differentiating the equations, all the coefficients in the expansion can be expressed in terms of c.
The first terms do not lead to any problem:
solve⁡subs⁡u=c2,ux=ux⁡0,0,uy=uy⁡0,0,ux,x=ux,x⁡0,0,p1,p2,differentiate⁡p1,x,R,ux⁡0,0,uy⁡0,0,ux,x⁡0,0
ux⁡0,0=2⁢c,uy⁡0,0=c2,ux,x⁡0,0=2,ux⁡0,0=−2⁢c,uy⁡0,0=c2,ux,x⁡0,0=2
To compute the next term we can either differentiate p1 or p2. The problem is that the results obtained are not compatible.
solve⁡subs⁡ux,y=ux,y⁡0,0,ux=2⁢c,uy=c2,differentiate⁡p1,y,R,ux,y⁡0,0
ux,y⁡0,0=c
solve⁡subs⁡ux,y=ux,y⁡0,0,ux=2⁢c,uy=c2,differentiate⁡p2,x,R,ux,y⁡0,0
ux,y⁡0,0=2⁢c
The system p1=0,p2=0 is not formally integrable as it stands. The only solution of the system is:
J≔Rosenfeld_Groebner⁡p1,p2,R
rewrite_rules⁡J
u=0
power_series_solution⁡x,y,1000,J1
u⁡x,y=0
See Also
diffalg(deprecated)
diffalg(deprecated)/differential_algebra
diffalg(deprecated)/differential_ring
diffalg(deprecated)/initial_conditions
diffalg(deprecated)/Rosenfeld_Groebner
DifferentialAlgebra[PowerSeriesSolution]
simplify
solve
subs
Download Help Document