Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
DEtools[remove_RootOf] - rewrite a given expression removing RootOf.
Calling Sequence
remove_RootOf(expr, R)
Parameters
expr
-
any Maple algebraic expression or equation
R
(optional) identifies which specific RootOf is to be removed
Description
The remove_RootOf command receives an algebraic expression containing a RootOf and removes it by rewriting the expression. In general, this command is used to directly and naturally convey the mathematical meaning of algebraic expressions that contain RootOfs.
Note that remove_RootOf is different from allvalues; remove_RootOf attempts to remove the RootOf -- typically resulting in implicit algebraic expressions -- while allvalues attempts to return all the values implied by the RootOf.
remove_RootOf is of particular value for understanding or further manipulating ODE solutions, and especially when allvalues fails in evaluating the RootOf.
When the given expression has no RootOf inside it, remove_RootOf returns it as given; when the expression has many RootOfs, only one RootOf (the one with greatest length) is removed. It is also possible to direct remove_RootOf to remove a specific RootOf, say R, by passing R to remove_RootOf as its second argument.
When the removal of a RootOf itself requires the introduction of another RootOf, the removal is not performed and the expression received is returned as given. Also remove_RootOf only removes RootOfs of one argument (so RootOfs with indices or labels will remain in the output).
This function is part of the DEtools package, and so it can be used in the form remove_RootOf(..) only after executing the command with(DEtools). However, it can always be accessed through the long form of the command by using DEtools[remove_RootOf](..).
Examples
Here is an example that shows the difference between remove_RootOf and allvalues.
is rewritten by remove_RootOf as:
An example with nested RootOfs
If we now evaluate the integral, the resulting solution is
One RootOf can be removed in the expression above (and the solution can be further evaluated using allvalues).
Here, the sum over the Roots of the third degree polynomial is equal to zero.
A second order ODE example in which three solutions with RootOf are returned by dsolve
Although remove_RootOf is mainly useful for manipulating nonlinear ODE solutions, it can also be of help with solutions to linear ODEs, for instance when allvalues fails in evaluating the RootOfs.
See Also
allvalues, DEtools, dsolve, PDEtools, RootOf, sum
Download Help Document