Search for a tool
Interval Notation

Tool to convert to write intervals into inequalities and vice versa. Intervals/Ranges notation represent sets of numbers between two values.

Results

Interval Notation -

Tag(s) : Mathematics

Share
Share
dCode and more

dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!


Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!


Feedback and suggestions are welcome so that dCode offers the best 'Interval Notation' tool for free! Thank you!

Interval Notation

Interval to Inequality Converter



Inequality to Interval Converter





Set Notation Converter













Answers to Questions (FAQ)

What is an interval? (Definition

An interval is a notation which makes it possible to define a set of real numbers included between a lower limit (minimum admissible value) and an upper limit (maximum admissible value).

There are 3 types of intervals (taking $ {a, b} \in \mathbb {R} $ with $ a < b $) and a variable $ x \in \mathbb {R} $:

— open interval (or unclosed interval)

Example: $ a < x < b = ] a; b [$

— closed interval (or unopened interval)

Example: $ a \leq x \leq b = [a, b] $

— half-open (or half-closed) interval

Example: $ a < x \leq b = ] a, b ] $ (half-open interval on the left or half-closed interval on the right)

Example: $ a \leq x < b = [ a, b [ $ (half-closed interval on the left or half-open interval on the right)

How to convert an interval into an inequation?

Here is the list of different types of intervals and the corresponding inequalities:

$ ] a ; b [ \iff a < x < b \quad $ (or $ b > x > a $)

$ [ a ; b [ \iff a \leq x < b \quad $ (or $ b > x \geq a $)

$ ] a ; b ] \iff a < x \leq b \quad $ (or $ b \geq x > a $)

$ [ a ; b ] \iff a \leq x \leq b \quad $ (or $ b \geq x \geq a $)

A shorter writing of the inequality is possible if $ a $ or $ b $ has for value $ \infty $

$ ] -\infty ; b [ \iff x < b \quad $ (or $ b > x $)

$ ] -\infty ; b ] \iff x \leq b \quad $ (or $ b \geq x $)

$ ] a ; +\infty [ \iff x > a \quad $ (or $ a < x $)

$ [ a ; +\infty [ \iff x \geq a \quad $ (or $ a \leq x $)

What is the European notation and the American notation?

There are two schools, two ways of writing which differ in the notation of open intervals.

European notation, which uses square brackets everywhere and denotes open intervals with an outward bracket: $ [a; b [$

American notation, which uses either square brackets for closed intervals and denotes open intervals with a parenthesis: $ [a; b) $

Source code

dCode retains ownership of the "Interval Notation" source code. Any algorithm for the "Interval Notation" algorithm, applet or snippet or script (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or any "Interval Notation" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) or any database download or API access for "Interval Notation" or any other element are not public (except explicit open source licence like Creative Commons). Same with the download for offline use on PC, mobile, tablet, iPhone or Android app.
Reminder: dCode is an educational and teaching resource, accessible online for free and for everyone.

Cite dCode

The content of the page "Interval Notation" and its results may be freely copied and reused, including for commercial purposes, provided that dCode.fr is cited as the source. Exporting the results is free and can be done simply by clicking on the export icons ⤓ (.csv or .txt format) or ⧉ (copy and paste).
To cite dCode.fr on another website, use the link: https://www.dcode.fr/interval-notation
In a scientific article or book, the recommended bibliographic citation is: Interval Notation on dCode.fr [online website], retrieved on 2025-04-16, https://www.dcode.fr/interval-notation

Need Help ?

Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!

Questions / Comments

Feedback and suggestions are welcome so that dCode offers the best 'Interval Notation' tool for free! Thank you!


https://www.dcode.fr/interval-notation
© 2025 dCode — The ultimate collection of tools for games, math, and puzzles.
 
Feedback