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
RealRange - represent a real interval
ComplexRange - represent a complex interval
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 . 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 , and the other two parallel segments delimiting the rectangle, unless any of its four real extremes 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, , it is implicitly assumed that .
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.
Here there is no automatic simplification:
The automatic simplification is triggered after the conversion happens:
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
Case 2: a construction indicating that z has values in some ComplexRange, expressed using the :: operator
Case 3: a construction indicating that z has values in some ComplexRange, expressed using the in operator
Note that, unlike ComplexRange, RealRange requires numerical arguments, so when the former has not this kind of argument the conversion is not possible.
Without numerical arguments, this cannot be converted:
Expressing complex and real ranges as relations
ComplexRanges are used for example to express the branch cuts of mathematical functions
When you input or , it is implicitly assumed that . This is used to simplify the notation in the output of some conversions. For example,
See Also
assume[parametric], assuming, convert[RealRange], convert[relation], FunctionAdvisor
Download Help Document