PRODUCTS
Products Overview
Mathematica
Mathematica Student Edition
Mathematica Home Edition
Wolfram
CDF Player
(free download)
Computable Document Format (CDF)
web
Mathematica
grid
Mathematica
Wolfram
Workbench
Wolfram
SystemModeler
Wolfram
Finance Platform
Mathematica
Add-Ons
Wolfram|Alpha Products
SOLUTIONS
Solutions Overview
Engineering
Aerospace Engineering & Defense
Chemical Engineering
Control Systems
Electrical Engineering
Image Processing
Industrial Engineering
Materials Science
Mechanical Engineering
Operations Research
Optics
Petroleum Engineering
Biotechnology & Medicine
Bioinformatics
Medical Imaging
Finance, Statistics & Business Analysis
Actuarial Sciences
Data Analysis & Mining
Econometrics
Economics
Financial Engineering & Mathematics
Financial Risk Management
Statistics
Software Engineering & Content Delivery
Authoring & Publishing
Interface Development
Software Engineering
Web Development
Science
Astronomy
Biological Sciences
Chemistry
Environmental Sciences
Geosciences
Social & Behavioral Sciences
Design, Arts & Entertainment
Game Design, Special Effects & Generative Art
Education
STEM Education Initiative
Higher Education
Community & Technical College Education
Primary & Secondary Education
Students
Technology
Computable Document Format (CDF)
High-Performance & Parallel Computing (HPC)
See Also: Technology Guide
PURCHASE
Online Store
Other Ways to Buy
Volume & Site Licensing
Contact Sales
Software
Service
Upgrades
Training
Books
Merchandise
SUPPORT
Support Overview
Mathematica
Documentation
Knowledge Base
Learning Center
Technical Services
Community & Forums
Training
Does My Site Have a License?
Wolfram User Portal
COMPANY
About Wolfram Research
News
Events
Wolfram Blog
Partnerships
Employment Opportunities
History of
Mathematica
Stephen Wolfram's Home Page
Contact Us
OUR SITES
All Sites
Wolfram|Alpha
Demonstrations Project
MathWorld
Integrator
Wolfram Functions Site
Mathematica Journal
Wolfram Media
Wolfram
Tones
Wolfram Science
Stephen Wolfram
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE
DOCUMENTATION CENTER
FOR THE LATEST INFORMATION.
DOCUMENTATION CENTER SEARCH
New to
Mathematica
?
Find your learning path
»
Mathematica
>
BUILT-IN MATHEMATICA SYMBOL
Finding Limits
Tutorials »
|
Range
IntervalMemberQ
IntervalUnion
IntervalIntersection
Piecewise
See Also »
|
Interval Arithmetic
More About »
Interval
Interval
represents the range of values between
min
and
max
.
Interval
represents the union of the ranges
to
,
to
, ....
MORE INFORMATION
You can perform arithmetic and other operations on
Interval
objects.
Interval
represents the closed interval that includes both end points.
Min
[
interval
]
and
Max
[
interval
]
give the end points of an interval.
For approximate machine- or arbitrary-precision numbers
x
,
Interval
[
x
]
yields an interval reflecting the uncertainty in
x
.
In operations on intervals that involve approximate numbers,
Mathematica
always rounds lower limits down and upper limits up.
Interval
can be generated by functions such as
Limit
.
Relational operators such as
Equal
and
Less
yield explicit
True
or
False
results whenever they are given disjoint intervals.
EXAMPLES
CLOSE ALL
Basic Examples
(2)
Add intervals, getting an interval representing the result:
Indeterminate limits can give intervals:
Add intervals, getting an interval representing the result:
In[1]:=
Out[1]=
Indeterminate limits can give intervals:
In[1]:=
Out[1]=
Scope
(7)
Squaring gives a non-negative interval:
Some functions can be applied to an interval:
Exact inputs yield exact interval results:
Disjoint intervals can be generated:
Exact comparisons can be made with intervals:
Solve an equation involving an interval:
Approximate numbers automatically turn into intervals:
Machine numbers always correspond to a certain interval:
Generalizations & Extensions
(1)
Find the interval that
Mathematica
considers consistent with machine number
:
Specifying a different precision gives a different interval:
Applications
(3)
Watch the widening of intervals in a system with sensitive dependence on initial conditions:
With machine-precision evaluation, this gives a definite but incorrect value:
With
Interval
, the result spans the correct value:
Show how the bounds of an interval vary with a parameter:
Properties & Relations
(1)
Use
Max
and
Min
to find end points of intervals:
Possible Issues
(1)
Intervals are always assumed independent:
A single real variable over the same range yields an interval with a different lower limit:
SEE ALSO
Range
IntervalMemberQ
IntervalUnion
IntervalIntersection
Piecewise
TUTORIALS
Finding Limits
MORE ABOUT
Interval Arithmetic
New in 3