convert/radical - convert RootOf and trig functions to radicals and I
|
Calling Sequence
|
|
convert( expr, radical, n )
|
|
Parameters
|
|
expr
|
-
|
expression
|
n
|
-
|
(optional) positive integer
|
|
|
|
|
Description
|
|
•
|
The convert(expr, radical) calling sequence replaces RootOfs of polynomials by appropriate expressions in radical notation if possible.
|
|
The conversion can fail if Maple cannot find radical expressions for the roots or if the correct radical expression cannot be selected. If the conversion fails, the RootOf remains unchanged.
|
•
|
If a root of unity cannot be expressed in terms of radicals, it is converted to an equivalent expression involving sin and cos terms.
|
•
|
If the argument n is included, the n-th root with respect to the ordering used by solve is returned. Otherwise, the following rules are applied to choose the root.
|
|
If the argument n is included, indexed RootOf can be converted to radical only if n equals the index . Otherwise, an error is generated.
|
|
Labeled s are converted by the same rules as unlabeled.
|
1.
|
The has only one argument. That is, it has the form RootOf(P(_Z)). The first radical expression for the ordering used by the solve command is returned.
|
2.
|
The is indexed. The conversion usually fails because Maple is unable to find a radical expression equal to the input for all values of the parameters.
|
•
|
To a limited extent, the RootOf notation can be restored by using convert/RootOf.
|
•
|
If the argument of a trigonometric function is of the form where n is an integer, then Maple converts the function to radical form.
|
|
|
Examples
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
The following command produces an error.
>
|
|
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
| (6) |
>
|
|
| (7) |
>
|
|
| (8) |
>
|
|
| (9) |
In the following case, radical expressions exist, but viewed as functions of x none of them is equal to the .
>
|
|
| (10) |
In general, there is no radical expression for the roots of a degree polynomial.
>
|
|
| (11) |
The following represents a seventh root of unity. It cannot be expressed in radical form, but it can be converted to a form involving trigonometric functions.
>
|
|
| (12) |
Trigonometric functions of a rational multiplied by Pi can, in some cases, be converted to radical form.
>
|
|
| (13) |
>
|
|
| (14) |
>
|
|
| (15) |
>
|
|
| (16) |
|
|