What does 'RootOf' mean and can I get rid of it?
is a command used as a placeholder for roots of equations, helping Maple (and users) to simplify expressions. Generally, an expression with represents multiple values.
When you applyto an expression involving at least one , Maple attempts to compute all possible values explicitly.
Another useful command is, which is in the package. This will attempt to rewrite an expression in a form that does not include , commonly resulting in implicit expressions.
Below is an example from the remove_RootOf help page that illustrates the differences:
restart; with( DEtools ): eq := y / x + RootOf( _Z + exp(_Z) ) = C; remove_RootOf( eq ); allvalues( eq );
In some cases, using solve() can generate a sequence of expressions that use RootOf(). In such situations, using Maple's indexing notation can be used:
s := solve(6*x/(x^2+1)^2 = 6/5, x); allvalues(s);
Did you find this article helpful?