gfun
algebraicsubs
substitute an algebraic function into a holonomic one
Calling Sequence
Parameters
Description
Examples
algebraicsubs(deq, eq, y(z), ini)
deq
-
linear differential equation in y(z) with polynomial coefficients
eq
algebraic equation in y(z)
y
name; holonomic function name
z
name; variable of the holonomic function y
ini
(optional) set; specify computation of initial conditions for the resulting differential equation
The gfun[algebraicsubs](deq, eq, y(z)) command returns a differential equation satisfied by the composition f@g where f is the holonomic function defined by the equation deq and g is the algebraic equation defined by eq. The composition is holonomic by closure properties of holonomic functions.
Let d1 be the differential order of deq, and d2 be the degree of eq. If the equation deq is homogeneous, then the order of f@g is at most d1⁢d2. Otherwise, it is at most d1+1⁢d2.
If initial conditions are specified using ini, the algebraicsubs function attempts to compute initial conditions for the resulting differential equation.
Initial conditions can be present in the differential equation if a set is specified, in the same way as initial conditions are specified for dsolve. In the case of a polynomial equation, they are specified in the optional parameter ini as a set, using the same syntax as for dsolve.
The differential equation satisfied by cos(t).
with⁡gfun:
deq≔D2⁡f⁡t+f⁡t:
The algebraic equation satisfied by sqrt(1-4*t).
eq≔algfuntoalgeq⁡sqrt⁡1−4⁢t,f⁡t:
The differential equation satisfied by cos(sqrt(1-4*t)).
algebraicsubs⁡deq,eq,f⁡t
−4⁢f⁡t+2⁢ⅆⅆtf⁡t+−1+4⁢t⁢ⅆ2ⅆt2f⁡t
algebraicsubs⁡D2⁡y⁡x+y⁡x,y⁡0=1,D⁡y⁡0=0,2⁢x4−y2+2⁢y⁢x−x2,y⁡x,y⁡0=0,D⁡y⁡0=1,D2⁡y⁡0=2⁢sqrt⁡2
−2048⁢x8+768⁢x6+864⁢x4−236⁢x2+87⁢y⁡x+320⁢x3+280⁢x⁢ⅆⅆxy⁡x+−512⁢x6−136⁢x2+18⁢ⅆ2ⅆx2y⁡x+128⁢x3−8⁢x⁢ⅆ3ⅆx3y⁡x+−32⁢x4+4⁢x2+3⁢ⅆ4ⅆx4y⁡x,y⁡0=1,D⁡y⁡0=0,D2⁡y⁡0=−1,D3⁡y⁡0=−6⁢2
See Also
dsolve
gfun/`diffeq+diffeq`
gfun/`rec+rec`
gfun/parameters
gfun[algfuntoalgeq]
Download Help Document