gfun[algfuntoalgeq] - find a polynomial equation satisfied by an algebraic function

Calling Sequence

algfuntoalgeq(expr, y(z), ini, typ)

Parameters

expr - algebraic or radical function in z

y - name of the function

z - name of the variable associated with y

ini - (optional) initial conditions to specify a solution of the resulting polynomial equation

typ - (optional) the type of coefficients to use in the polynomial equation. Must be either the string 'rational' or 'algebraic'. The default is 'rational'.

Description

Examples

> with(gfun):
> f:=(1-sqrt(1-4*z))/2/z;
\[\frac{1-\sqrt{1-4 z}}{2 z}\]
> algfuntoalgeq(f,y(z),'ini');
\[y^{2} z -y +1\]
> ini;
\[\{y \! \left(0\right) = 1, D\! \left(y \right)\! \left(0\right) = 1, D^{\left(2\right)}\! \left(y \right)\! \left(0\right) = 4\}\]
> f:=a*RootOf(_Z^5+1)*x^(2/3);
\[a \textrm{RootOf}\left(\_Z^{5}+1\right) x^{{2}/{3}}\]
> algfuntoalgeq(f,y(x));
\[a^{15} x^{10}+y^{15}\]
> algfuntoalgeq(f,y(x),'algebraic');
\[\textrm{RootOf}\left(\_Z^{5}+1\right)^{3} a^{3} x^{2}-y^{3}\]
> algfuntoalgeq(5^(1/3)+3*7^(2/3),y(x));
\[y^{9}-3984 y^{6}+5112147 y^{3}-2342039552\]

See Also

gfun, gfun[parameters], gfun[algebraicsubs]