ComplexRange - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


RealRange

represent a real interval

ComplexRange

represent a complex interval

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

RealRange(a,b)

ComplexRange(α,β)

Parameters

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

Description

• 

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 ab. 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, z1, it is implicitly assumed that z=0.

Examples

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.

RealRange0,0

0

(1)

Here there is no automatic simplification:

ComplexRange0,0

ComplexRange0,0

(2)

The automatic simplification is triggered after the conversion happens:

convert,RealRange

0

(3)

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

CRComplexRange1I,Open0+I

CRComplexRange−1I,Open0+I

(4)

convertCR,RealRange

−1,0,I−1,1

(5)

Case 2: a construction indicating that z has values in some ComplexRange, expressed using the :: operator

z::CR

z::ComplexRange−1I,Open0+I

(6)

convert,RealRange

z::−1,0,z::−1,1

(7)

Case 3: a construction indicating that z has values in some ComplexRange, expressed using the in operator

zinCR

zComplexRange−1I,Open0+I

(8)

convert,RealRange

z−1,0,z−1,1

(9)

Note that, unlike ComplexRange, RealRange requires numerical arguments, so when the former has not this kind of argument the conversion is not possible.

ComplexRangeα,β

ComplexRangeα,β

(10)

Without numerical arguments, this cannot be converted:

convert,RealRange

ComplexRangeα,β

(11)

Expressing complex and real ranges as relations

CRzinComplexRange1I,Open1+I

CRzComplexRange−1I,Open1+I

(12)

convertCR,relation

−1zz<1−1zz1

(13)

convertCR&comma;RealRange

z−1&comma;1,z−1&comma;1

(14)

mapconvert&comma;&comma;relation

−1zz<1&comma;−1zz1

(15)

ComplexRanges are used for example to express the branch cuts of mathematical functions

FunctionAdvisorbranch_cuts&comma;arccot

arccotz&comma;zComplexRangeI&comma;−IzComplexRangeI&comma;I

(16)

When you input z<1 or z1, it is implicitly assumed that z=0. This is used to simplify the notation in the output of some conversions. For example,

z_CRzinComplexRange0&comma;1

z_CRzComplexRange0&comma;1

(17)

convertz_CR&comma;RealRange

z0&comma;1

(18)

convertz_CR&comma;relation

0zz1

(19)

FunctionAdvisorbranch_cuts&comma;arcsin

arcsinz&comma;z−11z

(20)

See Also

assume/parametric

assuming

convert/RealRange

convert/relation

FunctionAdvisor