Mathematica's Interval Arithmetic is capable of handling the uncertainty in a rational manner

learn more… | top users | synonyms

22
votes
3answers
1k views

Can Mathematica Handle Open Intervals? Interval complements?

Open Intervals Following up on this question, I was wondering whether Mma can handle open intervals. For example, the union of the intervals, $$1<x<5$$ and $$5<x<8$$ should not ...
12
votes
1answer
140 views

A weird issue with Interval[$MaxNumber]

From the Interval documentation: For approximate machine- or arbitrary-precision numbers x, Interval[x] yields an interval reflecting the uncertainty in x. <...
9
votes
1answer
148 views

How can I exclude endpoints of intervals?

I have list of intervals: Jintervals = {Interval[{18.9, 21.}], Interval[{21., 23.1}]} I need to exclude the endpoints - [18.9,21.), [21.,23.1) Wrong - <...
7
votes
3answers
229 views

Interval calculations in wolfram mathematica

If x = Interval[-100,100], then obviously x^2 + x = Interval[-0.25,10100], because as we know, ...
6
votes
1answer
109 views

Why doesn't Rationalize work for 0. in Interval?

Same motivation as this q. Why doesn't Rationalize work for 0.? Interval[{0., 1.}] // Map[Rationalize, #, {2}] & ...
6
votes
2answers
307 views

Intersection of lists of disjoint intervals

Here is my problem: I have two very large lists of intervals (stored as many couples in the form {{"start point", "end point"}, ..., {"start point", "end point"}), ...
4
votes
2answers
111 views

Remove singleton from Interval

I am using operations over Interval and the result of an intersection (or union) contains some singletons. Would it be possible to remove them ? Example: ...
4
votes
3answers
491 views

Converting inequalities to intervals

I have an inequality, ie: 1.57116 < g < 14.1405 There will be a large set of similar inequalities, and I want to find the intersection of them all. I figured it would be easier to convert the ...
4
votes
0answers
77 views

Interval Arithmetic with Symbolic Intervals

I've run into a problem with IntervalUnion and IntervalIntersection when dealing with symbolic intervals. The following code ...
3
votes
1answer
1k views

Union and Intersection of intervals

I have two sets $A = \{1 \leq x \leq 5\}$ and $B = \{5 \leq x \leq 8\}$. Now I want to find the Union and Intersection of $A$ ...
3
votes
2answers
86 views

Is there an analog of the `Complement` function for intervals?

I have two intervals: i1 = Interval[{1,4}]; i2 = Interval[{2,3}]; I need a function that subtracts i2 from ...
3
votes
4answers
114 views

how do I can create a list of the first interval such as [-10+Sin [k], 10+Sin [K]]

A (k) =the closed interval [-10+Sin [k], 10+Sin [k]] How do I can create a list of the first 20 of such interval The find the intersection of the first 14 of them
3
votes
2answers
135 views

Interval notation for NumberLinePlot

Consider: NumberLinePlot[Abs[3 - 4 x] < 2, x, PlotStyle -> {Thick, Blue, PointSize[Large]}, Ticks -> {Range[0, 1.5, .25]}] Which produces this image: ...
3
votes
1answer
208 views

The UnitStep function and Intervals

For the input UnitStep[Interval[{-4, 5}]] I get Interval[{0, 1}] Why is this not ...
3
votes
1answer
81 views

Interval arithmetic for DawsonF (or other special functions)

I am currently trying to estimate a complicated expression involving DawsonF using interval arithmetic. The interval arithmetic is partially supported by ...
2
votes
1answer
300 views

How can I plot a circular region and lines?

I am having difficulty plotting something along these lines in Mathematica. I will explain what is going on here. Basically, I am solving an interval equation $ax=b$, in the first example $a = [1, ...
2
votes
2answers
794 views

How to plot function over interval returned by Reduce[]

Let $f(x) = (x^2 + 1) / x$. I need to plot the function for the values of $x$ in which the square of the function is larger than 4, and its cube is smaller than 64. So I used ...
2
votes
1answer
44 views

Weird results with Intervals

Sorry for presumably another dumb question... But here we go: In[1]:= Reduce[Sin[Cos[x]] == 0 && 0 <= x <= Pi/2, x] Out[1]= x == Pi/2 Yep. Nice. ...
2
votes
2answers
257 views

A fast way to compare interval

I have a list of intervall. Some of these intervals are disjoint, some are overlapped and some are included in others. To leave no ambiguity about my explanation, you can see the following examples: {...
1
vote
3answers
139 views

Plot multiple functions with different but overlapping intervals

Suppose I numerically solve a differential equation by using sol = ParametricNDSolve[{y'[x] == b y[x], y[0] == 1}, y, {x, 0, 0.3}, {b}] And then I want to plot $...
1
vote
2answers
70 views

Solving for intervals without using NumberLinePlot

I've been struggling to find a way to find an interval solution to an equation/inequality. I know mathematica can do this since for example, ...
1
vote
1answer
208 views

How do you graph the confidence intervals that results from a GARCH over a time series?

Please, does someone know how to draw a confidence intervals (from the results of a GARCH (1,1)) in a way similar to these: *Asume an ARMA(1,1) fit the time series. Thank you very much
1
vote
1answer
185 views

How do assign an interval of values to a variable in order to use them in a function?

From my code (below) I have K1 and K2 set to zero in order to test this numerical method. However, K1 is on an interval from 0 to 32, and K2 is on an interval from 0 to 8. I would like to know if ...
0
votes
3answers
97 views

Average function value over an Interval [closed]

What is the best way to find the average value of a function over a specific interval in Mathematica? I can not figure it out. I have two points on the interval and need to find the average value.
0
votes
1answer
55 views

Fine precision control in IntervalSlider

I would like to develop a simple slider for exploring a wide range of intervals on the real line. Is it possible to get the MinimalSize of IntervalSlider to work ...
0
votes
0answers
40 views

Interval arithmetics and complex numbers

I am trying to do some simple calculations for a computer assisted proof and since they are not too demanding I thought of using Mathematica. I seems that Mathematica is great for interval ...
0
votes
0answers
72 views

How do I simplify Interval[{x,x}] to x? [duplicate]

How do I simplify Interval[{x,x}] to x ? Simplify and ...