gfun[algebraicsubs] - substitute an algebraic function into an holonomic one

Calling Sequence

algebraicsubs(deq, f(t), P, y, h(x), <branch>, <homogeneous=bool>, <operator=name>)

algebraicsubs(deq, eq, y(z), <ini>, <iniconds>, <homogeneous=bool>, <operator=name>)

Parameters

deq - linear differential equation for the outer function f(t), with polynomial coefficients

P - polynomial in the algebraic-curve indeterminates x and y

y - name of the algebraic-curve dependent indeterminate

h(x) - name and variable of the resulting composition

eq, y(z), ini, iniconds - parameters of the supported historical calling sequence

ini - (optional) initial conditions to specify a solution of eq

homogeneous - (optional) boolean requesting a homogeneous output equation; the default is false

operator - (optional) name of the differential operator

In the preferred calling sequence, deq is an equation for the outer function f(t), P is a polynomial in the independent indeterminates x and y, and the output is an equation for h(x)=f(y(x)). The optional set branch specifies initial conditions for the algebraic branch, such as {y(0)=1}. The historical calling sequence remains supported.

Description

Examples

The differential equation satisfied by cos(t):

> with(gfun):
deq := (D@@2)(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 \! \left(t \right)+2 \frac{d}{d t}f \! \left(t \right)+\left(-1+4 t \right) \left(\frac{d^{2}}{d t^{2}}f \! \left(t \right)\right)\]

See Also

gfun, gfun[parameters], gfun[algfuntoalgeq], gfun[diffeq+diffeq], gfun[rec+rec]