RealRange
represent a real interval
ComplexRange
represent a complex interval
Calling Sequence
Parameters
Description
Examples
RealRange(a,b)
ComplexRange(α,β)
a, b
-
real numbers, can be ∞, can be Open(a) and/or Open(b)
α, β
complex numbers, can be Open(α) and/or Open(β); for ComplexRange, α and β can also be algebraic expressions
RealRange(a, b) represents a real interval, that is, a segment of the real line specified by the values of its two extremes a, b, which can be any two real numbers (possibly ∞) satisfying a≤b. The interval is closed, i.e., includes its extremes, unless they are represented by Open(a) (and/or Open(b)), in which case the interval is open with respect to a (and/or b).
Similarly ComplexRange(α, β) represents a complex interval, that is, a rectangle in the complex plane specified by two points α = a + b I and β = c + d I, where {a, b, c, d} represent real numbers. This complex interval is closed and so includes the four line segments a,c, b,d and the other two parallel segments delimiting the rectangle, unless any of its four real extremes a,b,c,d is entered like, for instance, Open(a), in which case the interval is "open" with respect to that point. In the presence of more Open extremes the interval may be open with respect to one or more delimiting segments.
A rapid picture of what is and what is not included in a given complex range is obtained by converting it to a real range or converting it to a relation - see the examples.
Note: in Maple, by convention, when you say, for instance, z≤1, it is implicitly assumed that ℑ⁡z=0.
RealRange is a Maple program -- it analyzes the input parameters; ComplexRange is not a program.
In this example, the two endpoints are equal and it simplifies to zero.
RealRange⁡0,0
0
Here there is no automatic simplification:
ComplexRange⁡0,0
The automatic simplification is triggered after the conversion happens:
convert⁡,RealRange
A ComplexRange is an object more general than a RealRange in that it contains it as a particular case. When working with a ComplexRange or its RealRange representation, three typical constructions are used. Note the corresponding notation in the following examples. The conversion (when possible) always returns a sequence of two elements.
Case 1: a ComplexRange is itself an object
CR≔ComplexRange⁡−1−I,Open⁡0+I
convert⁡CR,RealRange
−1,0,I⁢−1,1
Case 2: a construction indicating that z has values in some ComplexRange, expressed using the :: operator
z::CR
z::ComplexRange⁡−1−I,Open⁡0+I
ℜ⁡z::−1,0,ℑ⁡z::−1,1
Case 3: a construction indicating that z has values in some ComplexRange, expressed using the in operator
zinCR
z∈ComplexRange⁡−1−I,Open⁡0+I
ℜ⁡z∈−1,0,ℑ⁡z∈−1,1
Note that, unlike ComplexRange, RealRange requires numerical arguments, so when the former has not this kind of argument the conversion is not possible.
ComplexRange⁡α,β
Without numerical arguments, this cannot be converted:
Expressing complex and real ranges as relations
CR≔zinComplexRange⁡−1−I,Open⁡1+I
CR≔z∈ComplexRange⁡−1−I,Open⁡1+I
convert⁡CR,relation
−1≤ℜ⁡z∧ℜ⁡z<1∧−1≤ℑ⁡z∧ℑ⁡z≤1
ℜ⁡z∈−1,1,ℑ⁡z∈−1,1
map⁡convert,,relation
−1≤ℜ⁡z∧ℜ⁡z<1,−1≤ℑ⁡z∧ℑ⁡z≤1
ComplexRanges are used for example to express the branch cuts of mathematical functions
FunctionAdvisor⁡branch_cuts,arccot
arccot⁡z,z∈ComplexRange⁡−∞⁢I,−I∨z∈ComplexRange⁡I,∞⁢I
When you input z<1 or z≤1, it is implicitly assumed that ℑ⁡z=0. This is used to simplify the notation in the output of some conversions. For example,
z_CR≔zinComplexRange⁡0,1
z_CR≔z∈ComplexRange⁡0,1
convert⁡z_CR,RealRange
z∈0,1
convert⁡z_CR,relation
0≤z∧z≤1
FunctionAdvisor⁡branch_cuts,arcsin
arcsin⁡z,z≤−1∨1≤z
See Also
assume/parametric
assuming
convert/RealRange
convert/relation
FunctionAdvisor
Download Help Document